Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/video/cx18/
Dcx18-av-vbi.c132 int cx18_av_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx18_av_g_sliced_fmt() argument
146 memset(svbi, 0, sizeof(*svbi)); in cx18_av_g_sliced_fmt()
155 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
156 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
157 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
158 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt()
164 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
165 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
166 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
167 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt()
[all …]
/linux-2.6.39/drivers/media/video/cx25840/
Dcx25840-vbi.c85 int cx25840_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx25840_g_sliced_fmt() argument
99 memset(svbi, 0, sizeof(*svbi)); 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()
111 svbi->service_lines[1][i]; in cx25840_g_sliced_fmt()
117 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt()
118 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt()
119 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt()
120 svbi->service_lines[1][i]; in cx25840_g_sliced_fmt()
[all …]
/linux-2.6.39/drivers/media/video/
Dtvp5150.c812 static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_s_sliced_fmt() argument
816 if (svbi->service_set != 0) { in tvp5150_s_sliced_fmt()
818 svbi->service_lines[1][i] = 0; in tvp5150_s_sliced_fmt()
819 svbi->service_lines[0][i] = in tvp5150_s_sliced_fmt()
821 svbi->service_lines[0][i], 0xf0, i, 3); in tvp5150_s_sliced_fmt()
839 static int tvp5150_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_g_sliced_fmt() argument
843 memset(svbi, 0, sizeof(*svbi)); in tvp5150_g_sliced_fmt()
846 svbi->service_lines[0][i] = in tvp5150_g_sliced_fmt()
848 mask |= svbi->service_lines[0][i]; in tvp5150_g_sliced_fmt()
850 svbi->service_set = mask; in tvp5150_g_sliced_fmt()