Lines Matching refs:alarm
115 u8 alarm; member
185 data->alarm |= reg; in max6650_update_device()
302 bool alarm; in alarm_show() local
307 alarm = data->alarm & attr->index; in alarm_show()
308 if (alarm) { in alarm_show()
310 data->alarm &= ~attr->index; in alarm_show()
315 return sprintf(buf, "%d\n", alarm); in alarm_show()
318 static SENSOR_DEVICE_ATTR_RO(gpio1_alarm, alarm, MAX6650_ALRM_GPIO1);
319 static SENSOR_DEVICE_ATTR_RO(gpio2_alarm, alarm, MAX6650_ALRM_GPIO2);
579 *val = !!(data->alarm & MAX6650_ALRM_MIN); in max6650_read()
580 data->alarm &= ~MAX6650_ALRM_MIN; in max6650_read()
584 *val = !!(data->alarm & MAX6650_ALRM_MAX); in max6650_read()
585 data->alarm &= ~MAX6650_ALRM_MAX; in max6650_read()
589 *val = !!(data->alarm & MAX6650_ALRM_TACH); in max6650_read()
590 data->alarm &= ~MAX6650_ALRM_TACH; in max6650_read()