Lines Matching refs:thermostat
8 * ADM1030 fan controller and a DS1775 thermostat.
22 * Loosely based upon 'thermostat.c' written by Benjamin Herrenschmidt
56 struct i2c_client *thermostat;
173 temp = read_reg( x.thermostat, 0, 2 );
222 if( (val=read_reg(x.thermostat, 1, 1)) >= 0 ) {
224 if( write_reg( x.thermostat, 1, val, 1 ) )
234 /* The thermostat (which besides measureing temperature controls
242 write_reg( x.thermostat, 2, x.overheat_hyst, 2 );
243 write_reg( x.thermostat, 3, x.overheat_temp, 2 );
346 if (client == x.thermostat)
347 x.thermostat = NULL;
377 if( x.thermostat )
400 x.thermostat = cl;
433 if (!x.running && x.thermostat && x.fan) {