Searched refs:hwmon (Results 1 - 25 of 324) sorted by path

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_hwmon.h30 struct device *hwmon; member in struct:nouveau_hwmon
36 return nouveau_drm(dev)->hwmon;
H A Dnouveau_drv.h287 struct nouveau_hwmon *hwmon; member in struct:nouveau_drm
H A Dnouveau_hwmon.c29 #include <linux/hwmon.h>
30 #include <linux/hwmon-sysfs.h>
671 struct nouveau_hwmon *hwmon; local
677 NV_DEBUG(drm, "Skipping hwmon registration\n");
681 hwmon = drm->hwmon = kzalloc(sizeof(*hwmon), GFP_KERNEL);
682 if (!hwmon)
684 hwmon->dev = dev;
699 NV_ERROR(drm, "Unable to register hwmon devic
714 struct nouveau_hwmon *hwmon = nouveau_hwmon(dev); local
[all...]
/linux-master/drivers/hwmon/
H A Dad7314.c7 * Conversion to hwmon from IIO done by Jonathan Cameron <jic23@cam.ac.uk>
16 #include <linux/hwmon.h>
17 #include <linux/hwmon-sysfs.h>
H A Dads7871.c58 #include <linux/hwmon.h>
59 #include <linux/hwmon-sysfs.h>
H A Dda9055-hwmon.c12 #include <linux/hwmon.h>
13 #include <linux/hwmon-sysfs.h>
55 static int da9055_adc_manual_read(struct da9055_hwmon *hwmon, argument
62 struct da9055 *da9055 = hwmon->da9055;
67 mutex_lock(&hwmon->irq_lock);
77 if (!wait_for_completion_timeout(&hwmon->done,
102 mutex_unlock(&hwmon->irq_lock);
108 struct da9055_hwmon *hwmon = irq_data; local
110 complete(&hwmon->done);
142 struct da9055_hwmon *hwmon local
178 struct da9055_hwmon *hwmon = dev_get_drvdata(dev); local
237 struct da9055_hwmon *hwmon; local
[all...]
H A Dmenf21bmc_hwmon.c3 * MEN 14F021P00 Board Management Controller (BMC) hwmon driver.
5 * This is the core hwmon driver of the MEN 14F021P00 BMC.
15 #include <linux/hwmon.h>
16 #include <linux/hwmon-sysfs.h>
214 dev_info(&pdev->dev, "MEN 14F021P00 BMC hwmon device enabled");
229 MODULE_DESCRIPTION("MEN 14F021P00 BMC hwmon");
H A Dwm831x-hwmon.c3 * drivers/hwmon/wm831x-hwmon.c - Wolfson Microelectronics WM831x PMIC
13 #include <linux/hwmon.h>
14 #include <linux/hwmon-sysfs.h>
144 .name = "wm831x-hwmon",
153 MODULE_ALIAS("platform:wm831x-hwmon");
H A Dwm8350-hwmon.c3 * drivers/hwmon/wm8350-hwmon.c - Wolfson Microelectronics WM8350 PMIC
13 #include <linux/hwmon.h>
14 #include <linux/hwmon-sysfs.h>
83 .name = "wm8350-hwmon",
92 MODULE_ALIAS("platform:wm8350-hwmon");
/linux-master/drivers/hwmon/occ/
H A DMakefile2 occ-hwmon-common-objs := common.o sysfs.o
3 occ-p8-hwmon-objs := p8_i2c.o
4 occ-p9-hwmon-objs := p9_sbe.o
6 obj-$(CONFIG_SENSORS_OCC) += occ-hwmon-common.o
7 obj-$(CONFIG_SENSORS_OCC_P8_I2C) += occ-p8-hwmon.o
8 obj-$(CONFIG_SENSORS_OCC_P9_SBE) += occ-p9-hwmon.o
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sysfs.c14 #include <linux/hwmon.h>
16 /* hwmon callback functions */
75 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file.
80 * For each file we want in hwmon's sysfs interface we need a device_attribute
158 /* Don't create thermal hwmon interface if no sensors present */
172 * Only create hwmon sysfs entries for sensors that have
178 /* Bail if any hwmon attr struct fails to initialize */
/linux-master/include/linux/mfd/wm8350/
H A Dcore.h612 struct wm8350_hwmon hwmon; member in struct:wm8350
/linux-master/include/trace/events/
H A Dhwmon.h3 #define TRACE_SYSTEM hwmon
/linux-master/drivers/
H A DMakefile118 obj-$(CONFIG_HWMON) += hwmon/
/linux-master/drivers/accel/habanalabs/common/
H A DMakefile12 common/sysfs.o common/hwmon.o common/memory.o \
H A Ddevice.c14 #include <linux/hwmon.h>
2343 * hwmon-related sensors the device supports.
2348 dev_err(hdev->dev, "Failed to initialize hwmon\n");
H A Dhwmon.c11 #include <linux/hwmon.h>
889 "Unable to register hwmon device: %d\n", rc);
/linux-master/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c19 #include <linux/hwmon.h>
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c20 #include <linux/hwmon.h>
/linux-master/drivers/accel/habanalabs/goya/
H A Dgoya.c15 #include <linux/hwmon.h>
/linux-master/drivers/ata/
H A Dahci_imx.c20 #include <linux/hwmon.h>
21 #include <linux/hwmon-sysfs.h>
/linux-master/drivers/fpga/
H A Ddfl-fme-main.c17 #include <linux/hwmon.h>
18 #include <linux/hwmon-sysfs.h>
318 struct device *hwmon; local
321 * create hwmon to allow userspace monitoring temperature and other
338 hwmon = devm_hwmon_device_register_with_info(&pdev->dev,
342 if (IS_ERR(hwmon)) {
343 dev_err(&pdev->dev, "Fail to register thermal hwmon\n");
344 return PTR_ERR(hwmon);
539 struct device *hwmon; local
541 hwmon
[all...]
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c32 #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/drivers/gpu/drm/i915/
H A Di915_drv.h317 struct i915_hwmon *hwmon; member in struct:drm_i915_private
H A Di915_hwmon.c6 #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...]

Completed in 485 milliseconds

1234567891011>>