Lines Matching refs:sd
55 struct v4l2_subdev sd; member
61 static inline struct bt856 *to_bt856(struct v4l2_subdev *sd) in to_bt856() argument
63 return container_of(sd, struct bt856, sd); in to_bt856()
70 struct i2c_client *client = v4l2_get_subdevdata(&encoder->sd); in bt856_write()
87 v4l2_info(&encoder->sd, "register dump:\n"); in bt856_dump()
95 static int bt856_init(struct v4l2_subdev *sd, u32 arg) in bt856_init() argument
97 struct bt856 *encoder = to_bt856(sd); in bt856_init()
100 v4l2_dbg(1, debug, sd, "init\n"); in bt856_init()
122 static int bt856_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) in bt856_s_std_output() argument
124 struct bt856 *encoder = to_bt856(sd); in bt856_s_std_output()
126 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); in bt856_s_std_output()
143 static int bt856_s_routing(struct v4l2_subdev *sd, in bt856_s_routing() argument
146 struct bt856 *encoder = to_bt856(sd); in bt856_s_routing()
148 v4l2_dbg(1, debug, sd, "set input %d\n", input); in bt856_s_routing()
201 struct v4l2_subdev *sd; in bt856_probe() local
213 sd = &encoder->sd; in bt856_probe()
214 v4l2_i2c_subdev_init(sd, client, &bt856_ops); in bt856_probe()
241 struct v4l2_subdev *sd = i2c_get_clientdata(client); in bt856_remove() local
243 v4l2_device_unregister_subdev(sd); in bt856_remove()