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

/linux-4.4.14/include/linux/i2c/
H A Dds620.h7 /* platform data for the DS620 temperature sensor and thermostat */
/linux-4.4.14/drivers/macintosh/
H A Dtherm_adt746x.c2 * Device driver for the i2c thermostat found on the iBook G4, Albook G4
57 MODULE_DESCRIPTION("Driver for ADT746x thermostat in iBook G4 and "
73 struct thermostat { struct
90 static void write_both_fan_speed(struct thermostat *th, int speed);
91 static void write_fan_speed(struct thermostat *th, int speed, int fan);
94 write_reg(struct thermostat* th, int reg, u8 data) write_reg()
110 read_reg(struct thermostat* th, int reg) read_reg()
127 static int read_fan_speed(struct thermostat *th, u8 addr) read_fan_speed()
141 static void write_both_fan_speed(struct thermostat *th, int speed) write_both_fan_speed()
148 static void write_fan_speed(struct thermostat *th, int speed, int fan) write_fan_speed()
198 static void read_sensors(struct thermostat *th) read_sensors()
207 static void display_stats(struct thermostat *th) display_stats()
226 static void update_fans_speed (struct thermostat *th) update_fans_speed()
283 struct thermostat* th = arg; monitor_task()
309 static void set_limit(struct thermostat *th, int i) set_limit()
322 struct thermostat *th = dev_get_drvdata(dev); \
341 struct thermostat *th = dev_get_drvdata(dev); \
351 struct thermostat *th = dev_get_drvdata(dev); \
414 static void thermostat_create_files(struct thermostat *th) thermostat_create_files()
445 static void thermostat_remove_files(struct thermostat *th) thermostat_remove_files()
471 struct thermostat* th; probe_thermostat()
499 th = kzalloc(sizeof(struct thermostat), GFP_KERNEL); probe_thermostat()
568 struct thermostat *th = i2c_get_clientdata(client); remove_thermostat()
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 in struct:__anon5699
173 temp = read_reg( x.thermostat, 0, 2 ); poll_temp()
222 if( (val=read_reg(x.thermostat, 1, 1)) >= 0 ) { setup_hardware()
224 if( write_reg( x.thermostat, 1, val, 1 ) ) setup_hardware()
234 /* The thermostat (which besides measureing temperature controls setup_hardware()
242 write_reg( x.thermostat, 2, x.overheat_hyst, 2 ); setup_hardware()
243 write_reg( x.thermostat, 3, x.overheat_temp, 2 ); setup_hardware()
329 if( x.thermostat && x.fan ) { do_attach()
345 if (client == x.thermostat) do_remove()
346 x.thermostat = NULL; do_remove()
376 if( x.thermostat ) attach_thermostat()
399 x.thermostat = cl; attach_thermostat()
/linux-4.4.14/drivers/hwmon/
H A Dds620.c2 * ds620.c - Support for temperature sensor and thermostat DS620
90 /* thermostat mode according to platform data */ ds620_init_client()
H A Dadm1021.c75 * they don't quite work like a thermostat the way the LM75 does. I.e.,
/linux-4.4.14/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c445 .compatible = "samsung,sensorhub-thermostat",

Completed in 173 milliseconds