Home
last modified time | relevance | path

Searched refs:RISCV_HWPROBE_WHICH_CPUS (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/riscv/hwprobe/
H A Dwhich-cpus.c78 …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/arch/riscv/include/uapi/asm/
H A Dhwprobe.h100 #define RISCV_HWPROBE_WHICH_CPUS (1 << 0) macro
/linux/arch/riscv/kernel/
H A Dsys_hwprobe.c368 if (flags != RISCV_HWPROBE_WHICH_CPUS) in hwprobe_get_cpus()
436 if (flags & RISCV_HWPROBE_WHICH_CPUS) in do_riscv_hwprobe()
/linux/Documentation/arch/riscv/
H A Dhwprobe.rst30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior