Lines Matching refs:client
42 static int tvmixer_clients(struct i2c_client *client);
82 struct i2c_client *client = mix->dev; in tvmixer_ioctl() local
84 if (NULL == client) in tvmixer_ioctl()
90 strlcpy(info.name, i2c_clientname(client), sizeof(info.name)); in tvmixer_ioctl()
99 strlcpy(info.name, i2c_clientname(client), sizeof(info.name)); in tvmixer_ioctl()
113 client->driver->command(client,VIDIOCGAUDIO,&va); in tvmixer_ioctl()
140 client->driver->command(client,VIDIOCSAUDIO,&va); in tvmixer_ioctl()
141 client->driver->command(client,VIDIOCGAUDIO,&va); in tvmixer_ioctl()
153 client->driver->command(client,VIDIOCSAUDIO,&va); in tvmixer_ioctl()
154 client->driver->command(client,VIDIOCGAUDIO,&va); in tvmixer_ioctl()
162 client->driver->command(client,VIDIOCSAUDIO,&va); in tvmixer_ioctl()
163 client->driver->command(client,VIDIOCGAUDIO,&va); in tvmixer_ioctl()
181 struct i2c_client *client = NULL; in tvmixer_open() local
186 client = mix->dev; in tvmixer_open()
191 if (NULL == client) in tvmixer_open()
196 if (client->adapter->inc_use) in tvmixer_open()
197 client->adapter->inc_use(client->adapter); in tvmixer_open()
204 struct i2c_client *client; in tvmixer_release() local
206 client = mix->dev; in tvmixer_release()
207 if (NULL == client) { in tvmixer_release()
211 if (client->adapter->dec_use) in tvmixer_release()
212 client->adapter->dec_use(client->adapter); in tvmixer_release()
251 static int tvmixer_clients(struct i2c_client *client) in tvmixer_clients() argument
257 if (!(client->adapter->class & I2C_ADAP_CLASS_TV_ANALOG)) in tvmixer_clients()
261 switch (client->adapter->id) { in tvmixer_clients()
274 if (devices[i].dev == client) { in tvmixer_clients()
280 i2c_clientname(client)); in tvmixer_clients()
295 if (NULL == client->driver->command) in tvmixer_clients()
298 if (0 != client->driver->command(client,VIDIOCGAUDIO,&va)) in tvmixer_clients()
311 devices[i].dev = client; in tvmixer_clients()
313 client->name,client->adapter->name,minor); in tvmixer_clients()