Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_vl.c105 if (rule->vl.type != SJA1105_VL_TIME_TRIGGERED) in sja1105_compose_gating_subschedule()
108 if (max_cycle_time < rule->vl.cycle_time) { in sja1105_compose_gating_subschedule()
109 max_cycle_time = rule->vl.cycle_time; in sja1105_compose_gating_subschedule()
110 its_base_time = rule->vl.base_time; in sja1105_compose_gating_subschedule()
130 if (rule->vl.type != SJA1105_VL_TIME_TRIGGERED) in sja1105_compose_gating_subschedule()
137 rbt = future_base_time(rule->vl.base_time, rule->vl.cycle_time, in sja1105_compose_gating_subschedule()
143 for (i = 0; i < rule->vl.num_entries; i++) { in sja1105_compose_gating_subschedule()
144 u8 gate_state = rule->vl.entries[i].gate_state; in sja1105_compose_gating_subschedule()
155 entry_time += rule->vl.cycle_time; in sja1105_compose_gating_subschedule()
157 time += rule->vl.entries[i].interval; in sja1105_compose_gating_subschedule()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dfpsimd.c335 static unsigned int find_supported_vector_length(unsigned int vl) in find_supported_vector_length() argument
340 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
341 vl = SVE_VL_MIN; in find_supported_vector_length()
346 if (vl > max_vl) in find_supported_vector_length()
347 vl = max_vl; in find_supported_vector_length()
350 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
360 int vl = get_sve_default_vl(); in sve_proc_do_default_vl() local
362 .data = &vl, in sve_proc_do_default_vl()
363 .maxlen = sizeof(vl), in sve_proc_do_default_vl()
371 if (vl == -1) in sve_proc_do_default_vl()
[all …]
Dsignal.c230 unsigned int vl = current->thread.sve_vl; in preserve_sve_context() local
234 vq = sve_vq_from_vl(vl); in preserve_sve_context()
241 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
269 if (sve.vl != current->thread.sve_vl) in restore_sve_fpsimd_context()
277 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
594 int vl = sve_max_vl; in setup_sigframe_layout() local
597 vl = current->thread.sve_vl; in setup_sigframe_layout()
599 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/
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()
Dsve-probe-vls.c20 int vl; in main() local
34 vl = prctl(PR_SVE_SET_VL, vq * 16); in main()
35 if (vl == -1) in main()
39 vl &= PR_SVE_VL_LEN_MASK; in main()
41 if (!sve_vl_valid(vl)) in main()
42 ksft_exit_fail_msg("VL %d invalid\n", vl); in main()
43 vq = sve_vq_from_vl(vl); in main()
Dsve-ptrace.c124 if (vlmax > sve->vl) in dump_sve_regs()
125 vlmax = sve->vl; in dump_sve_regs()
127 vq = sve_vq_from_vl(sve->vl); in dump_sve_regs()
132 printf("%s\n", vlmax == sve->vl ? "" : " ..."); in dump_sve_regs()
244 vq = sve_vq_from_vl(sve->vl); in do_parent()
/kernel/linux/linux-5.10/drivers/block/paride/
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()
/kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/
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
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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/
Dsve_context.h29 #define __sve_vl_valid(vl) ((vl) % __SVE_VQ_BYTES == 0 && (vl) >= __SVE_VL_MIN && (vl) <= __SVE_VL_… argument
30 #define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES) argument
Dsigcontext.h57 __u16 vl; member
69 #define sve_vl_valid(vl) __sve_vl_valid(vl) argument
70 #define sve_vq_from_vl(vl) __sve_vq_from_vl(vl) argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dchip.c1219 u64 (*rw_cntr)(const struct cntr_entry *, void *context, int vl,
1412 void *context, int vl, int mode, u64 data) in dev_access_u32_csr() argument
1418 if (vl == CNTR_INVALID_VL) in dev_access_u32_csr()
1420 csr += 0x100 * vl; in dev_access_u32_csr()
1422 if (vl != CNTR_INVALID_VL) in dev_access_u32_csr()
1470 int vl, int mode, u64 data) in dev_access_u64_csr() argument
1478 if (vl == CNTR_INVALID_VL) in dev_access_u64_csr()
1480 csr += 8 * vl; in dev_access_u64_csr()
1482 if (vl != CNTR_INVALID_VL) in dev_access_u64_csr()
1491 int vl, int mode, u64 data) in dc_access_lcb_cntr() argument
[all …]
Dtrace_tx.h189 TP_PROTO(struct hfi1_devdata *dd, u32 sel, u8 vl, u8 idx),
190 TP_ARGS(dd, sel, vl, idx),
193 __field(u8, vl)
198 __entry->vl = vl;
205 __entry->vl
741 BCT(vl[0].dedicated),
742 BCT(vl[0].shared),
744 BCT(vl[1].dedicated),
745 BCT(vl[1].shared),
747 BCT(vl[2].dedicated),
[all …]
Dmad.c912 pi->vl.cap = ppd->vls_supported; in __subn_get_opa_portinfo()
913 pi->vl.high_limit = cpu_to_be16(ibp->rvp.vl_high_limit); in __subn_get_opa_portinfo()
914 pi->vl.arb_high_cap = (u8)hfi1_get_ib_cfg(ppd, HFI1_IB_CFG_VL_HIGH_CAP); in __subn_get_opa_portinfo()
915 pi->vl.arb_low_cap = (u8)hfi1_get_ib_cfg(ppd, HFI1_IB_CFG_VL_LOW_CAP); in __subn_get_opa_portinfo()
1522 ibp->rvp.vl_high_limit = be16_to_cpu(pi->vl.high_limit) & 0xFF; in __subn_set_opa_portinfo()
2630 unsigned long vl; in a0_portstatus() local
2634 for_each_set_bit(vl, &vl_all_mask, BITS_PER_LONG) { in a0_portstatus()
2637 idx_from_vl(vl)); in a0_portstatus()
2693 u16 link_width, u16 link_speed, int vl) in get_xmit_wait_counters() argument
2699 if (vl > C_VL_COUNT) in get_xmit_wait_counters()
[all …]
Dsdma.c754 u8 vl; in sdma_engine_get_vl() local
765 vl = m->engine_to_vl[sde->this_idx]; in sdma_engine_get_vl()
768 return vl; in sdma_engine_get_vl()
784 u8 vl) in sdma_select_engine_vl() argument
794 if (vl >= num_vls) { in sdma_select_engine_vl()
805 e = m->map[vl & m->mask]; in sdma_select_engine_vl()
811 trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx); in sdma_select_engine_vl()
829 u8 vl = sc_to_vlt(dd, sc5); in sdma_select_engine_sc() local
831 return sdma_select_engine_vl(dd, selector, vl); in sdma_select_engine_sc()
870 u32 selector, u8 vl) in sdma_select_user_engine() argument
[all …]
Dsysfs.c424 .vl = N \
429 int vl; member
478 return sprintf(buf, "%u\n", dd->vld[vlattr->vl].mtu); in vl2mtu_attr_show()
814 int vl; in sde_show_vl() local
816 vl = sdma_engine_get_vl(sde); in sde_show_vl()
817 if (vl < 0) in sde_show_vl()
818 return vl; in sde_show_vl()
820 return snprintf(buf, PAGE_SIZE, "%d\n", vl); in sde_show_vl()
826 static SDE_ATTR(vl, S_IRUGO, sde_show_vl, NULL);
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/
Dsigcontext.h46 __u16 vl; member
57 #define sve_vl_valid(vl) \ argument
58 ((vl) % SVE_VQ_BYTES == 0 && (vl) >= SVE_VL_MIN && (vl) <= SVE_VL_MAX)
59 #define sve_vq_from_vl(vl) ((vl) / SVE_VQ_BYTES) argument
/kernel/linux/linux-5.10/drivers/net/dsa/
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()
228 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_add() local
235 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_add()
237 vl->members |= BIT(port); in dsa_loop_port_vlan_add()
239 vl->untagged |= BIT(port); in dsa_loop_port_vlan_add()
241 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_add()
257 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_del() local
264 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_del()
[all …]
/kernel/linux/linux-5.10/net/rose/
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()
/kernel/linux/linux-5.10/sound/usb/6fire/
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()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dreset.c153 unsigned int vl; in kvm_vcpu_finalize_sve() local
155 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
162 if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl || in kvm_vcpu_finalize_sve()
163 vl > SVE_VL_ARCH_MAX)) in kvm_vcpu_finalize_sve()
166 buf = kzalloc(SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)), GFP_KERNEL); in kvm_vcpu_finalize_sve()
/kernel/linux/linux-5.10/net/x25/
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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dfpsimd.h59 static inline size_t sve_ffr_offset(int vl) in sve_ffr_offset() argument
61 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
118 unsigned long vl, unsigned long flags);
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \ argument
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
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()

1234