Lines Matching refs:thermostat
8 * ADM1030 fan controller and a DS1775 thermostat.
22 * Loosely based upon 'thermostat.c' written by Benjamin Herrenschmidt
57 struct i2c_client *thermostat;
174 temp = read_reg( x.thermostat, 0, 2 );
223 if( (val=read_reg(x.thermostat, 1, 1)) >= 0 ) {
225 if( write_reg( x.thermostat, 1, val, 1 ) )
235 /* The thermostat (which besides measureing temperature controls
243 write_reg( x.thermostat, 2, x.overheat_hyst, 2 );
244 write_reg( x.thermostat, 3, x.overheat_temp, 2 );
330 if( x.thermostat && x.fan ) {
346 if (client == x.thermostat)
347 x.thermostat = NULL;
377 if( x.thermostat )
400 x.thermostat = cl;