Searched refs:alert_mask (Results 1 – 2 of 2) sorted by relevance
53 uint16_t alert, alert_mask = 0; in nct38xx_init_interrupt() local60 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()
228 uint16_t alert_mask; in gpio_rt1718s_pin_interrupt_configure() local261 (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()