Home
last modified time | relevance | path

Searched refs:num_irq (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/arch/arm/mach-davinci/
Dcp_intc.c104 unsigned long num_irq = davinci_soc_info.intc_irq_num; in cp_intc_init() local
107 unsigned num_reg = BITS_TO_LONGS(num_irq); in cp_intc_init()
140 num_reg = (num_irq + 3) >> 2; /* 4 channels per register */ in cp_intc_init()
148 if (k < num_irq) in cp_intc_init()
169 for (i = 0; i < num_irq; i++) { in cp_intc_init()
/linux-3.4.99/drivers/of/
Dplatform.c135 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local
145 num_irq = of_irq_count(np); in of_device_alloc()
148 if (num_irq || num_reg) { in of_device_alloc()
149 res = kzalloc(sizeof(*res) * (num_irq + num_reg), GFP_KERNEL); in of_device_alloc()
155 dev->num_resources = num_reg + num_irq; in of_device_alloc()
161 WARN_ON(of_irq_to_resource_table(np, res, num_irq) != num_irq); in of_device_alloc()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dcnic_if.h198 int num_irq; member
Dbnx2.c374 cp->num_irq = 1; in bnx2_setup_cnic_irq_info()
395 cp->num_irq = 0; in bnx2_register_cnic()
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12154 cp->num_irq = 2; in bnx2x_setup_cnic_irq_info()
12181 cp->num_irq = 0; in bnx2x_register_cnic()