Searched refs:svbi (Results 1 – 3 of 3) sorted by relevance
/drivers/media/i2c/cx25840/ |
D | cx25840-vbi.c | 85 int cx25840_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in cx25840_g_sliced_fmt() argument 99 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx25840_g_sliced_fmt() 100 svbi->service_set = 0; in cx25840_g_sliced_fmt() 110 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt() 111 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt() 112 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt() 113 svbi->service_lines[1][i]; in cx25840_g_sliced_fmt() 120 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt() 121 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt() 122 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt() [all …]
|
/drivers/media/pci/cx18/ |
D | cx18-av-vbi.c | 132 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->service_lines, 0, sizeof(svbi->service_lines)); in cx18_av_g_sliced_fmt() 147 svbi->service_set = 0; in cx18_av_g_sliced_fmt() 157 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt() 158 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt() 159 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt() 160 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt() 166 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt() 167 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt() 168 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt() [all …]
|
/drivers/media/i2c/ |
D | tvp5150.c | 1116 static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_s_sliced_fmt() argument 1120 if (svbi->service_set != 0) { in tvp5150_s_sliced_fmt() 1122 svbi->service_lines[1][i] = 0; in tvp5150_s_sliced_fmt() 1123 svbi->service_lines[0][i] = in tvp5150_s_sliced_fmt() 1125 svbi->service_lines[0][i], 0xf0, i, 3); in tvp5150_s_sliced_fmt() 1143 static int tvp5150_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_g_sliced_fmt() argument 1147 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in tvp5150_g_sliced_fmt() 1150 svbi->service_lines[0][i] = in tvp5150_g_sliced_fmt() 1152 mask |= svbi->service_lines[0][i]; in tvp5150_g_sliced_fmt() 1154 svbi->service_set = mask; in tvp5150_g_sliced_fmt()
|