Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/riscv/hwprobe/
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-6.12.1/arch/riscv/kernel/vdso/
Dhwprobe.c73 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/
Dhwprobe.h94 #define RISCV_HWPROBE_WHICH_CPUS (1 << 0) macro
/linux-6.12.1/arch/riscv/kernel/
Dsys_hwprobe.c324 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/
Dhwprobe.rst30 * :c:macro:`RISCV_HWPROBE_WHICH_CPUS`: This flag basically reverses the behavior