plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | lm83 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm83.c | 11,655 | utf_8 | ed6e98a0a1fee1b7842d8cf402eec487 | /*
* lm83.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
*
* Heavily inspired from the lm78, lm75 and adm1021 drivers. The LM83 is
* a sensor chip made by National Semiconductor. It reports up to four
* temperatures (its own plus up to three external ones) with a 1 deg
* resoluti... |
google | android | ds620 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ds620.c | 7,517 | utf_8 | 7f36f2ff212cce4b5145f6b41ecb1643 | /*
* ds620.c - Support for temperature sensor and thermostat DS620
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#i... |
google | android | ab8500 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ab8500.c | 5,505 | utf_8 | 59ce734b7623115d0bde426b41822b37 | /*
*
* When the AB8500 thermal warning temperature is reached (threshold cannot
* be changed by SW), an interrupt is set, and if no further action is taken
* within a certain time frame, kernel_power_off will be called.
*
* When AB8500 thermal shutdown temperature is reached a hardware shutdown of
* the AB8500 w... |
google | android | sch5627 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sch5627.c | 19,635 | utf_8 | 07bd8839d6693c4bb731c1bc1bec88a5 | /***************************************************************************
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/in... |
google | android | sch56xx-common | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sch56xx-common.c | 16,386 | utf_8 | bb1a789c0a97494ecee7e4c1a907f7a0 | /***************************************************************************
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/in... |
google | android | wm8350-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/wm8350-hwmon.c | 3,134 | utf_8 | 71f483c8abcb32ca1cd588d751e3c3d0 | /*
* drivers/hwmon/wm8350-hwmon.c - Wolfson Microelectronics WM8350 PMIC
* hardware monitoring features.
*
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/platform_device.h>... |
google | android | nct6775 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/nct6775.c | 127,549 | utf_8 | d5790968a9c7ed600f51ba9904732541 | /*
* nct6775 - Driver for the hardware monitoring functionality of
* Nuvoton NCT677x Super-I/O chips
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
* Supports the following chips:
*
* Chip #vin #fan #pwm #temp chip IDs man ID
* nct6106d 9 3 3 ... |
google | android | scpi-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/scpi-hwmon.c | 7,601 | utf_8 | 521d330288468ae66ff34f852c32630e | /*
* System Control and Power Interface(SCPI) based hwmon sensor driver
*
*/
#include <linux/hwmon.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/scpi_protocol.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/thermal.h>
struct sensor_data {
struct scpi_sensor_info... |
google | android | w83l785ts | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83l785ts.c | 8,144 | utf_8 | cdfbe59a5ce3c9e081bf0ee88966a018 | /*
* w83l785ts.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* Foundation, Inc., 675 Mass Ave, Cambridg... |
google | android | lm77 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm77.c | 10,901 | utf_8 | 0333ef5e59e216e66a1a995c99ede4c3 | /*
* lm77.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h... |
google | android | dell-smm-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/dell-smm-hwmon.c | 24,745 | utf_8 | e464c1e9938ddd12e8f9327da3e0bd39 | /*
* dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/dmi.h>
#include... |
google | android | w83792d | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83792d.c | 56,963 | utf_8 | 948e182c46405ca19529bf2cbf5c4fe9 | /*
* w83792d.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Note:
* 1. This driver is only for 2.6 kernel, 2.4 kernel need a different driver.
* 2. This driver is only for Winbond W83792D C version device, there
* ... |
google | android | nct7904 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/nct7904.c | 18,117 | utf_8 | 0c195d5202d8267fece5ce4141deb44e | /*
* nct7904.c - driver for Nuvoton NCT7904D.
*
*/
#include <linux/module.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/mutex.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#define VENDOR_ID_REG 0x7A /* Any bank */
#define NUVOTON_ID 0x50
#define CHIP_ID_RE... |
google | android | max1668 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max1668.c | 13,666 | utf_8 | 0777b3a696c8c134f9b9ac2bf761f845 | /*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
/* Addresses to scan */
... |
google | android | sch5636 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sch5636.c | 17,105 | utf_8 | 8e351635c85c814a9e5bedda7f1efb1a | /***************************************************************************
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/in... |
google | android | abx500 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/abx500.c | 14,451 | utf_8 | 92d800ae34b1c928bd9fcddc8d480f60 | /*
*
* ABX500 does not provide auto ADC, so to monitor the required temperatures,
* a periodic work is used. It is more important to not wake up the CPU than
* to perform this job, hence the use of a deferred delay.
*
* A deferred delay for thermal monitor is considered safe because:
* If the chip gets too hot d... |
google | android | max1111 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max1111.c | 7,174 | utf_8 | 62169d1494394473cc2d7efdd2e3bbf3 | /*
* max1111.c - +2.7V, Low-Power, Multichannel, Serial 8-bit ADCs
*
* Based on arch/arm/mach-pxa/corgi_ssp.c
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/spi/spi.h>
#include <linux/sl... |
google | android | ltc2945 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc2945.c | 15,462 | utf_8 | ac02b2d338565a5f6f58370ce9ea4b60 | /*
* Driver for Linear Technology LTC2945 I2C Power Monitor
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linux/regmap.h>
/* chip registers */
... |
google | android | jz4740-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/jz4740-hwmon.c | 4,348 | utf_8 | 3e5508dea0236a77614ccd31bd2b477b | /*
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/completion.h>
#include <linux/mfd/core.h>... |
google | android | menf21bmc_hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/menf21bmc_hwmon.c | 6,240 | utf_8 | a1d10e7f6aa250ed32785bcf3c53bf25 | /*
* MEN 14F021P00 Board Management Controller (BMC) hwmon driver.
*
* This is the core hwmon driver of the MEN 14F021P00 BMC.
* The BMC monitors the board voltages which can be access with this
* driver through sysfs.
*
* option) any later version.
*/
#include <linux/module.h>
#include <linux/kernel.h>
#i... |
google | android | applesmc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/applesmc.c | 33,273 | utf_8 | 0fa8a1c446c26942696581a3c9ccf932 | /*
* drivers/hwmon/applesmc.c - driver for Apple's SMC (accelerometer, temperature
* sensors, fan control, keyboard backlight control) used in Intel-based Apple
* computers.
*
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#in... |
google | android | vt8231 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/vt8231.c | 31,658 | utf_8 | d60659445a20f1869ec97efbe602661f | /*
* vt8231.c - Part of lm_sensors, Linux kernel modules
* for hardware monitoring
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Supports VIA VT8231 South Bridge embedded sensors
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#includ... |
google | android | abituguru | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/abituguru.c | 53,787 | utf_8 | 2af1567c99b817bd5483010d7b1a6a83 | /*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* This driver supports the sensor part of the first and second revision of
* the custom Abit uGuru chip found on Abit uGuru motherboards. Note: because
* of lack of specs the CPU/RAM voltage & frequency control is not supported!
*/
#define pr_fm... |
google | android | nct7802 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/nct7802.c | 36,589 | utf_8 | 4ccf6b2f11d6a8fcecd672aaf9bd613d | /*
* nct7802 - Driver for Nuvoton NCT7802Y
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/regma... |
google | android | pc87427 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/pc87427.c | 40,559 | utf_8 | bb551a86d0cd818af682699340f61c3c | /*
* pc87427.c - hardware monitoring driver for the
* National Semiconductor PC87427 Super-I/O chip
*
* Supports the following chips:
*
* Chip #vin #fan #pwm #temp devid
* PC87427 - 8 4 6 0xF2
*
* This driver assumes that no more than one chip is ... |
google | android | mcp3021 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/mcp3021.c | 4,511 | utf_8 | 10058485363559498394069304e52ba5 | /*
* mcp3021.c - driver for Microchip MCP3021 and MCP3221
*
* (at your option) any later version.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/hwmon.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/device.h>
/* Vdd info */
#define MCP3021_VDD_MAX 55... |
google | android | ds1621 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ds1621.c | 12,086 | utf_8 | 62d7104638de0c2655783de9f315daa0 | /*
* ds1621.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
*
* The DS1621 device is a digital temperature/thermometer with 9-bit
* resolution, a thermal alarm output (Tout), and user-defined minimum
* and maximum temperature thresholds (TH and TL).
*
* The DS1625, DS1631, DS1721, a... |
google | android | ntc_thermistor | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ntc_thermistor.c | 18,820 | utf_8 | 52bc4f07e692530a5d31a6122970695e | /*
* ntc_thermistor.c - NTC Thermistors
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <linux/math64.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/of.h>
#inclu... |
google | android | adm1029 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adm1029.c | 11,593 | utf_8 | ac1846f985867385b4eaf931be7ca416 | /*
* adm1029.c - Part of lm_sensors, Linux kernel modules for hardware monitoring
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon-sysfs.h>
#include <linu... |
google | android | iio_hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/iio_hwmon.c | 4,781 | utf_8 | 2105cea19bbf4546391d73498c419def | /* Hwmon client for industrial I/O devices
*
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/hwmon.h>
#include <linux/of.h>
#include <linux/hwmon-sysfs.h>
#include <linux/iio/consumer.h>
#include <linux/iio/types.... |
google | android | k10temp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/k10temp.c | 6,821 | utf_8 | d889678d674dbf7af5c76788768d4e4d | /*
* k10temp.c - AMD Family 10h/11h/12h/14h/15h/16h processor hardware monitoring
*
*/
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <asm/processor.h>
MODULE_DESCRIPTION("AMD Family 10h+ CPU core temper... |
google | android | lm95245 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm95245.c | 13,761 | utf_8 | d19586afd4464424ddaa0dcaf2cd7722 | /*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>... |
google | android | tmp102 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/tmp102.c | 8,750 | utf_8 | 9e0819a5d835841a43dac059544142c5 | /* Texas Instruments TMP102 SMBus temperature sensor driver
*
* Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
... |
google | android | lm87 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm87.c | 29,948 | utf_8 | a5a04894b787d78a3c4de3654e3fac31 | /*
* lm87.c
*
*
* Original port to Linux 2.6 by Jeff Oliver.
*
* The LM87 is a sensor chip made by National Semiconductor. It monitors up
* to 8 voltages (including its own power source), up to three temperatures
* (its own plus up to two external ones) and up to two fans. The default
* configuration is 6 volt... |
google | android | ltc4222 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc4222.c | 6,951 | utf_8 | bca29987e062c019f09c2230a75d6deb | /*
* Driver for Linear Technology LTC4222 Dual Hot Swap controller
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/bitops.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linu... |
google | android | lm90 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm90.c | 50,277 | utf_8 | a0df969ef8775c6692b7bd49aa751502 | /*
* lm90.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
*
* Based on the lm83 driver. The LM90 is a sensor chip made by National
* Semiconductor. It reports up to two temperatures (its own plus up to
* one external one) with a 0.125 deg resolution (1 deg for local
* temperature)... |
google | android | adm1026 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adm1026.c | 58,945 | utf_8 | 94d8cf4e153dd6ff1cf75f601df5b90e | /*
* adm1026.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <lin... |
google | android | sht21 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sht21.c | 6,454 | utf_8 | 78e17df6898216ad0902860194f5e968 | /* Sensirion SHT21 humidity and temperature sensor driver
*
* Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA
*
* Data sheet available (5/2010) at
* http://www.sensirion.com/en/pdf/product_information/Datasheet-humidity-sensor-SHT21.pdf
*/
#include <linux/module.h>
#include <linux/init.h... |
google | android | w83793 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83793.c | 61,552 | utf_8 | 1e195942bc79fdb8dfd0f9af253d06fa | /*
* w83793.c - Linux kernel driver for hardware monitoring
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*/
/*
* Supports following chips:
*
* Chip #vin #fanin #pwm #temp wchipid vendid i2c ISA
* w83793 10 12 8 6 0x7b 0x5ca3 yes no
*/
#include <linux/module.h>
#include <lin... |
google | android | adm1025 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adm1025.c | 17,813 | utf_8 | 781ccab61adbaca2153dbdf727ed3c68 | /*
* adm1025.c
*
*
* The ADM1025 is a sensor chip made by Analog Devices. It reports up to 6
* voltages (including its own power source) and up to two temperatures
* (its own plus up to one external one). Voltages are scaled internally
* (which is not the common way) with ratios such that the nominal value
* of... |
google | android | ads1015 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ads1015.c | 8,370 | utf_8 | 2ce82654d37c08069064009b175a313f | /*
* ads1015.c - lm_sensors driver for ads1015 12-bit 4-input ADC
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <... |
google | android | via-cputemp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/via-cputemp.c | 8,686 | utf_8 | 25af27dceebb5d439cfcc534e706ebd7 | /*
* via-cputemp.c - Driver for VIA CPU core temperature monitoring
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/hwmon.h>
#include <linux/hwmo... |
google | android | adt7411 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adt7411.c | 9,497 | utf_8 | cc690d9f2e2fa3771ac23782cd7a9b4d | /*
* Driver for the ADT7411 (I2C/SPI 8 channel 10 bit ADC & temperature-sensor)
*
*
* TODO: SPI, support for external temperature sensor
* use power-down mode for suspend?, interrupt handling?
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux... |
google | android | fam15h_power | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/fam15h_power.c | 8,451 | utf_8 | 8e94e86b10fa6e2122c06708d84dbb58 | /*
* fam15h_power.c - AMD Family 15h processor power monitoring
*
*/
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/bitops.h>
#include <asm/processor.h>
#include <asm/msr.h>
MODULE_DESCRIPTION("AM... |
google | android | ultra45_env | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ultra45_env.c | 8,524 | utf_8 | 3af607e3e9941dfd64fe2f48cb7fb81b | /*
* ultra45_env.c: Driver for Ultra45 PIC16F747 environmental monitor.
*
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/io.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#define D... |
google | android | da9052-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/da9052-hwmon.c | 8,397 | utf_8 | 905a71f14419da75b87ac3c52cef0c8f | /*
* HWMON Driver for Dialog DA9052
*
* option) any later version.
*
*/
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/mfd/da9052/d... |
google | android | ads7871 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ads7871.c | 6,972 | utf_8 | fad6457f1a0b54d95f552cb4bae0cf55 | /*
* ads7871 - driver for TI ADS7871 A/D converter
*
*
* You need to have something like this in struct spi_board_info
* {
* .modalias = "ads7871",
* .max_speed_hz = 2*1000*1000,
* .chip_select = 0,
* .bus_num = 1,
* },
*/
/*From figure 18 in the datasheet*/
/*Register addresses*/
#define REG_LS_BYTE 0 ... |
google | android | lm95241 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm95241.c | 11,685 | utf_8 | fe1f46e4a1ca1caf7b4971815e57b0ff | /*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>... |
google | android | w83781d | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83781d.c | 58,012 | utf_8 | 2d858009d3ac719c0acea94e13b9d3f3 | /*
* w83781d.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Supports following chips:
*
* Chip #vin #fanin #pwm #temp wchipid vendid i2c ISA
* as99127f 7 3 0 3 0x31 0x12c3 yes no
* as99127f rev.2 (type_name = as... |
google | android | ltc4245 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc4245.c | 15,717 | utf_8 | 52f10037fa80621450a94a2f11d15b72 | /*
* Driver for Linear Technology LTC4245 I2C Multiple Supply Hot Swap Controller
*
*
* This driver is based on the ds1621 and ina209 drivers.
*
* Datasheet:
* http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1140,P19392,D13517
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include... |
google | android | lm92 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm92.c | 12,377 | utf_8 | edb515febd70ddc625dd202693ac7c2f | /*
* lm92 - Hardware monitoring driver
*
* Based on the lm90 driver, with some ideas taken from the lm_sensors
* lm92 driver as well.
*
* The LM92 is a sensor chip made by National Semiconductor. It reports
* its own temperature with a 0.0625 deg resolution and a 0.33 deg
* accuracy. Complete datasheet can be o... |
google | android | hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/hwmon.c | 6,945 | utf_8 | 7e13d4ec85a5a10e03a4208a16951ef9 | /*
* hwmon.c - part of lm_sensors, Linux kernel modules for hardware monitoring
*
* This file defines the sysfs class "hwmon", for use by sensors drivers.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <li... |
google | android | f75375s | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/f75375s.c | 26,671 | utf_8 | ec6d98565fc46c1151467c44056ce96e | /*
* f75375s.c - driver for the Fintek F75375/SP, F75373 and
* F75387SG/RG hardware monitoring features
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* Foundation, Inc., 675 Ma... |
google | android | smsc47m192 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/smsc47m192.c | 20,306 | utf_8 | 6792314e97f9d704595c5f8456afac5f | /*
* smsc47m192.c - Support for hardware monitoring block of
* SMSC LPC47M192 and compatible Super I/O chips
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linu... |
google | android | lm73 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm73.c | 7,805 | utf_8 | 78ecbfe132e4d20cfb2eca13924a4e6a | /*
* LM73 Sensor driver
* Based on LM75
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
/* Addresses scanned */
static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c,
0x4d, 0x4e, I2C_CLIEN... |
google | android | max197 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max197.c | 8,874 | utf_8 | dfe2e3cf88c6e2e3780a8439e82090da | /*
* Maxim MAX197 A/D Converter driver
*
*
* For further information, see the Documentation/hwmon/max197 file.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/sysfs.h>
#i... |
google | android | ltc4151 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc4151.c | 5,303 | utf_8 | 5bb5db98dd5775e10061369f2f9bf049 | /*
* Driver for Linear Technology LTC4151 High Voltage I2C Current
* and Voltage Monitor
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <li... |
google | android | max31790 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max31790.c | 17,130 | utf_8 | cb99230016ff951caf8ad8feabef4630 | /*
* max31790.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring.
*
*/
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/slab.h>
/* MAX3179... |
google | android | max6697 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max6697.c | 20,844 | utf_8 | 1a9765558754bede2f56021acc3f9c84 | /*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/platform_data/max6697.h>
enum chips { max6581, ... |
google | android | w83795 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83795.c | 63,636 | utf_8 | ef9c122b163f4a910bb9921b829f951b | /*
* w83795.c - Linux kernel driver for hardware monitoring
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* Supports following chips:
*
* Chip #vin #fanin #pwm #temp #dts wchipid vendid i2c ISA
* w83795g 21 14 8 6 8 0x79 0x5ca3 yes... |
google | android | amc6821 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/amc6821.c | 27,642 | utf_8 | f5cfff53c7538367af30432799daf34d | /*
* amc6821.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/kernel.h> /* Needed for KERN_INFO */
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include... |
google | android | gl518sm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/gl518sm.c | 21,951 | utf_8 | 8fea2d4beca78bfa8db5ced9237997d5 | /*
* gl518sm.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Ported to Linux 2.6 by Hong-Gunn Chew with the help of Jean Delvare
* and advice of Greg Kroah-Hartman.
*
* Notes about the port:
* Release 0x00 of the... |
google | android | ina2xx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ina2xx.c | 12,563 | utf_8 | ba23cfc7f05518c927a2f459493dbdbc | /*
* Driver for Texas Instruments INA219, INA226 power monitor chips
*
* INA219:
* Zero Drift Bi-Directional Current/Power Monitor with I2C Interface
* Datasheet: http://www.ti.com/product/ina219
*
* INA220:
* Bi-Directional Current/Power Monitor with I2C Interface
* Datasheet: http://www.ti.com/product/ina220... |
google | android | htu21 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/htu21.c | 4,502 | utf_8 | 1fc44e9685bb5c7fce91ba6626ebe264 | /*
* Measurement Specialties HTU21D humidity and temperature sensor driver
*
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/device.h>
#includ... |
google | android | hwmon-vid | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/hwmon-vid.c | 10,357 | utf_8 | dc20bc89a3188ca163c1879c67b23eaa | /*
* hwmon-vid.c - VID/VRM/VRD voltage conversions
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/hwmon-vid.h>
/*
* Common code for decoding VID pins.
*
* References:
*
* For VRM 8.... |
google | android | tc74 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/tc74.c | 3,986 | utf_8 | 52aa491f622a4041f548659e85b86619 | /*
* An hwmon driver for the Microchip TC74
*
* (at your option) any later version.
*/
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/i2c.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/slab.h>... |
google | android | tmp103 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/tmp103.c | 5,269 | utf_8 | fc87314867f56b7547e97241c541b084 | /*
* Texas Instruments TMP103 SMBus temperature sensor driver
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/jiffies... |
google | android | ibmpowernv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ibmpowernv.c | 12,262 | utf_8 | 4912c3b1a683d966319033823069be9f | /*
* IBM PowerNV platform sensors for temperature/fan/voltage/power
* along with this program.
*/
#define DRVNAME "ibmpowernv"
#define pr_fmt(fmt) DRVNAME ": " fmt
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/of.h... |
google | android | adt7410 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adt7410.c | 2,024 | utf_8 | c75838a9879f5ddfc0ea00eba2de4996 | /*
* ADT7410/ADT7420 digital temperature sensor driver
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include "adt7x10.h"
static int adt7410_i2c_read_word(struct device *dev, u8 reg)
{
return i2c_smbus_read_word_swapped(to_i2c_client(dev), reg);
}
static int adt7410_i2c_write_word(st... |
google | android | twl4030-madc-hwmon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/twl4030-madc-hwmon.c | 4,156 | utf_8 | 553351ce6a7b2e2cce22da984b55f563 | /*
*
* TWL4030 MADC Hwmon driver-This driver monitors the real time
* conversion of analog signals like battery temperature,
* battery type, battery level etc. User can ask for the conversion on a
* particular channel using the sysfs nodes.
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1... |
google | android | sht15 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sht15.c | 28,953 | utf_8 | 156a9e7d060e2a8230107bb4dccea79b | /*
* sht15.c - support for the SHT15 Temperature and Humidity Sensor
*
*
* For further information, see the Documentation/hwmon/sht15 file.
*/
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/hwmon.h>
#include <linux/hwmon... |
google | android | shtc1 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/shtc1.c | 7,059 | utf_8 | 16b5a5c19b753ac6556c8f51114ef161 | /* Sensirion SHTC1 humidity and temperature sensor driver
*
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/platform_data/shtc1.h>
/* commands ... |
google | android | lm78 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm78.c | 27,779 | utf_8 | bbee7f135f95091afa3ed41391aa6cd9 | /*
* lm78.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
... |
google | android | adt7x10 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adt7x10.c | 13,579 | utf_8 | fa6426f55548bdba15cf1ef82731d999 | /*
* adt7x10.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* This driver handles the ADT7410 and compatible digital temperature sensors.
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux... |
google | android | lm93 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm93.c | 85,425 | utf_8 | e9cbca386eab6e886d88e9a32d61155c | /*
* lm93.c - Part of lm_sensors, Linux kernel modules for hardware monitoring
*
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
... |
google | android | adt7310 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adt7310.c | 2,843 | utf_8 | e88752abe48007ac770431d01f288b6b | /*
* ADT7310/ADT7310 digital temperature sensor driver
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/spi/spi.h>
#include <asm/unaligned.h>
#include "adt7x10.h"
#define ADT7310_STATUS 0
#define ADT7310_CONFIG 1
#define ADT7310_TEMPERATURE 2
#define ADT7310_ID 3
#define ADT7310_T_CRIT ... |
google | android | adc128d818 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adc128d818.c | 14,366 | utf_8 | 8f3a5ceb5e70c54f6ff41e3175c75500 | /*
* Driver for TI ADC128D818 System Monitor with Temperature Sensor
*
*/
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/regulator/consumer.h>
#include <linux/mutex.h>
#... |
google | android | w83627ehf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83627ehf.c | 87,304 | utf_8 | 3c76eaa7421fa0365e6955c6f86d1601 | /*
* w83627ehf - Driver for the hardware monitoring functionality of
* the Winbond W83627EHF Super-I/O chip
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* Supports the following chips:
*
* Chip #vin #fan #pwm #temp chip IDs man ID
* w83627ehf 10 5 4 ... |
google | android | g760a | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/g760a.c | 5,719 | utf_8 | f35c4621f1af1eb079675181c22ab4e9 | /*
* g760a - Driver for the Global Mixed-mode Technology Inc. G760A
* fan speed PWM controller chip
*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmo... |
google | android | adt7470 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adt7470.c | 41,227 | utf_8 | 4b1e283c6c2f955178d586cb50508ed7 | /*
* A hwmon driver for the Analog Devices ADT7470
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <l... |
google | android | adm1031 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adm1031.c | 33,462 | utf_8 | a73fa160ff86b00ec6132bf06fc0ccc9 | /*
* adm1031.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Based on lm75.c and lm85.c
* Supports adm1030 / adm1031
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#... |
google | android | gl520sm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/gl520sm.c | 26,995 | utf_8 | 39d6cbc59c1ddf8f0d3d5d240672e74d | /*
* gl520sm.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <... |
google | android | max6650 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/max6650.c | 18,805 | utf_8 | dbf8dcdfb65c57f0588aa7b25cb78ac3 | /*
* max6650.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring.
*
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* Foundation, Inc., 675 Mass Ave, Cambridg... |
google | android | ltc4260 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc4260.c | 5,321 | utf_8 | 9a9c9cb02ca1c3b3fa645b6ccf2992f7 | /*
* Driver for Linear Technology LTC4260 I2C Positive Voltage Hot Swap Controller
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linux/regmap.h... |
google | android | ibmaem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ibmaem.c | 27,638 | utf_8 | 66f85eddf15997f2ba7143badbc38f80 | /*
* A hwmon driver for the IBM System Director Active Energy Manager (AEM)
* temperature/power/energy sensors and capping functionality.
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/ipmi.h>
#include <linux/module.h>
#incl... |
google | android | acpi_power_meter | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/acpi_power_meter.c | 24,384 | utf_8 | 62be4b2fc62eaf4bc9fd07cf83990825 | /*
* A hwmon driver for ACPI 4.0 power meters
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/module.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/dmi.h>
#include <linux/slab.h>
#include <l... |
google | android | jc42 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/jc42.c | 15,584 | utf_8 | edb2e862862e64670c09d46d9f156362 | /*
* jc42.c - driver for Jedec JC42.4 compliant temperature sensors
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#in... |
google | android | ad7414 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ad7414.c | 6,448 | utf_8 | 65a2a63ad56e69d98ef39f9e5edc8397 | /*
* An hwmon driver for the Analog Devices AD7414
*
* (at your option) any later version.
*/
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>
#include <linux/s... |
google | android | i5k_amb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/i5k_amb.c | 16,096 | utf_8 | d5ee4330bf2cf9604982be591d74c8ae | /*
* A hwmon driver for the Intel 5000 series chipset FB-DIMM AMB
* temperature sensors
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/module.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/log... |
google | android | ltc4215 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/ltc4215.c | 7,626 | utf_8 | 0dafa175d29036261509bf6045490383 | /*
* Driver for Linear Technology LTC4215 I2C Hot Swap Controller
*
*
* Datasheet:
* http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1163,P17572,D12697
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linu... |
google | android | powr1220 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/powr1220.c | 11,459 | utf_8 | 6cb30619ce394d07423551303a420944 | /*
* powr1220.c - Driver for the Lattice POWR1220 programmable power supply
* and monitor. Users can read all ADC inputs along with their labels
* using the sysfs nodes.
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/... |
google | android | lm80 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/lm80.c | 20,372 | utf_8 | e601f9f3480abb51f124df25d83cfbb8 | /*
* lm80.c - From lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-... |
google | android | tmp401 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/tmp401.c | 22,220 | utf_8 | 77f4d47fec8bcbda2f00aaf6ab8378eb | /* tmp401.c
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Driver for the Texas Instruments TMP401 SMBUS temperature sensor IC.
*
* Note this IC is in some aspect similar to the LM90, but it has quite a
* few differences too, for example the local temp has a higher resolution
* and thus h... |
google | android | adcxx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/adcxx.c | 6,576 | utf_8 | 1b28b44a87e5008a9e2494d39d9cf7df | /*
* adcxx.c
*
* The adcxx4s is an AD converter family from National Semiconductor (NS).
*
*
* The adcxx4s communicates with a host processor via an SPI/Microwire Bus
* interface. This driver supports the whole family of devices with name
* ADC<bb><c>S<sss>, where
* * bb is the resolution in number of bits (8,... |
google | android | nct6683 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/nct6683.c | 36,667 | utf_8 | 84ff5f0214077568a1d6ebfcdc36c7e4 | /*
* nct6683 - Driver for the hardware monitoring functionality of
* Nuvoton NCT6683D eSIO
*
*
* Supports the following chips:
*
* Chip #vin #fan #pwm #temp chip ID
* nct6683d 21(1) 16 8 32(1) 0xc730
*
* Notes:
* (1) Total number of vin and temp inputs is 32.
*/
#defin... |
google | android | sis5595 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/sis5595.c | 25,873 | utf_8 | ce7be606a5e058d57b14257523d28fb5 | /*
* sis5595.c - Part of lm_sensors, Linux kernel modules
* for hardware monitoring
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* SiS southbridge has a LM78-like chip integrated on the same IC.
* This driver is a customized copy of lm78.c
*
* Supports following revisions:
* Vers... |
google | android | w83627hf | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/w83627hf.c | 57,695 | utf_8 | ce884363b5c1237f4056432f5b5d2574 | /*
* w83627hf.c - Part of lm_sensors, Linux kernel modules for hardware
* monitoring
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* Supports following chips:
*
* Chip #vin #fanin #pwm #temp wchipid vendid i2c ISA
* w83627hf 9 3 2 3 0x20 0x5ca3 no yes(LPC)
* w83627thf 7 3 3 3 0x90 0x5ca3 ... |
google | android | coretemp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/coretemp.c | 22,546 | utf_8 | 28fceace773c15722428b992ece643b7 | /*
* coretemp.c - Linux kernel module for hardware monitoring
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/hwmon... |
google | android | smm665 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/smm665.c | 20,877 | utf_8 | 4a1ae4b1012b4b0e215fe37c72142d7d | /*
* Driver for SMM665 Power Controller / Monitor
*
*
* This driver should also work for SMM465, SMM764, and SMM766, but is untested
* for those chips. Only monitoring functionality is implemented.
*
* Datasheets:
* http://www.summitmicro.com/prod_select/summary/SMM665/SMM665B_2089_20.pdf
* http://www.summitmi... |
google | android | k8temp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/hwmon/k8temp.c | 9,179 | utf_8 | fae8572e6eb264951994641b66c5720e | /*
* k8temp.c - Linux kernel module for hardware monitoring
*
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/pci.h>
#include <linux/hwmon.h>
#include <linux/hwm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.