Lines Matching defs:client
41 struct i2c_client *client = v4l2_get_subdevdata(sd);
71 ret = i2c_smbus_write_byte(client, byte);
90 static int tea6420_probe(struct i2c_client *client)
96 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WRITE_BYTE))
99 v4l_info(client, "chip found @ 0x%x (%s)\n",
100 client->addr << 1, client->adapter->name);
102 sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
105 v4l2_i2c_subdev_init(sd, client, &tea6420_ops);
112 v4l_dbg(1, debug, client, "could not initialize tea6420\n");
118 static void tea6420_remove(struct i2c_client *client)
120 struct v4l2_subdev *sd = i2c_get_clientdata(client);