/linux-master/drivers/ |
H A D | Makefile | 118 obj-$(CONFIG_HWMON) += hwmon/
|
/linux-master/drivers/platform/x86/ |
H A D | toshiba_acpi.c | 45 #include <linux/hwmon.h> 3463 pr_warn("unable to register hwmon device, skipping\n");
|
H A D | thinkpad_acpi.c | 44 #include <linux/hwmon.h> 45 #include <linux/hwmon-sysfs.h> 957 * Device model: input, hwmon and platform 8401 * SYSFS fan layout: hwmon compatible (device) 8453 tpacpi_disclose_usertask("hwmon pwm1_enable", 8520 tpacpi_disclose_usertask("hwmon pwm1", 8581 /* sysfs fan fan_watchdog (hwmon driver) ------------------------------- */ 11751 pr_err("unable to register hwmon platform device\n"); 11798 pr_err("unable to register hwmon platform driver\n"); 11809 pr_err("unable to register hwmon devic [all...] |
H A D | msi-wmi-platform.c | 17 #include <linux/hwmon.h>
|
H A D | asus-wmi.c | 22 #include <linux/hwmon.h> 23 #include <linux/hwmon-sysfs.h> 84 /* Based on standard hwmon pwmX_enable values */ 2674 switch (state) { /* standard documented hwmon values */ 2817 switch (state) { /* standard documented hwmon values */ 2863 switch (state) { /* standard documented hwmon values */ 2972 struct device *hwmon; local 2974 hwmon = devm_hwmon_device_register_with_groups(dev, "asus", asus, 2977 if (IS_ERR(hwmon)) { 2978 pr_err("Could not register asus hwmon devic 3586 struct device *hwmon; local [all...] |
H A D | eeepc-laptop.c | 19 #include <linux/hwmon.h> 20 #include <linux/hwmon-sysfs.h> 1069 ATTRIBUTE_GROUPS(hwmon); variable 1074 struct device *hwmon; local 1076 hwmon = devm_hwmon_device_register_with_groups(dev, "eeepc", NULL, 1078 if (IS_ERR(hwmon)) { 1079 pr_err("Could not register eeepc hwmon device\n"); 1080 return PTR_ERR(hwmon); 1396 * our hwmon and our wlan rfkill subdevice use global ACPI objects
|
/linux-master/drivers/platform/x86/hp/ |
H A D | hp-wmi.c | 25 #include <linux/hwmon.h> 1657 /* 0 is automatic fan, which is 2 for hwmon */ 1662 * (no fan speed control) for hwmon 1716 struct device *hwmon; local 1718 hwmon = devm_hwmon_device_register_with_info(dev, "hp", &hp_wmi_driver, 1721 if (IS_ERR(hwmon)) { 1722 dev_err(dev, "Could not register hp hwmon device\n"); 1723 return PTR_ERR(hwmon);
|
/linux-master/drivers/media/pci/mgb4/ |
H A D | mgb4_core.c | 33 #include <linux/hwmon.h>
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 6 #include <linux/hwmon-sysfs.h> 7 #include <linux/hwmon.h> 44 * SF_* - scale factors for particular quantities according to hwmon spec. 63 * struct xe_hwmon - xe hwmon data structure 66 /** @hwmon_dev: hwmon device for xe */ 82 static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg, argument 85 struct xe_device *xe = gt_to_xe(hwmon->gt); 117 drm_warn(&xe->drm, "Unknown xe hwmon reg id: %d\n", hwmon_reg); 124 static void xe_hwmon_process_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg, argument 130 reg = xe_hwmon_get_reg(hwmon, hwmon_re 160 xe_hwmon_power_max_read(struct xe_hwmon *hwmon, int channel, long *value) argument 188 xe_hwmon_power_max_write(struct xe_hwmon *hwmon, int channel, long value) argument 219 xe_hwmon_power_rated_max_read(struct xe_hwmon *hwmon, int channel, long *value) argument 249 xe_hwmon_energy_get(struct xe_hwmon *hwmon, int channel, long *energy) argument 272 struct xe_hwmon *hwmon = dev_get_drvdata(dev); local 313 struct xe_hwmon *hwmon = dev_get_drvdata(dev); local 398 struct xe_hwmon *hwmon = dev_get_drvdata(dev); local 448 xe_hwmon_power_curr_crit_read(struct xe_hwmon *hwmon, int channel, long *value, u32 scale_factor) argument 467 xe_hwmon_power_curr_crit_write(struct xe_hwmon *hwmon, int channel, long value, u32 scale_factor) argument 482 xe_hwmon_get_voltage(struct xe_hwmon *hwmon, int channel, long *value) argument 493 xe_hwmon_power_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel) argument 519 xe_hwmon_power_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val) argument 536 xe_hwmon_power_write(struct xe_hwmon *hwmon, u32 attr, int channel, long val) argument 549 xe_hwmon_curr_is_visible(const struct xe_hwmon *hwmon, u32 attr, int channel) argument 567 xe_hwmon_curr_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val) argument 578 xe_hwmon_curr_write(struct xe_hwmon *hwmon, u32 attr, int channel, long val) argument 589 xe_hwmon_in_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel) argument 602 xe_hwmon_in_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val) argument 614 xe_hwmon_energy_is_visible(struct xe_hwmon *hwmon, u32 attr, int channel) argument 627 xe_hwmon_energy_read(struct xe_hwmon *hwmon, u32 attr, int channel, long *val) argument 642 struct xe_hwmon *hwmon = (struct xe_hwmon *)drvdata; local 674 struct xe_hwmon *hwmon = dev_get_drvdata(dev); local 706 struct xe_hwmon *hwmon = dev_get_drvdata(dev); local 762 struct xe_hwmon *hwmon = xe->hwmon; local 790 struct xe_hwmon *hwmon = arg; local 798 struct xe_hwmon *hwmon; local [all...] |
H A D | xe_device_types.h | 453 /** @hwmon: hwmon subsystem integration */ 454 struct xe_hwmon *hwmon; member in struct:xe_device
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_pm.c | 25 #include <linux/hwmon-sysfs.h> 26 #include <linux/hwmon.h> 730 for hwmon */ 859 "Unable to register hwmon device: %d\n", err);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 6 #include <linux/hwmon.h> 7 #include <linux/hwmon-sysfs.h> 19 * SF_* - scale factors for particular quantities according to hwmon spec. 47 struct i915_hwmon *hwmon; member in struct:hwm_drvdata 71 struct i915_hwmon *hwmon = ddat->hwmon; local 76 mutex_lock(&hwmon->hwmon_lock); 80 mutex_unlock(&hwmon->hwmon_lock); 120 * the hwmon API. Using x86_64 128 bit arithmetic (see mul_u64_u32_shr()), 122 * hwmon 129 struct i915_hwmon *hwmon = ddat->hwmon; local 162 struct i915_hwmon *hwmon = ddat->hwmon; local 193 struct i915_hwmon *hwmon = ddat->hwmon; local 256 struct i915_hwmon *hwmon = ddat->hwmon; local 320 struct i915_hwmon *hwmon = ddat->hwmon; local 340 struct i915_hwmon *hwmon = ddat->hwmon; local 367 struct i915_hwmon *hwmon = ddat->hwmon; local 401 struct i915_hwmon *hwmon = ddat->hwmon; local 457 struct i915_hwmon *hwmon = ddat->hwmon; local 503 struct i915_hwmon *hwmon = i915->hwmon; local 521 struct i915_hwmon *hwmon = i915->hwmon; local 539 struct i915_hwmon *hwmon = ddat->hwmon; local 724 struct i915_hwmon *hwmon = i915->hwmon; local 779 struct i915_hwmon *hwmon; local 848 struct i915_hwmon *hwmon = i915->hwmon; local [all...] |
H A D | i915_drv.h | 317 struct i915_hwmon *hwmon; member in struct:drm_i915_private
|
/linux-master/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 32 #include <linux/hwmon.h> 33 #include <linux/hwmon-sysfs.h> 3291 * DOC: hwmon 3309 * hwmon interfaces for GPU temperature: 3326 * hwmon interfaces for GPU voltage: 3332 * hwmon interfaces for GPU power: 3344 * hwmon interfaces for GPU fan: 3367 * hwmon interfaces for GPU clocks: 3373 * You can use hwmon tools like sensors to view this information on your system. 3481 /* under pp one vf mode manage of hwmon attribute [all...] |
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 817 struct mlx5_hwmon *hwmon; member in struct:mlx5_core_dev
|
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 5 #include <linux/hwmon.h> 6 #include <linux/hwmon-sysfs.h> 192 struct device *hwmon; local 214 hwmon = devm_hwmon_device_register_with_groups(&wiphy->dev, name, phy, 216 return PTR_ERR_OR_ZERO(hwmon);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.c | 10 #include <linux/hwmon.h> 11 #include <linux/hwmon-sysfs.h> 201 ath11k_err(ar->ab, "failed to register hwmon device: %ld\n",
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 10 #include <linux/hwmon.h> 11 #include <linux/hwmon-sysfs.h> 183 /* Do not register hwmon device when temperature reading is not 190 * guess linux/hwmon.h is missing proper stubs. 199 ath10k_err(ar, "failed to register hwmon device: %ld\n",
|
/linux-master/drivers/net/phy/ |
H A D | sfp.c | 5 #include <linux/hwmon.h> 889 /* hwmon */ 1585 /* hwmon interface needs to access 16bit registers in atomic way to 1589 * skip registration of hwmon device. 1593 "skipping hwmon device registration due to broken EEPROM\n"); 1605 dev_warn(sfp->dev, "hwmon probe failed: %pe\n", 1613 dev_err(sfp->dev, "out of memory for hwmon name\n"); 1622 dev_err(sfp->dev, "failed to register hwmon device: %ld\n", 2488 dev_warn(sfp->dev, "hwmon probe failed: %pe\n",
|
H A D | marvell.c | 18 #include <linux/hwmon.h> 3088 * defined for all PHYs, because the hwmon code checks whether the attributes
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 55 #include <linux/hwmon.h> 56 #include <linux/hwmon-sysfs.h> 10883 /* sysfs attributes for hwmon */ 10946 dev_err(&pdev->dev, "Cannot register hwmon device, aborting\n");
|
/linux-master/drivers/hwmon/ |
H A D | w83l786ng.c | 18 #include <linux/hwmon.h> 19 #include <linux/hwmon-sysfs.h>
|
H A D | w83793.c | 24 #include <linux/hwmon.h> 25 #include <linux/hwmon-vid.h> 26 #include <linux/hwmon-sysfs.h> 1904 /* Unregister hwmon device */
|
H A D | w83l785ts.c | 26 #include <linux/hwmon.h> 27 #include <linux/hwmon-sysfs.h>
|
H A D | w83792d.c | 29 #include <linux/hwmon.h> 30 #include <linux/hwmon-sysfs.h>
|