Home
last modified time | relevance | path

Searched refs:vl (Results 1 – 25 of 86) sorted by relevance

1234

/linux/tools/testing/selftests/arm64/fp/
A Dsve-ptrace.c180 sve.vl = vl; in ptrace_set_get_vl()
196 ksft_test_result(new_sve->vl = prctl_vl, "Set VL %u\n", vl); in ptrace_set_get_vl()
206 vl, reg, *in, *out); in check_u32()
285 data_size, vl); in ptrace_set_sve_get_sve_data()
293 write_sve->vl = vl; in ptrace_set_sve_get_sve_data()
380 data_size, vl); in ptrace_set_sve_get_fpsimd_data()
388 write_sve->vl = vl; in ptrace_set_sve_get_fpsimd_data()
407 vl); in ptrace_set_sve_get_fpsimd_data()
433 vl); in ptrace_set_sve_get_fpsimd_data()
445 unsigned int vq, vl; in do_parent() local
[all …]
A Dsve-probe-vls.c21 int vl; in main() local
35 vl = prctl(PR_SVE_SET_VL, vq * 16); in main()
36 if (vl == -1) in main()
40 vl &= PR_SVE_VL_LEN_MASK; in main()
42 if (rdvl_sve() != vl) in main()
44 vl, rdvl_sve()); in main()
46 if (!sve_vl_valid(vl)) in main()
47 ksft_exit_fail_msg("VL %d invalid\n", vl); in main()
48 vq = sve_vq_from_vl(vl); in main()
A Dvlset.c24 static unsigned long vl; variable
50 case 'M': vl = SVE_VL_MAX; break; in parse_options()
60 if (!vl) { in parse_options()
66 vl = strtoul(argv[optind], &rest, 0); in parse_options()
68 vl = ULONG_MAX; in parse_options()
71 if (vl == ULONG_MAX && errno) { in parse_options()
106 if (vl & ~(vl & PR_SVE_VL_LEN_MASK)) { in main()
108 program_name, vl); in main()
128 t = prctl(PR_SVE_SET_VL, vl | flags); in main()
A Dvec-syscfg.c546 int ret, vq, vl, new_vl; in prctl_set_all_vqs() local
556 vl = sve_vl_from_vq(vq); in prctl_set_all_vqs()
559 ret = prctl(data->prctl_set, vl); in prctl_set_all_vqs()
563 data->name, vl, in prctl_set_all_vqs()
578 if (new_vl == vl) in prctl_set_all_vqs()
582 if (vl < data->min_vl) { in prctl_set_all_vqs()
585 data->name, vl, new_vl, in prctl_set_all_vqs()
594 if (vl > data->max_vl) { in prctl_set_all_vqs()
597 data->name, vl, new_vl, in prctl_set_all_vqs()
606 if (!(new_vl < vl)) { in prctl_set_all_vqs()
[all …]
A Drdvl-sve.c9 int vl = rdvl_sve(); in main() local
11 printf("%d\n", vl); in main()
/linux/tools/testing/selftests/arm64/signal/testcases/
A Dsve_regs.c22 int vq, vl; in sve_get_vls() local
28 vl = prctl(PR_SVE_SET_VL, vq * 16); in sve_get_vls()
29 if (vl == -1) in sve_get_vls()
32 vl &= PR_SVE_VL_LEN_MASK; in sve_get_vls()
35 vq = sve_vq_from_vl(vl); in sve_get_vls()
37 vls[nvls++] = vl; in sve_get_vls()
56 unsigned int vl) in do_one_sve_vl() argument
64 if (prctl(PR_SVE_SET_VL, vl) == -1) { in do_one_sve_vl()
85 if (sve->vl != vl) { in do_one_sve_vl()
86 fprintf(stderr, "Got VL %d, expected %d\n", sve->vl, vl); in do_one_sve_vl()
[all …]
A Dfake_sigreturn_sve_change_vl.c22 int vq, vl; in sve_get_vls() local
28 vl = prctl(PR_SVE_SET_VL, vq * 16); in sve_get_vls()
29 if (vl == -1) in sve_get_vls()
32 vl &= PR_SVE_VL_LEN_MASK; in sve_get_vls()
35 vq = sve_vq_from_vl(vl); in sve_get_vls()
37 vls[nvls++] = vl; in sve_get_vls()
76 sve->vl, vls[0]); in fake_sigreturn_sve_change_vl()
77 sve->vl = vls[0]; in fake_sigreturn_sve_change_vl()
A Dsve_vl.c17 unsigned int vl; variable
25 vl = ret; in get_sve_vl()
48 if (sve->vl != vl) { in sve_vl()
50 sve->vl, vl); in sve_vl()
53 fprintf(stderr, "got expected VL %u\n", vl); in sve_vl()
/linux/drivers/net/dsa/sja1105/
A Dsja1105_vl.c110 its_base_time = rule->vl.base_time; in sja1105_compose_gating_subschedule()
137 rbt = future_base_time(rule->vl.base_time, rule->vl.cycle_time, in sja1105_compose_gating_subschedule()
525 rule->vl.destports |= destports; in sja1105_vl_redirect()
527 rule->vl.destports = destports; in sja1105_vl_redirect()
620 rule->vl.sharindx = index; in sja1105_vl_gate()
621 rule->vl.base_time = base_time; in sja1105_vl_gate()
627 if (!rule->vl.entries) { in sja1105_vl_gate()
678 ipv = key->vl.pcp; in sja1105_vl_gate()
685 rule->vl.ipv = ipv; in sja1105_vl_gate()
709 kfree(rule->vl.entries); in sja1105_vl_gate()
[all …]
/linux/arch/arm64/kernel/
A Dfpsimd.c259 unsigned long vl) in task_set_vl() argument
261 task->thread.vl[type] = vl; in task_set_vl()
271 unsigned long vl) in task_set_vl_onexec() argument
399 if (vl > max_vl) in find_supported_vector_length()
400 vl = max_vl; in find_supported_vector_length()
416 .data = &vl, in sve_proc_do_default_vl()
425 if (vl == -1) in sve_proc_do_default_vl()
650 vl = find_supported_vector_length(ARM64_VEC_SVE, vl); in sve_set_vector_length()
727 flags = arg & ~vl; in sve_set_current_vl()
1106 if (!vl) in fpsimd_flush_thread_vl()
[all …]
/linux/drivers/block/paride/
A Don20.c28 #define vl(v) w2(4);w0(v);w2(5);w2(7);w2(5);w2(4); macro
42 op(1); vl(r); op(0); in on20_read_regr()
65 op(1); vl(r); in on20_write_regr()
66 op(0); vl(val); in on20_write_regr()
67 op(0); vl(val); in on20_write_regr()
76 if (pi->mode) { op(2); vl(8); op(2); vl(9); } in on20_connect()
77 else { op(2); vl(0); op(2); vl(8); } in on20_connect()
91 op(1); vl(1); op(0); in on20_read_block()
108 op(1); vl(1); op(0); in on20_write_block()
/linux/drivers/infiniband/hw/hfi1/
A Dchip.c1563 else if (vl >= 0 && vl < C_VL_COUNT) in access_sw_xmit_discards()
5675 int vl) in handle_send_egress_err_info() argument
5718 if (vl >= 0 && vl < TXE_NUM_DATA_VL) in handle_send_egress_err_info()
5764 int vl; in engine_to_vl() local
5775 return vl; in engine_to_vl()
11151 reg = (((u64)vl->vl & SEND_LOW_PRIORITY_LIST_VL_MASK) in set_vl_weights()
11245 vl->vl = 0xf; in get_vlarb_preempt()
12544 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
12555 for (vl = 0; vl < C_VL_COUNT; vl++) in do_update_synth_timer()
15008 int vl; in hfi1_init_dd() local
[all …]
A Dtrace_tx.h153 __field(u8, vl)
158 __entry->vl = vl;
165 __entry->vl
776 BCT(vl[0].shared),
779 BCT(vl[1].shared),
782 BCT(vl[2].shared),
785 BCT(vl[3].shared),
788 BCT(vl[4].shared),
791 BCT(vl[5].shared),
794 BCT(vl[6].shared),
[all …]
A Dsysfs.c339 int vl; member
349 return sysfs_emit(buf, "%u\n", dd->vld[vlattr->vl].mtu); in vl2mtu_attr_show()
355 .vl = N, \
631 int vl; in sde_show_vl() local
633 vl = sdma_engine_get_vl(sde); in sde_show_vl()
634 if (vl < 0) in sde_show_vl()
635 return vl; in sde_show_vl()
637 return sysfs_emit(buf, "%d\n", vl); in sde_show_vl()
643 static SDE_ATTR(vl, S_IRUGO, sde_show_vl, NULL);
A Dmad.c2588 unsigned long vl; in a0_portstatus() local
2595 idx_from_vl(vl)); in a0_portstatus()
2657 if (vl > C_VL_COUNT) in get_xmit_wait_counters()
2659 if (vl < C_VL_COUNT) in get_xmit_wait_counters()
2690 unsigned long vl; in pma_get_opa_portstatus() local
2891 unsigned long vl; in a0_datacounters() local
2898 idx_from_vl(vl)); in a0_datacounters()
2949 unsigned long vl; in pma_get_opa_datacounters() local
3168 unsigned long vl; in pma_get_opa_porterrors() local
3440 unsigned long vl; in pma_set_opa_portstatus() local
[all …]
A Dsdma.c712 u8 vl; in sdma_engine_get_vl() local
726 return vl; in sdma_engine_get_vl()
742 u8 vl) in sdma_select_engine_vl() argument
752 if (vl >= num_vls) { in sdma_select_engine_vl()
763 e = m->map[vl & m->mask]; in sdma_select_engine_vl()
787 u8 vl = sc_to_vlt(dd, sc5); in sdma_select_engine_sc() local
898 int ret, vl, sz; in sdma_set_cpu_to_sde_map() local
902 if (unlikely(vl < 0 || vl >= ARRAY_SIZE(rht_node->map))) in sdma_set_cpu_to_sde_map()
946 if (!rht_node->map[vl]) { in sdma_set_cpu_to_sde_map()
971 if (!rht_node->map[vl]) in sdma_set_cpu_to_sde_map()
[all …]
/linux/arch/arm64/include/uapi/asm/
A Dsve_context.h25 #define __sve_vl_valid(vl) \ argument
26 ((vl) % __SVE_VQ_BYTES == 0 && \
27 (vl) >= __SVE_VL_MIN && \
28 (vl) <= __SVE_VL_MAX)
30 #define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES) argument
A Dsigcontext.h136 __u16 vl; member
163 #define sve_vl_valid(vl) __sve_vl_valid(vl) argument
164 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) argument
/linux/drivers/net/dsa/
A Ddsa_loop.c39 struct dsa_loop_vlan *vl; in dsa_loop_devlink_vtu_get() local
42 vl = &ps->vlans[i]; in dsa_loop_devlink_vtu_get()
43 if (vl->members) in dsa_loop_devlink_vtu_get()
210 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_add() local
218 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_add()
220 vl->members |= BIT(port); in dsa_loop_port_vlan_add()
222 vl->untagged |= BIT(port); in dsa_loop_port_vlan_add()
224 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_add()
242 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_del() local
247 vl = &ps->vlans[vlan->vid]; in dsa_loop_port_vlan_del()
[all …]
/linux/arch/arm64/include/asm/
A Dprocessor.h155 unsigned int vl[ARM64_VEC_MAX]; /* vector length */ member
175 return thread->vl[type]; in thread_get_vl()
185 unsigned long vl);
187 unsigned long vl);
196 static inline void task_set_sve_vl(struct task_struct *task, unsigned long vl) in task_set_sve_vl() argument
198 task_set_vl(task, ARM64_VEC_SVE, vl); in task_set_sve_vl()
207 unsigned long vl) in task_set_sve_vl_onexec() argument
209 task_set_vl_onexec(task, ARM64_VEC_SVE, vl); in task_set_sve_vl_onexec()
/linux/net/rose/
A Drose_in.c48 rose->vl = 0; in rose_state1_machine()
115 rose->vl = 0; in rose_state3_machine()
133 rose->vl = 0; in rose_state3_machine()
155 rose->vl = 0; in rose_state3_machine()
175 rose->vl = 0; in rose_state3_machine()
189 if (((rose->vl + sysctl_rose_window_size) % ROSE_MODULUS) == rose->vr) { in rose_state3_machine()
227 rose->vl = 0; in rose_state4_machine()
/linux/sound/usb/6fire/
A Dcomm.c56 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer() argument
65 buffer[5] = vl; in usb6fire_comm_init_buffer()
79 buffer[12] = vl; in usb6fire_comm_init_buffer()
87 buffer[5] = vl; in usb6fire_comm_init_buffer()
125 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16() argument
135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
/linux/arch/arm64/kvm/
A Dreset.c96 unsigned int vl; in kvm_vcpu_finalize_sve() local
98 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
105 if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl() || in kvm_vcpu_finalize_sve()
106 vl > SVE_VL_ARCH_MAX)) in kvm_vcpu_finalize_sve()
109 buf = kzalloc(SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)), GFP_KERNEL_ACCOUNT); in kvm_vcpu_finalize_sve()
/linux/net/x25/
A Dx25_in.c101 x25->vl = 0; in x25_state1_machine()
225 x25->vl = 0; in x25_state3_machine()
247 x25->vl = 0; in x25_state3_machine()
269 x25->vl = 0; in x25_state3_machine()
287 x25->vl = 0; in x25_state3_machine()
299 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine()
359 x25->vl = 0; in x25_state4_machine()
/linux/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_encap.c391 u8 vl; in opa_vnic_get_vl() local
397 vl = info->vport.pcp_to_vl_mc[pcp]; in opa_vnic_get_vl()
399 vl = info->vport.pcp_to_vl_uc[pcp]; in opa_vnic_get_vl()
402 vl = info->vport.non_vlan_vl_mc; in opa_vnic_get_vl()
404 vl = info->vport.non_vlan_vl_uc; in opa_vnic_get_vl()
407 return vl; in opa_vnic_get_vl()
502 mdata->vl = opa_vnic_get_vl(adapter, skb); in opa_vnic_encap_skb()

Completed in 86 milliseconds

1234