Searched refs:GNR_PINS_PER_REG (Results 1 – 1 of 1) sorted by relevance
32 #define GNR_PINS_PER_REG 32 macro33 #define GNR_NUM_REGS DIV_ROUND_UP(GNR_NUM_PINS, GNR_PINS_PER_REG)161 unsigned int reg_idx = gpio / GNR_PINS_PER_REG; in gnr_gpio_irq_ack()162 unsigned int bit_idx = gpio % GNR_PINS_PER_REG; in gnr_gpio_irq_ack()176 unsigned int reg_idx = gpio / GNR_PINS_PER_REG; in gnr_gpio_irq_mask_unmask()177 unsigned int bit_idx = gpio % GNR_PINS_PER_REG; in gnr_gpio_irq_mask_unmask()274 for_each_set_bit(bit_idx, &pending, GNR_PINS_PER_REG) { in gnr_gpio_irq()275 unsigned int hwirq = i * GNR_PINS_PER_REG + bit_idx; in gnr_gpio_irq()