Home
last modified time | relevance | path

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

123

/Linux-v5.4/arch/arm64/kernel/
Dfpsimd.c320 static unsigned int find_supported_vector_length(unsigned int vl) in find_supported_vector_length() argument
325 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
326 vl = SVE_VL_MIN; in find_supported_vector_length()
331 if (vl > max_vl) in find_supported_vector_length()
332 vl = max_vl; in find_supported_vector_length()
335 __vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
346 int vl = sve_default_vl; in sve_proc_do_default_vl() local
348 .data = &vl, in sve_proc_do_default_vl()
349 .maxlen = sizeof(vl), in sve_proc_do_default_vl()
357 if (vl == -1) in sve_proc_do_default_vl()
[all …]
Dsignal.c229 unsigned int vl = current->thread.sve_vl; in preserve_sve_context() local
233 vq = sve_vq_from_vl(vl); in preserve_sve_context()
240 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
267 if (sve.vl != current->thread.sve_vl) in restore_sve_fpsimd_context()
275 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
588 int vl = sve_max_vl; in setup_sigframe_layout() local
591 vl = current->thread.sve_vl; in setup_sigframe_layout()
593 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
/Linux-v5.4/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()
/Linux-v5.4/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
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dchip.c1201 u64 (*rw_cntr)(const struct cntr_entry *, void *context, int vl,
1394 void *context, int vl, int mode, u64 data) in dev_access_u32_csr() argument
1400 if (vl == CNTR_INVALID_VL) in dev_access_u32_csr()
1402 csr += 0x100 * vl; in dev_access_u32_csr()
1404 if (vl != CNTR_INVALID_VL) in dev_access_u32_csr()
1452 int vl, int mode, u64 data) in dev_access_u64_csr() argument
1460 if (vl == CNTR_INVALID_VL) in dev_access_u64_csr()
1462 csr += 8 * vl; in dev_access_u64_csr()
1464 if (vl != CNTR_INVALID_VL) in dev_access_u64_csr()
1473 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()
2631 unsigned long vl; in a0_portstatus() local
2635 for_each_set_bit(vl, &vl_all_mask, BITS_PER_LONG) { in a0_portstatus()
2638 idx_from_vl(vl)); in a0_portstatus()
2694 u16 link_width, u16 link_speed, int vl) in get_xmit_wait_counters() argument
2700 if (vl > C_VL_COUNT) in get_xmit_wait_counters()
[all …]
Dsdma.c753 u8 vl; in sdma_engine_get_vl() local
764 vl = m->engine_to_vl[sde->this_idx]; in sdma_engine_get_vl()
767 return vl; in sdma_engine_get_vl()
783 u8 vl) in sdma_select_engine_vl() argument
793 if (vl >= num_vls) { in sdma_select_engine_vl()
804 e = m->map[vl & m->mask]; in sdma_select_engine_vl()
810 trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx); in sdma_select_engine_vl()
828 u8 vl = sc_to_vlt(dd, sc5); in sdma_select_engine_sc() local
830 return sdma_select_engine_vl(dd, selector, vl); in sdma_select_engine_sc()
869 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()
811 int vl; in sde_show_vl() local
813 vl = sdma_engine_get_vl(sde); in sde_show_vl()
814 if (vl < 0) in sde_show_vl()
815 return vl; in sde_show_vl()
817 return snprintf(buf, PAGE_SIZE, "%d\n", vl); in sde_show_vl()
823 static SDE_ATTR(vl, S_IRUGO, sde_show_vl, NULL);
Dchip.h702 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl,
827 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl);
828 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data);
829 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl);
830 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data);
853 static inline int idx_from_vl(int vl) in idx_from_vl() argument
855 return (vl == 15 ? C_VL_15 : vl); in idx_from_vl()
/Linux-v5.4/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()
Drose_out.c98 rose->vl = rose->vr; in rose_kick()
118 rose->vl = rose->vr; in rose_enquiry_response()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/dsa/
Ddsa_loop.c206 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_add() local
213 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_add()
215 vl->members |= BIT(port); in dsa_loop_port_vlan_add()
217 vl->untagged |= BIT(port); in dsa_loop_port_vlan_add()
219 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_add()
235 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_del() local
242 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_del()
244 vl->members &= ~BIT(port); in dsa_loop_port_vlan_del()
246 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_del()
/Linux-v5.4/arch/arm64/kvm/
Dreset.c161 unsigned int vl; in kvm_vcpu_finalize_sve() local
163 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
170 if (WARN_ON(!sve_vl_valid(vl) || vl > sve_max_virtualisable_vl || in kvm_vcpu_finalize_sve()
171 vl > SVE_VL_ARCH_MAX)) in kvm_vcpu_finalize_sve()
174 buf = kzalloc(SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl)), GFP_KERNEL); in kvm_vcpu_finalize_sve()
/Linux-v5.4/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()
/Linux-v5.4/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()
115 unsigned long vl, unsigned long flags);
/Linux-v5.4/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); \
/Linux-v5.4/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()
/Linux-v5.4/net/netrom/
Dnr_out.c117 nr->vl = nr->vr; in nr_send_nak_frame()
178 nr->vl = nr->vr; in nr_kick()
252 nr->vl = nr->vr; in nr_enquiry_response()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-encoder.c297 va_list vl; in pvr2_encoder_vcmd() local
309 va_start(vl, args); in pvr2_encoder_vcmd()
311 data[idx] = va_arg(vl, u32); in pvr2_encoder_vcmd()
313 va_end(vl); in pvr2_encoder_vcmd()
/Linux-v5.4/drivers/net/dsa/b53/
Db53_common.c666 struct b53_vlan vl = { 0 }; in b53_configure_vlan() local
674 b53_set_vlan_entry(dev, i, &vl); in b53_configure_vlan()
1344 struct b53_vlan *vl; in b53_vlan_add() local
1348 vl = &dev->vlans[vid]; in b53_vlan_add()
1350 b53_get_vlan_entry(dev, vid, vl); in b53_vlan_add()
1352 vl->members |= BIT(port); in b53_vlan_add()
1354 vl->untag |= BIT(port); in b53_vlan_add()
1356 vl->untag &= ~BIT(port); in b53_vlan_add()
1358 b53_set_vlan_entry(dev, vid, vl); in b53_vlan_add()
1375 struct b53_vlan *vl; in b53_vlan_del() local
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dcs4271.txt37 - vl-supply: Logic power
47 vl-supply = <&vdd_3v3_reg>;
/Linux-v5.4/Documentation/arm64/
Dsve.rst130 the thread's vector length (in sve_context.vl).
135 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).
137 * If the registers are present, the remainder of the record has a vl-dependent
169 * The vector length cannot be changed via signal return. If sve_context.vl in
183 arg == vl | flags. Other threads of the calling process are unaffected.
185 vl is the desired vector length, where sve_vl_valid(vl) must be true.
223 supported by the system that is less than or equal to vl. If vl ==
239 unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current
278 This depends on vl and possibly on other things in the future.
290 vl
[all …]

123