Lines Matching full:alert
41 uint16_t alert, mask; in rt1718s_alert_worker() local
44 /* Read alert and mask */ in rt1718s_alert_worker()
46 if (rt1718s_reg_burst_read(dev, RT1718S_REG_ALERT, (uint8_t *)&alert, in rt1718s_alert_worker()
47 sizeof(alert)) || in rt1718s_alert_worker()
55 /* Content of the alert and alert mask registers are in rt1718s_alert_worker()
57 * register will still indicate in the ALERT register, in rt1718s_alert_worker()
58 * but shall not set the Alert# pin low" in rt1718s_alert_worker()
60 alert &= mask; in rt1718s_alert_worker()
61 if (alert) { in rt1718s_alert_worker()
62 /* Clear all alert bits that causes the interrupt */ in rt1718s_alert_worker()
63 if (rt1718s_reg_burst_write(dev, RT1718S_REG_ALERT, (uint8_t *)&alert, in rt1718s_alert_worker()
64 sizeof(alert))) { in rt1718s_alert_worker()
73 * defined alert for the RT1718S, but handle in rt1718s_alert_worker()
76 if (alert & RT1718S_REG_ALERT_VENDOR_DEFINED_ALERT) { in rt1718s_alert_worker()
103 /* Set the interrupt pin for handling the alert */ in rt1718s_init()