Searched refs:hwmon (Results 1 - 25 of 113) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Djz4740-hwmon.c27 #include <linux/hwmon.h>
36 struct device *hwmon; member in struct:jz4740_hwmon
51 struct jz4740_hwmon *hwmon = data; local
53 complete(&hwmon->read_completion);
60 struct jz4740_hwmon *hwmon = dev_get_drvdata(dev); local
61 struct completion *completion = &hwmon->read_completion;
66 mutex_lock(&hwmon->lock);
70 enable_irq(hwmon->irq);
71 hwmon->cell->enable(to_platform_device(dev));
76 val = readw(hwmon
107 struct jz4740_hwmon *hwmon; local
190 struct jz4740_hwmon *hwmon = platform_get_drvdata(pdev); local
[all...]
H A Ds3c-hwmon.c1 /* linux/drivers/hwmon/s3c-hwmon.c
7 * S3C24XX/S3C64XX ADC hwmon support
33 #include <linux/hwmon.h>
34 #include <linux/hwmon-sysfs.h>
37 #include <plat/hwmon.h>
47 * struct s3c_hwmon - ADC hwmon client information
50 * @hwmon_dev: The hwmon device we created.
64 * @hwmon: Our state.
72 struct s3c_hwmon *hwmon, in
71 s3c_hwmon_read_ch(struct device *dev, struct s3c_hwmon *hwmon, int channel) argument
171 struct s3c_hwmon *hwmon = platform_get_drvdata(to_platform_device(dev)); local
282 struct s3c_hwmon *hwmon; local
373 struct s3c_hwmon *hwmon = platform_get_drvdata(dev); local
[all...]
H A Dwm831x-hwmon.c2 * drivers/hwmon/wm831x-hwmon.c - Wolfson Microelectronics WM831x PMIC
25 #include <linux/hwmon.h>
26 #include <linux/hwmon-sysfs.h>
57 struct wm831x_hwmon *hwmon = dev_get_drvdata(dev); local
61 ret = wm831x_auxadc_read_uv(hwmon->wm831x, channel);
71 struct wm831x_hwmon *hwmon = dev_get_drvdata(dev); local
75 ret = wm831x_auxadc_read(hwmon->wm831x, channel);
161 struct wm831x_hwmon *hwmon; local
164 hwmon
193 struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev); local
[all...]
H A Dlm75.h28 #include <linux/hwmon.h>
H A Dwm8350-hwmon.c2 * drivers/hwmon/wm8350-hwmon.c - Wolfson Microelectronics WM8350 PMIC
25 #include <linux/hwmon.h>
26 #include <linux/hwmon-sysfs.h>
103 wm8350->hwmon.classdev = hwmon_device_register(&pdev->dev);
104 if (IS_ERR(wm8350->hwmon.classdev)) {
105 ret = PTR_ERR(wm8350->hwmon.classdev);
121 hwmon_device_unregister(wm8350->hwmon.classdev);
131 .name = "wm8350-hwmon",
151 MODULE_ALIAS("platform:wm8350-hwmon");
[all...]
H A DMakefile5 obj-$(CONFIG_HWMON) += hwmon.o
6 obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
61 obj-$(CONFIG_SENSORS_JZ4740) += jz4740-hwmon.o
90 obj-$(CONFIG_SENSORS_S3C) += s3c-hwmon.o
109 obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
110 obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
H A Dlm73.c20 #include <linux/hwmon.h>
21 #include <linux/hwmon-sysfs.h>
79 /* sysfs attributes for hwmon */
H A Dhwmon.c2 hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring
4 This file defines the sysfs class "hwmon", for use by sensors drivers.
18 #include <linux/hwmon.h>
23 #define HWMON_ID_PREFIX "hwmon"
32 * hwmon_device_register - register w/ hwmon
120 hwmon_class = class_create(THIS_MODULE, "hwmon");
122 printk(KERN_ERR "hwmon.c: couldn't create sysfs class\n");
H A Dad7414.c2 * An hwmon driver for the Analog Devices AD7414
25 #include <linux/hwmon.h>
26 #include <linux/hwmon-sysfs.h>
H A Dadcxx.c44 #include <linux/hwmon.h>
45 #include <linux/hwmon-sysfs.h>
H A Dads7828.c5 This driver is based on the lm75 and other lm_sensors/hwmon drivers
31 #include <linux/hwmon.h>
32 #include <linux/hwmon-sysfs.h>
H A Dads7871.c64 #include <linux/hwmon.h>
65 #include <linux/hwmon-sysfs.h>
H A Dg760a.c21 #include <linux/hwmon.h>
22 #include <linux/hwmon-sysfs.h>
H A Dk10temp.c21 #include <linux/hwmon.h>
22 #include <linux/hwmon-sysfs.h>
H A Dltc4215.c20 #include <linux/hwmon.h>
21 #include <linux/hwmon-sysfs.h>
H A Dmax1111.c20 #include <linux/hwmon.h>
21 #include <linux/hwmon-sysfs.h>
82 * likely to be used by hwmon applications to distinguish between
190 dev_err(&spi->dev, "failed to create hwmon device\n");
H A Dmc13783-adc.c23 #include <linux/hwmon-sysfs.h>
26 #include <linux/hwmon.h>
H A Dtmp102.c24 #include <linux/hwmon.h>
25 #include <linux/hwmon-sysfs.h>
213 dev_dbg(&client->dev, "unable to register hwmon device\n");
H A Dvia-cputemp.c29 #include <linux/hwmon.h>
31 #include <linux/hwmon-sysfs.h>
H A Dw83l785ts.c39 #include <linux/hwmon.h>
40 #include <linux/hwmon-sysfs.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/plat-samsung/
H A Ddev-hwmon.c1 /* linux/arch/arm/plat-samsung/dev-hwmon.c
20 #include <plat/hwmon.h>
23 .name = "s3c-hwmon",
H A DMakefile39 obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/thermal/
H A Dthermal_sys.c417 /* hwmon sys I/F */
418 #include <linux/hwmon.h>
424 struct thermal_hwmon_device *hwmon = dev_get_drvdata(dev); local
425 return sprintf(buf, "%s\n", hwmon->type);
471 struct thermal_hwmon_device *hwmon; local
476 list_for_each_entry(hwmon, &thermal_hwmon_list, node)
477 if (!strcmp(hwmon->type, tz->type)) {
484 hwmon = kzalloc(sizeof(struct thermal_hwmon_device), GFP_KERNEL);
485 if (!hwmon)
488 INIT_LIST_HEAD(&hwmon
555 struct thermal_hwmon_device *hwmon = tz->hwmon; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dthermal.h89 /* thermal zone devices with the same type share one hwmon device */
125 struct thermal_hwmon_device *hwmon; member in struct:thermal_zone_device
126 struct thermal_hwmon_attr temp_input; /* hwmon sys attr */
127 struct thermal_hwmon_attr temp_crit; /* hwmon sys attr */
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/platform/x86/
H A Deeepc-laptop.c28 #include <linux/hwmon.h>
29 #include <linux/hwmon-sysfs.h>
1060 struct device *hwmon; local
1062 hwmon = eeepc->hwmon_device;
1063 if (!hwmon)
1065 sysfs_remove_group(&hwmon->kobj,
1067 hwmon_device_unregister(hwmon);
1073 struct device *hwmon; local
1076 hwmon = hwmon_device_register(&eeepc->platform_device->dev);
1077 if (IS_ERR(hwmon)) {
[all...]

Completed in 100 milliseconds

12345