Lines Matching refs:client
85 struct bbc_i2c_client *client; member
108 struct bbc_i2c_client *client; member
147 bbc_i2c_writeb(fp->client, fp->cpu_fan_speed, CPU_FAN_REG); in set_fan_speeds()
148 bbc_i2c_writeb(fp->client, fp->system_fan_speed, SYS_FAN_REG); in set_fan_speeds()
149 bbc_i2c_writeb(fp->client, in set_fan_speeds()
158 bbc_i2c_readb(tp->client, in get_current_temps()
162 bbc_i2c_readb(tp->client, in get_current_temps()
497 tp->client = bbc_i2c_attach(echild); in attach_one_temp()
498 if (!tp->client) { in attach_one_temp()
515 bbc_i2c_writeb(tp->client, 0x00, MAX1617_WR_CFG_BYTE); in attach_one_temp()
516 bbc_i2c_writeb(tp->client, 0x02, MAX1617_WR_CVRATE_BYTE); in attach_one_temp()
519 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].high_pwroff, in attach_one_temp()
521 bbc_i2c_writeb(tp->client, amb_temp_limits[tp->index].low_pwroff, in attach_one_temp()
523 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].high_pwroff, in attach_one_temp()
525 bbc_i2c_writeb(tp->client, cpu_temp_limits[tp->index].low_pwroff, in attach_one_temp()
543 fp->client = bbc_i2c_attach(echild); in attach_one_fan()
544 if (!fp->client) { in attach_one_fan()
595 bbc_i2c_detach(tp->client); in destroy_one_temp()
601 bbc_i2c_detach(fp->client); in destroy_one_fan()