Home
last modified time | relevance | path

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

12345

/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-radio-rx.c217 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_radio_rx_g_tuner() argument
223 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()
227 vt->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vivid_radio_rx_g_tuner()
236 vt->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; in vivid_radio_rx_g_tuner()
239 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP; in vivid_radio_rx_g_tuner()
242 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP | 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()
[all …]
Dvivid-sdr-cap.c423 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_sdr_g_tuner() argument
425 switch (vt->index) { in vivid_sdr_g_tuner()
427 strscpy(vt->name, "ADC", sizeof(vt->name)); in vivid_sdr_g_tuner()
428 vt->type = V4L2_TUNER_ADC; in vivid_sdr_g_tuner()
429 vt->capability = in vivid_sdr_g_tuner()
431 vt->rangelow = bands_adc[0].rangelow; in vivid_sdr_g_tuner()
432 vt->rangehigh = bands_adc[2].rangehigh; in vivid_sdr_g_tuner()
435 strscpy(vt->name, "RF", sizeof(vt->name)); in vivid_sdr_g_tuner()
436 vt->type = V4L2_TUNER_RF; in vivid_sdr_g_tuner()
437 vt->capability = in vivid_sdr_g_tuner()
[all …]
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);
/linux-6.12.1/net/vmw_vsock/
Daf_vsock_tap.c17 int vsock_add_tap(struct vsock_tap *vt) in vsock_add_tap() argument
19 if (unlikely(vt->dev->type != ARPHRD_VSOCKMON)) in vsock_add_tap()
22 __module_get(vt->module); in vsock_add_tap()
25 list_add_rcu(&vt->list, &vsock_tap_all); in vsock_add_tap()
32 int vsock_remove_tap(struct vsock_tap *vt) in vsock_remove_tap() argument
40 if (vt == tmp) { in vsock_remove_tap()
41 list_del_rcu(&vt->list); in vsock_remove_tap()
47 pr_warn("vsock_remove_tap: %p not found\n", vt); in vsock_remove_tap()
54 module_put(vt->module); in vsock_remove_tap()
/linux-6.12.1/drivers/net/ethernet/amd/pds_core/
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()
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()
Dauxbus.c205 enum pds_core_vif_types vt; in pdsc_auxbus_dev_add() local
235 vt = PDS_DEV_TYPE_VDPA; in pdsc_auxbus_dev_add()
236 vt_support = !!le16_to_cpu(pf->dev_ident.vif_types[vt]); in pdsc_auxbus_dev_add()
238 pf->viftype_status[vt].supported && in pdsc_auxbus_dev_add()
239 pf->viftype_status[vt].enabled)) in pdsc_auxbus_dev_add()
247 PDS_CORE_DRV_NAME, pf->viftype_status[vt].name, cf->uid); in pdsc_auxbus_dev_add()
255 pf->viftype_status[vt].name); in pdsc_auxbus_dev_add()
Dcore.c413 enum pds_core_vif_types vt; in pdsc_viftypes_init() local
420 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in pdsc_viftypes_init()
423 if (!pdsc_viftype_defaults[vt].name) in pdsc_viftypes_init()
427 pdsc->viftype_status[vt] = pdsc_viftype_defaults[vt]; in pdsc_viftypes_init()
430 vt_support = !!le16_to_cpu(pdsc->dev_ident.vif_types[vt]); in pdsc_viftypes_init()
432 pdsc->viftype_status[vt].name, in pdsc_viftypes_init()
435 pdsc->viftype_status[vt].supported = vt_support; in pdsc_viftypes_init()
/linux-6.12.1/drivers/net/ethernet/microchip/vcap/
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,
Dvcap_api.c219 enum vcap_type vt, in vcap_verify_keystream_keyset() argument
224 const struct vcap_info *vcap = &vctrl->vcaps[vt]; in vcap_verify_keystream_keyset()
233 if (vcap_keyfield_count(vctrl, vt, keyset) == 0) in vcap_verify_keystream_keyset()
236 info = vcap_keyfieldset(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
246 tgt = vcap_keyfield_typegroup(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
250 fields = vcap_keyfields(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
309 enum vcap_type vt, u32 *stream, in vcap_find_keystream_typegroup_sw() argument
315 tgt = vctrl->vcaps[vt].keyfield_set_typegroups; in vcap_find_keystream_typegroup_sw()
317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw()
321 res = vcap_verify_typegroups(stream, vctrl->vcaps[vt].sw_width, in vcap_find_keystream_typegroup_sw()
[all …]
/linux-6.12.1/Documentation/driver-api/tty/
Dconsole.rst34 .. kernel-doc:: drivers/tty/vt/selection.c
36 .. kernel-doc:: drivers/tty/vt/vt.c
42 .. kernel-doc:: drivers/tty/vt/selection.c
44 .. kernel-doc:: drivers/tty/vt/vt.c
/linux-6.12.1/drivers/md/persistent-data/
Ddm-array.c124 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries() local
126 if (vt->inc) in inc_ablock_entries()
127 on_entries(info, ab, vt->inc); in inc_ablock_entries()
135 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries() local
137 if (vt->dec) in dec_ablock_entries()
138 on_entries(info, ab, vt->dec); in dec_ablock_entries()
179 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock() local
186 if (vt->inc) in fill_ablock()
187 vt->inc(vt->context, value, delta); in fill_ablock()
189 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock()
[all …]
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()
Ddm-btree-remove.c161 static int init_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in init_child() argument
179 inc_children(info->tm, result->n, vt); in init_child()
280 struct dm_btree_value_type *vt, unsigned int left_index) in rebalance2() argument
288 r = init_child(info, vt, parent, left_index, &left); in rebalance2()
292 r = init_child(info, vt, parent, left_index + 1, &right); in rebalance2()
447 struct dm_btree_value_type *vt, unsigned int left_index) in rebalance3() argument
456 r = init_child(info, vt, parent, left_index, &left); in rebalance3()
460 r = init_child(info, vt, parent, left_index + 1, &center); in rebalance3()
466 r = init_child(info, vt, parent, left_index + 2, &right); in rebalance3()
484 struct dm_btree_value_type *vt, uint64_t key) in rebalance_children() argument
[all …]
Ddm-btree-internal.h53 struct dm_btree_value_type *vt);
90 struct dm_btree_value_type *vt);
147 struct dm_btree_value_type *vt);
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
707 static int shadow_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in shadow_child() 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
752 r = shadow_child(s->info, vt, pn, parent_index + 1, &right); in split_two_into_three()
758 r = shadow_child(s->info, vt, pn, parent_index - 1, &left); in split_two_into_three()
915 static int rebalance_left(struct shadow_spine *s, struct dm_btree_value_type *vt, in rebalance_left() argument
[all …]
/linux-6.12.1/drivers/tty/hvc/
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()
/linux-6.12.1/drivers/media/i2c/
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()
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()
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 …]
/linux-6.12.1/drivers/net/
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()
/linux-6.12.1/drivers/media/v4l2-core/
Dtuner-core.c1231 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument
1237 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner()
1239 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner()
1240 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner()
1241 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner()
1242 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()
1248 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner()
1249 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner()
[all …]
/linux-6.12.1/tools/perf/util/
Ddwarf-aux.c1585 struct die_var_type *vt; in __die_collect_vars_cb() local
1607 vt = malloc(sizeof(*vt)); in __die_collect_vars_cb()
1608 if (vt == NULL) in __die_collect_vars_cb()
1611 vt->die_off = dwarf_dieoffset(&type_die); in __die_collect_vars_cb()
1612 vt->addr = start; in __die_collect_vars_cb()
1613 vt->reg = reg_from_dwarf_op(ops); in __die_collect_vars_cb()
1614 vt->offset = offset_from_dwarf_op(ops); in __die_collect_vars_cb()
1615 vt->next = *var_types; in __die_collect_vars_cb()
1616 *var_types = vt; in __die_collect_vars_cb()
1648 struct die_var_type *vt; in __die_collect_global_vars_cb() local
[all …]
/linux-6.12.1/Documentation/networking/device_drivers/ethernet/smsc/
Dsmc9.rst43 ftp://fenris.campus.vt.edu/smc9/smc9-12.tar.gz
44 ftp://sfbox.vt.edu/filebox/F/fenris/smc9/smc9-12.tar.gz
48 erik@mail.vt.edu
/linux-6.12.1/kernel/bpf/
Dbpf_struct_ops.c94 const struct btf_type *vt, *mt; in is_valid_value_type() local
96 vt = btf_type_by_id(btf, value_id); in is_valid_value_type()
97 if (btf_vlen(vt) != 2) { in is_valid_value_type()
99 value_name, btf_vlen(vt)); in is_valid_value_type()
102 member = btf_type_member(vt); in is_valid_value_type()
903 const struct btf_type *t, *vt; in bpf_struct_ops_map_alloc() local
940 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()
941 if (attr->value_size != vt->size) { in bpf_struct_ops_map_alloc()
952 (vt->size - sizeof(struct bpf_struct_ops_value)); in bpf_struct_ops_map_alloc()
963 st_map->uvalue = bpf_map_area_alloc(vt->size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
[all …]

12345