Searched refs:num_irq (Results 1 – 5 of 5) sorted by relevance
104 unsigned long num_irq = davinci_soc_info.intc_irq_num; in cp_intc_init() local107 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()
135 int rc, i, num_reg = 0, num_irq; in of_device_alloc() local145 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()
198 int num_irq; member
374 cp->num_irq = 1; in bnx2_setup_cnic_irq_info()395 cp->num_irq = 0; in bnx2_register_cnic()
12154 cp->num_irq = 2; in bnx2x_setup_cnic_irq_info()12181 cp->num_irq = 0; in bnx2x_register_cnic()