Home
last modified time | relevance | path

Searched refs:mtk_pwrap (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-a/plat/mediatek/common/drivers/pmic_wrap/
A Dpmic_wrap_init_v2.c35 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_vldclr, 0x1); in pwrap_check_idle()
89 if ((mmio_read_32((uintptr_t)&mtk_pwrap->init_done) & 0x1) == 0) { in pwrap_wacs2()
96 return_value = pwrap_check_idle(&mtk_pwrap->wacs2_sta, in pwrap_wacs2()
105 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_wdata, wdata); in pwrap_wacs2()
109 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_cmd, (write << 29) | adr); in pwrap_wacs2()
116 return_value = pwrap_check_vldclr(&mtk_pwrap->wacs2_sta, in pwrap_wacs2()
126 reg_rdata = mmio_read_32((uintptr_t)&mtk_pwrap->wacs2_rdata); in pwrap_wacs2()
128 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_vldclr, 0x1); in pwrap_wacs2()
A Dpmic_wrap_init.c110 reg_rdata = mmio_read_32((uintptr_t)&mtk_pwrap->wacs2_rdata); in pwrap_wacs2()
121 &mtk_pwrap->wacs2_rdata, in pwrap_wacs2()
122 &mtk_pwrap->wacs2_vldclr, in pwrap_wacs2()
132 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_cmd, wacs_cmd); in pwrap_wacs2()
140 &mtk_pwrap->wacs2_rdata, in pwrap_wacs2()
149 mmio_write_32((uintptr_t)&mtk_pwrap->wacs2_vldclr, 1); in pwrap_wacs2()
/trusted-firmware-a/plat/mediatek/mt8195/drivers/pmic/
A Dpmic_wrap_init.h18 static struct mt8195_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE; variable
/trusted-firmware-a/plat/mediatek/mt8183/drivers/pmic/
A Dpmic_wrap_init.h17 static struct mt8183_pmic_wrap_regs *const mtk_pwrap = variable
/trusted-firmware-a/plat/mediatek/mt8192/drivers/pmic/
A Dpmic_wrap_init.h18 static struct mt8192_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE; variable
/trusted-firmware-a/plat/mediatek/mt8173/drivers/pmic/
A Dpmic_wrap_init.h16 static struct mt8173_pmic_wrap_regs *const mtk_pwrap = variable

Completed in 6 milliseconds