Lines Matching refs:a2
226 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_data_claim()
227 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_data_claim()
256 unsigned long a0, a1, a2; in svc_thread_cmd_config_status() local
267 a2 = (unsigned long)p_data->size; in svc_thread_cmd_config_status()
274 ctrl->invoke_fn(a0, a1, a2, 0, 0, 0, 0, 0, &res); in svc_thread_cmd_config_status()
293 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_config_status()
294 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_config_status()
299 cb_data->kaddr2 = (res.a2) ? in svc_thread_cmd_config_status()
300 svc_pa_to_va(res.a2) : NULL; in svc_thread_cmd_config_status()
350 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
355 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
362 cb_data->kaddr2 = svc_pa_to_va(res.a2); in svc_thread_recv_status_ok()
369 res.a2 = res.a2 * BYTE_TO_WORD_SIZE; in svc_thread_recv_status_ok()
370 cb_data->kaddr2 = &res.a2; in svc_thread_recv_status_ok()
398 unsigned long a0, a1, a2, a3, a4, a5, a6, a7; in svc_normal_to_secure_thread() local
414 a2 = 0; in svc_normal_to_secure_thread()
443 a2 = 0; in svc_normal_to_secure_thread()
448 a2 = (unsigned long)pdata->size; in svc_normal_to_secure_thread()
453 a2 = 0; in svc_normal_to_secure_thread()
458 a2 = 0; in svc_normal_to_secure_thread()
463 a2 = 0; in svc_normal_to_secure_thread()
468 a2 = 0; in svc_normal_to_secure_thread()
473 a2 = 0; in svc_normal_to_secure_thread()
478 a2 = 0; in svc_normal_to_secure_thread()
483 a2 = 0; in svc_normal_to_secure_thread()
488 a2 = 0; in svc_normal_to_secure_thread()
495 a2 = (unsigned long)pdata->paddr; in svc_normal_to_secure_thread()
503 a2 = (unsigned long)pdata->paddr; in svc_normal_to_secure_thread()
511 a2 = 0; in svc_normal_to_secure_thread()
516 a2 = (unsigned long)pdata->size; in svc_normal_to_secure_thread()
521 a2 = (unsigned long)pdata->size; in svc_normal_to_secure_thread()
526 a2 = 0; in svc_normal_to_secure_thread()
533 a2 = (unsigned long)pdata->size; in svc_normal_to_secure_thread()
538 a2 = 0; in svc_normal_to_secure_thread()
543 a2 = 0; in svc_normal_to_secure_thread()
548 a2 = (unsigned long)pdata->paddr; in svc_normal_to_secure_thread()
562 pr_debug(" a2=0x%016x\n", (unsigned int)a2); in svc_normal_to_secure_thread()
566 ctrl->invoke_fn(a0, a1, a2, a3, a4, a5, a6, a7, &res); in svc_normal_to_secure_thread()
571 (unsigned int)res.a1, (unsigned int)res.a2); in svc_normal_to_secure_thread()
632 cbdata->kaddr2 = (res.a2) ? in svc_normal_to_secure_thread()
633 svc_pa_to_va(res.a2) : NULL; in svc_normal_to_secure_thread()
689 sh_mem->size = res.a2; in svc_normal_to_secure_shm_thread()
819 unsigned long a2, unsigned long a3, in svc_smccc_smc() argument
824 arm_smccc_smc(a0, a1, a2, a3, a4, a5, a6, a7, res); in svc_smccc_smc()
840 unsigned long a2, unsigned long a3, in svc_smccc_hvc() argument
845 arm_smccc_hvc(a0, a1, a2, a3, a4, a5, a6, a7, res); in svc_smccc_hvc()