Lines Matching refs:in_status
199 u8 in_status[14]; /* Register value */ member
421 return sprintf(buf, "%u\n", data->in_status[attr->index]); in in_status_show()
478 static struct sensor_device_attribute in_status[] = { variable
479 SENSOR_ATTR_RO(in0_status, in_status, 0),
480 SENSOR_ATTR_RO(in1_status, in_status, 1),
481 SENSOR_ATTR_RO(in2_status, in_status, 2),
482 SENSOR_ATTR_RO(in3_status, in_status, 3),
483 SENSOR_ATTR_RO(in4_status, in_status, 4),
484 SENSOR_ATTR_RO(in5_status, in_status, 5),
485 SENSOR_ATTR_RO(in6_status, in_status, 6),
486 SENSOR_ATTR_RO(in7_status, in_status, 7),
487 SENSOR_ATTR_RO(in8_status, in_status, 8),
488 SENSOR_ATTR_RO(in9_status, in_status, 9),
489 SENSOR_ATTR_RO(in10_status, in_status, 10),
535 return sprintf(buf, "%u\n", !!(data->in_status[nr] & CHAN_ALM_MIN)); in in_min_alarm_show()
543 return sprintf(buf, "%u\n", !!(data->in_status[nr] & CHAN_ALM_MAX)); in in_max_alarm_show()
575 &in_status[X].dev_attr.attr, \
680 return sprintf(buf, "%u\n", data->in_status[attr->index]); in therm_status_show()
787 return sprintf(buf, "%u\n", !!(data->in_status[nr] & CHAN_ALM_MIN)); in therm_min_alarm_show()
796 return sprintf(buf, "%u\n", !!(data->in_status[nr] & CHAN_ALM_MAX)); in therm_max_alarm_show()
805 return sprintf(buf, "%u\n", !!(data->in_status[nr] & TEMP_ALM_CRIT)); in therm_crit_alarm_show()
1609 data->in_status[i] = pc87360_read_value(data, LD_IN, i, in pc87360_update_device()
1614 data->in_status[i]); in pc87360_update_device()
1615 if ((data->in_status[i] & CHAN_READY) == CHAN_READY) { in pc87360_update_device()
1619 if (data->in_status[i] & CHAN_ENA) { in pc87360_update_device()