Lines Matching refs:sd
52 struct v4l2_subdev sd; member
56 static inline struct bt866 *to_bt866(struct v4l2_subdev *sd) in to_bt866() argument
58 return container_of(sd, struct bt866, sd); in to_bt866()
63 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt866_write()
90 static int bt866_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) in bt866_s_std_output() argument
92 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); in bt866_s_std_output()
100 static int bt866_s_routing(struct v4l2_subdev *sd, in bt866_s_routing() argument
130 struct bt866 *encoder = to_bt866(sd); in bt866_s_routing()
153 v4l2_dbg(1, debug, sd, "set input %d\n", input); in bt866_s_routing()
192 struct v4l2_subdev *sd; in bt866_probe() local
200 sd = &encoder->sd; in bt866_probe()
201 v4l2_i2c_subdev_init(sd, client, &bt866_ops); in bt866_probe()
207 struct v4l2_subdev *sd = i2c_get_clientdata(client); in bt866_remove() local
209 v4l2_device_unregister_subdev(sd); in bt866_remove()