drivers/accel/habanalabs/common/hwmon.c
155
enum hwmon_sensor_types type;
drivers/accel/habanalabs/common/hwmon.c
17
static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type,
drivers/accel/habanalabs/common/hwmon.c
243
static int hl_read(struct device *dev, enum hwmon_sensor_types type,
drivers/accel/habanalabs/common/hwmon.c
397
static int hl_write(struct device *dev, enum hwmon_sensor_types type,
drivers/accel/habanalabs/common/hwmon.c
492
static umode_t hl_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/accel/habanalabs/common/hwmon.c
64
static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type,
drivers/accel/habanalabs/common/hwmon.c
77
static u32 adjust_hwmon_flags(struct hl_device *hdev, enum hwmon_sensor_types type, u32 cpucp_flags)
drivers/acpi/fan_hwmon.c
30
static umode_t acpi_fan_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/acpi/fan_hwmon.c
89
static int acpi_fan_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/fpga/dfl-fme-main.c
220
enum hwmon_sensor_types type,
drivers/fpga/dfl-fme-main.c
232
static int thermal_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/fpga/dfl-fme-main.c
383
static int power_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/fpga/dfl-fme-main.c
417
static int power_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/fpga/dfl-fme-main.c
453
enum hwmon_sensor_types type,
drivers/gpu/drm/i915/i915_hwmon.c
725
hwm_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/gpu/drm/i915/i915_hwmon.c
749
hwm_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/i915/i915_hwmon.c
773
hwm_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/i915/i915_hwmon.c
800
hwm_gt_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/gpu/drm/i915/i915_hwmon.c
814
hwm_gt_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/nouveau/nouveau_hwmon.c
578
nouveau_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/nouveau/nouveau_hwmon.c
602
nouveau_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/nouveau/nouveau_hwmon.c
614
nouveau_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/nouveau/nouveau_hwmon.c
636
nouveau_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/xe/xe_hwmon.c
1349
xe_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/gpu/drm/xe/xe_hwmon.c
1383
xe_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/xe/xe_hwmon.c
1409
xe_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/gpu/drm/xe/xe_hwmon.c
1427
enum hwmon_sensor_types type,
drivers/hwmon/acpi_power_meter.c
401
enum hwmon_sensor_types type,
drivers/hwmon/acpi_power_meter.c
441
static int power_meter_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/acpi_power_meter.c
497
static int power_meter_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adm1177.c
123
static int adm1177_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adm1177.c
144
enum hwmon_sensor_types type,
drivers/hwmon/adm1177.c
73
static int adm1177_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adm9240.c
608
static int adm9240_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/adm9240.c
627
static int adm9240_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/adm9240.c
644
static umode_t adm9240_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/ads7871.c
107
static int ads7871_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ads7871.c
70
enum hwmon_sensor_types type,
drivers/hwmon/adt7411.c
396
static int adt7411_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adt7411.c
493
static int adt7411_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adt7411.c
507
enum hwmon_sensor_types type,
drivers/hwmon/adt7470.c
1135
static int adt7470_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/adt7470.c
1150
static int adt7470_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/adt7470.c
1165
static umode_t adt7470_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/adt7x10.c
217
enum hwmon_sensor_types type,
drivers/hwmon/adt7x10.c
240
static int adt7x10_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/adt7x10.c
271
static int adt7x10_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/aht10.c
270
static umode_t aht10_hwmon_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/aht10.c
284
static int aht10_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/aht10.c
301
static int aht10_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/amc6821.c
201
static int amc6821_read_alarms(struct regmap *regmap, enum hwmon_sensor_types type,
drivers/hwmon/amc6821.c
704
static int amc6821_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/amc6821.c
719
static int amc6821_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/amc6821.c
735
enum hwmon_sensor_types type,
drivers/hwmon/aquacomputer_d5next.c
1006
static int aqc_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/aquacomputer_d5next.c
1108
static int aqc_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/aquacomputer_d5next.c
1147
static int aqc_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/aquacomputer_d5next.c
766
static umode_t aqc_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel)
drivers/hwmon/arctic_fan_controller.c
125
enum hwmon_sensor_types type,
drivers/hwmon/arctic_fan_controller.c
135
static int arctic_fan_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/arctic_fan_controller.c
156
static int arctic_fan_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/as370-hwmon.c
46
static int as370_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/as370-hwmon.c
65
as370_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/aspeed-g6-pwm-tach.c
318
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/aspeed-g6-pwm-tach.c
340
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/aspeed-g6-pwm-tach.c
366
enum hwmon_sensor_types type,
drivers/hwmon/asus-ec-sensors.c
1051
enum hwmon_sensor_types type, int channel)
drivers/hwmon/asus-ec-sensors.c
1297
static int asus_ec_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/asus-ec-sensors.c
1320
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/asus-ec-sensors.c
1335
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/asus-ec-sensors.c
1346
enum hwmon_sensor_types type, u32 config)
drivers/hwmon/asus-ec-sensors.c
1390
enum hwmon_sensor_types type;
drivers/hwmon/asus-ec-sensors.c
94
enum hwmon_sensor_types type;
drivers/hwmon/asus_rog_ryujin.c
113
enum hwmon_sensor_types type, u32 attr, int channel)
drivers/hwmon/asus_rog_ryujin.c
226
static int rog_ryujin_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/asus_rog_ryujin.c
258
static int rog_ryujin_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/asus_rog_ryujin.c
330
static int rog_ryujin_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/asus_wmi_sensors.c
121
static enum hwmon_sensor_types asus_data_types[] = {
drivers/hwmon/asus_wmi_sensors.c
251
enum hwmon_sensor_types type, u32 config)
drivers/hwmon/asus_wmi_sensors.c
446
static int asus_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/asus_wmi_sensors.c
467
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/asus_wmi_sensors.c
480
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/asus_wmi_sensors.c
512
enum hwmon_sensor_types type;
drivers/hwmon/axi-fan-control.c
215
enum hwmon_sensor_types type,
drivers/hwmon/axi-fan-control.c
231
enum hwmon_sensor_types type,
drivers/hwmon/axi-fan-control.c
247
enum hwmon_sensor_types type,
drivers/hwmon/axi-fan-control.c
292
enum hwmon_sensor_types type,
drivers/hwmon/cgbc-hwmon.c
165
enum hwmon_sensor_types type, int channel)
drivers/hwmon/cgbc-hwmon.c
188
static int cgbc_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/cgbc-hwmon.c
213
static umode_t cgbc_hwmon_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/cgbc-hwmon.c
226
static int cgbc_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/cgbc-hwmon.c
23
enum hwmon_sensor_types type;
drivers/hwmon/cgbc-hwmon.c
56
enum hwmon_sensor_types type;
drivers/hwmon/chipcap2.c
336
enum hwmon_sensor_types type, long *val)
drivers/hwmon/chipcap2.c
369
enum hwmon_sensor_types type, long *val)
drivers/hwmon/chipcap2.c
394
static int cc2_measurement(struct cc2_data *data, enum hwmon_sensor_types type,
drivers/hwmon/chipcap2.c
442
static umode_t cc2_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/chipcap2.c
555
static int cc2_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/chipcap2.c
587
static int cc2_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/corsair-cpro.c
226
static int ccp_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/corsair-cpro.c
248
static int ccp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/corsair-cpro.c
317
static int ccp_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/corsair-cpro.c
346
static umode_t ccp_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/corsair-psu.c
443
static umode_t corsairpsu_hwmon_ops_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/corsair-psu.c
572
static int corsairpsu_hwmon_ops_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/corsair-psu.c
597
static int corsairpsu_hwmon_ops_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/cros_ec_hwmon.c
170
static int cros_ec_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/cros_ec_hwmon.c
237
static int cros_ec_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/cros_ec_hwmon.c
299
static int cros_ec_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/cros_ec_hwmon.c
318
static umode_t cros_ec_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/dell-smm-hwmon.c
1021
static int dell_smm_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/dell-smm-hwmon.c
789
static umode_t dell_smm_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/dell-smm-hwmon.c
881
static int dell_smm_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/dell-smm-hwmon.c
990
static int dell_smm_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/drivetemp.c
447
static int drivetemp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/drivetemp.c
482
enum hwmon_sensor_types type,
drivers/hwmon/emc1403.c
412
static int emc1403_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/emc1403.c
519
static int emc1403_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/emc1403.c
577
static umode_t emc1403_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/emc1812.c
394
static umode_t emc1812_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/emc1812.c
565
static int emc1812_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/emc1812.c
595
static int emc1812_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/emc1812.c
664
static int emc1812_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/emc2305.c
367
emc2305_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, int channel)
drivers/hwmon/emc2305.c
401
emc2305_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long val)
drivers/hwmon/emc2305.c
442
emc2305_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val)
drivers/hwmon/ftsteutates.c
317
static umode_t fts_is_visible(const void *devdata, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/ftsteutates.c
353
static int fts_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/ftsteutates.c
433
static int fts_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/gigabyte_waterforce.c
164
static int waterforce_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/gigabyte_waterforce.c
196
static int waterforce_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/gigabyte_waterforce.c
74
enum hwmon_sensor_types type, u32 attr, int channel)
drivers/hwmon/gpd-fan.c
494
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/gpd-fan.c
512
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/gpd-fan.c
548
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/gsc-hwmon.c
145
gsc_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/gsc-hwmon.c
211
gsc_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/gxp-fan-ctrl.c
118
static int gxp_fan_ctrl_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/gxp-fan-ctrl.c
132
enum hwmon_sensor_types type,
drivers/hwmon/gxp-fan-ctrl.c
72
static int gxp_fan_ctrl_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/hp-wmi-sensors.c
1421
enum hwmon_sensor_types type,
drivers/hwmon/hp-wmi-sensors.c
1442
static int hp_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/hp-wmi-sensors.c
1482
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/hp-wmi-sensors.c
1494
static int hp_wmi_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/hp-wmi-sensors.c
1727
enum hwmon_sensor_types type;
drivers/hwmon/hp-wmi-sensors.c
173
static const enum hwmon_sensor_types hp_wmi_hwmon_type_map[] = {
drivers/hwmon/hp-wmi-sensors.c
1922
enum hwmon_sensor_types type;
drivers/hwmon/hp-wmi-sensors.c
376
enum hwmon_sensor_types type;
drivers/hwmon/hs3001.c
100
static umode_t hs3001_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/hs3001.c
107
static int hs3001_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/htu31.c
131
static umode_t htu31_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/htu31.c
143
static int htu31_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/hwmon.c
152
enum hwmon_sensor_types type,
drivers/hwmon/hwmon.c
314
static int hwmon_attr_base(enum hwmon_sensor_types type)
drivers/hwmon/hwmon.c
458
enum hwmon_sensor_types type = hattr->type;
drivers/hwmon/hwmon.c
501
static bool is_string_attr(enum hwmon_sensor_types type, u32 attr)
drivers/hwmon/hwmon.c
514
enum hwmon_sensor_types type,
drivers/hwmon/hwmon.c
53
enum hwmon_sensor_types type;
drivers/hwmon/hwmon.c
775
int hwmon_notify_event(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/i5500_temp.c
29
static int i5500_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/ina238.c
726
static int ina238_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina238.c
748
static int ina238_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina238.c
768
enum hwmon_sensor_types type,
drivers/hwmon/ina2xx.c
635
static int ina2xx_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina2xx.c
718
static int ina2xx_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina2xx.c
735
static umode_t ina2xx_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/ina3221.c
527
static int ina3221_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina3221.c
550
static int ina3221_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina3221.c
573
static int ina3221_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ina3221.c
588
enum hwmon_sensor_types type,
drivers/hwmon/intel-m10-bmc-hwmon.c
568
find_sensor_data(struct m10bmc_hwmon *hw, enum hwmon_sensor_types type,
drivers/hwmon/intel-m10-bmc-hwmon.c
606
static int m10bmc_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/intel-m10-bmc-hwmon.c
708
enum hwmon_sensor_types type,
drivers/hwmon/isl28022.c
199
static int isl28022_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/isl28022.c
215
static umode_t isl28022_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/jc42.c
209
static int jc42_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/jc42.c
296
static int jc42_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/jc42.c
353
static umode_t jc42_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/k10temp.c
213
enum hwmon_sensor_types type,
drivers/hwmon/k10temp.c
276
static int k10temp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/k10temp.c
288
enum hwmon_sensor_types type,
drivers/hwmon/k8temp.c
72
k8temp_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/hwmon/k8temp.c
87
k8temp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/kbatt.c
67
static int kbatt_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/kbatt.c
77
static umode_t kbatt_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/kfan.c
116
static int kfan_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/kfan.c
150
static umode_t kfan_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/kfan.c
95
static int kfan_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lan966x-hwmon.c
152
static int lan966x_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lan966x-hwmon.c
202
static int lan966x_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lan966x-hwmon.c
221
enum hwmon_sensor_types type,
drivers/hwmon/lattepanda-sigma-ec.c
164
enum hwmon_sensor_types type,
drivers/hwmon/lattepanda-sigma-ec.c
182
enum hwmon_sensor_types type,
drivers/hwmon/lattepanda-sigma-ec.c
202
enum hwmon_sensor_types type,
drivers/hwmon/lenovo-ec-sensors.c
250
lenovo_ec_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lenovo-ec-sensors.c
268
lenovo_ec_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lenovo-ec-sensors.c
284
lenovo_ec_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/lm75.c
369
static int lm75_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm75.c
379
static int lm75_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm75.c
518
static int lm75_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm75.c
532
static umode_t lm75_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/lm83.c
274
static int lm83_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm83.c
287
static int lm83_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm83.c
298
static umode_t lm83_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/lm90.c
1733
static int lm90_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm90.c
1746
static int lm90_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm90.c
1756
static int lm90_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm90.c
1769
static umode_t lm90_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/lm92.c
167
static int lm92_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/lm92.c
211
static int lm92_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm92.c
224
static umode_t lm92_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/lm95234.c
272
static int lm95234_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95234.c
285
static int lm95234_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95234.c
298
static umode_t lm95234_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/lm95241.c
179
static int lm95241_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95241.c
307
static int lm95241_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95241.c
321
enum hwmon_sensor_types type,
drivers/hwmon/lm95245.c
338
static int lm95245_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95245.c
351
static int lm95245_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lm95245.c
386
enum hwmon_sensor_types type,
drivers/hwmon/lochnagar-hwmon.c
226
enum hwmon_sensor_types type,
drivers/hwmon/lochnagar-hwmon.c
245
static int lochnagar_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/lochnagar-hwmon.c
275
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/lochnagar-hwmon.c
289
static int lochnagar_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc2947-core.c
568
static int ltc2947_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc2947-core.c
741
enum hwmon_sensor_types type,
drivers/hwmon/ltc2947-core.c
759
enum hwmon_sensor_types type,
drivers/hwmon/ltc2947-core.c
867
enum hwmon_sensor_types type,
drivers/hwmon/ltc2991.c
182
static int ltc2991_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc2991.c
198
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/ltc2992.c
352
static umode_t ltc2992_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/ltc2992.c
718
static int ltc2992_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/ltc2992.c
825
static int ltc2992_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/ltc4245.c
325
static int ltc4245_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc4245.c
342
enum hwmon_sensor_types type,
drivers/hwmon/ltc4282.c
1052
enum hwmon_sensor_types type,
drivers/hwmon/ltc4282.c
1078
enum hwmon_sensor_types type,
drivers/hwmon/ltc4282.c
591
static int ltc4282_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc4282.c
967
enum hwmon_sensor_types type,
drivers/hwmon/ltc4283.c
539
static int ltc4283_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc4283.c
818
static int ltc4283_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltc4283.c
921
enum hwmon_sensor_types type,
drivers/hwmon/ltc4283.c
949
enum hwmon_sensor_types type,
drivers/hwmon/ltq-cputemp.c
31
static int ltq_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ltq-cputemp.c
54
static umode_t ltq_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/macsmc-hwmon.c
343
static int macsmc_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/macsmc-hwmon.c
378
static int macsmc_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/macsmc-hwmon.c
403
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/macsmc-hwmon.c
92
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max127.c
190
enum hwmon_sensor_types type,
drivers/hwmon/max127.c
210
static int max127_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max127.c
240
static int max127_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max1619.c
132
static int max1619_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max1619.c
183
static int max1619_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max1619.c
198
static umode_t max1619_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/max1668.c
117
static int max1668_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max1668.c
135
static umode_t max1668_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/max1668.c
54
static int max1668_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31730.c
115
static int max31730_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31730.c
185
static int max31730_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31730.c
225
enum hwmon_sensor_types type,
drivers/hwmon/max31760.c
236
static int max31760_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31760.c
339
enum hwmon_sensor_types type,
drivers/hwmon/max31760.c
383
enum hwmon_sensor_types type,
drivers/hwmon/max31760.c
77
static int max31760_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31790.c
389
static int max31790_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31790.c
402
static int max31790_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31790.c
416
enum hwmon_sensor_types type,
drivers/hwmon/max31827.c
164
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max31827.c
190
static int max31827_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max31827.c
316
static int max31827_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6620.c
213
max6620_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6620.c
237
max6620_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6620.c
307
max6620_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6621.c
139
max6621_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6621.c
201
max6621_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6621.c
310
max6621_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6621.c
349
max6621_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6639.c
431
static int max6639_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6639.c
446
static int max6639_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6639.c
462
enum hwmon_sensor_types type,
drivers/hwmon/max6650.c
520
static int max6650_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6650.c
611
static int max6650_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6650.c
694
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max6697.c
187
static int max6697_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6697.c
278
static int max6697_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max6697.c
321
static umode_t max6697_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/max77705-hwmon.c
102
static int max77705_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/max77705-hwmon.c
128
static int max77705_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/max77705-hwmon.c
70
enum hwmon_sensor_types type,
drivers/hwmon/mc33xs2410_hwmon.c
102
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mc33xs2410_hwmon.c
129
enum hwmon_sensor_types type,
drivers/hwmon/mc33xs2410_hwmon.c
45
enum hwmon_sensor_types type,
drivers/hwmon/mc33xs2410_hwmon.c
61
enum hwmon_sensor_types type,
drivers/hwmon/mc34vr500.c
112
static int mc34vr500_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/mc34vr500.c
81
enum hwmon_sensor_types type,
drivers/hwmon/mcp3021.c
59
static int mcp3021_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/mcp3021.c
92
enum hwmon_sensor_types type,
drivers/hwmon/mcp9982.c
362
static int mcp9982_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/mcp9982.c
544
static int mcp9982_read_label(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mcp9982.c
620
static int mcp9982_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/mcp9982.c
677
static umode_t mcp9982_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mlxreg-fan.c
122
mlxreg_fan_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mlxreg-fan.c
209
mlxreg_fan_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mlxreg-fan.c
250
mlxreg_fan_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/mr75203.c
241
static umode_t pvt_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/mr75203.c
358
static int pvt_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct6694-hwmon.c
758
static int nct6694_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct6694-hwmon.c
779
static int nct6694_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct6694-hwmon.c
797
enum hwmon_sensor_types type,
drivers/hwmon/nct7363.c
213
static int nct7363_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct7363.c
226
static int nct7363_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct7363.c
240
enum hwmon_sensor_types type,
drivers/hwmon/nct7904.c
717
static int nct7904_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct7904.c
734
static int nct7904_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nct7904.c
752
enum hwmon_sensor_types type,
drivers/hwmon/npcm750-pwm-fan.c
597
static int npcm7xx_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/npcm750-pwm-fan.c
610
static int npcm7xx_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/npcm750-pwm-fan.c
622
enum hwmon_sensor_types type,
drivers/hwmon/ntc_thermistor.c
546
static int ntc_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/ntc_thermistor.c
574
static umode_t ntc_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/nzxt-kraken2.c
38
static int kraken2_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nzxt-kraken2.c
60
static int kraken2_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nzxt-kraken3.c
123
static umode_t kraken3_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/nzxt-kraken3.c
289
static int kraken3_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/nzxt-kraken3.c
334
static int kraken3_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/nzxt-kraken3.c
406
static int kraken3_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/nzxt-smart2.c
310
enum hwmon_sensor_types type,
drivers/hwmon/nzxt-smart2.c
338
static int nzxt_smart2_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/nzxt-smart2.c
600
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/nzxt-smart2.c
641
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/peci/cputemp.c
268
static int cputemp_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/peci/cputemp.c
282
static int cputemp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/peci/cputemp.c
317
static umode_t cputemp_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/peci/dimmtemp.c
164
enum hwmon_sensor_types type,
drivers/hwmon/peci/dimmtemp.c
177
static int dimmtemp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/peci/dimmtemp.c
196
static umode_t dimmtemp_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/powerz.c
152
static int powerz_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/powerz.c
60
static int powerz_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/powr1220.c
166
powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32
drivers/hwmon/powr1220.c
193
powr1220_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/powr1220.c
214
powr1220_read(struct device *dev, enum hwmon_sensor_types type, u32
drivers/hwmon/prom21-xhci.c
123
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/prom21-xhci.c
137
static int prom21_xhci_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/pt5161l.c
421
static int pt5161l_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/pt5161l.c
465
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/pwm-fan.c
311
static int pwm_fan_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/pwm-fan.c
340
static int pwm_fan_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/pwm-fan.c
366
enum hwmon_sensor_types type,
drivers/hwmon/qnap-mcu-hwmon.c
120
static int qnap_mcu_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/qnap-mcu-hwmon.c
159
enum hwmon_sensor_types type,
drivers/hwmon/qnap-mcu-hwmon.c
99
static int qnap_mcu_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/raspberrypi-hwmon.c
106
static int rpi_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/raspberrypi-hwmon.c
148
static int rpi_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/raspberrypi-hwmon.c
162
static umode_t rpi_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/sbtsi_temp.c
128
static int sbtsi_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sbtsi_temp.c
161
enum hwmon_sensor_types type,
drivers/hwmon/sbtsi_temp.c
87
static int sbtsi_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sch5627.c
249
static umode_t sch5627_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/sch5627.c
293
static int sch5627_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/sch5627.c
403
static int sch5627_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/sch5627.c
423
static int sch5627_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/hwmon/scmi-hwmon.c
102
scmi_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/scmi-hwmon.c
115
scmi_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/hwmon/scmi-hwmon.c
160
enum hwmon_sensor_types type, u32 config)
drivers/hwmon/scmi-hwmon.c
176
static enum hwmon_sensor_types scmi_types[] = {
drivers/hwmon/scmi-hwmon.c
233
enum hwmon_sensor_types type;
drivers/hwmon/scmi-hwmon.c
90
static int scmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sfctemp.c
157
static umode_t sfctemp_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/sfctemp.c
175
static int sfctemp_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sfctemp.c
196
static int sfctemp_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sg2042-mcu.c
182
enum hwmon_sensor_types type,
drivers/hwmon/sg2042-mcu.c
212
enum hwmon_sensor_types type,
drivers/hwmon/sg2042-mcu.c
258
enum hwmon_sensor_types type,
drivers/hwmon/sht3x.c
657
static umode_t sht3x_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/sht3x.c
708
static int sht3x_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sht3x.c
791
static int sht3x_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sht4x.c
190
enum hwmon_sensor_types type,
drivers/hwmon/sht4x.c
204
static int sht4x_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sht4x.c
221
static int sht4x_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sl28cpld-hwmon.c
26
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/smpro-hwmon.c
292
static int smpro_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/smpro-hwmon.c
309
static int smpro_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/smpro-hwmon.c
359
static umode_t smpro_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/sparx5-temp.c
40
static int s5_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sparx5-temp.c
74
static umode_t s5_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/spd5118.c
178
static int spd5118_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/spd5118.c
260
static int spd5118_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/spd5118.c
273
static umode_t spd5118_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/surface_fan.c
22
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/surface_temp.c
118
enum hwmon_sensor_types type,
drivers/hwmon/surface_temp.c
130
enum hwmon_sensor_types type,
drivers/hwmon/surface_temp.c
139
enum hwmon_sensor_types type,
drivers/hwmon/sy7636a-hwmon.c
21
static int sy7636a_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/sy7636a-hwmon.c
38
enum hwmon_sensor_types type,
drivers/hwmon/tmp102.c
134
static int tmp102_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp102.c
195
static int tmp102_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp102.c
209
static umode_t tmp102_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tmp102.c
77
static int tmp102_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp103.c
102
static umode_t tmp103_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tmp103.c
51
static int tmp103_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp103.c
81
static int tmp103_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp108.c
118
static int tmp108_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp108.c
204
static int tmp108_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp108.c
261
static umode_t tmp108_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tmp401.c
457
static int tmp401_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp401.c
470
static int tmp401_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp401.c
483
static umode_t tmp401_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tmp421.c
184
static int tmp421_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp421.c
219
static int tmp421_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp421.c
229
static int tmp421_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp421.c
247
static umode_t tmp421_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tmp464.c
239
static int tmp464_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp464.c
252
static int tmp464_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp464.c
337
static int tmp464_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp464.c
358
static umode_t tmp464_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/hwmon/tmp513.c
310
static u8 tmp51x_get_reg(enum hwmon_sensor_types type, u32 attr, int channel)
drivers/hwmon/tmp513.c
368
static u8 tmp51x_get_status_pos(enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/tmp513.c
407
static int tmp51x_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp513.c
429
static int tmp51x_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tmp513.c
442
enum hwmon_sensor_types type, u32 attr,
drivers/hwmon/tps23861.c
212
static umode_t tps23861_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tps23861.c
247
static int tps23861_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tps23861.c
275
static int tps23861_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tps23861.c
325
enum hwmon_sensor_types type,
drivers/hwmon/tsc1641.c
489
static umode_t tsc1641_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/tsc1641.c
559
static int tsc1641_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/tsc1641.c
578
static int tsc1641_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83627ehf.c
1337
w83627ehf_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/hwmon/w83627ehf.c
1556
w83627ehf_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83627ehf.c
1585
w83627ehf_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83627ehf.c
1606
w83627ehf_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83773g.c
172
static int w83773_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83773g.c
197
static int w83773_write(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/w83773g.c
211
static umode_t w83773_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/hwmon/yogafan.c
122
static int yoga_fan_read(struct device *dev, enum hwmon_sensor_types type,
drivers/hwmon/yogafan.c
142
static umode_t yoga_fan_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/media/i2c/video-i2c.c
272
enum hwmon_sensor_types type,
drivers/media/i2c/video-i2c.c
278
static int amg88xx_read(struct device *dev, enum hwmon_sensor_types type,
drivers/media/pci/mgb4/mgb4_core.c
101
static int temp_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/media/pci/mgb4/mgb4_core.c
73
static umode_t temp_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/media/pci/mgb4/mgb4_core.c
83
static int temp_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/misc/amd-sbi/rmi-hwmon.c
15
static int sbrmi_read(struct device *dev, enum hwmon_sensor_types type,
drivers/misc/amd-sbi/rmi-hwmon.c
51
static int sbrmi_write(struct device *dev, enum hwmon_sensor_types type,
drivers/misc/amd-sbi/rmi-hwmon.c
77
enum hwmon_sensor_types type,
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c
27
static int aq_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c
67
enum hwmon_sensor_types type,
drivers/net/ethernet/aquantia/atlantic/aq_drvinfo.c
87
enum hwmon_sensor_types type,
drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c
100
static int bnxt_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.c
75
static umode_t bnxt_hwmon_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/net/ethernet/intel/ice/ice_hwmon.c
19
static int ice_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/ethernet/intel/ice/ice_hwmon.c
61
enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
113
static int mlx5_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
125
static umode_t mlx5_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
144
static int mlx5_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/mellanox/mlx5/core/hwmon.c
83
static int mlx5_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c
20
enum hwmon_sensor_types type,
drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c
31
static int fbnic_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c
9
static int fbnic_hwmon_sensor_id(enum hwmon_sensor_types type)
drivers/net/ethernet/netronome/nfp/nfp_hwmon.c
17
static int nfp_hwmon_sensor_id(enum hwmon_sensor_types type, int channel)
drivers/net/ethernet/netronome/nfp/nfp_hwmon.c
27
nfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/net/ethernet/netronome/nfp/nfp_hwmon.c
31
enum hwmon_sensor_types type;
drivers/net/ethernet/netronome/nfp/nfp_hwmon.c
66
nfp_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr,
drivers/net/phy/aquantia/aquantia_hwmon.c
143
static int aqr_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/aquantia/aquantia_hwmon.c
19
enum hwmon_sensor_types type,
drivers/net/phy/aquantia/aquantia_hwmon.c
90
static int aqr_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/bcm54140.c
148
enum hwmon_sensor_types type,
drivers/net/phy/bcm54140.c
273
enum hwmon_sensor_types type, u32 attr,
drivers/net/phy/bcm54140.c
292
enum hwmon_sensor_types type, u32 attr,
drivers/net/phy/bcm54140.c
359
enum hwmon_sensor_types type, u32 attr,
drivers/net/phy/marvell-88q2xxx.c
638
enum hwmon_sensor_types type,
drivers/net/phy/marvell-88q2xxx.c
654
enum hwmon_sensor_types type,
drivers/net/phy/marvell-88q2xxx.c
694
enum hwmon_sensor_types type, u32 attr,
drivers/net/phy/marvell.c
3099
static int marvell_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/marvell.c
3124
static int marvell_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/marvell.c
3142
enum hwmon_sensor_types type,
drivers/net/phy/marvell10g.c
183
enum hwmon_sensor_types type,
drivers/net/phy/marvell10g.c
203
static int mv3310_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/mxl-gpy.c
193
enum hwmon_sensor_types type,
drivers/net/phy/mxl-gpy.c
212
enum hwmon_sensor_types type,
drivers/net/phy/mxl-gpy.c
235
enum hwmon_sensor_types type,
drivers/net/phy/nxp-tja11xx.c
450
enum hwmon_sensor_types type,
drivers/net/phy/nxp-tja11xx.c
478
enum hwmon_sensor_types type,
drivers/net/phy/realtek/realtek_hwmon.c
25
static int rtl822x_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/sfp.c
1169
enum hwmon_sensor_types type,
drivers/net/phy/sfp.c
1725
static int sfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/net/phy/sfp.c
1757
enum hwmon_sensor_types type,
drivers/nvme/host/hwmon.c
115
static int nvme_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/nvme/host/hwmon.c
145
enum hwmon_sensor_types type, u32 attr,
drivers/nvme/host/hwmon.c
153
enum hwmon_sensor_types type,
drivers/nvme/host/hwmon.c
66
static int nvme_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/arm64/huawei-gaokun-ec.c
574
gaokun_ec_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/platform/arm64/huawei-gaokun-ec.c
581
gaokun_ec_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/acer-wmi.c
2931
enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/acer-wmi.c
2963
static int acer_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/acer-wmi.c
3032
static int acer_wmi_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/amd/hsmp/hwmon.c
22
static int hsmp_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/amd/hsmp/hwmon.c
42
enum hwmon_sensor_types type,
drivers/platform/x86/amd/hsmp/hwmon.c
77
enum hwmon_sensor_types type,
drivers/platform/x86/ayaneo-ec.c
147
enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/ayaneo-ec.c
160
static int ayaneo_ec_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/ayaneo-ec.c
214
static int ayaneo_ec_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/bitland-mifs-wmi.c
342
static int laptop_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/bitland-mifs-wmi.c
386
enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/dasharo-acpi.c
126
static int dasharo_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/dasharo-acpi.c
157
static int dasharo_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/dasharo-acpi.c
182
static umode_t dasharo_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/dell/alienware-wmi-wmax.c
821
static umode_t awcc_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/dell/alienware-wmi-wmax.c
841
static int awcc_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/dell/alienware-wmi-wmax.c
908
static int awcc_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/dell/dell-wmi-ddv.c
306
static umode_t dell_wmi_ddv_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/dell/dell-wmi-ddv.c
370
static int dell_wmi_ddv_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/dell/dell-wmi-ddv.c
483
static int dell_wmi_ddv_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/dell/dell-wmi-ddv.c
526
enum hwmon_sensor_types type,
drivers/platform/x86/dell/dell-wmi-ddv.c
569
enum hwmon_sensor_types type,
drivers/platform/x86/gigabyte-wmi.c
83
static int gigabyte_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/gigabyte-wmi.c
91
static umode_t gigabyte_wmi_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/platform/x86/hp/hp-wmi.c
2443
enum hwmon_sensor_types type,
drivers/platform/x86/hp/hp-wmi.c
2467
static int hp_wmi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/hp/hp-wmi.c
2513
static int hp_wmi_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/lenovo/wmi-other.c
252
static umode_t lwmi_om_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/lenovo/wmi-other.c
307
static int lwmi_om_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/lenovo/wmi-other.c
362
static int lwmi_om_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/msi-wmi-platform.c
179
static umode_t msi_wmi_platform_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/msi-wmi-platform.c
185
static int msi_wmi_platform_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/oxpec.c
700
enum hwmon_sensor_types type, u32 attr, int channel)
drivers/platform/x86/oxpec.c
808
static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/oxpec.c
858
static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/portwell-ec.c
272
static umode_t pwec_hwmon_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/portwell-ec.c
287
static int pwec_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/portwell-ec.c
305
static int pwec_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/siemens/simatic-ipc-batt.c
108
static int simatic_ipc_batt_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/siemens/simatic-ipc-batt.c
125
static umode_t simatic_ipc_batt_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/platform/x86/silicom-platform.c
826
enum hwmon_sensor_types type,
drivers/platform/x86/silicom-platform.c
840
enum hwmon_sensor_types type,
drivers/platform/x86/silicom-platform.c
855
enum hwmon_sensor_types type,
drivers/platform/x86/system76_acpi.c
498
static umode_t thermal_is_visible(const void *drvdata, enum hwmon_sensor_types type,
drivers/platform/x86/system76_acpi.c
522
static int thermal_read(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/system76_acpi.c
566
static int thermal_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/toshiba_acpi.c
3020
enum hwmon_sensor_types type,
drivers/platform/x86/toshiba_acpi.c
3026
static int toshiba_acpi_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/platform/x86/uniwill/uniwill-acpi.c
1143
static umode_t uniwill_is_visible(const void *drvdata, enum hwmon_sensor_types type, u32 attr,
drivers/platform/x86/uniwill/uniwill-acpi.c
1185
static int uniwill_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/platform/x86/uniwill/uniwill-acpi.c
1252
static int uniwill_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr,
drivers/power/supply/power_supply_hwmon.c
115
static bool power_supply_hwmon_is_a_label(enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
138
enum hwmon_sensor_types type, int channel)
drivers/power/supply/power_supply_hwmon.c
154
static bool power_supply_hwmon_is_writable(enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
174
enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
199
enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
221
power_supply_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
270
power_supply_hwmon_write(struct device *dev, enum hwmon_sensor_types type,
drivers/power/supply/power_supply_hwmon.c
98
power_supply_hwmon_to_property(enum hwmon_sensor_types type,
drivers/regulator/fp9931.c
135
static int fp9931_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/regulator/fp9931.c
156
enum hwmon_sensor_types type,
drivers/regulator/max5970-regulator.c
106
enum hwmon_sensor_types type,
drivers/regulator/max5970-regulator.c
50
static int max5970_read(struct device *dev, enum hwmon_sensor_types type,
drivers/regulator/tps65185.c
60
static int tps65185_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/regulator/tps65185.c
87
enum hwmon_sensor_types type,
drivers/rtc/rtc-ab-eoz9.c
385
enum hwmon_sensor_types type,
drivers/rtc/rtc-ab-eoz9.c
416
enum hwmon_sensor_types type,
drivers/rtc/rtc-ds3232.c
310
enum hwmon_sensor_types type,
drivers/rtc/rtc-ds3232.c
325
enum hwmon_sensor_types type,
drivers/rtc/rtc-isl12022.c
119
enum hwmon_sensor_types type,
drivers/rtc/rtc-isl12022.c
84
enum hwmon_sensor_types type,
drivers/rtc/rtc-max31335.c
595
static int max31335_read_temp(struct device *dev, enum hwmon_sensor_types type,
drivers/rtc/rtc-max31335.c
619
enum hwmon_sensor_types type,
drivers/rtc/rtc-rv3032.c
818
static umode_t rv3032_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
drivers/rtc/rtc-rv3032.c
832
static int rv3032_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/ufs/core/ufs-hwmon.c
131
enum hwmon_sensor_types type, u32 attr,
drivers/ufs/core/ufs-hwmon.c
50
static int ufs_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/ufs/core/ufs-hwmon.c
96
static int ufs_hwmon_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel,
drivers/vdpa/solidrun/snet_hwmon.c
128
enum hwmon_sensor_types type, u32 attr,
drivers/vdpa/solidrun/snet_hwmon.c
34
enum hwmon_sensor_types type,
drivers/vdpa/solidrun/snet_hwmon.c
40
static int snet_howmon_read(struct device *dev, enum hwmon_sensor_types type,
drivers/w1/slaves/w1_therm.c
430
static umode_t w1_is_visible(const void *_data, enum hwmon_sensor_types type,
drivers/w1/slaves/w1_therm.c
436
static int w1_read(struct device *dev, enum hwmon_sensor_types type,
include/linux/hwmon.h
422
umode_t (*is_visible)(const void *drvdata, enum hwmon_sensor_types type,
include/linux/hwmon.h
424
int (*read)(struct device *dev, enum hwmon_sensor_types type,
include/linux/hwmon.h
426
int (*read_string)(struct device *dev, enum hwmon_sensor_types type,
include/linux/hwmon.h
428
int (*write)(struct device *dev, enum hwmon_sensor_types type,
include/linux/hwmon.h
439
enum hwmon_sensor_types type;
include/linux/hwmon.h
493
int hwmon_notify_event(struct device *dev, enum hwmon_sensor_types type,
sound/soc/codecs/tas2764.c
715
enum hwmon_sensor_types type, u32 attr,
sound/soc/codecs/tas2764.c
733
enum hwmon_sensor_types type,
sound/soc/codecs/tas2770.c
658
enum hwmon_sensor_types type, u32 attr,
sound/soc/codecs/tas2770.c
676
enum hwmon_sensor_types type,
sound/soc/codecs/wsa883x.c
1512
enum hwmon_sensor_types type, u32 attr,
sound/soc/codecs/wsa883x.c
1529
enum hwmon_sensor_types type,
sound/soc/codecs/wsa884x.c
1950
enum hwmon_sensor_types type, u32 attr,
sound/soc/codecs/wsa884x.c
1967
enum hwmon_sensor_types type,