Lines Matching refs:num_cpus
22 #define IDC_CORE_MASK(num_cpus) (BIT(num_cpus) - 1) argument
32 unsigned int num_cpus = arch_num_cpus(); in soc_mp_startup() local
34 for (int i = 0; i < num_cpus; i++) { in soc_mp_startup()
109 unsigned int num_cpus = arch_num_cpus(); in soc_start_core() local
111 for (int c = 0; c < num_cpus; c++) { in soc_start_core()
112 IDC[c].busy_int |= IDC_CORE_MASK(num_cpus); in soc_start_core()
129 unsigned int num_cpus = arch_num_cpus(); in send_ipi() local
131 for (int c = 0; c < num_cpus; c++) { in send_ipi()
164 unsigned int num_cpus = arch_num_cpus(); in idc_isr() local
166 for (int i = 0; i < num_cpus; i++) { in idc_isr()
179 unsigned int num_cpus = arch_num_cpus(); in soc_mp_init() local
181 for (int core = 0; core < num_cpus; core++) { in soc_mp_init()
182 IDC[core].busy_int |= IDC_CORE_MASK(num_cpus); in soc_mp_init()
183 IDC[core].done_int &= ~IDC_CORE_MASK(num_cpus); in soc_mp_init()
192 for (int i = 0; i < num_cpus; i++) { in soc_mp_init()
193 for (int j = 0; j < num_cpus; j++) { in soc_mp_init()