Home
last modified time | relevance | path

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

1234

/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()
102 .type = hwmon_temp,
/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()
123 .type = hwmon_temp,
/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()
195 .type = hwmon_temp,
/linux/drivers/hwmon/
H A Dmc34vr500.c61 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in mc34vr500_process_interrupt()
65 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in mc34vr500_process_interrupt()
69 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in mc34vr500_process_interrupt()
125 case hwmon_temp: in mc34vr500_read()
H A Dscmi-hwmon.c177 [TEMPERATURE_C] = hwmon_temp,
185 [hwmon_temp] = HWMON_T_INPUT | HWMON_T_LABEL,
280 if (nr_count[hwmon_temp]) in scmi_hwmon_probe()
281 nr_count_temp = nr_count[hwmon_temp]; in scmi_hwmon_probe()
338 sensor = *(scmi_sensors->info[hwmon_temp] + i); in scmi_hwmon_probe()
H A Dmax6621.c147 case hwmon_temp: in max6621_is_visible()
211 case hwmon_temp: in max6621_read()
317 case hwmon_temp: in max6621_write()
353 case hwmon_temp: in max6621_read_string()
H A Dhwmon.c168 ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, in hwmon_thermal_get_temp()
190 for (i = 0; info[i] && info[i]->type != hwmon_temp; i++) in hwmon_thermal_set_trips()
197 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips()
204 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips()
272 if (info[i]->type != hwmon_temp) in hwmon_thermal_register_sensors()
279 !hwmon_is_visible(chip->ops, drvdata, hwmon_temp, in hwmon_thermal_register_sensors()
488 return (type == hwmon_temp && attr == hwmon_temp_label) || in is_string_attr()
732 [hwmon_temp] = hwmon_temp_attr_templates,
745 [hwmon_temp] = ARRAY_SIZE(hwmon_temp_attr_templates),
781 if (type == hwmon_temp) in hwmon_notify_event()
H A Dsfctemp.c180 case hwmon_temp: in sfctemp_is_visible()
200 case hwmon_temp: in sfctemp_read()
221 case hwmon_temp: in sfctemp_write()
H A Dintel-m10-bmc-hwmon.c148 [hwmon_temp] = n3000bmc_temp_tbl,
223 [hwmon_temp] = d5005bmc_temp_tbl,
335 [hwmon_temp] = n5010bmc_temp_tbl,
559 [hwmon_temp] = n6000bmc_temp_tbl,
621 case hwmon_temp: in m10bmc_hwmon_read()
H A Dlm90.c1084 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 0); in lm90_report_alarms()
1086 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 1); in lm90_report_alarms()
1088 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_min_alarm, 2); in lm90_report_alarms()
1091 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 0); in lm90_report_alarms()
1093 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 1); in lm90_report_alarms()
1095 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_max_alarm, 2); in lm90_report_alarms()
1098 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 0); in lm90_report_alarms()
1100 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 1); in lm90_report_alarms()
1102 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_crit_alarm, 2); in lm90_report_alarms()
1105 hwmon_notify_event(hwmon_dev, hwmon_temp, hwmon_temp_emergency_alarm, 0); in lm90_report_alarms()
[all …]
H A Dmax1619.c140 case hwmon_temp: in max1619_read()
191 case hwmon_temp: in max1619_write()
212 case hwmon_temp: in max1619_is_visible()
H A Dlm92.c177 case hwmon_temp: in lm92_read()
223 case hwmon_temp: in lm92_write()
242 case hwmon_temp: in lm92_is_visible()
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 Dhp-wmi-sensors.c174 [HP_WMI_TYPE_TEMPERATURE] = hwmon_temp,
182 [hwmon_temp] = HWMON_T_INPUT | HWMON_T_LABEL | HWMON_T_FAULT,
1435 if ((type == hwmon_temp && attr == hwmon_temp_alarm) || in hp_wmi_hwmon_is_visible()
1458 if ((type == hwmon_temp && attr == hwmon_temp_alarm) || in hp_wmi_hwmon_read()
1472 if ((type == hwmon_temp && attr == hwmon_temp_fault) || in hp_wmi_hwmon_read()
1549 struct hp_wmi_info **ptr_info = state->info_map[hwmon_temp]; in match_temp_events()
1550 u8 temp_count = state->channel_count[hwmon_temp]; in match_temp_events()
1929 if (channel_count[hwmon_temp]) in make_chip_info()
1968 if (!has_events || (type != hwmon_temp && type != hwmon_fan)) in make_chip_info()
1971 attr = type == hwmon_temp ? HWMON_T_ALARM : HWMON_F_ALARM; in make_chip_info()
H A Dmax31760.c88 case hwmon_temp: in max31760_read()
246 case hwmon_temp: in max31760_write()
343 case hwmon_temp: in max31760_is_visible()
387 case hwmon_temp: in max31760_read_string()
H A Dsmpro-hwmon.c297 case hwmon_temp: in smpro_read()
314 case hwmon_temp: in smpro_read_string()
368 case hwmon_temp: in smpro_is_visible()
H A Dlm83.c280 case hwmon_temp: in lm83_read()
291 case hwmon_temp: in lm83_write()
314 case hwmon_temp: in lm83_is_visible()
H A Dadt7x10.c90 hwmon_notify_event(dev, hwmon_temp, hwmon_temp_max_alarm, 0); in adt7x10_irq_handler()
92 hwmon_notify_event(dev, hwmon_temp, hwmon_temp_min_alarm, 0); in adt7x10_irq_handler()
94 hwmon_notify_event(dev, hwmon_temp, hwmon_temp_crit_alarm, 0); in adt7x10_irq_handler()
H A Dbt1-pvt.c42 PVT_SENSOR_INFO(0, "CPU Core Temperature", hwmon_temp, TEMP, TTHRES),
546 case hwmon_temp: in pvt_hwmon_channel_is_valid()
576 case hwmon_temp: in pvt_hwmon_is_visible()
726 case hwmon_temp: in pvt_hwmon_read()
774 case hwmon_temp: in pvt_hwmon_read_string()
810 case hwmon_temp: in pvt_hwmon_write()
H A Dmax31730.c121 if (type != hwmon_temp) in max31730_read()
191 if (type != hwmon_temp) in max31730_write()
229 case hwmon_temp: in max31730_is_visible()
/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/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/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/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()

1234