Home
last modified time | relevance | path

Searched refs:vtype (Results 1 – 25 of 26) sorted by relevance

12

/linux/tools/testing/selftests/riscv/vector/
H A Dvalidate_v_ptrace.c86 static volatile unsigned long vtype; in TEST() local
115 : [vtype] "=r"(vtype), [vstart] "=r"(vstart), [vl] "=r"(vl) in TEST()
180 vtype_csr = ptrace(PTRACE_PEEKDATA, pid, &vtype, NULL); in TEST()
204 EXPECT_EQ(vtype_csr, regset_data->vtype); in TEST()
295 EXPECT_EQ(5UL, regset_data->vtype); in TEST()
297 EXPECT_EQ(9UL, regset_data->vtype); in TEST()
327 EXPECT_EQ((1UL << (__riscv_xlen - 1)), regset_data->vtype); in TEST()
362 unsigned long vtype; in FIXTURE_VARIANT() local
375 .vtype = 0x3, in FIXTURE_VARIANT_ADD()
388 .vtype = 0x3, in FIXTURE_VARIANT_ADD()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_vcap_impl.c8 .vtype = VCAP_TYPE_IS0, /* CLM-0 */
20 .vtype = VCAP_TYPE_IS0, /* CLM-1 */
32 .vtype = VCAP_TYPE_IS0, /* CLM-2 */
44 .vtype = VCAP_TYPE_IS2, /* IS2-0 */
56 .vtype = VCAP_TYPE_IS2, /* IS2-1 */
68 .vtype = VCAP_TYPE_ES0,
77 .vtype = VCAP_TYPE_ES2,
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c13 switch (st->admin->vtype) { in lan966x_tc_is_known_etype()
113 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage()
116 st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage()
128 } else if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage()
145 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage()
159 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_basic_usage()
191 if (st->admin->vtype != VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_cvlan_usage()
206 if (st->admin->vtype == VCAP_TYPE_IS1) { in lan966x_tc_flower_handler_vlan_usage()
324 switch (admin->vtype) { in lan966x_tc_set_actionset()
355 switch (admin->vtype) { in lan966x_tc_add_rule_link_target()
[all …]
H A Dlan966x_vcap_impl.c21 enum vcap_type vtype; /* type of vcap */ member
30 .vtype = VCAP_TYPE_ES0,
38 .vtype = VCAP_TYPE_IS1, /* IS1-0 */
47 .vtype = VCAP_TYPE_IS2, /* IS2-0 */
285 switch (admin->vtype) { in lan966x_vcap_validate_keyset()
300 lan966x_vcaps[admin->vtype].name); in lan966x_vcap_validate_keyset()
371 switch (admin->vtype) { in lan966x_vcap_add_default_fields()
383 lan966x_vcaps[admin->vtype].name); in lan966x_vcap_add_default_fields()
463 if (admin->vtype == VCAP_TYPE_ES0) in lan966x_vcap_cache_write()
505 if (admin->vtype == VCAP_TYPE_ES0) in lan966x_vcap_cache_read()
[all …]
H A Dlan966x_vcap_debugfs.c225 vcap = &vctrl->vcaps[admin->vtype]; in lan966x_vcap_port_info()
228 switch (admin->vtype) { in lan966x_vcap_port_info()
/linux/tools/testing/selftests/net/
H A Dtest_vxlan_vnifiltering.sh203 local vtype=$(echo $vmap | awk -F'-' '{print ($5)}')
214 if [[ -n $vtype && $vtype == "metadata" ]]; then
216 elif [[ -n $vtype && $vtype == "vnifilter" || $vtype == "vnifilterg" ]]; then
224 if [[ -n $vtype && $vtype != "vnifilterg" ]]; then
251 if [[ -n $vtype && $vtype
[all...]
/linux/drivers/scsi/snic/
H A Dvnic_devcmd.h48 #define _CMDCF(dir, flags, vtype, nr) \ argument
51 ((vtype) << _CMD_VTYPESHIFT) | \
53 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument
54 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
/linux/arch/riscv/kernel/
H A Dptrace.c120 ptrace_vstate.vtype = vstate->vtype; in riscv_vr_get()
151 if (ptrace->vtype & reserved) in invalid_ptrace_v_csr()
155 vsew = (ptrace->vtype & VTYPE_VSEW) >> VTYPE_VSEW_SHIFT; in invalid_ptrace_v_csr()
161 vfrac = (ptrace->vtype & VTYPE_VLMUL_FRAC); in invalid_ptrace_v_csr()
162 vlmul = (ptrace->vtype & VTYPE_VLMUL); in invalid_ptrace_v_csr()
191 if (ptrace->vtype & reserved) in invalid_ptrace_v_csr()
198 if (ptrace->vtype & VTYPE_VEDIV_THEAD) in invalid_ptrace_v_csr()
201 vsew = (ptrace->vtype & VTYPE_VSEW_THEAD) >> VTYPE_VSEW_THEAD_SHIFT; in invalid_ptrace_v_csr()
204 vlmul = (ptrace->vtype & VTYPE_VLMUL_THEAD); in invalid_ptrace_v_csr()
244 vstate->vtype = ptrace_vstate.vtype; in riscv_vr_set()
/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_devcmd.h51 #define _CMDCF(dir, flags, vtype, nr) \ argument
54 ((vtype) << _CMD_VTYPESHIFT) | \
56 #define _CMDC(dir, vtype, nr) _CMDCF(dir, 0, vtype, nr) argument
57 #define _CMDCNW(dir, vtype, nr) _CMDCF(dir, _CMD_FLAGS_NOWAIT, vtype, nr) argument
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c372 enum vcap_type vt = admin->vtype; in vcap_addr_keysets()
451 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield()
503 int sw_width = vctrl->vcaps[ri->admin->vtype].sw_width; in vcap_encode_keyfield_typegroups()
644 kf_table = vcap_keyfields(ri->vctrl, ri->admin->vtype, ri->data.keyset); in vcap_encode_rule_keyset()
651 tg_table = vcap_keyfield_typegroup(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_keyset()
659 keyset_size = vcap_keyfield_count(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_keyset()
744 int act_width = ri->vctrl->vcaps[ri->admin->vtype].act_width; in vcap_encode_actionfield()
784 int sw_width = ri->vctrl->vcaps[ri->admin->vtype].act_width; in vcap_encode_actionfield_typegroups()
802 af_table = vcap_actionfields(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_actionset()
810 tg_table = vcap_actionfield_typegroup(ri->vctrl, ri->admin->vtype, in vcap_encode_rule_actionset()
[all …]
H A Dvcap_api_kunit.c40 switch (admin->vtype) { in test_val_keyset()
65 __func__, __LINE__, admin->vtype); in test_val_keyset()
586 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_keyfield_test()
646 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_max_keyfield_test()
712 .vtype = VCAP_TYPE_ES2, /* act_width = 21 */ in vcap_api_encode_actionfield_test()
832 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_keyset_test()
943 .vtype = VCAP_TYPE_IS2, in vcap_api_encode_rule_actionset_test()
1014 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_keyvalue_test()
1115 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_add_actionvalue_test()
1192 .vtype = VCAP_TYPE_IS2, in vcap_api_rule_find_keyset_basic_test()
[all …]
H A Dvcap_api_debugfs.c173 err = vcap_find_keystream_keysets(ri->vctrl, admin->vtype, in vcap_debugfs_show_keysets()
204 keyfield = vcap_keyfields(vctrl, admin->vtype, ri->data.keyset); in vcap_debugfs_show_rule_keyset()
226 actionfield = vcap_actionfields(vctrl, admin->vtype, in vcap_debugfs_show_rule_actionset()
270 const struct vcap_info *vcap = &vctrl->vcaps[admin->vtype]; in vcap_show_admin_info()
281 out->prf(out->dst, "vtype: %d\n", admin->vtype); in vcap_show_admin_info()
320 enum vcap_type vt = admin->vtype; in vcap_show_admin_raw()
470 sprintf(name, "raw_%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
479 sprintf(name, "%s_%d", vctrl->vcaps[admin->vtype].name, in vcap_debugfs()
H A Dvcap_api_debugfs_kunit.c44 switch (admin->vtype) { in test_val_keyset()
72 __func__, __LINE__, admin->vtype); in test_val_keyset()
307 .vtype = VCAP_TYPE_IS2, in vcap_api_addr_keyset_test()
354 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_raw_test()
405 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_test()
496 .vtype = VCAP_TYPE_IS2, in vcap_api_show_admin_rule_test()
H A Dvcap_api.h168 enum vcap_type vtype; /* type of vcap */ member
H A Dvcap_api_client.h279 vcap_select_min_rule_keyset(struct vcap_control *vctrl, enum vcap_type vtype,
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_impl.c50 .vtype = VCAP_TYPE_IS0, /* CLM-0 */
62 .vtype = VCAP_TYPE_IS0, /* CLM-1 */
74 .vtype = VCAP_TYPE_IS0, /* CLM-2 */
86 .vtype = VCAP_TYPE_IS2, /* IS2-0 */
98 .vtype = VCAP_TYPE_IS2, /* IS2-1 */
110 .vtype = VCAP_TYPE_ES0,
119 .vtype = VCAP_TYPE_ES2,
157 fname, sparx5_vcaps[admin->vtype].name); in sparx5_vcap_type_err()
197 switch (admin->vtype) { in _sparx5_vcap_range_init()
685 switch (admin->vtype) { in sparx5_vcap_get_port_keyset()
[all …]
H A Dsparx5_vcap_debugfs.c449 vcap = &vctrl->vcaps[admin->vtype]; in sparx5_port_info()
451 switch (admin->vtype) { in sparx5_port_info()
/linux/arch/riscv/include/uapi/asm/
H A Dptrace.h104 unsigned long vtype; member
118 unsigned long vtype; member
/linux/arch/riscv/include/asm/
H A Dvector.h140 : "=r" (dest->vstart), "=r" (dest->vtype), "=r" (dest->vl) in __vstate_csr_save()
180 : : "r" (src->vstart), "r" (src->vtype), "r" (src->vl)); in __vstate_csr_restore()
/linux/include/uapi/linux/
H A Dcoda.h434 int vtype; member
563 int vtype; member
/linux/include/linux/ceph/
H A Ddecode.h174 #define ceph_decode_skip_map(p, end, ktype, vtype, bad) \ argument
181 ceph_decode_skip_##vtype(p, end, bad); \
/linux/fs/ceph/
H A Dmdsmap.c76 #define __decode_and_drop_map(p, end, ktype, vtype, bad) \ argument
81 need = (sizeof(ktype) + sizeof(vtype)) * n; \
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c546 case KVM_REG_RISCV_VECTOR_CSR_REG(vtype): in isa_ext_single_id_to_str()
547 return "KVM_REG_RISCV_VECTOR_CSR_REG(vtype)"; in isa_ext_single_id_to_str()
1119 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_VECTOR | KVM_REG_RISCV_VECTOR_CSR_REG(vtype),
/linux/fs/coda/
H A Dupcall.c153 *type = outp->coda_lookup.vtype; in venus_lookup()
/linux/sound/usb/
H A Dmixer.c947 void *p1, int id, int vtype) in __check_input_term()
960 term->type = vtype << 16; /* virtual type */ in __check_input_term()
870 parse_term_proc_unit(struct mixer_build * state,struct usb_audio_term * term,void * p1,int id,int vtype) parse_term_proc_unit() argument

12