Lines Matching defs:tvp7002
22 #include <media/i2c/tvp7002.h>
67 * Register default values (according to tvp7002 datasheet)
406 struct tvp7002 {
422 * Returns device handler tvp7002.
424 static inline struct tvp7002 *to_tvp7002(struct v4l2_subdev *sd)
426 return container_of(sd, struct tvp7002, sd);
431 return &container_of(ctrl->handler, struct tvp7002, hdl)->sd;
552 struct tvp7002 *device = to_tvp7002(sd);
572 struct tvp7002 *device = to_tvp7002(sd);
722 struct tvp7002 *device = to_tvp7002(sd);
748 struct tvp7002 *device = to_tvp7002(sd);
826 struct tvp7002 *tvp7002 = to_tvp7002(sd);
829 fmt->format.width = tvp7002->current_timings->timings.bt.width;
830 fmt->format.height = tvp7002->current_timings->timings.bt.height;
831 fmt->format.field = tvp7002->current_timings->scanmode;
832 fmt->format.colorspace = tvp7002->current_timings->color_space;
942 struct tvp7002 *device;
959 device = devm_kzalloc(&c->dev, sizeof(struct tvp7002), GFP_KERNEL);
970 v4l_info(c, "tvp7002 found @ 0x%02x (%s)\n",
1050 struct tvp7002 *device = to_tvp7002(sd);
1052 v4l2_dbg(1, debug, sd, "Removing tvp7002 adapter"
1063 { "tvp7002", 0 },
1070 { .compatible = "ti,tvp7002", },