Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c16 static void wss_insert(u8 *wss, u32 val, unsigned size) in wss_insert() argument
19 *wss++ = (val & (1 << size)) ? 0xc0 : 0x10; in wss_insert()
26 u8 wss[29 + 24 + 24 + 24 + 18 + 18] = { 0 }; in vivid_vbi_gen_wss_raw() local
33 wss_insert(wss + bit, 0x1f1c71c7, 29); bit += 29; in vivid_vbi_gen_wss_raw()
34 wss_insert(wss + bit, 0x1e3c1f, 24); bit += 24; in vivid_vbi_gen_wss_raw()
38 wss_insert(wss + bit, (wss_data & (1 << i)) ? one : zero, 6); in vivid_vbi_gen_wss_raw()
40 for (i = 0, bit = 0; bit < sizeof(wss); bit++) { in vivid_vbi_gen_wss_raw()
44 buf[i++] = wss[bit]; in vivid_vbi_gen_wss_raw()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c199 unsigned int wss; in display_wss_show() local
204 wss = dssdev->driver->get_wss(dssdev); in display_wss_show()
206 return snprintf(buf, PAGE_SIZE, "0x%05x\n", wss); in display_wss_show()
212 u32 wss; in display_wss_store() local
218 r = kstrtou32(buf, 0, &wss); in display_wss_store()
222 if (wss > 0xfffff) in display_wss_store()
225 r = dssdev->driver->set_wss(dssdev, wss); in display_wss_store()
254 static DISPLAY_ATTR(wss, S_IRUGO|S_IWUSR,
Dvenc.c534 static int venc_set_wss(struct omap_dss_device *dssdev, u32 wss) in venc_set_wss() argument
546 venc.wss_data = (wss ^ 0xfffff) << 8; in venc_set_wss()
/drivers/infiniband/sw/rdmavt/
Dqp.c105 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit() local
107 if (!wss) in rvt_wss_exit()
111 kfree(wss->entries); in rvt_wss_exit()
112 wss->entries = NULL; in rvt_wss_exit()
113 kfree(rdi->wss); in rvt_wss_exit()
114 rdi->wss = NULL; in rvt_wss_exit()
131 struct rvt_wss *wss; in rvt_wss_init() local
135 rdi->wss = NULL; in rvt_wss_init()
139 rdi->wss = kzalloc_node(sizeof(*rdi->wss), GFP_KERNEL, node); in rvt_wss_init()
140 if (!rdi->wss) in rvt_wss_init()
[all …]
/drivers/media/i2c/
Dsaa7115.c729 int wss = 0; in saa711x_decode_wss() local
738 wss |= b2 << i; in saa711x_decode_wss()
740 parity = wss & 15; in saa711x_decode_wss()
747 return wss; in saa711x_decode_wss()
1197 u32 wss; in saa711x_decode_vbi_line() local
1235 wss = saa711x_decode_wss(p); in saa711x_decode_vbi_line()
1236 if (wss == -1) in saa711x_decode_vbi_line()
1238 p[0] = wss & 0xff; in saa711x_decode_vbi_line()
1239 p[1] = wss >> 8; in saa711x_decode_vbi_line()
/drivers/video/fbdev/omap2/omapfb/displays/
Dconnector-analog-tv.c156 static int tvc_set_wss(struct omap_dss_device *dssdev, u32 wss) in tvc_set_wss() argument
161 return in->ops.atv->set_wss(in, wss); in tvc_set_wss()
/drivers/media/pci/ivtv/
Divtv-vbi.c112 int wss = d->data[0] | d->data[1] << 8; in ivtv_write_vbi_line() local
114 if (vi->wss_payload != wss) { in ivtv_write_vbi_line()
115 vi->wss_payload = wss; in ivtv_write_vbi_line()
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2325 u8 *wss = tpg->random_line[p] + params->wss_random_offset; in tpg_fill_plane_extras() local
2327 memcpy(vbuf, wss, params->wss_width); in tpg_fill_plane_extras()