Lines Matching refs:cpu_select
30 static int do_mtrr_list(int reg_count, int cpu_select) in do_mtrr_list() argument
39 ret = mp_run_on_cpus(cpu_select, read_mtrrs, &info); in do_mtrr_list()
62 static int do_mtrr_set(int cpu_select, uint reg, int argc, char *const argv[]) in do_mtrr_set() argument
91 ret = mtrr_set(cpu_select, reg, base, mask); in do_mtrr_set()
103 int cpu_select; in do_mtrr() local
107 cpu_select = MP_SELECT_BSP; in do_mtrr()
113 cpu_select = MP_SELECT_ALL; in do_mtrr()
115 cpu_select = simple_strtol(cpustr, NULL, 16); in do_mtrr()
139 i = mp_first_cpu(cpu_select); in do_mtrr()
145 for (; i >= 0; i = mp_next_cpu(cpu_select, i)) { in do_mtrr()
160 ret = mtrr_set_valid(cpu_select, reg, true); in do_mtrr()
163 ret = mtrr_set_valid(cpu_select, reg, false); in do_mtrr()
166 ret = do_mtrr_set(cpu_select, reg, argc - 2, argv + 2); in do_mtrr()