Home
last modified time | relevance | path

Searched refs:wss (Results 1 – 7 of 7) sorted by relevance

/drivers/media/platform/vivid/
Dvivid-vbi-gen.c28 static void wss_insert(u8 *wss, u32 val, unsigned size) in wss_insert() argument
31 *wss++ = (val & (1 << size)) ? 0xc0 : 0x10; in wss_insert()
38 u8 wss[29 + 24 + 24 + 24 + 18 + 18] = { 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()
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()
56 buf[i++] = wss[bit]; in vivid_vbi_gen_wss_raw()
Dvivid-tpg.c1960 u8 *wss = tpg->random_line[p] + params->wss_random_offset; in tpg_fill_plane_extras() local
1962 memcpy(vbuf, wss, params->wss_width); in tpg_fill_plane_extras()
/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c210 unsigned int wss; in display_wss_show() local
215 wss = dssdev->driver->get_wss(dssdev); in display_wss_show()
217 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); in display_wss_show()
223 u32 wss; in display_wss_store() local
229 r = kstrtou32(buf, 0, &wss); in display_wss_store()
233 if (wss > 0xfffff) in display_wss_store()
236 r = dssdev->driver->set_wss(dssdev, wss); in display_wss_store()
265 static DISPLAY_ATTR(wss, S_IRUGO|S_IWUSR,
Dvenc.c597 static int venc_set_wss(struct omap_dss_device *dssdev, u32 wss) in venc_set_wss() argument
609 venc.wss_data = (wss ^ 0xfffff) << 8; in venc_set_wss()
/drivers/media/i2c/
Dsaa7115.c733 int wss = 0; in saa711x_decode_wss() local
742 wss |= b2 << i; in saa711x_decode_wss()
744 parity = wss & 15; in saa711x_decode_wss()
751 return wss; in saa711x_decode_wss()
1201 u32 wss; in saa711x_decode_vbi_line() local
1239 wss = saa711x_decode_wss(p); in saa711x_decode_vbi_line()
1240 if (wss == -1) in saa711x_decode_vbi_line()
1242 p[0] = wss & 0xff; in saa711x_decode_vbi_line()
1243 p[1] = wss >> 8; in saa711x_decode_vbi_line()
/drivers/video/fbdev/omap2/displays-new/
Dconnector-analog-tv.c169 static int tvc_set_wss(struct omap_dss_device *dssdev, u32 wss) in tvc_set_wss() argument
174 return in->ops.atv->set_wss(in, wss); in tvc_set_wss()
/drivers/media/pci/ivtv/
Divtv-vbi.c124 int wss = d->data[0] | d->data[1] << 8; in ivtv_write_vbi_line() local
126 if (vi->wss_payload != wss) { in ivtv_write_vbi_line()
127 vi->wss_payload = wss; in ivtv_write_vbi_line()