Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/gpio/
Dgpio_nct38xx.c53 uint16_t alert, alert_mask = 0; in nct38xx_init_interrupt() local
60 if (i2c_burst_write_dt(data->i2c_dev, NCT38XX_REG_ALERT_MASK, (uint8_t *)&alert_mask, in nct38xx_init_interrupt()
61 sizeof(alert_mask))) { in nct38xx_init_interrupt()
67 alert_mask |= BIT(NCT38XX_REG_ALERT_MASK_VENDOR_DEFINDED_ALERT); in nct38xx_init_interrupt()
74 alert &= alert_mask; in nct38xx_init_interrupt()
83 if (i2c_burst_write_dt(data->i2c_dev, NCT38XX_REG_ALERT_MASK, (uint8_t *)&alert_mask, in nct38xx_init_interrupt()
84 sizeof(alert_mask))) { in nct38xx_init_interrupt()
Dgpio_rt1718s_port.c228 uint16_t alert_mask; in gpio_rt1718s_pin_interrupt_configure() local
261 (uint8_t *)&alert_mask, sizeof(alert_mask)); in gpio_rt1718s_pin_interrupt_configure()
267 if (!(alert_mask & RT1718S_REG_ALERT_MASK_VENDOR_DEFINED_ALERT)) { in gpio_rt1718s_pin_interrupt_configure()
268 alert_mask |= RT1718S_REG_ALERT_MASK_VENDOR_DEFINED_ALERT; in gpio_rt1718s_pin_interrupt_configure()
270 (uint8_t *)&alert_mask, sizeof(alert_mask)); in gpio_rt1718s_pin_interrupt_configure()