Lines Matching refs:bit
41 unsigned bit = 0; in vivid_vbi_gen_wss_raw() local
45 wss_insert(wss + bit, 0x1f1c71c7, 29); bit += 29; in vivid_vbi_gen_wss_raw()
46 wss_insert(wss + bit, 0x1e3c1f, 24); bit += 24; in vivid_vbi_gen_wss_raw()
49 for (i = 0; i <= 13; i++, bit += 6) in vivid_vbi_gen_wss_raw()
50 wss_insert(wss + bit, (wss_data & (1 << i)) ? one : zero, 6); in vivid_vbi_gen_wss_raw()
52 for (i = 0, bit = 0; bit < sizeof(wss); bit++) { in vivid_vbi_gen_wss_raw()
53 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_wss_raw()
56 buf[i++] = wss[bit]; in vivid_vbi_gen_wss_raw()
65 unsigned bit = 0; in vivid_vbi_gen_teletext_raw() local
72 for (i = 0, bit = 0; bit < sizeof(teletext) * 8; bit++) { in vivid_vbi_gen_teletext_raw()
73 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_teletext_raw()
74 u8 val = (teletext[bit / 8] & (1 << (bit & 7))) ? 0xc0 : 0x10; in vivid_vbi_gen_teletext_raw()
108 unsigned bit, i; in vivid_vbi_gen_cc_raw() local
113 for (i = 0, bit = 0; bit < sizeof(cc); bit++) { in vivid_vbi_gen_cc_raw()
114 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_cc_raw()
117 buf[i++] = cc[bit] ? 0xc0 : 0x10; in vivid_vbi_gen_cc_raw()