Searched refs:IRQ_PER_BANK (Results 1 – 2 of 2) sorted by relevance
57 #define IRQ_PER_BANK 32 macro306 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_cfg_reg()307 u8 reg = (irq % IRQ_PER_BANK) / IRQ_CFG_IRQ_PER_REG * 0x04; in sunxi_irq_cfg_reg()327 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_ctrl_reg()353 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_status_reg()
924 irqnum = desc->irqbank * IRQ_PER_BANK + desc->irqnum; in sunxi_pinctrl_gpio_to_irq()1065 u8 bank = d->hwirq / IRQ_PER_BANK; in sunxi_pinctrl_irq_set_wake()1152 for_each_set_bit(irqoffset, &val, IRQ_PER_BANK) in sunxi_pinctrl_irq_handler()1154 bank * IRQ_PER_BANK + irqoffset); in sunxi_pinctrl_irq_handler()1245 int irqnum = func->irqnum + func->irqbank * IRQ_PER_BANK; in sunxi_pinctrl_build_state()1420 IRQ_PER_BANK * pctl->desc->irq_banks, in sunxi_pinctrl_init_with_variant()1542 pctl->desc->irq_banks * IRQ_PER_BANK, in sunxi_pinctrl_init_with_variant()1551 for (i = 0; i < (pctl->desc->irq_banks * IRQ_PER_BANK); i++) { in sunxi_pinctrl_init_with_variant()