Searched refs:IRQ_PER_BANK (Results 1 – 2 of 2) sorted by relevance
53 #define IRQ_PER_BANK 32 macro237 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_cfg_reg()238 u8 reg = (irq % IRQ_PER_BANK) / IRQ_CFG_IRQ_PER_REG * 0x04; in sunxi_irq_cfg_reg()258 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_ctrl_reg()284 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_status_reg()
1007 irqnum = desc->irqbank * IRQ_PER_BANK + desc->irqnum; in sunxi_pinctrl_gpio_to_irq()1148 u8 bank = d->hwirq / IRQ_PER_BANK; in sunxi_pinctrl_irq_set_wake()1235 for_each_set_bit(irqoffset, &val, IRQ_PER_BANK) in sunxi_pinctrl_irq_handler()1237 bank * IRQ_PER_BANK + irqoffset); in sunxi_pinctrl_irq_handler()1328 int irqnum = func->irqnum + func->irqbank * IRQ_PER_BANK; in sunxi_pinctrl_build_state()1512 IRQ_PER_BANK * pctl->desc->irq_banks, in sunxi_pinctrl_init_with_variant()1630 pctl->desc->irq_banks * IRQ_PER_BANK, in sunxi_pinctrl_init_with_variant()1639 for (i = 0; i < (pctl->desc->irq_banks * IRQ_PER_BANK); i++) { in sunxi_pinctrl_init_with_variant()