/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/ |
H A D | jz4740-hwmon.c | 27 #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 D | s3c-hwmon.c | 1 /* 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 D | wm831x-hwmon.c | 2 * 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 D | lm75.h | 28 #include <linux/hwmon.h>
|
H A D | wm8350-hwmon.c | 2 * 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 D | Makefile | 5 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 D | lm73.c | 20 #include <linux/hwmon.h> 21 #include <linux/hwmon-sysfs.h> 79 /* sysfs attributes for hwmon */
|
H A D | hwmon.c | 2 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 D | ad7414.c | 2 * An hwmon driver for the Analog Devices AD7414 25 #include <linux/hwmon.h> 26 #include <linux/hwmon-sysfs.h>
|
H A D | adcxx.c | 44 #include <linux/hwmon.h> 45 #include <linux/hwmon-sysfs.h>
|
H A D | ads7828.c | 5 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 D | ads7871.c | 64 #include <linux/hwmon.h> 65 #include <linux/hwmon-sysfs.h>
|
H A D | g760a.c | 21 #include <linux/hwmon.h> 22 #include <linux/hwmon-sysfs.h>
|
H A D | k10temp.c | 21 #include <linux/hwmon.h> 22 #include <linux/hwmon-sysfs.h>
|
H A D | ltc4215.c | 20 #include <linux/hwmon.h> 21 #include <linux/hwmon-sysfs.h>
|
H A D | max1111.c | 20 #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 D | mc13783-adc.c | 23 #include <linux/hwmon-sysfs.h> 26 #include <linux/hwmon.h>
|
H A D | tmp102.c | 24 #include <linux/hwmon.h> 25 #include <linux/hwmon-sysfs.h> 213 dev_dbg(&client->dev, "unable to register hwmon device\n");
|
H A D | via-cputemp.c | 29 #include <linux/hwmon.h> 31 #include <linux/hwmon-sysfs.h>
|
H A D | w83l785ts.c | 39 #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 D | dev-hwmon.c | 1 /* linux/arch/arm/plat-samsung/dev-hwmon.c 20 #include <plat/hwmon.h> 23 .name = "s3c-hwmon",
|
H A D | Makefile | 39 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 D | thermal_sys.c | 417 /* 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 D | thermal.h | 89 /* 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 D | eeepc-laptop.c | 28 #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...] |