Searched refs:RISCV_HWPROBE_WHICH_CPUS (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/riscv/hwprobe/ |
| H A D | which-cpus.c | 5 * Test the RISCV_HWPROBE_WHICH_CPUS flag of hwprobe. Also provides a command 23 " Without parameters, tests the RISCV_HWPROBE_WHICH_CPUS flag of hwprobe.\n" in help() 78 rc = riscv_hwprobe(pairs, nr_pairs, sizeof(cpu_set_t), (unsigned long *)cpus, RISCV_HWPROBE_WHICH_CPUS); in do_which_cpus() 122 rc = riscv_hwprobe(pairs, 1, 0, (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 126 rc = riscv_hwprobe(pairs, 1, sizeof(cpu_set_t), NULL, RISCV_HWPROBE_WHICH_CPUS); in main() 131 rc = riscv_hwprobe(pairs, 1, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 137 rc = riscv_hwprobe(pairs, 2, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 144 rc = riscv_hwprobe(pairs, 3, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 151 rc = riscv_hwprobe(pairs, 3, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); in main() 158 rc = riscv_hwprobe(pairs, 3, sizeof(cpu_set_t), (unsigned long *)&cpus, RISCV_HWPROBE_WHICH_CPUS); [all...] |
| /linux/arch/riscv/kernel/vdso/ |
| H A D | hwprobe.c | 71 if (empty_cpus || flags != RISCV_HWPROBE_WHICH_CPUS || !avd->homogeneous_cpus) in riscv_vdso_get_cpus() 108 if (flags & RISCV_HWPROBE_WHICH_CPUS) in __vdso_riscv_hwprobe()
|
| /linux/arch/riscv/include/uapi/asm/ |
| H A D | hwprobe.h | 123 #define RISCV_HWPROBE_WHICH_CPUS (1 << 0) macro
|
| /linux/arch/riscv/kernel/ |
| H A D | sys_hwprobe.c | 444 if (flags != RISCV_HWPROBE_WHICH_CPUS) in hwprobe_get_cpus() 598 if (flags & RISCV_HWPROBE_WHICH_CPUS) in do_riscv_hwprobe()
|
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior
|