Home
last modified time | relevance | path

Searched refs:riscv_hwprobe (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/tools/testing/selftests/riscv/hwprobe/
Dwhich-cpus.c61 struct riscv_hwprobe *pairs; in do_which_cpus()
66 pairs = malloc(nr_pairs * sizeof(struct riscv_hwprobe)); in do_which_cpus()
78 …rc = riscv_hwprobe(pairs, nr_pairs, sizeof(cpu_set_t), (unsigned long *)cpus, RISCV_HWPROBE_WHICH_… in do_which_cpus()
86 struct riscv_hwprobe pairs[2]; in main()
105 pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_BASE_BEHAVIOR, }; in main()
106 rc = riscv_hwprobe(pairs, 1, 0, NULL, 0); in main()
110 pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_IMA_EXT_0, }; in main()
111 rc = riscv_hwprobe(pairs, 1, 0, NULL, 0); in main()
115 …pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_BASE_BEHAVIOR, .value = RISCV_HWPROBE_… in main()
117 rc = riscv_hwprobe(pairs, 1, 0, (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main()
[all …]
Dhwprobe.c7 struct riscv_hwprobe pairs[8]; in main()
24 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
43 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
46 out = riscv_hwprobe(pairs, 8, 0, &cpus, 0); in main()
49 out = riscv_hwprobe(pairs, 8, 1, 0, 0); in main()
53 out = riscv_hwprobe(pairs, 1, 1, &cpus, 0); in main()
60 out = riscv_hwprobe(pairs, 2, 0, 0, 0); in main()
Dcbo.c86 struct riscv_hwprobe pair = { in test_zicboz()
94 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicboz()
134 struct riscv_hwprobe pair = { in check_no_zicboz_cpus()
148 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&one_cpu, 0); in check_no_zicboz_cpus()
181 struct riscv_hwprobe pair; in main()
200 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&cpus, 0); in main()
Dhwprobe.h22 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
Dsys_hwprobe.S5 .global riscv_hwprobe symbol
6 riscv_hwprobe: label
/linux-6.12.1/arch/riscv/kernel/vdso/
Dhwprobe.c11 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 static int riscv_vdso_get_values(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_values()
22 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_values()
23 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_values()
32 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_values()
50 static int riscv_vdso_get_cpus(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_cpus()
56 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_cpus()
57 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_cpus()
74 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_cpus()
78 struct riscv_hwprobe t = { in riscv_vdso_get_cpus()
[all …]
Dsys_hwprobe.S8 SYM_FUNC_START(riscv_hwprobe)
15 SYM_FUNC_END(riscv_hwprobe)
/linux-6.12.1/arch/riscv/kernel/
Dsys_hwprobe.c21 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id()
61 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0()
162 struct riscv_hwprobe pair; in hwprobe_ext0_has()
204 static void hwprobe_one_pair(struct riscv_hwprobe *pair, in hwprobe_one_pair()
257 static int hwprobe_get_values(struct riscv_hwprobe __user *pairs, in hwprobe_get_values()
296 struct riscv_hwprobe pair; in hwprobe_get_values()
314 static int hwprobe_get_cpus(struct riscv_hwprobe __user *pairs, in hwprobe_get_cpus()
345 struct riscv_hwprobe pair, tmp; in hwprobe_get_cpus()
354 pair = (struct riscv_hwprobe){ .key = -1, }; in hwprobe_get_cpus()
363 tmp = (struct riscv_hwprobe){ .key = pair.key, }; in hwprobe_get_cpus()
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dhwprobe.h30 static inline bool riscv_hwprobe_pair_cmp(struct riscv_hwprobe *pair, in riscv_hwprobe_pair_cmp()
31 struct riscv_hwprobe *other_pair) in riscv_hwprobe_pair_cmp()
Dsyscall.h100 asmlinkage long sys_riscv_hwprobe(struct riscv_hwprobe *, size_t, size_t,
/linux-6.12.1/tools/testing/selftests/riscv/vector/
Dvstate_prctl.c75 struct riscv_hwprobe pair; in main()
80 rc = riscv_hwprobe(&pair, 1, 0, NULL, 0); in main()
/linux-6.12.1/arch/riscv/include/uapi/asm/
Dhwprobe.h15 struct riscv_hwprobe { struct
/linux-6.12.1/Documentation/arch/riscv/
Dhwprobe.rst9 struct riscv_hwprobe {
14 long sys_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl305 258 riscv riscv_hwprobe sys_riscv_hwprobe
/linux-6.12.1/scripts/
Dsyscall.tbl305 258 riscv riscv_hwprobe sys_riscv_hwprobe