Searched refs:interrupt_type (Results 1 - 1 of 1) sorted by relevance

/fuchsia/zircon/system/dev/gpio/imx8/
H A Dimx8-gpio.c273 uint32_t interrupt_type; local
303 interrupt_type = IMX_GPIO_FALLING_EDGE_INTERRUPT;
306 interrupt_type = IMX_GPIO_RISING_EDGE_INTERRUPT;
309 interrupt_type = IMX_GPIO_LOW_LEVEL_INTERRUPT;
312 interrupt_type = IMX_GPIO_HIGH_LEVEL_INTERRUPT;
315 interrupt_type = IMX_GPIO_BOTH_EDGE_INTERRUPT;
322 if (interrupt_type == IMX_GPIO_BOTH_EDGE_INTERRUPT) {
335 regVal |= (interrupt_type << IMX_GPIO_ICR_SHIFT(gpio_pin));

Completed in 22 milliseconds