Lines Matching full:pair
90 struct riscv_hwprobe pair = { in test_zicbom() local
97 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicbom()
98 block_size = pair.value; in test_zicbom()
99 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOM_BLOCK_SIZE && in test_zicbom()
114 struct riscv_hwprobe pair = { in test_zicboz() local
122 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicboz()
123 block_size = pair.value; in test_zicboz()
124 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE && in test_zicboz()
162 struct riscv_hwprobe pair = { in check_no_zicbo_cpus() local
177 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&one_cpu, 0); in check_no_zicbo_cpus()
178 assert(rc == 0 && pair.key == RISCV_HWPROBE_KEY_IMA_EXT_0); in check_no_zicbo_cpus()
182 if (pair.value & cbo) in check_no_zicbo_cpus()
217 struct riscv_hwprobe pair; in main() local
236 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0; in main()
237 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&cpus, 0); in main()
240 assert(rc == 0 && pair.key == RISCV_HWPROBE_KEY_IMA_EXT_0); in main()
242 if (pair.value & RISCV_HWPROBE_EXT_ZICBOZ) { in main()
249 if (pair.value & RISCV_HWPROBE_EXT_ZICBOM) { in main()