Lines Matching refs:arg
44 void *arg; member
110 static inline void smp_init_top(void *arg) in smp_init_top() argument
112 struct cpu_start_cb csc = arg ? *(struct cpu_start_cb *)arg : (struct cpu_start_cb){0}; in smp_init_top()
122 if ((arg == NULL) || csc.invoke_sched) { in smp_init_top()
130 if ((arg == NULL) || csc.reinit_timer) { in smp_init_top()
137 csc.fn(csc.arg); in smp_init_top()
140 if ((arg != NULL) && !csc.invoke_sched) { in smp_init_top()
170 void k_smp_cpu_start(int id, smp_init_fn fn, void *arg) in k_smp_cpu_start() argument
175 cpu_start_fn.arg = arg; in k_smp_cpu_start()
196 void k_smp_cpu_resume(int id, smp_init_fn fn, void *arg, in k_smp_cpu_resume() argument
202 cpu_start_fn.arg = arg; in k_smp_cpu_resume()