Lines Matching defs:client
63 struct i2c_client *client = v4l2_get_subdevdata(sd);
65 return i2c_smbus_write_byte_data(client, reg, value);
160 static int tw9906_probe(struct i2c_client *client,
168 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
171 v4l_info(client, "chip found @ 0x%02x (%s)\n",
172 client->addr << 1, client->adapter->name);
174 dec = devm_kzalloc(&client->dev, sizeof(*dec), GFP_KERNEL);
178 v4l2_i2c_subdev_init(sd, client, &tw9906_ops);
199 v4l2_err(client, "error initializing TW9906\n");
206 static int tw9906_remove(struct i2c_client *client)
208 struct v4l2_subdev *sd = i2c_get_clientdata(client);