vfs: pass ppos=NULL to .read()/.write() of FMODE_STREAM files
[sfrench/cifs-2.6.git] / Documentation / hwmon / aspeed-pwm-tacho.rst
1 Kernel driver aspeed-pwm-tacho
2 ==============================
3
4 Supported chips:
5         ASPEED AST2400/2500
6
7 Authors:
8         <jaghu@google.com>
9
10 Description:
11 ------------
12 This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho
13 controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho
14 controller supports up to 16 tachometer inputs.
15
16 The driver provides the following sensor accesses in sysfs:
17
18 =============== ======= =====================================================
19 fanX_input      ro      provide current fan rotation value in RPM as reported
20                         by the fan to the device.
21
22 pwmX            rw      get or set PWM fan control value. This is an integer
23                         value between 0(off) and 255(full speed).
24 =============== ======= =====================================================