Lines Matching refs:tvp5150_read
87 static int tvp5150_read(struct v4l2_subdev *sd, unsigned char addr)
132 printk("%02x ", tvp5150_read(sd, init));
143 tvp5150_read(sd, TVP5150_VD_IN_SRC_SEL_1));
145 tvp5150_read(sd, TVP5150_ANAL_CHL_CTL));
147 tvp5150_read(sd, TVP5150_OP_MODE_CTL));
149 tvp5150_read(sd, TVP5150_MISC_CTL));
151 tvp5150_read(sd, TVP5150_AUTOSW_MSK));
153 tvp5150_read(sd, TVP5150_COLOR_KIL_THSH_CTL));
155 tvp5150_read(sd, TVP5150_LUMA_PROC_CTL_1),
156 tvp5150_read(sd, TVP5150_LUMA_PROC_CTL_2),
157 tvp5150_read(sd, TVP5150_LUMA_PROC_CTL_3));
159 tvp5150_read(sd, TVP5150_BRIGHT_CTL));
161 tvp5150_read(sd, TVP5150_SATURATION_CTL));
163 tvp5150_read(sd, TVP5150_HUE_CTL));
165 tvp5150_read(sd, TVP5150_CONTRAST_CTL));
167 tvp5150_read(sd, TVP5150_DATA_RATE_SEL));
169 tvp5150_read(sd, TVP5150_CONF_SHARED_PIN));
171 tvp5150_read(sd, TVP5150_ACT_VD_CROP_ST_MSB),
172 tvp5150_read(sd, TVP5150_ACT_VD_CROP_ST_LSB));
174 tvp5150_read(sd, TVP5150_ACT_VD_CROP_STP_MSB),
175 tvp5150_read(sd, TVP5150_ACT_VD_CROP_STP_LSB));
177 tvp5150_read(sd, TVP5150_GENLOCK));
179 tvp5150_read(sd, TVP5150_HORIZ_SYNC_START));
181 tvp5150_read(sd, TVP5150_VERT_BLANKING_START));
183 tvp5150_read(sd, TVP5150_VERT_BLANKING_STOP));
185 tvp5150_read(sd, TVP5150_CHROMA_PROC_CTL_1),
186 tvp5150_read(sd, TVP5150_CHROMA_PROC_CTL_2));
188 tvp5150_read(sd, TVP5150_INT_RESET_REG_B));
190 tvp5150_read(sd, TVP5150_INT_ENABLE_REG_B));
192 tvp5150_read(sd, TVP5150_INTT_CONFIG_REG_B));
194 tvp5150_read(sd, TVP5150_VIDEO_STD));
196 tvp5150_read(sd, TVP5150_CB_GAIN_FACT),
197 tvp5150_read(sd, TVP5150_CR_GAIN_FACTOR));
199 tvp5150_read(sd, TVP5150_MACROVISION_ON_CTR));
201 tvp5150_read(sd, TVP5150_MACROVISION_OFF_CTR));
203 (tvp5150_read(sd, TVP5150_REV_SELECT) & 1) ? 3 : 4);
205 tvp5150_read(sd, TVP5150_MSB_DEV_ID),
206 tvp5150_read(sd, TVP5150_LSB_DEV_ID));
208 tvp5150_read(sd, TVP5150_ROM_MAJOR_VER),
209 tvp5150_read(sd, TVP5150_ROM_MINOR_VER));
211 tvp5150_read(sd, TVP5150_VERT_LN_COUNT_MSB),
212 tvp5150_read(sd, TVP5150_VERT_LN_COUNT_LSB));
214 tvp5150_read(sd, TVP5150_INT_STATUS_REG_B));
216 tvp5150_read(sd, TVP5150_INT_ACTIVE_REG_B));
218 tvp5150_read(sd, TVP5150_STATUS_REG_1),
219 tvp5150_read(sd, TVP5150_STATUS_REG_2),
220 tvp5150_read(sd, TVP5150_STATUS_REG_3),
221 tvp5150_read(sd, TVP5150_STATUS_REG_4),
222 tvp5150_read(sd, TVP5150_STATUS_REG_5));
230 tvp5150_read(sd, TVP5150_TELETEXT_FIL_ENA));
232 tvp5150_read(sd, TVP5150_INT_STATUS_REG_A));
234 tvp5150_read(sd, TVP5150_INT_ENABLE_REG_A));
236 tvp5150_read(sd, TVP5150_INT_CONF));
238 tvp5150_read(sd, TVP5150_VDP_STATUS_REG));
240 tvp5150_read(sd, TVP5150_FIFO_WORD_COUNT));
242 tvp5150_read(sd, TVP5150_FIFO_INT_THRESHOLD));
244 tvp5150_read(sd, TVP5150_FIFO_RESET));
246 tvp5150_read(sd, TVP5150_LINE_NUMBER_INT));
248 tvp5150_read(sd, TVP5150_PIX_ALIGN_REG_HIGH),
249 tvp5150_read(sd, TVP5150_PIX_ALIGN_REG_LOW));
251 tvp5150_read(sd, TVP5150_FIFO_OUT_CTRL));
253 tvp5150_read(sd, TVP5150_FULL_FIELD_ENA));
255 tvp5150_read(sd, TVP5150_FULL_FIELD_MODE_REG));
313 val = tvp5150_read(sd, TVP5150_MISC_CTL);
672 pos = tvp5150_read(sd, reg) & 0x0f;
676 pos = tvp5150_read(sd, reg + 1) & 0x0f;
730 msb_id = tvp5150_read(sd, TVP5150_MSB_DEV_ID);
731 lsb_id = tvp5150_read(sd, TVP5150_LSB_DEV_ID);
732 msb_rom = tvp5150_read(sd, TVP5150_ROM_MAJOR_VER);
733 lsb_rom = tvp5150_read(sd, TVP5150_ROM_MINOR_VER);
778 ctrl->value = tvp5150_read(sd, TVP5150_BRIGHT_CTL);
781 ctrl->value = tvp5150_read(sd, TVP5150_CONTRAST_CTL);
784 ctrl->value = tvp5150_read(sd, TVP5150_SATURATION_CTL);
787 ctrl->value = tvp5150_read(sd, TVP5150_HUE_CTL);
905 rev = tvp5150_read(sd, TVP5150_ROM_MAJOR_VER) << 8 |
906 tvp5150_read(sd, TVP5150_ROM_MINOR_VER);
922 reg->val = tvp5150_read(sd, reg->reg & 0xff);
942 int status = tvp5150_read(sd, 0x88);