Lines Matching +full:0 +full:x500

30 		if (opal_call(OPAL_RETURN_CPU, 0, 0, 0) != OPAL_SUCCESS) {  in stop_self()
38 assert(0); in stop_self()
62 OPAL_THREAD_INACTIVE = 0x0,
63 OPAL_THREAD_STARTED = 0x1,
64 OPAL_THREAD_UNAVAILABLE = 0x2 /* opal-v3 */
67 #define H_EOI 0x64
68 #define H_CPPR 0x68
69 #define H_IPI 0x6c
70 #define H_XIRR 0x74
86 asm volatile("mr r3,%1 ; sc 1 ; mr %0,r4" : "=r"(xirr) : "r"(H_XIRR)); in extint_handler()
87 xisr = xirr & 0xffffff; in extint_handler()
90 rc = hcall(H_IPI, smp_processor_id(), 0xff); in extint_handler()
107 asm volatile("msgclr %0" :: "r"(rb) : "memory"); in cpu_init_ipis()
121 hcall(H_CPPR, 0); in local_ipi_disable()
129 handle_exception(0xe80, &dbell_handler, data); in register_ipi()
131 handle_exception(0x500, &extint_handler, data); in register_ipi()
138 handle_exception(0xe80, NULL, NULL); in unregister_ipi()
140 handle_exception(0x500, NULL, NULL); in unregister_ipi()
149 asm volatile("msgsnd %0" :: "r"(rb) : "memory"); in send_ipi()
165 ret = opal_call(OPAL_QUERY_CPU_STATUS, cpu_id, (unsigned long)&status, 0); in cpu_is_running()
176 if (ret != 0) { in cpu_is_running()
186 if (outputs[0]) /* cpu not in stopped state */ in cpu_is_running()
194 * Returns: <0 on failure to start stopped cpu
195 * 0 on success
196 * >0 on cpu not in stopped state
228 if (opal_call(OPAL_START_CPU, cpu_id, (unsigned long)start_secondary, 0) != OPAL_SUCCESS) { in start_thread()
237 assert(ret == 0); in start_thread()
246 return 0; in start_thread()
268 for (i = 0; i < nr_threads; i++) in start_core()
294 assert(ret == 0); in start_all_cpus()
301 assert(0); in start_all_cpus()
311 * Returns: <0 on failure to start stopped cpu
312 * 0 on success
313 * >0 on cpu not in stopped state
321 return 0; in wait_thread()
332 return 0; in wait_thread()
353 for (i = 0; i < nr_threads; i++) in wait_core()