Searched refs:RISCV_HWPROBE_WHICH_CPUS (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/riscv/hwprobe/ |
D | which-cpus.c | 78 …riscv_hwprobe(pairs, nr_pairs, sizeof(cpu_set_t), (unsigned long *)cpus, RISCV_HWPROBE_WHICH_CPUS); in do_which_cpus() 117 rc = riscv_hwprobe(pairs, 1, 0, (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 121 rc = riscv_hwprobe(pairs, 1, sizeof(cpu_set_t), NULL, RISCV_HWPROBE_WHICH_CPUS); in main() 126 rc = riscv_hwprobe(pairs, 1, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 132 rc = riscv_hwprobe(pairs, 2, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 138 rc = riscv_hwprobe(pairs, 2, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 144 rc = riscv_hwprobe(pairs, 2, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 150 rc = riscv_hwprobe(pairs, 2, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main()
|
/linux-6.12.1/arch/riscv/kernel/vdso/ |
D | hwprobe.c | 73 if (empty_cpus || flags != RISCV_HWPROBE_WHICH_CPUS || !avd->homogeneous_cpus) in riscv_vdso_get_cpus() 110 if (flags & RISCV_HWPROBE_WHICH_CPUS) in __vdso_riscv_hwprobe()
|
/linux-6.12.1/arch/riscv/include/uapi/asm/ |
D | hwprobe.h | 94 #define RISCV_HWPROBE_WHICH_CPUS (1 << 0) macro
|
/linux-6.12.1/arch/riscv/kernel/ |
D | sys_hwprobe.c | 324 if (flags != RISCV_HWPROBE_WHICH_CPUS) in hwprobe_get_cpus() 392 if (flags & RISCV_HWPROBE_WHICH_CPUS) in do_riscv_hwprobe()
|
/linux-6.12.1/Documentation/arch/riscv/ |
D | hwprobe.rst | 30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior
|