Searched refs:reg_mask8 (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.6.0/drivers/gpio/ |
D | gpio_rt1718s_port.c | 226 uint8_t reg_int8, reg_mask8, new_reg_mask8 = 0; in gpio_rt1718s_pin_interrupt_configure() local 239 ret = rt1718s_reg_read_byte(config->rt1718s_dev, RT1718S_REG_RT_MASK8, ®_mask8); in gpio_rt1718s_pin_interrupt_configure() 246 new_reg_mask8 = reg_mask8 & ~(mask_rise | mask_fall); in gpio_rt1718s_pin_interrupt_configure() 250 new_reg_mask8 = reg_mask8 | mask_rise | mask_fall; in gpio_rt1718s_pin_interrupt_configure() 253 new_reg_mask8 = (reg_mask8 | mask_rise) & ~mask_fall; in gpio_rt1718s_pin_interrupt_configure() 256 new_reg_mask8 = (reg_mask8 | mask_fall) & ~mask_rise; in gpio_rt1718s_pin_interrupt_configure() 285 ret = rt1718s_reg_update(config->rt1718s_dev, RT1718S_REG_RT_MASK8, reg_mask8, in gpio_rt1718s_pin_interrupt_configure() 307 uint8_t reg_int8, reg_mask8; in rt1718s_gpio_alert_handler() local 313 rt1718s_reg_read_byte(dev, RT1718S_REG_RT_MASK8, ®_mask8)) { in rt1718s_gpio_alert_handler() 319 reg_int8 &= reg_mask8; in rt1718s_gpio_alert_handler()
|