Lines Matching refs:nr_regs
86 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_events_filter_priority()
107 int nr_irq = prcm_irq_setup->nr_regs * 32; in omap_prcm_irq_handler()
201 for (i = 0; i < prcm_irq_setup->nr_regs; i++) { in omap_prcm_irq_cleanup()
222 prcm_irq_setup->nr_regs * 32); in omap_prcm_irq_cleanup()
261 int nr_regs; in omap_prcm_register_chain_handler() local
270 nr_regs = irq_setup->nr_regs; in omap_prcm_register_chain_handler()
277 if (nr_regs > OMAP_PRCM_MAX_NR_PENDING_REG) { in omap_prcm_register_chain_handler()
284 prcm_irq_chips = kcalloc(nr_regs, sizeof(void *), GFP_KERNEL); in omap_prcm_register_chain_handler()
285 prcm_irq_setup->saved_mask = kcalloc(nr_regs, sizeof(u32), in omap_prcm_register_chain_handler()
287 prcm_irq_setup->priority_mask = kcalloc(nr_regs, sizeof(u32), in omap_prcm_register_chain_handler()
307 irq_setup->base_irq = irq_alloc_descs(-1, 0, irq_setup->nr_regs * 32, in omap_prcm_register_chain_handler()
316 for (i = 0; i < irq_setup->nr_regs; i++) { in omap_prcm_register_chain_handler()