Searched refs:ch_idx (Results 1 – 2 of 2) sorted by relevance
72 #define SET_GPIO_INT_MODE(cur_val, mode, ch_idx) \ argument74 cur_val &= ~(BIT_MASK(3) << (ch_idx * 4)); \75 cur_val |= (mode << (ch_idx * 4)); \224 uint32_t port_value, int_mode, imr_idx, ch_idx; in gpio_atcgpio100_pin_interrupt_configure() local249 ch_idx = (pin % 8); in gpio_atcgpio100_pin_interrupt_configure()264 SET_GPIO_INT_MODE(port_value, int_mode, ch_idx); in gpio_atcgpio100_pin_interrupt_configure()
67 #define POS(prop, ch_idx, ch_cnt) (ch_cnt * POS_##prop + \ argument68 (ch_idx * FEATURE_##prop##_SIZE))