Home
last modified time | relevance | path

Searched refs:vt (Results 1 – 25 of 67) sorted by relevance

123

/drivers/media/test-drivers/vivid/
A Dvivid-radio-rx.c223 if (vt->index > 0) in vivid_radio_rx_g_tuner()
226 strscpy(vt->name, "AM/FM/SW Receiver", sizeof(vt->name)); in vivid_radio_rx_g_tuner()
246 vt->rangelow = AM_FREQ_RANGE_LOW; in vivid_radio_rx_g_tuner()
247 vt->rangehigh = FM_FREQ_RANGE_HIGH; in vivid_radio_rx_g_tuner()
249 vt->signal = abs(sig_qual) > delta ? 0 : in vivid_radio_rx_g_tuner()
253 vt->rxsubchans = 0; in vivid_radio_rx_g_tuner()
255 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vivid_radio_rx_g_tuner()
257 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vivid_radio_rx_g_tuner()
263 vt->rxsubchans |= V4L2_TUNER_SUB_RDS; in vivid_radio_rx_g_tuner()
266 vt->audmode = dev->radio_rx_audmode; in vivid_radio_rx_g_tuner()
[all …]
A Dvivid-sdr-cap.c428 switch (vt->index) { in vivid_sdr_g_tuner()
430 strscpy(vt->name, "ADC", sizeof(vt->name)); in vivid_sdr_g_tuner()
431 vt->type = V4L2_TUNER_ADC; in vivid_sdr_g_tuner()
432 vt->capability = in vivid_sdr_g_tuner()
434 vt->rangelow = bands_adc[0].rangelow; in vivid_sdr_g_tuner()
438 strscpy(vt->name, "RF", sizeof(vt->name)); in vivid_sdr_g_tuner()
439 vt->type = V4L2_TUNER_RF; in vivid_sdr_g_tuner()
440 vt->capability = in vivid_sdr_g_tuner()
442 vt->rangelow = bands_fm[0].rangelow; in vivid_sdr_g_tuner()
443 vt->rangehigh = bands_fm[0].rangehigh; in vivid_sdr_g_tuner()
[all …]
A Dvivid-vid-cap.c1281 if (vt->index != 0) in vivid_video_s_tuner()
1285 dev->tv_audmode = vt->audmode; in vivid_video_s_tuner()
1294 if (vt->index != 0) in vivid_video_g_tuner()
1299 vt->audmode = dev->tv_audmode; in vivid_video_g_tuner()
1300 vt->rangelow = MIN_TV_FREQ; in vivid_video_g_tuner()
1301 vt->rangehigh = MAX_TV_FREQ; in vivid_video_g_tuner()
1304 vt->signal = 0xffff; in vivid_video_g_tuner()
1306 vt->signal = 0x8000; in vivid_video_g_tuner()
1308 vt->signal = 0; in vivid_video_g_tuner()
1310 vt->rxsubchans = 0; in vivid_video_g_tuner()
[all …]
A Dvivid-radio-rx.h16 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
17 int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
A Dvivid-sdr-cap.h14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
/drivers/net/ethernet/amd/pds_core/
A Ddebugfs.c37 int vt; in identity_show() local
56 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) in identity_show()
58 le16_to_cpu(pdsc->dev_ident.vif_types[vt])); in identity_show()
78 int vt; in viftype_show() local
80 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in viftype_show()
81 if (!pdsc->viftype_status[vt].name) in viftype_show()
85 pdsc->viftype_status[vt].name, in viftype_show()
86 pdsc->viftype_status[vt].supported, in viftype_show()
87 pdsc->viftype_status[vt].enabled); in viftype_show()
A Dauxbus.c195 enum pds_core_vif_types vt, in pdsc_auxbus_dev_add() argument
208 if (vt >= PDS_DEV_TYPE_MAX) in pdsc_auxbus_dev_add()
226 vt_support = !!le16_to_cpu(pf->dev_ident.vif_types[vt]); in pdsc_auxbus_dev_add()
228 pf->viftype_status[vt].supported && in pdsc_auxbus_dev_add()
229 pf->viftype_status[vt].enabled)) in pdsc_auxbus_dev_add()
237 PDS_CORE_DRV_NAME, pf->viftype_status[vt].name, cf->uid); in pdsc_auxbus_dev_add()
245 pf->viftype_status[vt].name); in pdsc_auxbus_dev_add()
A Ddevlink.c11 int vt; in pdsc_dl_find_viftype_by_id() local
16 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in pdsc_dl_find_viftype_by_id()
17 if (pdsc->viftype_status[vt].dl_id == dl_id) in pdsc_dl_find_viftype_by_id()
18 return &pdsc->viftype_status[vt]; in pdsc_dl_find_viftype_by_id()
A Dcore.c416 enum pds_core_vif_types vt; in pdsc_viftypes_init() local
424 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in pdsc_viftypes_init()
427 if (!pdsc_viftype_defaults[vt].name) in pdsc_viftypes_init()
431 pdsc->viftype_status[vt] = pdsc_viftype_defaults[vt]; in pdsc_viftypes_init()
434 vt_support = !!le16_to_cpu(pdsc->dev_ident.vif_types[vt]); in pdsc_viftypes_init()
437 pdsc->viftype_status[vt].name, in pdsc_viftypes_init()
440 pdsc->viftype_status[vt].supported = vt_support; in pdsc_viftypes_init()
/drivers/net/ethernet/microchip/vcap/
A Dvcap_api_private.h69 enum vcap_type vt, enum vcap_keyfield_set keyset);
73 enum vcap_type vt, enum vcap_keyfield_set keyset);
76 enum vcap_type vt,
84 enum vcap_type vt, enum vcap_actionfield_set actionset);
87 enum vcap_type vt,
91 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt,
96 enum vcap_type vt, enum vcap_actionfield_set actionset);
114 int vcap_find_keystream_keysets(struct vcap_control *vctrl, enum vcap_type vt,
A Dvcap_api.c219 enum vcap_type vt, in vcap_verify_keystream_keyset() argument
309 enum vcap_type vt, u32 *stream, in vcap_find_keystream_typegroup_sw() argument
334 enum vcap_type vt, in vcap_find_keystream_keysets() argument
372 enum vcap_type vt = admin->vtype; in vcap_addr_keysets() local
397 enum vcap_type vt, in vcap_keyfields() argument
408 enum vcap_type vt, in vcap_keyfieldset() argument
730 enum vcap_type vt, in vcap_actionfield_count() argument
1327 enum vcap_type vt, in vcap_verify_actionstream_actionset() argument
1387 enum vcap_type vt, in vcap_find_actionstream_actionset() argument
1437 enum vcap_type vt = admin->vtype; in vcap_decode_actionset() local
[all …]
/drivers/md/persistent-data/
A Ddm-array.c126 if (vt->inc) in inc_ablock_entries()
137 if (vt->dec) in dec_ablock_entries()
186 if (vt->inc) in fill_ablock()
187 vt->inc(vt->context, value, delta); in fill_ablock()
209 if (vt->dec) in trim_ablock()
723 if (vt->inc) in populate_ablock_with_values()
724 vt->inc(vt->context, element_at(info, ab, i), 1); in populate_ablock_with_values()
834 (!vt->equal || !vt->equal(vt->context, old_value, value))) { in array_set_value()
835 vt->dec(vt->context, old_value, 1); in array_set_value()
836 if (vt->inc) in array_set_value()
[all …]
A Ddm-btree-spine.c99 struct dm_btree_value_type *vt, in bn_shadow() argument
107 inc_children(info->tm, dm_block_data(*result), vt); in bn_shadow()
191 struct dm_btree_value_type *vt) in shadow_step() argument
201 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step()
256 struct dm_btree_value_type *vt) in init_le64_type() argument
258 vt->context = tm; in init_le64_type()
259 vt->size = sizeof(__le64); in init_le64_type()
260 vt->inc = le64_inc; in init_le64_type()
261 vt->dec = le64_dec; in init_le64_type()
262 vt->equal = le64_equal; in init_le64_type()
A Ddm-btree-remove.c179 inc_children(info->tm, result->n, vt); in init_child()
288 r = init_child(info, vt, parent, left_index, &left); in rebalance2()
456 r = init_child(info, vt, parent, left_index, &left); in rebalance3()
515 r = rebalance2(s, info, vt, i); in rebalance_children()
518 r = rebalance2(s, info, vt, i - 1); in rebalance_children()
521 r = rebalance3(s, info, vt, i - 1); in rebalance_children()
552 r = shadow_step(s, root, vt); in remove_raw()
573 r = rebalance_children(s, info, vt, key); in remove_raw()
639 struct dm_btree_value_type *vt, dm_block_t root, in remove_nearest() argument
646 r = shadow_step(s, root, vt); in remove_nearest()
[all …]
A Ddm-btree.c75 struct dm_btree_value_type *vt) in inc_children() argument
82 else if (vt->inc) in inc_children()
83 vt->inc(vt->context, value_ptr(n, 0), nr_entries); in inc_children()
655 struct dm_btree_value_type *vt, uint64_t key) in split_one_into_two() argument
725 inc_children(info->tm, node, vt); in shadow_child()
738 struct dm_btree_value_type *vt, uint64_t key) in split_two_into_three() argument
1024 return rebalance_left(s, vt, parent_index, key); in rebalance_or_split()
1042 return rebalance_right(s, vt, parent_index, key); in rebalance_or_split()
1093 struct dm_btree_value_type *vt, in btree_insert_raw() argument
1100 r = shadow_step(s, root, vt); in btree_insert_raw()
[all …]
A Ddm-btree-internal.h53 struct dm_btree_value_type *vt);
90 struct dm_btree_value_type *vt);
147 struct dm_btree_value_type *vt);
/drivers/tty/hvc/
A Dhvc_dcc.c65 static ssize_t hvc_dcc_put_chars(uint32_t vt, const u8 *buf, size_t count) in hvc_dcc_put_chars() argument
79 static ssize_t hvc_dcc_get_chars(uint32_t vt, u8 *buf, size_t count) in hvc_dcc_get_chars() argument
183 static ssize_t hvc_dcc0_put_chars(u32 vt, const u8 *buf, size_t count) in hvc_dcc0_put_chars() argument
189 return hvc_dcc_put_chars(vt, buf, count); in hvc_dcc0_put_chars()
212 len = hvc_dcc_put_chars(vt, buf, count); in hvc_dcc0_put_chars()
222 static ssize_t hvc_dcc0_get_chars(u32 vt, u8 *buf, size_t count) in hvc_dcc0_get_chars() argument
228 return hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_get_chars()
253 len = hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_get_chars()
/drivers/media/i2c/
A Dvp27smpx.c79 static int vp27smpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in vp27smpx_s_tuner() argument
84 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner()
88 static int vp27smpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in vp27smpx_g_tuner() argument
94 vt->audmode = state->audmode; in vp27smpx_g_tuner()
95 vt->capability = V4L2_TUNER_CAP_STEREO | in vp27smpx_g_tuner()
97 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vp27smpx_g_tuner()
A Dsony-btf-mpx.c288 static int sony_btf_mpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in sony_btf_mpx_g_tuner() argument
292 vt->capability = V4L2_TUNER_CAP_NORM | in sony_btf_mpx_g_tuner()
295 vt->rxsubchans = V4L2_TUNER_SUB_MONO | in sony_btf_mpx_g_tuner()
298 vt->audmode = t->audmode; in sony_btf_mpx_g_tuner()
302 static int sony_btf_mpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in sony_btf_mpx_s_tuner() argument
306 if (vt->type != V4L2_TUNER_ANALOG_TV) in sony_btf_mpx_s_tuner()
309 if (vt->audmode != t->audmode) { in sony_btf_mpx_s_tuner()
310 t->audmode = vt->audmode; in sony_btf_mpx_s_tuner()
A Dsaa717x.c1098 static int saa717x_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in saa717x_s_tuner() argument
1108 switch (vt->audmode) { in saa717x_s_tuner()
1132 static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa717x_g_tuner() argument
1146 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner()
1152 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner()
1153 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner()
1154 vt->rxsubchans = V4L2_TUNER_SUB_STEREO; in saa717x_g_tuner()
1157 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner()
1164 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner()
1165 vt->rxsubchans = V4L2_TUNER_SUB_LANG2 | V4L2_TUNER_SUB_MONO; in saa717x_g_tuner()
[all …]
/drivers/net/
A Dvsockmon.c17 struct vsock_tap vt; member
24 vsockmon->vt.dev = dev; in vsockmon_open()
25 vsockmon->vt.module = THIS_MODULE; in vsockmon_open()
26 return vsock_add_tap(&vsockmon->vt); in vsockmon_open()
33 return vsock_remove_tap(&vsockmon->vt); in vsockmon_close()
/drivers/media/v4l2-core/
A Dtuner-core.c1242 u16 signal = (u16)vt->signal; in tuner_g_tuner()
1245 vt->signal = signal; in tuner_g_tuner()
1247 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner()
1249 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner()
1250 vt->rangehigh = tv_range[1] * 16; in tuner_g_tuner()
1255 if (vt->type == t->mode) { in tuner_g_tuner()
1261 vt->rxsubchans = in tuner_g_tuner()
1266 vt->audmode = t->audmode; in tuner_g_tuner()
1269 vt->rangelow = radio_range[0] * 16000; in tuner_g_tuner()
1288 if (set_mode(t, vt->type)) in tuner_s_tuner()
[all …]
/drivers/media/pci/ivtv/
A Divtv-gpio.c169 static int subdev_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in subdev_g_tuner() argument
176 vt->rxsubchans = V4L2_TUNER_SUB_STEREO | in subdev_g_tuner()
179 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in subdev_g_tuner()
183 static int subdev_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in subdev_s_tuner() argument
189 switch (vt->audmode) { in subdev_s_tuner()
/drivers/media/pci/cx18/
A Dcx18-ioctl.c645 static int cx18_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in cx18_s_tuner() argument
650 if (vt->index != 0) in cx18_s_tuner()
653 cx18_call_all(cx, tuner, s_tuner, vt); in cx18_s_tuner()
657 static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_g_tuner() argument
661 if (vt->index != 0) in cx18_g_tuner()
664 cx18_call_all(cx, tuner, g_tuner, vt); in cx18_g_tuner()
666 if (vt->type == V4L2_TUNER_RADIO) in cx18_g_tuner()
667 strscpy(vt->name, "cx18 Radio Tuner", sizeof(vt->name)); in cx18_g_tuner()
669 strscpy(vt->name, "cx18 TV Tuner", sizeof(vt->name)); in cx18_g_tuner()
/drivers/media/usb/pvrusb2/
A Dpvrusb2-v4l2.c287 static int pvr2_g_tuner(struct file *file, void *priv, struct v4l2_tuner *vt) in pvr2_g_tuner() argument
292 if (vt->index != 0) in pvr2_g_tuner()
296 return pvr2_hdw_get_tuner_status(hdw, vt); in pvr2_g_tuner()
305 if (vt->index != 0) in pvr2_s_tuner()
310 vt->audmode); in pvr2_s_tuner()
320 struct v4l2_tuner vt; in pvr2_s_frequency() local
325 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_s_frequency()
340 if (vt.capability & V4L2_TUNER_CAP_LOW) in pvr2_s_frequency()
356 struct v4l2_tuner vt; in pvr2_g_frequency() local
359 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_g_frequency()
[all …]

Completed in 70 milliseconds

123