Home
last modified time | relevance | path

Searched refs:smccc_ret (Results 1 – 22 of 22) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/drivers/spm/
H A Dmt_spm_vcorefs_smc.c23 struct smccc_res *smccc_ret) in mtk_vcorefs_handler() argument
32 smccc_ret->a1 = val; in mtk_vcorefs_handler()
39 smccc_ret->a1 = val; in mtk_vcorefs_handler()
43 smccc_ret->a1 = val; in mtk_vcorefs_handler()
47 smccc_ret->a1 = val; in mtk_vcorefs_handler()
51 smccc_ret->a1 = val; in mtk_vcorefs_handler()
55 smccc_ret->a1 = val; in mtk_vcorefs_handler()
59 smccc_ret->a1 = val; in mtk_vcorefs_handler()
63 smccc_ret->a1 = val; in mtk_vcorefs_handler()
95 struct smccc_res *smccc_ret) in mtk_vcorefs_bl_handler() argument
[all …]
H A Dmt_spm_dispatcher.c49 void *handle, struct smccc_res *smccc_ret) in mt_spm_dispatcher() argument
/rk3399_ARM-atf/plat/mediatek/drivers/ufs/
H A Dufs_ctrl.c33 static void ufs_get_vcc_info(struct smccc_res *smccc_ret) in ufs_get_vcc_info() argument
35 if (smccc_ret == NULL) in ufs_get_vcc_info()
39 smccc_ret->a1 = VCC_2; in ufs_get_vcc_info()
41 smccc_ret->a1 = VCC_1; in ufs_get_vcc_info()
106 struct smccc_res *smccc_ret) in ufs_knl_ctrl() argument
127 ufs_get_vcc_info(smccc_ret); in ufs_knl_ctrl()
154 struct smccc_res *smccc_ret) in ufs_bl_ctrl() argument
/rk3399_ARM-atf/plat/mediatek/drivers/emi/
H A Demi_ctrl.c47 unsigned int aid_shift, struct smccc_res *smccc_ret) in emi_mpu_read_by_type() argument
59 return emi_mpu_check_region_info(region, &smccc_ret->a1, &smccc_ret->a2); in emi_mpu_read_by_type()
76 struct smccc_res *smccc_ret) in sip_emidbg_control() argument
88 (unsigned int)x4, smccc_ret); in sip_emidbg_control()
128 struct smccc_res *smccc_ret) in sip_emimpu_control() argument
141 (unsigned int)x4, smccc_ret); in sip_emimpu_control()
162 struct smccc_res *smccc_ret) in sip_tee_emimpu_control() argument
/rk3399_ARM-atf/plat/mediatek/drivers/apusys/
H A Dapusys.c24 struct smccc_res *smccc_ret) in apusys_kernel_handler() argument
76 ret = apusys_kernel_apusys_logtop_reg_dump((uint32_t)x2, smccc_ret); in apusys_kernel_handler()
80 smccc_ret); in apusys_kernel_handler()
83 ret = apusys_kernel_apusys_logtop_reg_w1c((uint32_t)x2, smccc_ret); in apusys_kernel_handler()
/rk3399_ARM-atf/plat/mediatek/common/lpm/
H A Dmt_lpm_dispatch.c24 struct smccc_res *smccc_ret) in invoke_mt_lpm_dispatch() argument
40 smccc_ret); in invoke_mt_lpm_dispatch()
52 struct smccc_res *smccc_ret) in invoke_mt_secure_lpm_dispatch() argument
67 smccc_ret); in invoke_mt_secure_lpm_dispatch()
/rk3399_ARM-atf/plat/mediatek/common/lpm_v2/
H A Dmt_lpm_dispatch.c28 void *handle, struct smccc_res *smccc_ret) in invoke_mt_lpm_dispatch() argument
41 handle, smccc_ret); in invoke_mt_lpm_dispatch()
51 struct smccc_res *smccc_ret) in invoke_mt_secure_lpm_dispatch() argument
62 x3, x4, handle, smccc_ret); in invoke_mt_secure_lpm_dispatch()
/rk3399_ARM-atf/plat/mediatek/drivers/apusys/apusys_rv/2.0/
H A Dapusys_rv.c298 int apusys_kernel_apusys_logtop_reg_dump(uint32_t op, struct smccc_res *smccc_ret) in apusys_kernel_apusys_logtop_reg_dump() argument
344 smccc_ret->a1 = mmio_read_32(reg_addr[i]); in apusys_kernel_apusys_logtop_reg_dump()
347 smccc_ret->a2 = mmio_read_32(reg_addr[i]); in apusys_kernel_apusys_logtop_reg_dump()
350 smccc_ret->a3 = mmio_read_32(reg_addr[i]); in apusys_kernel_apusys_logtop_reg_dump()
363 bool w1c, struct smccc_res *smccc_ret) in apusys_kernel_apusys_logtop_reg_rw() argument
387 smccc_ret->a1 = reg_val; in apusys_kernel_apusys_logtop_reg_rw()
400 struct smccc_res *smccc_ret) in apusys_kernel_apusys_logtop_reg_write() argument
402 return apusys_kernel_apusys_logtop_reg_rw(op, write_val, false, smccc_ret); in apusys_kernel_apusys_logtop_reg_write()
405 int apusys_kernel_apusys_logtop_reg_w1c(uint32_t op, struct smccc_res *smccc_ret) in apusys_kernel_apusys_logtop_reg_w1c() argument
407 return apusys_kernel_apusys_logtop_reg_rw(op, 0, true, smccc_ret); in apusys_kernel_apusys_logtop_reg_w1c()
H A Dapusys_rv.h132 int apusys_kernel_apusys_logtop_reg_dump(uint32_t op, struct smccc_res *smccc_ret);
134 struct smccc_res *smccc_ret);
135 int apusys_kernel_apusys_logtop_reg_w1c(uint32_t op, struct smccc_res *smccc_ret);
/rk3399_ARM-atf/plat/mediatek/drivers/disp/
H A Dmtk_disp_smc.c30 void *handle, struct smccc_res *smccc_ret) in mtk_disp_handler() argument
37 (void)smccc_ret; in mtk_disp_handler()
/rk3399_ARM-atf/plat/mediatek/drivers/iommu/
H A Dmtk_iommu_smc.c167 void *handle, struct smccc_res *smccc_ret) in mtk_iommu_handler() argument
190 (uint32_t *)&smccc_ret->a1, in mtk_iommu_handler()
191 (uint32_t *)&smccc_ret->a2, in mtk_iommu_handler()
192 (uint32_t *)&smccc_ret->a3); in mtk_iommu_handler()
H A Dmtk_iommu_smc.h14 void *handle, struct smccc_res *smccc_ret);
/rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/cpcv5_4/
H A Dmt_cpu_pm_smc.c36 struct smccc_res *smccc_ret) in cpupm_dispatcher() argument
56 struct smccc_res *smccc_ret) in cpupm_lp_dispatcher() argument
161 struct smccc_res *smccc_ret) in secure_cpupm_dispatcher() argument
/rk3399_ARM-atf/plat/mediatek/include/lpm_v2/
H A Dmt_lpm_dispatch.h20 struct smccc_res *smccc_ret);
/rk3399_ARM-atf/plat/mediatek/include/lpm/
H A Dmt_lpm_dispatch.h20 struct smccc_res *smccc_ret);
/rk3399_ARM-atf/plat/mediatek/drivers/audio/
H A Daudio.c20 void *handle, struct smccc_res *smccc_ret) in audio_smc_handler() argument
/rk3399_ARM-atf/plat/mediatek/drivers/dfd/
H A Ddfd.c15 void *handle, struct smccc_res *smccc_ret) in dfd_smc_dispatcher() argument
/rk3399_ARM-atf/plat/mediatek/drivers/slbc/mt8196/
H A Dslbc.c23 struct smccc_res *smccc_ret) in slbc_kernel_handler() argument
/rk3399_ARM-atf/plat/mediatek/drivers/dp/
H A Dmt_dp.c73 void *handle, struct smccc_res *smccc_ret) in mtk_dp_sip_handler() argument
/rk3399_ARM-atf/plat/mediatek/drivers/vcp/rv/
H A Dvcp_common.c176 struct smccc_res *smccc_ret) in tinysys_vcp_kernel_control() argument
/rk3399_ARM-atf/plat/mediatek/drivers/emi_mpu/
H A Demi_mpu_common.c163 void *handle, struct smccc_res *smccc_ret) in mtk_emi_mpu_sip_handler() argument
/rk3399_ARM-atf/plat/mediatek/drivers/smmu/
H A Dsmmu.c237 void *handle, struct smccc_res *smccc_ret) in mtk_smmu_handler() argument