Lines Matching refs:thermostat
73 struct thermostat { struct
90 static void write_both_fan_speed(struct thermostat *th, int speed); argument
91 static void write_fan_speed(struct thermostat *th, int speed, int fan);
94 write_reg(struct thermostat* th, int reg, u8 data) in write_reg()
110 read_reg(struct thermostat* th, int reg) in read_reg()
127 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed()
141 static void write_both_fan_speed(struct thermostat *th, int speed) in write_both_fan_speed()
148 static void write_fan_speed(struct thermostat *th, int speed, int fan) in write_fan_speed()
198 static void read_sensors(struct thermostat *th) in read_sensors()
207 static void display_stats(struct thermostat *th) in display_stats()
226 static void update_fans_speed (struct thermostat *th) in update_fans_speed()
283 struct thermostat* th = arg; in monitor_task()
309 static void set_limit(struct thermostat *th, int i) in 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) in thermostat_create_files()
445 static void thermostat_remove_files(struct thermostat *th) in thermostat_remove_files()
471 struct thermostat* th; in probe_thermostat()
499 th = kzalloc(sizeof(struct thermostat), GFP_KERNEL); in probe_thermostat()
568 struct thermostat *th = i2c_get_clientdata(client); in remove_thermostat()