Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/media/i2c/
Dtvp5150.c1514 static int tvp5150_s_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_s_sliced_fmt() argument
1519 if (svbi->service_set != 0) { in tvp5150_s_sliced_fmt()
1521 svbi->service_lines[1][i] = 0; in tvp5150_s_sliced_fmt()
1522 svbi->service_lines[0][i] = in tvp5150_s_sliced_fmt()
1523 tvp5150_set_vbi(sd, svbi->service_lines[0][i], in tvp5150_s_sliced_fmt()
1542 static int tvp5150_g_sliced_fmt(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *svbi) in tvp5150_g_sliced_fmt() argument
1546 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in tvp5150_g_sliced_fmt()
1549 svbi->service_lines[0][i] = in tvp5150_g_sliced_fmt()
1551 mask |= svbi->service_lines[0][i]; in tvp5150_g_sliced_fmt()
1553 svbi->service_set = mask; in tvp5150_g_sliced_fmt()