Lines Matching refs:thermostat
74 struct thermostat { struct
91 static void write_both_fan_speed(struct thermostat *th, int speed); argument
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 *th, int speed, int fan) in write_fan_speed()
199 static void read_sensors(struct thermostat *th) in read_sensors()
208 static void display_stats(struct thermostat *th) in display_stats()
227 static void update_fans_speed (struct thermostat *th) in update_fans_speed()
284 struct thermostat* th = arg; in monitor_task()
310 static void set_limit(struct thermostat *th, int i) in set_limit()
323 struct thermostat *th = dev_get_drvdata(dev); \
342 struct thermostat *th = dev_get_drvdata(dev); \
352 struct thermostat *th = dev_get_drvdata(dev); \
415 static void thermostat_create_files(struct thermostat *th) in thermostat_create_files()
446 static void thermostat_remove_files(struct thermostat *th) in thermostat_remove_files()
472 struct thermostat* th; in probe_thermostat()
500 th = kzalloc(sizeof(struct thermostat), GFP_KERNEL); in probe_thermostat()
569 struct thermostat *th = i2c_get_clientdata(client); in remove_thermostat()