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 );
349 if (client == x.thermostat)
350 x.thermostat = NULL;
378 if( x.thermostat )
401 x.thermostat = cl;
435 if (!x.running && x.thermostat && x.fan) {