Home
last modified time | relevance | path

Searched refs:ch_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_andes_atcgpio100.c72 #define SET_GPIO_INT_MODE(cur_val, mode, ch_idx) \ argument
74 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() local
249 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()
/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h67 #define POS(prop, ch_idx, ch_cnt) (ch_cnt * POS_##prop + \ argument
68 (ch_idx * FEATURE_##prop##_SIZE))