Searched refs:AIROHA_PIN_BANK_SIZE (Results 1 – 1 of 1) sorted by relevance
294 #define AIROHA_PIN_BANK_SIZE (AIROHA_NUM_PINS / 2) macro2273 u32 offset = gpio % AIROHA_PIN_BANK_SIZE; in airoha_gpio_set()2274 u8 index = gpio / AIROHA_PIN_BANK_SIZE; in airoha_gpio_set()2283 u32 val, pin = gpio % AIROHA_PIN_BANK_SIZE; in airoha_gpio_get()2284 u8 index = gpio / AIROHA_PIN_BANK_SIZE; in airoha_gpio_get()2396 for_each_set_bit(irq, &status, AIROHA_PIN_BANK_SIZE) { in airoha_irq_handler()2397 u32 offset = irq + i * AIROHA_PIN_BANK_SIZE; in airoha_irq_handler()2531 mask = BIT(pin % AIROHA_PIN_BANK_SIZE); in airoha_pinmux_set_direction()2532 index = pin / AIROHA_PIN_BANK_SIZE; in airoha_pinmux_set_direction()