Home
last modified time | relevance | path

Searched refs:vls (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/tests/qtest/
H A Darm-cpu-features.c225 uint64_t vls = 0; in resp_get_sve_vls() local
245 vls |= BIT_ULL((bits / 128) - 1); in resp_get_sve_vls()
253 return vls; in resp_get_sve_vls()
517 uint64_t vls; in test_query_cpu_model_expansion_kvm() local
553 vls = resp_get_sve_vls(resp); in test_query_cpu_model_expansion_kvm()
569 g_assert(vls != 0); in test_query_cpu_model_expansion_kvm()
570 max_vq = 64 - __builtin_clzll(vls); in test_query_cpu_model_expansion_kvm()
574 assert_sve_vls(qts, "host", vls, "{ %s: true }", max_name); in test_query_cpu_model_expansion_kvm()
577 vq = 64 - __builtin_clzll(vls & ~BIT_ULL(max_vq - 1)); in test_query_cpu_model_expansion_kvm()
583 assert_sve_vls(qts, "host", (vls & ~BIT_ULL(max_vq - 1)), in test_query_cpu_model_expansion_kvm()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dcx20442.c156 int vls, vsp, old, len; in cx20442_write() local
170 vls = cx20442_pm_to_v253_vls(value); in cx20442_write()
171 if (vls < 0) in cx20442_write()
172 return vls; in cx20442_write()
178 if ((vls == V253_VLS_T) || in cx20442_write()
179 (vls == cx20442_pm_to_v253_vls(old))) { in cx20442_write()
184 len = snprintf(buf, ARRAY_SIZE(buf), "at+vls=%d\r", vls); in cx20442_write()
187 "at+vls=%d;+vsp=%d\r", vls, vsp); in cx20442_write()
/openbmc/linux/tools/testing/selftests/arm64/signal/
H A Dsve_helpers.c13 unsigned int vls[SVE_VQ_MAX]; variable
47 vls[nvls++] = vl; in sve_fill_vls()
H A Dsve_helpers.h16 extern unsigned int vls[];
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A DMakefile9 sve-ptrace sve-probe-vls \
32 $(OUTPUT)/sve-probe-vls: sve-probe-vls.c $(OUTPUT)/rdvl.o
H A D.gitignore6 sve-probe-vls
H A Dfp-stress.c385 static void probe_vls(int vls[], int *vl_count, int set_vl) in probe_vls() argument
400 if (*vl_count && (vl == vls[*vl_count - 1])) in probe_vls()
405 vls[*vl_count] = vl; in probe_vls()
H A DREADME7 sve-probe-vls - Checks the SVE vector length enumeration interface
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dfake_sigreturn_sme_change_vl.c60 za->vl, vls[0]); in fake_sigreturn_ssve_change_vl()
61 za->vl = vls[0]; in fake_sigreturn_ssve_change_vl()
H A Dfake_sigreturn_sve_change_vl.c60 sve->vl, vls[0]); in fake_sigreturn_sve_change_vl()
61 sve->vl = vls[0]; in fake_sigreturn_sve_change_vl()
H A Dsve_regs.c89 if (do_one_sve_vl(td, si, uc, vls[i])) in sve_regs()
H A Dza_no_regs.c87 if (do_one_sme_vl(td, si, uc, vls[i])) in sme_regs()
H A Dssve_regs.c96 if (do_one_sme_vl(td, si, uc, vls[i])) in sme_regs()
H A Dza_regs.c102 if (do_one_sme_vl(td, si, uc, vls[i])) in sme_regs()
H A Dssve_za_regs.c125 if (do_one_sme_vl(td, si, uc, vls[i])) in sme_regs()
/openbmc/linux/tools/perf/util/
H A Dprobe-finder.h61 struct variable_list **vls);
107 struct variable_list *vls; /* Found variable lists */ member
H A Dprobe-finder.c1524 vl = &af->vls[af->nvls - 1]; in collect_variables_cb()
1583 if (af->pf.addr == af->vls[i].point.address) in available_var_finder_overlap()
1613 vl = &af->vls[af->nvls++]; in add_available_vars()
1654 struct variable_list **vls) in debuginfo__find_available_vars_at() argument
1663 *vls = zalloc(sizeof(struct variable_list) * af.max_vls); in debuginfo__find_available_vars_at()
1664 if (*vls == NULL) in debuginfo__find_available_vars_at()
1667 af.vls = *vls; in debuginfo__find_available_vars_at()
1674 zfree(&af.vls[af.nvls].point.symbol); in debuginfo__find_available_vars_at()
1675 strlist__delete(af.vls[af.nvls].vars); in debuginfo__find_available_vars_at()
1677 zfree(vls); in debuginfo__find_available_vars_at()
H A Dprobe-event.c1154 struct variable_list *vls = NULL, *vl; in show_available_vars_at() local
1163 ret = debuginfo__find_available_vars_at(dinfo, pev, &vls); in show_available_vars_at()
1168 &vls); in show_available_vars_at()
1185 vl = &vls[i]; in show_available_vars_at()
1207 free(vls); in show_available_vars_at()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c1323 u8 vls; in __subn_set_opa_portinfo() local
1528 vls = pi->operational_vls & OPA_PI_MASK_OPERATIONAL_VL; in __subn_set_opa_portinfo()
1529 if (vls) { in __subn_set_opa_portinfo()
1530 if (vls > ppd->vls_supported) { in __subn_set_opa_portinfo()
1536 vls) == -EINVAL) in __subn_set_opa_portinfo()
2341 } vls[]; /* real array size defined by # bits set in vl_select_mask */ member
2440 } vls[]; member
2473 } vls[]; member
2703 response_data_size = struct_size(rsp, vls, num_vls); in pma_get_opa_portstatus()
2793 vlinfo = &rsp->vls[0]; in pma_get_opa_portstatus()
[all …]
H A Dpio.h223 u8 vls; member
H A Dpio.c1901 newmap->vls = roundup_pow_of_two(num_vls); in pio_map_init()
1902 newmap->mask = (1 << ilog2(newmap->vls)) - 1; in pio_map_init()
1903 for (i = 0; i < newmap->vls; i++) { in pio_map_init()
H A Dsdma.h990 u8 vls; member
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_verbs.h90 static inline int qib_num_vls(int vls) in qib_num_vls() argument
92 switch (vls) { in qib_num_vls()
H A Dqib_mad.c667 u8 vls; in subn_set_portinfo() local
786 vls = (pip->operationalvl_pei_peo_fpi_fpo >> 4) & 0xF; in subn_set_portinfo()
787 if (vls) { in subn_set_portinfo()
788 if (vls > ppd->vls_supported) in subn_set_portinfo()
791 (void) dd->f_set_ib_cfg(ppd, QIB_IB_CFG_OP_VLS, vls); in subn_set_portinfo()
/openbmc/qemu/target/arm/
H A Dkvm.c1815 static uint64_t vls[KVM_ARM64_SVE_VLS_WORDS]; in kvm_arm_sve_get_vls() local
1832 .addr = (uint64_t)&vls[0], in kvm_arm_sve_get_vls()
1851 if (vls[i]) { in kvm_arm_sve_get_vls()
1852 vq = 64 - clz64(vls[i]) + i * 64; in kvm_arm_sve_get_vls()
1859 vls[0] &= MAKE_64BIT_MASK(0, ARM_MAX_VQ); in kvm_arm_sve_get_vls()
1863 return vls[0]; in kvm_arm_sve_get_vls()
1868 uint64_t vls[KVM_ARM64_SVE_VLS_WORDS] = { cpu->sve_vq.map }; in kvm_arm_sve_set_vls() local
1872 return kvm_set_one_reg(CPU(cpu), KVM_REG_ARM64_SVE_VLS, &vls[0]); in kvm_arm_sve_set_vls()

12