Home
last modified time | relevance | path

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

123

/linux/net/vmw_vsock/
H A 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/arch/arm64/kvm/
H A Dnested.c1000 static int unmap_l1_vncr(struct vncr_tlb *vt) in get_asid_by_regime()
1002 int cpu = atomic_xchg_relaxed(&vt->cpu, -1); in get_asid_by_regime()
1117 static void invalidate_vncr(struct kvm *kvm, struct vncr_tlb *vt) in invalidate_vncr_va()
1119 BUG_ON(!vt->valid); in invalidate_vncr_va()
1120 vt->valid = false; in invalidate_vncr_va()
1121 unmap_l1_vncr(vt); in invalidate_vncr_va()
1125 static bool vncr_tlb_intersects(struct vncr_tlb *vt, u64 addr, in invalidate_vncr_va()
1130 tlb_size = ttl_to_size(pgshift_level_to_ttl(vt->wi.pgshift, vt->wr.level)); in invalidate_vncr_va()
1153 struct vncr_tlb *vt; in compute_s1_tlbi_range()
907 unmap_l1_vncr(struct vncr_tlb * vt) unmap_l1_vncr() argument
1024 invalidate_vncr(struct kvm * kvm,struct vncr_tlb * vt) invalidate_vncr() argument
1032 vncr_tlb_intersects(struct vncr_tlb * vt,u64 addr,u64 scope_start,u64 scope_size) vncr_tlb_intersects() argument
1060 struct vncr_tlb *vt; kvm_invalidate_vncr_ipa() local
1096 struct vncr_tlb *vt; invalidate_vncr_va() local
1397 struct vncr_tlb *vt = kzalloc_obj(*vcpu->arch.vncr_tlb, kvm_vcpu_allocate_vncr_tlb() local
1426 struct vncr_tlb *vt; kvm_translate_vncr() local
1528 struct vncr_tlb *vt = vcpu->arch.vncr_tlb; handle_vncr_perm() local
1553 struct vncr_tlb *vt = vcpu->arch.vncr_tlb; kvm_handle_vncr_abort() local
1626 struct vncr_tlb *vt = vcpu->arch.vncr_tlb; kvm_map_l1_vncr() local
[all...]
/linux/drivers/net/ethernet/amd/pds_core/
H 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()
83 int vt; in viftype_show() local
85 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in viftype_show()
86 if (!pdsc->viftype_status[vt] in viftype_show()
[all...]
H A Dauxbus.c199 enum pds_core_vif_types vt, in pdsc_auxbus_dev_add() argument
212 if (vt >= PDS_DEV_TYPE_MAX) in pdsc_auxbus_dev_add()
237 vt_support = !!le16_to_cpu(pf->dev_ident.vif_types[vt]); in pdsc_auxbus_dev_add()
239 pf->viftype_status[vt].supported && in pdsc_auxbus_dev_add()
240 pf->viftype_status[vt].enabled)) in pdsc_auxbus_dev_add()
248 PDS_CORE_DRV_NAME, pf->viftype_status[vt].name, cf->uid); in pdsc_auxbus_dev_add()
256 pf->viftype_status[vt].name); in pdsc_auxbus_dev_add()
H 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()
H A Dcore.c424 enum pds_core_vif_types vt; in pdsc_viftypes_init() local
431 for (vt = 0; vt < PDS_DEV_TYPE_MAX; vt++) { in pdsc_viftypes_init()
434 if (!pdsc_viftype_defaults[vt].name) in pdsc_viftypes_init()
438 pdsc->viftype_status[vt] = pdsc_viftype_defaults[vt]; in pdsc_viftypes_init()
441 vt_support = !!le16_to_cpu(pdsc->dev_ident.vif_types[vt]); in pdsc_viftypes_init()
444 pdsc->viftype_status[vt].name, in pdsc_viftypes_init()
447 pdsc->viftype_status[vt].supported = vt_support; in pdsc_viftypes_init()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_private.h72 enum vcap_type vt, enum vcap_keyfield_set keyset);
76 enum vcap_type vt, enum vcap_keyfield_set keyset);
79 enum vcap_type vt,
87 enum vcap_type vt, enum vcap_actionfield_set actionset);
90 enum vcap_type vt,
94 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt,
99 enum vcap_type vt, enum vcap_actionfield_set actionset);
117 int vcap_find_keystream_keysets(struct vcap_control *vctrl, enum vcap_type vt,
H A 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/Documentation/driver-api/tty/
H A 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/drivers/md/persistent-data/
H 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()
H A 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()
282 struct dm_btree_value_type *vt, unsigned int left_index) in rebalance2()
290 r = init_child(info, vt, parent, left_index, &left); in rebalance2()
294 r = init_child(info, vt, parent, left_index + 1, &right); in rebalance2()
454 struct dm_btree_value_type *vt, unsigned int left_index) in rebalance3()
463 r = init_child(info, vt, parent, left_index, &left); in rebalance3()
467 r = init_child(info, vt, parent, left_index + 1, &center); in rebalance3()
473 r = init_child(info, vt, parent, left_index + 2, &right); in rebalance3()
491 struct dm_btree_value_type *vt, uint64_ in rebalance_children()
280 rebalance2(struct shadow_spine * s,struct dm_btree_info * info,struct dm_btree_value_type * vt,unsigned int left_index) rebalance2() argument
447 rebalance3(struct shadow_spine * s,struct dm_btree_info * info,struct dm_btree_value_type * vt,unsigned int left_index) rebalance3() argument
484 rebalance_children(struct shadow_spine * s,struct dm_btree_info * info,struct dm_btree_value_type * vt,uint64_t key) rebalance_children() argument
553 remove_raw(struct shadow_spine * s,struct dm_btree_info * info,struct dm_btree_value_type * vt,dm_block_t root,uint64_t key,unsigned int * index) remove_raw() argument
647 remove_nearest(struct shadow_spine * s,struct dm_btree_info * info,struct dm_btree_value_type * vt,dm_block_t root,uint64_t key,int * index) remove_nearest() argument
[all...]
H 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
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, p in split_two_into_three()
915 rebalance_left(struct shadow_spine * s,struct dm_btree_value_type * vt,unsigned int parent_index,uint64_t key) rebalance_left() argument
944 rebalance_right(struct shadow_spine * s,struct dm_btree_value_type * vt,unsigned int parent_index,uint64_t key) rebalance_right() argument
1001 rebalance_or_split(struct shadow_spine * s,struct dm_btree_value_type * vt,unsigned int parent_index,uint64_t key) rebalance_or_split() argument
1093 btree_insert_raw(struct shadow_spine * s,dm_block_t root,struct dm_btree_value_type * vt,uint64_t key,unsigned int * index) btree_insert_raw() argument
[all...]
H 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);
/linux/drivers/tty/hvc/
H A Dhvc_dcc.c68 static ssize_t hvc_dcc_put_chars(uint32_t vt, const u8 *buf, size_t count) in hvc_dcc_put_chars()
82 static ssize_t hvc_dcc_get_chars(uint32_t vt, u8 *buf, size_t count) in hvc_dcc_get_chars()
168 static ssize_t hvc_dcc0_put_chars(u32 vt, const u8 *buf, size_t count) in dcc_get_work()
174 return hvc_dcc_put_chars(vt, buf, count); in dcc_get_work()
197 len = hvc_dcc_put_chars(vt, buf, count); in hvc_dcc0_put_chars()
207 static ssize_t hvc_dcc0_get_chars(u32 vt, u8 *buf, size_t count) in hvc_dcc0_put_chars()
213 return hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_put_chars()
238 len = hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_get_chars()
65 hvc_dcc_put_chars(uint32_t vt,const u8 * buf,size_t count) hvc_dcc_put_chars() argument
79 hvc_dcc_get_chars(uint32_t vt,u8 * buf,size_t count) hvc_dcc_get_chars() argument
183 hvc_dcc0_put_chars(u32 vt,const u8 * buf,size_t count) hvc_dcc0_put_chars() argument
222 hvc_dcc0_get_chars(u32 vt,u8 * buf,size_t count) hvc_dcc0_get_chars() argument
/linux/arch/x86/kvm/vmx/
H A Dposted_intr.c62 struct vcpu_vt *vt = to_vt(vcpu); in vmx_vcpu_pi_load()
106 list_del(&vt->pi_wakeup_list); in vmx_vcpu_pi_load()
167 struct vcpu_vt *vt = to_vt(vcpu); in pi_enable_wakeup_handler()
186 list_add_tail(&vt->pi_wakeup_list, in pi_enable_wakeup_handler()
260 struct vcpu_vt *vt; in pi_wakeup_handler()
263 list_for_each_entry(vt, wakeup_list, pi_wakeup_list) { in pi_wakeup_handler()
265 if (pi_test_on(&vt->pi_desc)) in pi_wakeup_handler()
266 kvm_vcpu_wake_up(vt_to_vcpu(vt)); in pi_wakeup_handler()
60 struct vcpu_vt *vt = to_vt(vcpu); vmx_vcpu_pi_load() local
165 struct vcpu_vt *vt = to_vt(vcpu); pi_enable_wakeup_handler() local
258 struct vcpu_vt *vt; pi_wakeup_handler() local
H A Dvmx.h208 struct vcpu_vt vt; member
312 vt_to_vcpu(struct vcpu_vt * vt) vt_to_vcpu() argument
324 struct vcpu_vt *vt = to_vt(vcpu); vmx_get_exit_qual() local
335 struct vcpu_vt *vt = to_vt(vcpu); vmx_get_intr_info() local
/linux/drivers/net/
H 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()
/linux/tools/perf/util/
H A Ddwarf-aux.c1698 struct die_var_type *vt; in __die_collect_global_vars_cb()
1719 vt = malloc(sizeof(*vt));
1720 if (vt == NULL)
1724 vt->is_reg_var_addr = false;
1730 vt->is_reg_var_addr = true; in die_collect_global_vars()
1732 vt->die_off = dwarf_dieoffset(&type_die); in die_collect_global_vars()
1733 vt->die_tag = dwarf_tag(&type_die); in die_collect_global_vars()
1734 vt->from_alt = !die_same_file(die_mem, &type_die); in die_collect_global_vars()
1735 vt in die_collect_global_vars()
1611 struct die_var_type *vt; __die_collect_vars_cb() local
1683 struct die_var_type *vt; __die_collect_global_vars_cb() local
[all...]
/linux/Documentation/devicetree/bindings/regulator/
H A Dmt6380-regulator.txt
/linux/drivers/media/pci/cx18/
H A Dcx18-ioctl.c653 static int cx18_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in cx18_s_tuner() argument
658 if (vt->index != 0) in cx18_s_tuner()
661 cx18_call_all(cx, tuner, s_tuner, vt); in cx18_s_tuner()
665 static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_g_tuner() argument
669 if (vt->index != 0) in cx18_g_tuner()
672 cx18_call_all(cx, tuner, g_tuner, vt); in cx18_g_tuner()
674 if (vt->type == V4L2_TUNER_RADIO) in cx18_g_tuner()
675 strscpy(vt->name, "cx18 Radio Tuner", sizeof(vt->name)); in cx18_g_tuner()
677 strscpy(vt in cx18_g_tuner()
[all...]
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-v4l2.c290 static int pvr2_g_tuner(struct file *file, void *priv, struct v4l2_tuner *vt) in pvr2_g_tuner() argument
295 if (vt->index != 0) in pvr2_g_tuner()
299 return pvr2_hdw_get_tuner_status(hdw, vt); in pvr2_g_tuner()
302 static int pvr2_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *vt) in pvr2_s_tuner() argument
308 if (vt->index != 0) in pvr2_s_tuner()
313 vt->audmode); in pvr2_s_tuner()
323 struct v4l2_tuner vt; in pvr2_s_frequency() local
328 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_s_frequency()
343 if (vt.capability & V4L2_TUNER_CAP_LOW) in pvr2_s_frequency()
359 struct v4l2_tuner vt; in pvr2_g_frequency() local
[all …]
/linux/kernel/bpf/
H A Dbpf_struct_ops.c96 const struct btf_type *vt, *mt; in is_valid_value_type()
98 vt = btf_type_by_id(btf, value_id); in is_valid_value_type()
99 if (btf_vlen(vt) != 2) { in is_valid_value_type()
101 value_name, btf_vlen(vt)); in is_valid_value_type()
104 member = btf_type_member(vt); in is_valid_value_type()
1089 const struct btf_type *t, *vt; in bpf_struct_ops_map_alloc() local
1131 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()
1132 if (attr->value_size != vt->size) { in bpf_struct_ops_map_alloc()
1143 (vt->size - sizeof(struct bpf_struct_ops_value)); in bpf_struct_ops_map_alloc()
1154 st_map->uvalue = bpf_map_area_alloc(vt in bpf_struct_ops_map_alloc()
95 const struct btf_type *vt, *mt; is_valid_value_type() local
1181 const struct btf_type *vt = st_ops_desc->value_type; bpf_struct_ops_map_mem_usage() local
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddevices.c377 u32 vt = 0; in iwl5150_temperature() local
380 vt = le32_to_cpu(priv->statistics.common.temperature); in iwl5150_temperature()
381 vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset; in iwl5150_temperature()
382 /* now vt hold the temperature in Kelvin */ in iwl5150_temperature()
383 priv->temperature = kelvin_to_celsius(vt); in iwl5150_temperature()
/linux/Documentation/fb/
H A Dgxfb.rst48 vt_switch enable vt switching during suspend/resume. The vt
H A Dlxfb.rst48 vt_switch enable vt switching during suspend/resume. The vt

123