Home
last modified time | relevance | path

Searched refs:thermostat (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/macintosh/
H A Dtherm_adt746x.c3 * Device driver for the i2c thermostat found on the iBook G4, Albook G4
58 MODULE_DESCRIPTION("Driver for ADT746x thermostat in iBook G4 and "
74 struct thermostat { struct
91 static void write_both_fan_speed(struct thermostat *th, int speed);
92 static void write_fan_speed(struct thermostat *th, int speed, int fan);
95 write_reg(struct thermostat* th, int reg, u8 data) in write_reg()
111 read_reg(struct thermostat* th, int reg) in read_reg()
128 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed()
142 static void write_both_fan_speed(struct thermostat *th, int speed) in write_both_fan_speed()
149 static void write_fan_speed(struct thermostat *t
[all...]
H A Dtherm_windtunnel.c8 * ADM1030 fan controller and a DS1775 thermostat.
22 * Loosely based upon 'thermostat.c' written by Benjamin Herrenschmidt
56 struct i2c_client *thermostat; member
173 temp = read_reg( x.thermostat, 0, 2 ); in poll_temp()
222 if( (val=read_reg(x.thermostat, 1, 1)) >= 0 ) { in setup_hardware()
224 if( write_reg( x.thermostat, 1, val, 1 ) ) in setup_hardware()
234 /* The thermostat (which besides measureing temperature controls in setup_hardware()
242 write_reg( x.thermostat, 2, x.overheat_hyst, 2 ); in setup_hardware()
243 write_reg( x.thermostat, 3, x.overheat_temp, 2 ); in setup_hardware()
346 if (client == x.thermostat) in do_remove()
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dtherm_adt746x.c3 * Device driver for the i2c thermostat found on the iBook G4, Albook G4
59 MODULE_DESCRIPTION("Driver for ADT746x thermostat in iBook G4 and "
75 struct thermostat { struct
92 static void write_both_fan_speed(struct thermostat *th, int speed);
93 static void write_fan_speed(struct thermostat *th, int speed, int fan);
96 write_reg(struct thermostat* th, int reg, u8 data) in write_reg()
112 read_reg(struct thermostat* th, int reg) in read_reg()
129 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed()
143 static void write_both_fan_speed(struct thermostat *th, int speed) in write_both_fan_speed()
150 static void write_fan_speed(struct thermostat *t
[all...]
H A Dtherm_windtunnel.c8 * ADM1030 fan controller and a DS1775 thermostat.
22 * Loosely based upon 'thermostat.c' written by Benjamin Herrenschmidt
57 struct i2c_client *thermostat; member
174 temp = read_reg( x.thermostat, 0, 2 ); in poll_temp()
223 if( (val=read_reg(x.thermostat, 1, 1)) >= 0 ) { in setup_hardware()
225 if( write_reg( x.thermostat, 1, val, 1 ) ) in setup_hardware()
235 /* The thermostat (which besides measureing temperature controls in setup_hardware()
243 write_reg( x.thermostat, 2, x.overheat_hyst, 2 ); in setup_hardware()
244 write_reg( x.thermostat, 3, x.overheat_temp, 2 ); in setup_hardware()
349 if (client == x.thermostat) in do_remove()
[all...]

Completed in 3 milliseconds