Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/arm64/kernel/
Dfpsimd.c286 static unsigned int find_supported_vector_length(unsigned int vl) in find_supported_vector_length() argument
291 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
292 vl = SVE_VL_MIN; in find_supported_vector_length()
297 if (vl > max_vl) in find_supported_vector_length()
298 vl = max_vl; in find_supported_vector_length()
301 vq_to_bit(sve_vq_from_vl(vl))); in find_supported_vector_length()
312 int vl = sve_default_vl; in sve_proc_do_default_vl() local
314 .data = &vl, in sve_proc_do_default_vl()
315 .maxlen = sizeof(vl), in sve_proc_do_default_vl()
323 if (vl == -1) in sve_proc_do_default_vl()
[all …]
Dsignal.c240 unsigned int vl = current->thread.sve_vl; in preserve_sve_context() local
244 vq = sve_vq_from_vl(vl); in preserve_sve_context()
251 __put_user_error(vl, &ctx->vl, err); in preserve_sve_context()
278 if (sve.vl != current->thread.sve_vl) in restore_sve_fpsimd_context()
286 vq = sve_vq_from_vl(sve.vl); in restore_sve_fpsimd_context()
604 int vl = sve_max_vl; in setup_sigframe_layout() local
607 vl = current->thread.sve_vl; in setup_sigframe_layout()
609 vq = sve_vq_from_vl(vl); in setup_sigframe_layout()
/Linux-v4.19/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-v4.19/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.h181 TP_PROTO(struct hfi1_devdata *dd, u32 sel, u8 vl, u8 idx),
182 TP_ARGS(dd, sel, vl, idx),
185 __field(u8, vl)
190 __entry->vl = vl;
197 __entry->vl
733 BCT(vl[0].dedicated),
734 BCT(vl[0].shared),
736 BCT(vl[1].dedicated),
737 BCT(vl[1].shared),
739 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, (unsigned long *)&(vl_all_mask), in a0_portstatus()
2639 idx_from_vl(vl)); in a0_portstatus()
2695 u16 link_width, u16 link_speed, int vl) in get_xmit_wait_counters() argument
2701 if (vl > C_VL_COUNT) in get_xmit_wait_counters()
[all …]
Dsdma.c738 u8 vl; in sdma_engine_get_vl() local
749 vl = m->engine_to_vl[sde->this_idx]; in sdma_engine_get_vl()
752 return vl; in sdma_engine_get_vl()
768 u8 vl) in sdma_select_engine_vl() argument
778 if (vl >= num_vls) { in sdma_select_engine_vl()
789 e = m->map[vl & m->mask]; in sdma_select_engine_vl()
795 trace_hfi1_sdma_engine_select(dd, selector, vl, rval->this_idx); in sdma_select_engine_vl()
813 u8 vl = sc_to_vlt(dd, sc5); in sdma_select_engine_sc() local
815 return sdma_select_engine_vl(dd, selector, vl); in sdma_select_engine_sc()
854 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()
807 int vl; in sde_show_vl() local
809 vl = sdma_engine_get_vl(sde); in sde_show_vl()
810 if (vl < 0) in sde_show_vl()
811 return vl; in sde_show_vl()
813 return snprintf(buf, PAGE_SIZE, "%d\n", vl); in sde_show_vl()
819 static SDE_ATTR(vl, S_IRUGO, sde_show_vl, NULL);
Dchip.h689 u64 create_pbc(struct hfi1_pportdata *ppd, u64 flags, int srate_mbs, u32 vl,
813 u64 read_dev_cntr(struct hfi1_devdata *dd, int index, int vl);
814 u64 write_dev_cntr(struct hfi1_devdata *dd, int index, int vl, u64 data);
815 u64 read_port_cntr(struct hfi1_pportdata *ppd, int index, int vl);
816 u64 write_port_cntr(struct hfi1_pportdata *ppd, int index, int vl, u64 data);
839 static inline int idx_from_vl(int vl) in idx_from_vl() argument
841 return (vl == 15 ? C_VL_15 : vl); in idx_from_vl()
/Linux-v4.19/arch/arm64/include/uapi/asm/
Dsigcontext.h127 __u16 vl; member
152 #define sve_vl_valid(vl) \ argument
153 ((vl) % SVE_VQ_BYTES == 0 && (vl) >= SVE_VL_MIN && (vl) <= SVE_VL_MAX)
154 #define sve_vq_from_vl(vl) ((vl) / SVE_VQ_BYTES) argument
/Linux-v4.19/net/rose/
Drose_in.c51 rose->vl = 0; in rose_state1_machine()
118 rose->vl = 0; in rose_state3_machine()
136 rose->vl = 0; in rose_state3_machine()
158 rose->vl = 0; in rose_state3_machine()
178 rose->vl = 0; in rose_state3_machine()
192 if (((rose->vl + sysctl_rose_window_size) % ROSE_MODULUS) == rose->vr) { in rose_state3_machine()
230 rose->vl = 0; in rose_state4_machine()
Drose_out.c101 rose->vl = rose->vr; in rose_kick()
121 rose->vl = rose->vr; in rose_enquiry_response()
/Linux-v4.19/sound/usb/6fire/
Dcomm.c60 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer() argument
69 buffer[5] = vl; in usb6fire_comm_init_buffer()
83 buffer[12] = vl; in usb6fire_comm_init_buffer()
91 buffer[5] = vl; in usb6fire_comm_init_buffer()
129 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16() argument
139 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
/Linux-v4.19/drivers/net/dsa/
Ddsa_loop.c210 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_add() local
217 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_add()
219 vl->members |= BIT(port); in dsa_loop_port_vlan_add()
221 vl->untagged |= BIT(port); in dsa_loop_port_vlan_add()
223 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_add()
239 struct dsa_loop_vlan *vl; in dsa_loop_port_vlan_del() local
246 vl = &ps->vlans[vid]; in dsa_loop_port_vlan_del()
248 vl->members &= ~BIT(port); in dsa_loop_port_vlan_del()
250 vl->untagged &= ~BIT(port); in dsa_loop_port_vlan_del()
/Linux-v4.19/arch/arm64/include/asm/
Dfpsimd.h69 static inline size_t sve_ffr_offset(int vl) in sve_ffr_offset() argument
71 return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET; in sve_ffr_offset()
102 unsigned long vl, unsigned long flags);
/Linux-v4.19/net/x25/
Dx25_in.c106 x25->vl = 0; in x25_state1_machine()
221 x25->vl = 0; in x25_state3_machine()
243 x25->vl = 0; in x25_state3_machine()
265 x25->vl = 0; in x25_state3_machine()
283 x25->vl = 0; in x25_state3_machine()
295 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine()
355 x25->vl = 0; in x25_state4_machine()
Dx25_out.c207 x25->vl = x25->vr; in x25_kick()
227 x25->vl = x25->vr; in x25_enquiry_response()
/Linux-v4.19/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-v4.19/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c390 u8 vl; in opa_vnic_get_vl() local
396 vl = info->vport.pcp_to_vl_mc[pcp]; in opa_vnic_get_vl()
398 vl = info->vport.pcp_to_vl_uc[pcp]; in opa_vnic_get_vl()
401 vl = info->vport.non_vlan_vl_mc; in opa_vnic_get_vl()
403 vl = info->vport.non_vlan_vl_uc; in opa_vnic_get_vl()
406 return vl; in opa_vnic_get_vl()
501 mdata->vl = opa_vnic_get_vl(adapter, skb); in opa_vnic_encap_skb()
/Linux-v4.19/drivers/net/dsa/b53/
Db53_common.c628 struct b53_vlan vl = { 0 }; in b53_configure_vlan() local
634 b53_set_vlan_entry(dev, i, &vl); in b53_configure_vlan()
1101 struct b53_vlan *vl; in b53_vlan_add() local
1105 vl = &dev->vlans[vid]; in b53_vlan_add()
1107 b53_get_vlan_entry(dev, vid, vl); in b53_vlan_add()
1109 vl->members |= BIT(port); in b53_vlan_add()
1111 vl->untag |= BIT(port); in b53_vlan_add()
1113 vl->untag &= ~BIT(port); in b53_vlan_add()
1115 b53_set_vlan_entry(dev, vid, vl); in b53_vlan_add()
1132 struct b53_vlan *vl; in b53_vlan_del() local
[all …]
/Linux-v4.19/net/netrom/
Dnr_out.c120 nr->vl = nr->vr; in nr_send_nak_frame()
181 nr->vl = nr->vr; in nr_kick()
255 nr->vl = nr->vr; in nr_enquiry_response()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-encoder.c307 va_list vl; in pvr2_encoder_vcmd() local
319 va_start(vl, args); in pvr2_encoder_vcmd()
321 data[idx] = va_arg(vl, u32); in pvr2_encoder_vcmd()
323 va_end(vl); in pvr2_encoder_vcmd()
/Linux-v4.19/Documentation/arm64/
Dsve.txt99 the thread's vector length (in sve_context.vl).
104 sve_context.head.size >= SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve_context.vl)).
106 * If the registers are present, the remainder of the record has a vl-dependent
134 * The vector length cannot be changed via signal return. If sve_context.vl in
148 arg == vl | flags. Other threads of the calling process are unaffected.
150 vl is the desired vector length, where sve_vl_valid(vl) must be true.
188 supported by the system that is less than or equal to vl. If vl ==
204 unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current
243 This depends on vl and possibly on other things in the future.
255 vl
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Dcs4271.txt37 - vl-supply: Logic power
47 vl-supply = <&vdd_3v3_reg>;
/Linux-v4.19/tools/perf/util/
Dprobe-finder.c1359 struct variable_list *vl; in collect_variables_cb() local
1363 vl = &af->vls[af->nvls - 1]; in collect_variables_cb()
1400 strlist__add(vl->vars, in collect_variables_cb()
1423 struct variable_list *vl; in add_available_vars() local
1432 vl = &af->vls[af->nvls++]; in add_available_vars()
1436 pp->retprobe, pp->function, &vl->point); in add_available_vars()
1440 pr_debug("Probe point found: %s+%lu\n", vl->point.symbol, in add_available_vars()
1441 vl->point.offset); in add_available_vars()
1444 vl->vars = strlist__new(NULL, NULL); in add_available_vars()
1445 if (vl->vars == NULL) in add_available_vars()
[all …]

123