Lines Matching refs:fan
57 struct i2c_client *fan; member
158 write_reg( x.fan, 0x25, val, 1 ); in tune_fan()
159 write_reg( x.fan, 0x20, 0, 1 ); in tune_fan()
179 casetemp = read_reg(x.fan, 0x0b, 1) << 8; in poll_temp()
180 casetemp |= (read_reg(x.fan, 0x06, 1) & 0x7) << 5; in poll_temp()
215 x.r0 = read_reg( x.fan, 0x00, 1 ); in setup_hardware()
216 x.r1 = read_reg( x.fan, 0x01, 1 ); in setup_hardware()
217 x.r20 = read_reg( x.fan, 0x20, 1 ); in setup_hardware()
218 x.r23 = read_reg( x.fan, 0x23, 1 ); in setup_hardware()
219 x.r25 = read_reg( x.fan, 0x25, 1 ); in setup_hardware()
228 write_reg( x.fan, 0x01, 0x01, 1 ); in setup_hardware()
230 write_reg( x.fan, 0x23, 0x91, 1 ); in setup_hardware()
232 write_reg( x.fan, 0x00, 0x95, 1 ); in setup_hardware()
268 write_reg( x.fan, 0x01, x.r1, 1 ); in restore_regs()
269 write_reg( x.fan, 0x20, x.r20, 1 ); in restore_regs()
270 write_reg( x.fan, 0x23, x.r23, 1 ); in restore_regs()
271 write_reg( x.fan, 0x25, x.r25, 1 ); in restore_regs()
272 write_reg( x.fan, 0x00, x.r0, 1 ); in restore_regs()
348 else if (client == x.fan) in do_remove()
349 x.fan = NULL; in do_remove()
359 if( x.fan ) in attach_fan()
367 x.fan = cl; in attach_fan()
433 if (!x.running && x.thermostat && x.fan) { in do_probe()