Searched refs:AIROHA_REG_GPIOCTRL_NUM_PIN (Results 1 – 1 of 1) sorted by relevance
295 #define AIROHA_REG_GPIOCTRL_NUM_PIN (AIROHA_NUM_PINS / 4) macro2310 u8 offset = data->hwirq % AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_unmask()2311 u8 index = data->hwirq / AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_unmask()2347 u8 offset = data->hwirq % AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_mask()2348 u8 index = data->hwirq / AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_irq_mask()2539 mask = BIT(2 * (pin % AIROHA_REG_GPIOCTRL_NUM_PIN)); in airoha_pinmux_set_direction()2540 index = pin / AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_pinmux_set_direction()2658 index = pin / AIROHA_REG_GPIOCTRL_NUM_PIN; in airoha_pinconf_get_direction()2663 mask = BIT(2 * (pin % AIROHA_REG_GPIOCTRL_NUM_PIN)); in airoha_pinconf_get_direction()