Home
last modified time | relevance | path

Searched refs:hwmon_temp (Results 1 – 25 of 74) sorted by relevance

123

/linux/drivers/hwmon/
H A Dasus-ec-sensors.c86 [hwmon_temp] = HWMON_T_INPUT | HWMON_T_LABEL,
224 EC_SENSOR("Chipset", hwmon_temp, 1, 0x00, 0x3a),
226 EC_SENSOR("CPU", hwmon_temp, 1, 0x00, 0x3b),
228 EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x3c),
230 EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x3d),
232 EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x3e),
247 EC_SENSOR("Water_Out", hwmon_temp, 1, 0x01, 0x0b),
249 EC_SENSOR("Water_In", hwmon_temp, 1, 0x01, 0x0d),
254 EC_SENSOR("Chipset", hwmon_temp, 1, 0x00, 0x3a),
255 [ec_sensor_temp_cpu] = EC_SENSOR("CPU", hwmon_temp, 1, 0x00, 0x3b),
[all …]
H A Dhwmon.c172 ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, in hwmon_thermal_get_temp()
194 for (i = 0; info[i] && info[i]->type != hwmon_temp; i++) in hwmon_thermal_set_trips()
203 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips()
210 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips()
278 if (info[i]->type != hwmon_temp) in hwmon_thermal_register_sensors()
285 !hwmon_is_visible(chip->ops, drvdata, hwmon_temp, in hwmon_thermal_register_sensors()
507 return (type == hwmon_temp && attr == hwmon_temp_label) || in is_string_attr()
753 [hwmon_temp] = hwmon_temp_attr_templates,
767 [hwmon_temp] = ARRAY_SIZE(hwmon_temp_attr_templates),
807 if (type == hwmon_temp) in hwmon_notify_event()
H A Dintel-m10-bmc-hwmon.c147 [hwmon_temp] = n3000bmc_temp_tbl,
222 [hwmon_temp] = d5005bmc_temp_tbl,
334 [hwmon_temp] = n5010bmc_temp_tbl,
558 [hwmon_temp] = n6000bmc_temp_tbl,
620 case hwmon_temp: in m10bmc_hwmon_read()
H A Dgigabyte_waterforce.c77 case hwmon_temp: in waterforce_is_visible()
174 case hwmon_temp: in waterforce_read()
200 case hwmon_temp: in waterforce_read_string()
H A Dtmp102.c140 case hwmon_temp: in tmp102_read()
201 case hwmon_temp: in tmp102_write()
223 case hwmon_temp: in tmp102_is_visible()
H A Dlm90.c1127 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 0); in lm90_report_alarms()
1129 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 1); in lm90_report_alarms()
1131 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 2); in lm90_report_alarms()
1134 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 0); in lm90_report_alarms()
1136 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 1); in lm90_report_alarms()
1138 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 2); in lm90_report_alarms()
1141 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 0); in lm90_report_alarms()
1143 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 1); in lm90_report_alarms()
1145 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 2); in lm90_report_alarms()
1148 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_emergency_alarm, 0); in lm90_report_alarms()
[all …]
H A Dhp-wmi-sensors.c174 [HP_WMI_TYPE_TEMPERATURE] = hwmon_temp,
182 [hwmon_temp] = HWMON_T_INPUT | HWMON_T_LABEL | HWMON_T_FAULT,
1451 if ((type == hwmon_temp && attr == hwmon_temp_alarm) || in hp_wmi_hwmon_is_visible()
1474 if ((type == hwmon_temp && attr == hwmon_temp_alarm) || in hp_wmi_hwmon_read()
1488 if ((type == hwmon_temp && attr == hwmon_temp_fault) || in hp_wmi_hwmon_read()
1565 struct hp_wmi_info **ptr_info = state->info_map[hwmon_temp]; in match_temp_events()
1566 u8 temp_count = state->channel_count[hwmon_temp]; in match_temp_events()
1945 if (channel_count[hwmon_temp]) in make_chip_info()
1984 if (!has_events || (type != hwmon_temp && type != hwmon_fan)) in make_chip_info()
1987 attr = type == hwmon_temp ? HWMON_T_ALARM : HWMON_F_ALARM; in make_chip_info()
H A Dsmpro-hwmon.c296 case hwmon_temp: in smpro_read()
313 case hwmon_temp: in smpro_read_string()
367 case hwmon_temp: in smpro_is_visible()
H A Dmcp9982.c377 case hwmon_temp: in mcp9982_read()
414 case hwmon_temp: in mcp9982_read()
552 case hwmon_temp: in mcp9982_read_label()
649 case hwmon_temp: in mcp9982_write()
688 case hwmon_temp: in mcp9982_is_visible()
H A Daxi-fan-control.c222 case hwmon_temp: in axi_fan_control_read_labels()
239 case hwmon_temp: in axi_fan_control_read()
300 case hwmon_temp: in axi_fan_control_is_visible()
H A Dlenovo-ec-sensors.c256 case hwmon_temp: in lenovo_ec_hwmon_read_string()
274 case hwmon_temp: in lenovo_ec_hwmon_read()
288 case hwmon_temp: in lenovo_ec_hwmon_is_visible()
H A Dk10temp.c221 case hwmon_temp: in k10temp_read_labels()
284 case hwmon_temp: in k10temp_read()
300 case hwmon_temp: in k10temp_is_visible()
H A Dasus_rog_ryujin.c140 case hwmon_temp: in rog_ryujin_is_visible()
269 case hwmon_temp: in rog_ryujin_read()
295 case hwmon_temp: in rog_ryujin_read_string()
H A Dlan966x-hwmon.c156 case hwmon_temp: in lan966x_hwmon_read()
227 case hwmon_temp: in lan966x_hwmon_is_visible()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_hwmon.c19 if (type == hwmon_temp) in nfp_hwmon_sensor_id()
35 { hwmon_temp, hwmon_temp_max, NFP_TEMP_MAX }, in nfp_hwmon_read()
36 { hwmon_temp, hwmon_temp_crit, NFP_TEMP_CRIT }, in nfp_hwmon_read()
57 if (type == hwmon_temp && attr == hwmon_temp_input) in nfp_hwmon_read()
69 if (type == hwmon_temp) { in nfp_hwmon_is_visible()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_drvinfo.c37 if (type != hwmon_temp || attr != hwmon_temp_input) in aq_hwmon_read()
75 if (type != hwmon_temp || attr != hwmon_temp_label) in aq_hwmon_read_string()
92 if (type != hwmon_temp) in aq_hwmon_is_visible()
/linux/drivers/net/phy/aquantia/
H A Daquantia_hwmon.c22 if (type != hwmon_temp) in aqr_hwmon_is_visible()
96 if (type != hwmon_temp) in aqr_hwmon_read()
148 if (type != hwmon_temp) in aqr_hwmon_write()
/linux/drivers/ufs/core/
H A Dufs-hwmon.c134 if (type != hwmon_temp) in ufs_hwmon_is_visible()
208 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_max_alarm, 0); in ufs_hwmon_notify_event()
211 hwmon_notify_event(hba->hwmon_device, hwmon_temp, hwmon_temp_min_alarm, 0); in ufs_hwmon_notify_event()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_hwmon.c11 if (type == hwmon_temp) in fbnic_hwmon_sensor_id()
23 if (type == hwmon_temp && attr == hwmon_temp_input) in fbnic_hwmon_is_visible()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhwmon.c90 if (type != hwmon_temp) in mlx5_hwmon_read()
118 if (type != hwmon_temp || attr != hwmon_temp_reset_history) in mlx5_hwmon_write()
128 if (type != hwmon_temp) in mlx5_hwmon_is_visible()
149 if (type != hwmon_temp || attr != hwmon_temp_label) in mlx5_hwmon_read_string()
244 hwmon->temp_info.type = hwmon_temp; in mlx5_hwmon_channel_info_init()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_hwmon.c26 if (type != hwmon_temp) in ice_hwmon_read()
64 if (type != hwmon_temp) in ice_hwmon_is_visible()
/linux/drivers/vdpa/solidrun/
H A Dsnet_hwmon.c93 case hwmon_temp: in snet_howmon_read()
143 case hwmon_temp: in snet_hwmon_read_string()
/linux/drivers/platform/x86/
H A Ddasharo-acpi.c134 case hwmon_temp: in dasharo_hwmon_read()
163 case hwmon_temp: in dasharo_hwmon_read_string()
188 case hwmon_temp: in dasharo_hwmon_is_visible()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwmon.c43 hwmon_notify_event(bp->hwmon_dev, hwmon_temp, attr, 0); in bnxt_hwmon_notify_event()
80 if (type != hwmon_temp) in bnxt_hwmon_is_visible()
/linux/drivers/accel/habanalabs/common/
H A Dhwmon.c23 case hwmon_temp: in fixup_flags_legacy_fw()
91 case hwmon_temp: in adjust_hwmon_flags()
258 case hwmon_temp: in hl_read()
409 case hwmon_temp: in hl_write()
496 case hwmon_temp: in hl_is_visible()

123