User Tools

Site Tools


irqchip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irqchip [2018/10/19 11:09]
rpjday created
irqchip [2018/10/19 11:09] (current)
rpjday [IRQCHIP_DECLARE]
Line 13: Line 13:
 irq-bcm7120-l2.c:​IRQCHIP_DECLARE(bcm3380_l2_intc,​ "​brcm,​bcm3380-l2-intc",​ irq-bcm7120-l2.c:​IRQCHIP_DECLARE(bcm3380_l2_intc,​ "​brcm,​bcm3380-l2-intc",​
 irq-brcmstb-l2.c:​IRQCHIP_DECLARE(brcmstb_l2_intc,​ "​brcm,​l2-intc",​ brcmstb_l2_edge_intc_of_init);​ irq-brcmstb-l2.c:​IRQCHIP_DECLARE(brcmstb_l2_intc,​ "​brcm,​l2-intc",​ brcmstb_l2_edge_intc_of_init);​
 +</​code>​
 +
 +where:
 +
 +<​code>​
 +/*
 + * This macro must be used by the different irqchip drivers to declare
 + * the association between their DT compatible string and their
 + * initialization function.
 + *
 + * @name: name that must be unique accross all IRQCHIP_DECLARE of the
 + * same file.
 + * @compstr: compatible string of the irqchip driver
 + * @fn: initialization function
 + */
 +#define IRQCHIP_DECLARE(name,​ compat, fn) OF_DECLARE_2(irqchip,​ name, compat, fn)
 </​code>​ </​code>​
  
  
irqchip.txt ยท Last modified: 2018/10/19 11:09 by rpjday