Home
last modified time | relevance | path

Searched refs:svbi (Results 1 – 3 of 3) sorted by relevance

/drivers/media/i2c/cx25840/
Dcx25840-vbi.c72 int cx25840_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx25840_g_sliced_fmt() argument
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()
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()
101 svbi->service_lines[1][i]; 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()
[all …]
/drivers/media/pci/cx18/
Dcx18-av-vbi.c118 int cx18_av_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx18_av_g_sliced_fmt() argument
132 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx18_av_g_sliced_fmt()
133 svbi->service_set = 0; in cx18_av_g_sliced_fmt()
143 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
144 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
145 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
146 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt()
152 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
153 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
154 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
[all …]
/drivers/media/i2c/
Dtvp5150.c1516 static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_s_sliced_fmt() argument
1521 if (svbi->service_set != 0) { in tvp5150_s_sliced_fmt()
1523 svbi->service_lines[1][i] = 0; in tvp5150_s_sliced_fmt()
1524 svbi->service_lines[0][i] = in tvp5150_s_sliced_fmt()
1525 tvp5150_set_vbi(sd, svbi->service_lines[0][i], in tvp5150_s_sliced_fmt()
1544 static int tvp5150_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_g_sliced_fmt() argument
1548 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in tvp5150_g_sliced_fmt()
1551 svbi->service_lines[0][i] = in tvp5150_g_sliced_fmt()
1553 mask |= svbi->service_lines[0][i]; in tvp5150_g_sliced_fmt()
1555 svbi->service_set = mask; in tvp5150_g_sliced_fmt()