Lines Matching refs:handle
66 void *handle; in context_restore() local
71 handle = cm_get_context((uint32_t) security_state); in context_restore()
72 assert(handle); in context_restore()
83 return handle; in context_restore()
87 uint32_t flags, void *handle, void *cookie);
178 void *handle, in pncd_sel1_interrupt_handler() argument
185 assert(handle == cm_get_context(NON_SECURE)); in pncd_sel1_interrupt_handler()
188 handle = pncd_context_switch_to(SECURE); in pncd_sel1_interrupt_handler()
190 assert(handle != NULL); in pncd_sel1_interrupt_handler()
192 SMC_RET0(handle); in pncd_sel1_interrupt_handler()
291 void *handle, in plat_pncd_smc_handler() argument
302 SMC_RET1(handle, SMC_UNK); in plat_pncd_smc_handler()
320 void *handle, in pncd_smc_handler_unsafe() argument
334 SMC_RET0(handle); in pncd_smc_handler_unsafe()
354 SMC_RET1(handle, SMC_UNK); in pncd_smc_handler_unsafe()
358 SMC_RET1(handle, SMC_UNK); in pncd_smc_handler_unsafe()
364 SMC_RET4(handle, 0, 0, 0, 0); in pncd_smc_handler_unsafe()
374 SMC_RET4(handle, x1, x2, x3, x4); in pncd_smc_handler_unsafe()
376 SMC_RET4(handle, 0, 0, 0, 0); in pncd_smc_handler_unsafe()
383 SMC_RET1(handle, SMC_UNK); in pncd_smc_handler_unsafe()
393 SMC_RET0(handle); in pncd_smc_handler_unsafe()
399 SMC_RET1(handle, SMC_UNK); in pncd_smc_handler_unsafe()
412 SMC_RET0(handle); in pncd_smc_handler_unsafe()
417 assert(handle == cm_get_context(ns != 0 ? NON_SECURE : SECURE)); in pncd_smc_handler_unsafe()
418 handle = pncd_context_switch_to(ns != 0 ? SECURE : NON_SECURE); in pncd_smc_handler_unsafe()
420 assert(handle != NULL); in pncd_smc_handler_unsafe()
422 SMC_RET0(handle); in pncd_smc_handler_unsafe()
432 cookie, handle, flags); in pncd_smc_handler_unsafe()
441 void *handle, in pncd_smc_handler() argument
448 ret = pncd_smc_handler_unsafe(smc_fid, x1, x2, x3, x4, cookie, handle, in pncd_smc_handler()