remarkable-linux/drivers/hwmon
Henrik Rydberg 5874583d56 hwmon: (applesmc) Introduce a register lookup table
One main problem with the current driver is the inability to quickly
search for supported keys, resulting in detailed feature maps per
machine model which are cumbersome to maintain.

This patch adds a register lookup table, which enables binary search
for supported keys. The lookup also reduces the io frequency, so the
original mutex is replaced by locks around the actual io.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
[guenter.roeck@ericsson.com: Added value range check to key_at_index_store()]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-01-08 10:55:38 -08:00
..
abituguru.c hwmon: (abituguru) Use pr_fmt and pr_<level> 2011-01-08 10:55:00 -08:00
abituguru3.c hwmon: (abituguru3) Use pr_fmt and pr_<level> 2011-01-08 10:55:01 -08:00
ad7414.c hwmon: (ad7414) Return proper error code for ad7414_probe() 2010-11-11 09:32:07 -08:00
ad7418.c
adcxx.c
adm1021.c
adm1025.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
adm1026.c hwmon: (adm1026) Allow 1 as a valid divider value 2010-12-08 16:27:22 +01:00
adm1029.c
adm1031.c hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval 2010-09-17 17:24:14 +02:00
adm9240.c
ads7828.c
ads7871.c hwmon: (ads7871) Fix ads7871_probe error paths 2010-08-25 15:42:10 +02:00
adt7411.c
adt7462.c
adt7470.c hwmon: (adt7470) Use pr_fmt and pr_<level> 2011-01-08 10:55:02 -08:00
adt7475.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
amc6821.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
applesmc.c hwmon: (applesmc) Introduce a register lookup table 2011-01-08 10:55:38 -08:00
asb100.c hwmon: (asb1000) Use pr_fmt and pr_<level> 2011-01-08 10:55:03 -08:00
asc7621.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
asus_atk0110.c hwmon: (asus_atk0110) Use pr_fmt and pr_<level> 2011-01-08 10:55:04 -08:00
atxp1.c
coretemp.c hwmon: (coretemp) Use pr_fmt and pr_<level> 2011-01-08 10:55:05 -08:00
dme1737.c hwmon: (dme1737) Use pr_fmt and pr_<level> 2011-01-08 10:55:06 -08:00
ds1621.c
emc1403.c hwmon: (emc1403) Remove unnecessary hwmon_device_unregister 2010-09-17 17:24:12 +02:00
emc2103.c hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
f71805f.c hwmon: (f71805f) Use pr_fmt and pr_<level> 2011-01-08 10:55:07 -08:00
f71882fg.c hwmon: (f71882fg) Use pr_fmt and pr_<level> 2011-01-08 10:55:08 -08:00
f75375s.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
fschmd.c drivers: autoconvert trivial BKL users to private mutex 2010-10-05 15:01:04 +02:00
g760a.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
gl518sm.c
gl520sm.c
gpio-fan.c hwmon: (gpio-fan) Fix fan_ctrl_init error path 2010-11-11 09:43:51 -08:00
hp_accel.c hwmon: (hp_accel) Use pr_fmt and pr_<level> 2011-01-08 10:55:09 -08:00
hwmon-vid.c hwmon: (hwmon-vid) Use pr_fmt and pr_<level> 2011-01-08 10:55:10 -08:00
hwmon.c hwmon: (core) Use pr_fmt and pr_<level> 2011-01-08 10:55:11 -08:00
i5k_amb.c hwmon: (i5k_amb) Fix compile warning 2010-11-22 12:23:39 -08:00
ibmaem.c hwmon: (ibmaem) Use pr_fmt and pr_<level> 2011-01-08 10:55:13 -08:00
ibmpex.c
it87.c hwmon: (it87) Fix manual fan speed control on IT8721F 2010-12-08 16:27:22 +01:00
jc42.c
jz4740-hwmon.c
k8temp.c hwmon: (k8temp) Remove superfluous CPU family check 2010-10-28 20:31:42 +02:00
k10temp.c
Kconfig hwmon: (it87) Add support for the IT8721F/IT8758E 2010-10-28 20:31:51 +02:00
lis3lv02d.c hwmon: (lis3lv02d) Use pr_fmt and pr_<level> 2011-01-08 10:55:14 -08:00
lis3lv02d.h hwmon: lis3: Enhance lis3 selftest with IRQ line test 2010-10-25 14:11:39 -07:00
lis3lv02d_i2c.c hwmon: (lis3lv02d_i2c) Fix compile warnings 2010-11-22 12:23:39 -08:00
lis3lv02d_spi.c hwmon: lis3: restore axis enabled bits 2010-10-25 14:11:38 -07:00
lm63.c
lm70.c hwmon: (lm70) Use pr_fmt and pr_<level> 2011-01-08 10:55:15 -08:00
lm73.c
lm75.c hwmon: (lm75) Trivial changes to pacify the checkpatch 2010-10-28 20:31:44 +02:00
lm75.h hwmon: (lm75) Add suspend/resume feature 2010-08-14 21:08:50 +02:00
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c hwmon: (lm85) Add support for ADT7468 high-frequency PWM mode 2010-10-28 20:31:50 +02:00
lm87.c
lm90.c hwmon: (lm90) Add support for the W83L771W/G 2010-10-28 20:31:44 +02:00
lm92.c
lm93.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
lm95241.c hwmon: (lm95241) Check validity of input values 2010-11-15 21:38:56 +01:00
ltc4215.c hwmon: (ltc4215) make sysfs file match the alarm cause 2010-12-13 09:54:50 -08:00
ltc4245.c hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
ltc4261.c hwmon: (ltc4261) Fix error message format 2010-11-05 10:17:19 -07:00
Makefile Move ams driver to macintosh 2010-10-28 20:31:50 +02:00
max1111.c
max1619.c
max6650.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
mc13783-adc.c
pc87360.c hwmon: (pc87360) Fix device resource declaration 2010-08-14 21:08:48 +02:00
pc87427.c hwmon: (pc87427) Move sysfs file removal to a separate function 2010-08-14 21:09:00 +02:00
pcf8591.c hwmon: (pcf8591) Use pr_fmt and pr_<level> 2011-01-08 10:55:16 -08:00
pkgtemp.c hwmon: (pkgtemp) Use pr_fmt and pr_<level> 2011-01-08 10:55:17 -08:00
s3c-hwmon.c hwmon: (s3c-hwmon) Fix compilation 2011-01-02 15:31:11 -08:00
sht15.c
sis5595.c hwmon: (sis5595) Use pr_fmt and pr_<level> 2011-01-08 10:55:18 -08:00
smm665.c
smsc47b397.c hwmon: (smsc47b397) Use pr_fmt and pr_<level> 2011-01-08 10:55:19 -08:00
smsc47m1.c hwmon: (smsc47m1) Use pr_fmt and pr_<level> 2011-01-08 10:55:27 -08:00
smsc47m192.c
thmc50.c
tmp102.c
tmp401.c
tmp421.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
ultra45_env.c
via-cputemp.c hwmon: (via-cputemp) Use pr_fmt and pr_<level> 2011-01-08 10:55:28 -08:00
via686a.c hwmon: (via686a) Use pr_fmt and pr_<level> 2011-01-08 10:55:29 -08:00
vt1211.c hwmon: (vt1211) Use pr_fmt and pr_<level> 2011-01-08 10:55:30 -08:00
vt8231.c hwmon: (vt8231) Use pr_fmt and pr_<level> 2011-01-08 10:55:31 -08:00
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: (w83627ehf) Use pr_fmt and pr_<level> 2011-01-08 10:55:32 -08:00
w83627hf.c hwmon: (w83627hf) Use pr_fmt and pr_<level> 2011-01-08 10:55:33 -08:00
w83781d.c
w83791d.c
w83792d.c
w83793.c drivers: autoconvert trivial BKL users to private mutex 2010-10-05 15:01:04 +02:00
w83795.c hwmon: (w83795) Check for BEEP pin availability 2010-11-15 21:38:57 +01:00
wm831x-hwmon.c
wm8350-hwmon.c