Lines Matching defs:client
92 struct i2c_client *client = v4l2_get_subdevdata(sd);
94 return i2c_smbus_write_byte_data(client, reg, value);
192 static int tw9903_probe(struct i2c_client *client,
200 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
203 v4l_info(client, "chip found @ 0x%02x (%s)\n",
204 client->addr << 1, client->adapter->name);
206 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL);
210 v4l2_i2c_subdev_init(sd, client, &tw9903_ops);
231 v4l2_err(client, "error initializing TW9903\n");
238 static int tw9903_remove(struct i2c_client *client)
240 struct v4l2_subdev *sd = i2c_get_clientdata(client);