| /Linux-v5.15/drivers/net/ethernet/netronome/nfp/ |
| D | nfp_hwmon.c | 19 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-v5.15/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_drvinfo.c | 37 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-v5.15/drivers/power/supply/ |
| D | power_supply_hwmon.c | 93 case hwmon_temp: in power_supply_hwmon_to_property() 103 return type == hwmon_temp && attr == hwmon_temp_label; in power_supply_hwmon_is_a_label() 118 [hwmon_temp] = { ps_temp_attrs, ARRAY_SIZE(ps_temp_attrs) }, 148 case hwmon_temp: in power_supply_hwmon_is_writable() 189 case hwmon_temp: in power_supply_hwmon_read_string() 235 case hwmon_temp: in power_supply_hwmon_read() 279 case hwmon_temp: in power_supply_hwmon_write()
|
| /Linux-v5.15/drivers/net/phy/ |
| D | aquantia_hwmon.c | 36 if (type != hwmon_temp) in aqr_hwmon_is_visible() 110 if (type != hwmon_temp) in aqr_hwmon_read() 162 if (type != hwmon_temp) in aqr_hwmon_write() 209 .type = hwmon_temp,
|
| /Linux-v5.15/drivers/hwmon/ |
| D | hwmon.c | 146 ret = hwdev->chip->ops->read(tdata->dev, hwmon_temp, hwmon_temp_input, in hwmon_thermal_get_temp() 168 for (i = 0; info[i] && info[i]->type != hwmon_temp; i++) in hwmon_thermal_set_trips() 175 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips() 182 err = chip->ops->write(tdata->dev, hwmon_temp, in hwmon_thermal_set_trips() 245 if (info[i]->type != hwmon_temp) in hwmon_thermal_register_sensors() 252 !chip->ops->is_visible(drvdata, hwmon_temp, in hwmon_thermal_register_sensors() 360 return (type == hwmon_temp && attr == hwmon_temp_label) || in is_string_attr() 599 [hwmon_temp] = hwmon_temp_attr_templates, 612 [hwmon_temp] = ARRAY_SIZE(hwmon_temp_attr_templates), 645 if (type == hwmon_temp) in hwmon_notify_event()
|
| D | max6621.c | 147 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()
|
| D | as370-hwmon.c | 68 if (type != hwmon_temp) in as370_hwmon_is_visible() 85 .type = hwmon_temp,
|
| D | scmi-hwmon.c | 144 [TEMPERATURE_C] = hwmon_temp, 153 [hwmon_temp] = HWMON_T_INPUT | HWMON_T_LABEL, 211 if (nr_count[hwmon_temp]) { in scmi_hwmon_probe()
|
| D | intel-m10-bmc-hwmon.c | 148 [hwmon_temp] = n3000bmc_temp_tbl, 223 [hwmon_temp] = d5005bmc_temp_tbl, 335 [hwmon_temp] = n5010bmc_temp_tbl, 403 case hwmon_temp: in m10bmc_hwmon_read()
|
| D | nzxt-kraken2.c | 54 case hwmon_temp: in kraken2_read() 71 case hwmon_temp: in kraken2_read_string()
|
| D | lm90.c | 1398 case hwmon_temp: in lm90_read() 1411 case hwmon_temp: in lm90_write() 1424 case hwmon_temp: in lm90_is_visible() 1769 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1772 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1775 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1778 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1781 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1784 hwmon_notify_event(data->hwmon_dev, hwmon_temp, in lm90_is_tripped() 1877 info->type = hwmon_temp; in lm90_probe()
|
| D | k10temp.c | 201 case hwmon_temp: in k10temp_read_labels() 261 case hwmon_temp: in k10temp_read() 277 case hwmon_temp: in k10temp_is_visible()
|
| D | max31730.c | 122 if (type != hwmon_temp) in max31730_read() 192 if (type != hwmon_temp) in max31730_write() 230 case hwmon_temp: in max31730_is_visible()
|
| D | bt1-pvt.c | 41 PVT_SENSOR_INFO(0, "CPU Core Temperature", hwmon_temp, TEMP, TTHRES), 570 case hwmon_temp: in pvt_hwmon_channel_is_valid() 600 case hwmon_temp: in pvt_hwmon_is_visible() 750 case hwmon_temp: in pvt_hwmon_read() 798 case hwmon_temp: in pvt_hwmon_read_string() 834 case hwmon_temp: in pvt_hwmon_write()
|
| D | w83773g.c | 205 if (type == hwmon_temp && attr == hwmon_temp_offset) in w83773_write() 221 case hwmon_temp: in w83773_is_visible()
|
| D | aht10.c | 234 case hwmon_temp: in aht10_hwmon_visible() 250 case hwmon_temp: in aht10_hwmon_read()
|
| D | sht4x.c | 177 case hwmon_temp: in sht4x_hwmon_visible() 193 case hwmon_temp: in sht4x_hwmon_read()
|
| D | tps23861.c | 213 case hwmon_temp: in tps23861_is_visible() 279 case hwmon_temp: in tps23861_read() 330 case hwmon_temp: in tps23861_read_string()
|
| D | axi-fan-control.c | 222 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()
|
| D | gsc-hwmon.c | 159 case hwmon_temp: in gsc_hwmon_read() 221 case hwmon_temp: in gsc_hwmon_read_string() 388 hwmon->temp_info.type = hwmon_temp; in gsc_hwmon_probe()
|
| D | lm95241.c | 192 case hwmon_temp: in lm95241_read() 328 case hwmon_temp: in lm95241_write() 346 case hwmon_temp: in lm95241_is_visible()
|
| D | lm95245.c | 374 case hwmon_temp: in lm95245_read() 387 case hwmon_temp: in lm95245_write() 427 case hwmon_temp: in lm95245_is_visible()
|
| D | adm9240.c | 626 case hwmon_temp: in adm9240_read() 643 case hwmon_temp: in adm9240_write() 674 case hwmon_temp: in adm9240_is_visible() 676 case hwmon_temp: in adm9240_is_visible()
|
| /Linux-v5.15/drivers/gpu/drm/nouveau/ |
| D | nouveau_hwmon.c | 252 .type = hwmon_temp, 635 case hwmon_temp: in nouveau_is_visible() 671 case hwmon_temp: in nouveau_read() 691 case hwmon_temp: in nouveau_write()
|
| /Linux-v5.15/drivers/misc/habanalabs/common/ |
| D | hwmon.c | 121 case hwmon_temp: in hl_read() 199 case hwmon_temp: in hl_write() 247 case hwmon_temp: in hl_is_visible()
|