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)180 unsigned int reg_idx = gpio / GNR_PINS_PER_REG; in gnr_gpio_irq_ack()181 unsigned int bit_idx = gpio % GNR_PINS_PER_REG; in gnr_gpio_irq_ack()195 unsigned int reg_idx = gpio / GNR_PINS_PER_REG; in gnr_gpio_irq_mask_unmask()196 unsigned int bit_idx = gpio % GNR_PINS_PER_REG; in gnr_gpio_irq_mask_unmask()302 for_each_set_bit(bit_idx, &pending, GNR_PINS_PER_REG) { in gnr_gpio_irq()303 unsigned int hwirq = i * GNR_PINS_PER_REG + bit_idx; in gnr_gpio_irq()