Lines Matching +full:0 +full:xf0
25 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
26 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
27 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96, in decode_vps()
28 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2, in decode_vps()
29 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94, in decode_vps()
30 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0, in decode_vps()
31 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
32 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
33 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5, in decode_vps()
34 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1, in decode_vps()
35 0xc3, 0x4b, 0x43, 0xc3, 0x87, 0x0f, 0x07, 0x87, in decode_vps()
36 0x83, 0x0b, 0x03, 0x83, 0xc3, 0x4b, 0x43, 0xc3, in decode_vps()
37 0xc1, 0x49, 0x41, 0xc1, 0x85, 0x0d, 0x05, 0x85, in decode_vps()
38 0x81, 0x09, 0x01, 0x81, 0xc1, 0x49, 0x41, 0xc1, in decode_vps()
39 0xe1, 0x69, 0x61, 0xe1, 0xa5, 0x2d, 0x25, 0xa5, in decode_vps()
40 0xa1, 0x29, 0x21, 0xa1, 0xe1, 0x69, 0x61, 0xe1, in decode_vps()
41 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4, in decode_vps()
42 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0, in decode_vps()
43 0xc2, 0x4a, 0x42, 0xc2, 0x86, 0x0e, 0x06, 0x86, in decode_vps()
44 0x82, 0x0a, 0x02, 0x82, 0xc2, 0x4a, 0x42, 0xc2, in decode_vps()
45 0xc0, 0x48, 0x40, 0xc0, 0x84, 0x0c, 0x04, 0x84, in decode_vps()
46 0x80, 0x08, 0x00, 0x80, 0xc0, 0x48, 0x40, 0xc0, in decode_vps()
47 0xe0, 0x68, 0x60, 0xe0, 0xa4, 0x2c, 0x24, 0xa4, in decode_vps()
48 0xa0, 0x28, 0x20, 0xa0, 0xe0, 0x68, 0x60, 0xe0, in decode_vps()
49 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
50 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
51 0xd2, 0x5a, 0x52, 0xd2, 0x96, 0x1e, 0x16, 0x96, in decode_vps()
52 0x92, 0x1a, 0x12, 0x92, 0xd2, 0x5a, 0x52, 0xd2, in decode_vps()
53 0xd0, 0x58, 0x50, 0xd0, 0x94, 0x1c, 0x14, 0x94, in decode_vps()
54 0x90, 0x18, 0x10, 0x90, 0xd0, 0x58, 0x50, 0xd0, in decode_vps()
55 0xf0, 0x78, 0x70, 0xf0, 0xb4, 0x3c, 0x34, 0xb4, in decode_vps()
56 0xb0, 0x38, 0x30, 0xb0, 0xf0, 0x78, 0x70, 0xf0, in decode_vps()
59 u8 c, err = 0; in decode_vps()
62 for (i = 0; i < 2 * 13; i += 2) { in decode_vps()
64 c = (biphase_tbl[p[i + 1]] & 0xf) | in decode_vps()
65 ((biphase_tbl[p[i]] & 0xf) << 4); in decode_vps()
69 return err & 0xf0; in decode_vps()
77 0, V4L2_SLICED_TELETEXT_B, 0, /* 1 */ in cx25840_g_sliced_fmt()
78 0, V4L2_SLICED_WSS_625, 0, /* 4 */ in cx25840_g_sliced_fmt()
80 0, 0, V4L2_SLICED_VPS, 0, 0, /* 9 */ in cx25840_g_sliced_fmt()
81 0, 0, 0, 0 in cx25840_g_sliced_fmt()
86 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx25840_g_sliced_fmt()
87 svbi->service_set = 0; in cx25840_g_sliced_fmt()
90 if ((cx25840_read(client, 0x404) & 0x10) == 0) in cx25840_g_sliced_fmt()
91 return 0; in cx25840_g_sliced_fmt()
96 state->vbi_regs_offset + 0x424 + i - 7); in cx25840_g_sliced_fmt()
98 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt()
99 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt()
100 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt()
106 state->vbi_regs_offset + 0x424 + i - 10); in cx25840_g_sliced_fmt()
108 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt()
109 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt()
110 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt()
114 return 0; in cx25840_g_sliced_fmt()
122 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_raw_fmt()
129 cx25840_write(client, 0x54f, vbi_offset); in cx25840_s_raw_fmt()
131 cx25840_write(client, 0x47f, vbi_offset); in cx25840_s_raw_fmt()
133 cx25840_write(client, 0x404, 0x2e); in cx25840_s_raw_fmt()
134 return 0; in cx25840_s_raw_fmt()
142 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_sliced_fmt()
146 for (x = 0; x <= 23; x++) in cx25840_s_sliced_fmt()
147 lcr[x] = 0x00; in cx25840_s_sliced_fmt()
154 cx25840_write(client, 0x404, 0x32); /* Ancillary data */ in cx25840_s_sliced_fmt()
155 cx25840_write(client, 0x406, 0x13); in cx25840_s_sliced_fmt()
157 cx25840_write(client, 0x54f, vbi_offset); in cx25840_s_sliced_fmt()
159 cx25840_write(client, 0x47f, vbi_offset); in cx25840_s_sliced_fmt()
162 for (i = 0; i <= 6; i++) in cx25840_s_sliced_fmt()
163 svbi->service_lines[0][i] = in cx25840_s_sliced_fmt()
164 svbi->service_lines[1][i] = 0; in cx25840_s_sliced_fmt()
166 for (i = 0; i <= 9; i++) in cx25840_s_sliced_fmt()
167 svbi->service_lines[0][i] = in cx25840_s_sliced_fmt()
168 svbi->service_lines[1][i] = 0; in cx25840_s_sliced_fmt()
171 svbi->service_lines[0][i] = in cx25840_s_sliced_fmt()
172 svbi->service_lines[1][i] = 0; in cx25840_s_sliced_fmt()
176 for (x = 0; x <= 1; x++) { in cx25840_s_sliced_fmt()
195 for (x = 1, i = state->vbi_regs_offset + 0x424; in cx25840_s_sliced_fmt()
196 i <= state->vbi_regs_offset + 0x434; i++, x++) in cx25840_s_sliced_fmt()
199 for (x = 1, i = state->vbi_regs_offset + 0x424; in cx25840_s_sliced_fmt()
200 i <= state->vbi_regs_offset + 0x430; i++, x++) in cx25840_s_sliced_fmt()
202 for (i = state->vbi_regs_offset + 0x431; in cx25840_s_sliced_fmt()
203 i <= state->vbi_regs_offset + 0x434; i++) in cx25840_s_sliced_fmt()
204 cx25840_write(client, i, 0); in cx25840_s_sliced_fmt()
207 cx25840_write(client, state->vbi_regs_offset + 0x43c, 0x16); in cx25840_s_sliced_fmt()
210 cx25840_write(client, 0x428, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
212 cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
213 return 0; in cx25840_s_sliced_fmt()
220 int id1, id2, l, err = 0; in cx25840_decode_vbi_line()
222 if (p[0] || p[1] != 0xff || p[2] != 0xff || in cx25840_decode_vbi_line()
223 (p[3] != 0x55 && p[3] != 0x91)) { in cx25840_decode_vbi_line()
224 vbi->line = vbi->type = 0; in cx25840_decode_vbi_line()
225 return 0; in cx25840_decode_vbi_line()
230 id2 = p[0] & 0xf; in cx25840_decode_vbi_line()
231 l = p[2] & 0x3f; in cx25840_decode_vbi_line()
244 err = !odd_parity(p[0]) || !odd_parity(p[1]); in cx25840_decode_vbi_line()
248 if (decode_vps(p, p) != 0) in cx25840_decode_vbi_line()
252 id2 = 0; in cx25840_decode_vbi_line()
257 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line()
258 vbi->line = err ? 0 : l; in cx25840_decode_vbi_line()
259 vbi->is_second_field = err ? 0 : (id1 == 0x55); in cx25840_decode_vbi_line()
261 return 0; in cx25840_decode_vbi_line()