Lines Matching refs:cx
134 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_g_sliced_fmt() local
135 struct cx18_av_state *state = &cx->av_state; in cx18_av_g_sliced_fmt()
150 if ((cx18_av_read(cx, 0x404) & 0x10) == 0) in cx18_av_g_sliced_fmt()
155 u8 v = cx18_av_read(cx, 0x424 + i - 7); in cx18_av_g_sliced_fmt()
164 u8 v = cx18_av_read(cx, 0x424 + i - 10); in cx18_av_g_sliced_fmt()
177 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_s_raw_fmt() local
178 struct cx18_av_state *state = &cx->av_state; in cx18_av_s_raw_fmt()
181 cx18_av_std_setup(cx); in cx18_av_s_raw_fmt()
184 cx18_av_write(cx, 0x47f, state->slicer_line_delay); in cx18_av_s_raw_fmt()
185 cx18_av_write(cx, 0x404, 0x2e); in cx18_av_s_raw_fmt()
191 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_s_sliced_fmt() local
192 struct cx18_av_state *state = &cx->av_state; in cx18_av_s_sliced_fmt()
201 cx18_av_std_setup(cx); in cx18_av_s_sliced_fmt()
204 cx18_av_write(cx, 0x404, 0x32); /* Ancillary data */ in cx18_av_s_sliced_fmt()
205 cx18_av_write(cx, 0x406, 0x13); in cx18_av_s_sliced_fmt()
206 cx18_av_write(cx, 0x47f, state->slicer_line_delay); in cx18_av_s_sliced_fmt()
245 cx18_av_write(cx, i, lcr[6 + x]); in cx18_av_s_sliced_fmt()
248 cx18_av_write(cx, i, lcr[9 + x]); in cx18_av_s_sliced_fmt()
250 cx18_av_write(cx, i, 0); in cx18_av_s_sliced_fmt()
253 cx18_av_write(cx, 0x43c, 0x16); in cx18_av_s_sliced_fmt()
255 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); in cx18_av_s_sliced_fmt()
262 struct cx18 *cx = v4l2_get_subdevdata(sd); in cx18_av_decode_vbi_line() local
263 struct cx18_av_state *state = &cx->av_state; in cx18_av_decode_vbi_line()