Lines Matching refs:client
122 struct i2c_client *client; in tuner_attach() local
131 client = kmalloc(sizeof(struct i2c_client), GFP_KERNEL); in tuner_attach()
132 if (client == NULL) in tuner_attach()
134 memcpy(client, &client_template, sizeof(struct i2c_client)); in tuner_attach()
136 printk("tuner: SAB3036 found, status %02x\n", tuner_getstatus(client)); in tuner_attach()
138 i2c_attach_client(client); in tuner_attach()
141 if (i2c_master_send(client, buffer, 2) != 2) in tuner_attach()
143 if (i2c_master_send(client, buffer+2, 2) != 2) in tuner_attach()
145 if (i2c_master_send(client, buffer+4, 2) != 2) in tuner_attach()
158 tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) in tuner_command() argument
165 set_tv_freq(client, *iarg); in tuner_command()