Lines Matching defs:tvp5150

3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver
7 #include <dt-bindings/media/tvp5150.h>
71 struct tvp5150 {
98 static inline struct tvp5150 *to_tvp5150(struct v4l2_subdev *sd)
100 return container_of(sd, struct tvp5150, sd);
105 return &container_of(ctrl->handler, struct tvp5150, hdl)->sd;
110 struct tvp5150 *decoder = to_tvp5150(sd);
143 dprintk0(sd->dev, "tvp5150: Video input source selection #1 = 0x%02x\n",
145 dprintk0(sd->dev, "tvp5150: Analog channel controls = 0x%02x\n",
147 dprintk0(sd->dev, "tvp5150: Operation mode controls = 0x%02x\n",
149 dprintk0(sd->dev, "tvp5150: Miscellaneous controls = 0x%02x\n",
151 dprintk0(sd->dev, "tvp5150: Autoswitch mask= 0x%02x\n",
153 dprintk0(sd->dev, "tvp5150: Color killer threshold control = 0x%02x\n",
155 dprintk0(sd->dev, "tvp5150: Luminance processing controls #1 #2 and #3 = %02x %02x %02x\n",
159 dprintk0(sd->dev, "tvp5150: Brightness control = 0x%02x\n",
161 dprintk0(sd->dev, "tvp5150: Color saturation control = 0x%02x\n",
163 dprintk0(sd->dev, "tvp5150: Hue control = 0x%02x\n",
165 dprintk0(sd->dev, "tvp5150: Contrast control = 0x%02x\n",
167 dprintk0(sd->dev, "tvp5150: Outputs and data rates select = 0x%02x\n",
169 dprintk0(sd->dev, "tvp5150: Configuration shared pins = 0x%02x\n",
171 dprintk0(sd->dev, "tvp5150: Active video cropping start = 0x%02x%02x\n",
174 dprintk0(sd->dev, "tvp5150: Active video cropping stop = 0x%02x%02x\n",
177 dprintk0(sd->dev, "tvp5150: Genlock/RTC = 0x%02x\n",
179 dprintk0(sd->dev, "tvp5150: Horizontal sync start = 0x%02x\n",
181 dprintk0(sd->dev, "tvp5150: Vertical blanking start = 0x%02x\n",
183 dprintk0(sd->dev, "tvp5150: Vertical blanking stop = 0x%02x\n",
185 dprintk0(sd->dev, "tvp5150: Chrominance processing control #1 and #2 = %02x %02x\n",
188 dprintk0(sd->dev, "tvp5150: Interrupt reset register B = 0x%02x\n",
190 dprintk0(sd->dev, "tvp5150: Interrupt enable register B = 0x%02x\n",
192 dprintk0(sd->dev, "tvp5150: Interrupt configuration register B = 0x%02x\n",
194 dprintk0(sd->dev, "tvp5150: Video standard = 0x%02x\n",
196 dprintk0(sd->dev, "tvp5150: Chroma gain factor: Cb=0x%02x Cr=0x%02x\n",
199 dprintk0(sd->dev, "tvp5150: Macrovision on counter = 0x%02x\n",
201 dprintk0(sd->dev, "tvp5150: Macrovision off counter = 0x%02x\n",
203 dprintk0(sd->dev, "tvp5150: ITU-R BT.656.%d timing(TVP5150AM1 only)\n",
205 dprintk0(sd->dev, "tvp5150: Device ID = %02x%02x\n",
208 dprintk0(sd->dev, "tvp5150: ROM version = (hex) %02x.%02x\n",
211 dprintk0(sd->dev, "tvp5150: Vertical line count = 0x%02x%02x\n",
214 dprintk0(sd->dev, "tvp5150: Interrupt status register B = 0x%02x\n",
216 dprintk0(sd->dev, "tvp5150: Interrupt active register B = 0x%02x\n",
218 dprintk0(sd->dev, "tvp5150: Status regs #1 to #5 = %02x %02x %02x %02x %02x\n",
230 dprintk0(sd->dev, "tvp5150: Teletext filter enable = 0x%02x\n",
232 dprintk0(sd->dev, "tvp5150: Interrupt status register A = 0x%02x\n",
234 dprintk0(sd->dev, "tvp5150: Interrupt enable register A = 0x%02x\n",
236 dprintk0(sd->dev, "tvp5150: Interrupt configuration = 0x%02x\n",
238 dprintk0(sd->dev, "tvp5150: VDP status register = 0x%02x\n",
240 dprintk0(sd->dev, "tvp5150: FIFO word count = 0x%02x\n",
242 dprintk0(sd->dev, "tvp5150: FIFO interrupt threshold = 0x%02x\n",
244 dprintk0(sd->dev, "tvp5150: FIFO reset = 0x%02x\n",
246 dprintk0(sd->dev, "tvp5150: Line number interrupt = 0x%02x\n",
248 dprintk0(sd->dev, "tvp5150: Pixel alignment register = 0x%02x%02x\n",
251 dprintk0(sd->dev, "tvp5150: FIFO output control = 0x%02x\n",
253 dprintk0(sd->dev, "tvp5150: Full field enable = 0x%02x\n",
255 dprintk0(sd->dev, "tvp5150: Full field mode register = 0x%02x\n",
282 struct tvp5150 *decoder = to_tvp5150(sd);
306 "Selecting video route: route input=%s, output=%s => tvp5150 input=0x%02x, opmode=0x%02x\n",
600 struct tvp5150 *decoder = to_tvp5150(sd);
611 struct tvp5150 *decoder = to_tvp5150(sd);
682 struct tvp5150 *decoder = to_tvp5150(sd);
725 struct tvp5150 *decoder = to_tvp5150(sd);
761 struct tvp5150 *decoder = to_tvp5150(sd);
789 struct tvp5150 *decoder = to_tvp5150(sd);
798 struct tvp5150 *decoder = to_tvp5150(sd);
854 struct tvp5150 *decoder = to_tvp5150(sd);
880 struct tvp5150 *decoder = dev_id;
917 struct tvp5150 *decoder = to_tvp5150(sd);
951 struct tvp5150 *decoder = to_tvp5150(sd);
992 struct tvp5150 *decoder = to_tvp5150(sd);
1029 tvp5150_get_pad_crop(struct tvp5150 *decoder,
1052 struct tvp5150 *decoder = to_tvp5150(sd);
1073 struct tvp5150 *decoder = to_tvp5150(sd);
1089 struct tvp5150 *decoder = to_tvp5150(sd);
1110 struct tvp5150 *decoder = to_tvp5150(sd);
1121 /* tvp5150 has some special limits */
1162 struct tvp5150 *decoder = container_of(sd, struct tvp5150, sd);
1198 struct tvp5150 *decoder = to_tvp5150(sd);
1213 struct tvp5150 *decoder = to_tvp5150(sd);
1246 struct tvp5150 *decoder = to_tvp5150(sd);
1279 static int tvp5150_disable_all_input_links(struct tvp5150 *decoder)
1306 struct tvp5150 *decoder = to_tvp5150(sd);
1418 struct tvp5150 *decoder = to_tvp5150(sd);
1432 struct tvp5150 *decoder = to_tvp5150(sd);
1445 struct tvp5150 *decoder = to_tvp5150(sd);
1480 struct tvp5150 *decoder = to_tvp5150(sd);
1496 struct tvp5150 *decoder = to_tvp5150(sd);
1501 * with the tvp5150 then the vbi line count could be lowered
1518 struct tvp5150 *decoder = to_tvp5150(sd);
1577 struct tvp5150 *decoder = to_tvp5150(sd);
1607 struct tvp5150 *decoder = to_tvp5150(sd);
1836 static int tvp5150_detect_version(struct tvp5150 *core)
1908 static int tvp5150_mc_init(struct tvp5150 *decoder)
1930 static inline int tvp5150_mc_init(struct tvp5150 *decoder)
1936 static int tvp5150_validate_connectors(struct tvp5150 *decoder)
1999 static int tvp5150_parse_dt(struct tvp5150 *decoder, struct device_node *np)
2127 struct tvp5150 *core;
2224 IRQF_ONESHOT, "tvp5150", core);
2250 struct tvp5150 *decoder = to_tvp5150(sd);
2254 "tvp5150.c: removing tvp5150 adapter on address 0x%x\n",
2280 { "tvp5150", 0 },
2287 { .compatible = "ti,tvp5150", },
2296 .name = "tvp5150",