Lines Matching defs:client
51 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd);
60 v4l_dbg(1, debug, client, "write 0x%02x = 0x%02x\n", subaddr, data);
63 if (i2c_master_send(client, buffer, 2) == 2)
66 v4l_warn(client, "error #%d writing to 0x%02x\n",
71 v4l_warn(client, "giving up\n");
162 bt866_write(client, 0xdc, val);
176 static int bt866_probe(struct i2c_client *client)
181 v4l_info(client, "chip found @ 0x%x (%s)\n",
182 client->addr << 1, client->adapter->name);
184 encoder = devm_kzalloc(&client->dev, sizeof(*encoder), GFP_KERNEL);
188 v4l2_i2c_subdev_init(sd, client, &bt866_ops);
192 static void bt866_remove(struct i2c_client *client)
194 struct v4l2_subdev *sd = i2c_get_clientdata(client);