Searched refs:temp_status (Results 1 – 5 of 5) sorted by relevance
/drivers/hwmon/ |
D | pc87360.c | 209 u8 temp_status[3]; /* Register value */ member 882 return sprintf(buf, "%d\n", data->temp_status[attr->index]); in temp_status_show() 953 static struct sensor_device_attribute temp_status[] = { variable 954 SENSOR_ATTR_RO(temp1_status, temp_status, 0), 955 SENSOR_ATTR_RO(temp2_status, temp_status, 1), 956 SENSOR_ATTR_RO(temp3_status, temp_status, 2), 996 return sprintf(buf, "%u\n", !!(data->temp_status[nr] & CHAN_ALM_MIN)); in temp_min_alarm_show() 1006 return sprintf(buf, "%u\n", !!(data->temp_status[nr] & CHAN_ALM_MAX)); in temp_max_alarm_show() 1016 return sprintf(buf, "%u\n", !!(data->temp_status[nr] & TEMP_ALM_CRIT)); in temp_crit_alarm_show() 1044 return sprintf(buf, "%u\n", !!(data->temp_status[nr] & TEMP_FAULT)); in temp_fault_show() [all …]
|
D | fschmd.c | 278 u8 temp_status[11]; /* status of sensor */ member 387 if (data->temp_status[index] & FSCHMD_TEMP_WORKING) in temp_fault_show() 399 if ((data->temp_status[index] & FSCHMD_TEMP_ALARM_MASK) == in temp_alarm_show() 1160 data->temp_status[i / 4] = in fschmd_probe() 1164 if (data->temp_status[i / 4] & FSCHMD_TEMP_DISABLED) in fschmd_probe() 1311 data->temp_status[i] = i2c_smbus_read_byte_data(client, in fschmd_update_device() 1324 if ((data->temp_status[i] & FSCHMD_TEMP_ALARM_MASK) == in fschmd_update_device() 1329 data->temp_status[i]); in fschmd_update_device()
|
D | pc87427.c | 68 u8 temp_status[6]; /* register values */ member 313 data->temp_status[nr] = inb(iobase + PC87427_REG_TEMP_STATUS); in pc87427_readall_temp() 315 outb(data->temp_status[nr], iobase + PC87427_REG_TEMP_STATUS); in pc87427_readall_temp() 743 return sprintf(buf, "%d\n", !!(data->temp_status[nr] in temp_min_alarm_show() 754 return sprintf(buf, "%d\n", !!(data->temp_status[nr] in temp_max_alarm_show() 765 return sprintf(buf, "%d\n", !!(data->temp_status[nr] in temp_crit_alarm_show() 775 return sprintf(buf, "%d\n", !!(data->temp_status[nr] in temp_fault_show()
|
D | f71882fg.c | 281 u8 temp_status; member 1314 data->temp_status = f71882fg_read8(data, in f71882fg_update_device() 1771 if (data->temp_status & (1 << nr)) in show_temp_alarm()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 2718 u16 temp_status; in i40e_set_phys_id() local 2728 ret = i40e_led_get_phy(hw, &temp_status, in i40e_set_phys_id() 2730 pf->led_status = temp_status; in i40e_set_phys_id()
|