Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_renesas_rz.c31 uint8_t tint_num[GPIO_RZ_MAX_TINT_NUM]; member
257 static int gpio_rz_int_disable(const struct device *dev, uint8_t tint_num) in gpio_rz_int_disable() argument
265 tssr = &tssr[tint_num / 4]; in gpio_rz_int_disable()
266 titsr = &titsr[tint_num / 16]; in gpio_rz_int_disable()
268 irq_disable(GPIO_RZ_TINT_IRQ_GET(tint_num)); in gpio_rz_int_disable()
270 *tssr &= ~(0xFF << GPIO_RZ_TSSR_OFFSET(tint_num)); in gpio_rz_int_disable()
272 *titsr &= ~(0x3 << GPIO_RZ_TITSR_OFFSET(tint_num)); in gpio_rz_int_disable()
275 if (data->irq_set_edge & BIT(tint_num)) { in gpio_rz_int_disable()
276 *tscr &= ~BIT(tint_num); in gpio_rz_int_disable()
277 data->irq_set_edge &= ~BIT(tint_num); in gpio_rz_int_disable()
[all …]
Dgpio_renesas_rz.h25 #define GPIO_RZ_TINT_IRQ_GET(tint_num) (tint_num + GPIO_RZ_TINT_IRQ_OFFSET) argument