Lines Matching refs:key
33 switch (pair->key) { in hwprobe_arch_id()
258 switch (pair->key) { in hwprobe_one_pair()
319 pair->key = -1; in hwprobe_one_pair()
366 if (get_user(pair.key, &pairs->key)) in hwprobe_get_values()
371 ret = put_user(pair.key, &pairs->key); in hwprobe_get_values()
420 if (!riscv_hwprobe_key_is_valid(pair.key)) { in hwprobe_get_cpus()
422 pair = (struct riscv_hwprobe){ .key = -1, }; in hwprobe_get_cpus()
431 tmp = (struct riscv_hwprobe){ .key = pair.key, }; in hwprobe_get_cpus()
475 int key; in init_hwprobe_vdso_data() local
481 for (key = 0; key <= RISCV_HWPROBE_MAX_KEY; key++) { in init_hwprobe_vdso_data()
482 pair.key = key; in init_hwprobe_vdso_data()
485 WARN_ON_ONCE(pair.key < 0); in init_hwprobe_vdso_data()
487 avd->all_cpu_hwprobe_values[key] = pair.value; in init_hwprobe_vdso_data()
492 if (key <= RISCV_HWPROBE_KEY_MIMPID) in init_hwprobe_vdso_data()