/linux/drivers/pmdomain/mediatek/ |
H A D | mt8195-pm-domains.h | 21 .ctl_offs = 0x328, 42 .ctl_offs = 0x32C, 63 .ctl_offs = 0x330, 71 .ctl_offs = 0x334, 79 .ctl_offs = 0x3C4, 87 .ctl_offs = 0x344, 97 .ctl_offs = 0x360, 114 .ctl_offs = 0x358, 130 .ctl_offs = 0x300, 140 .ctl_offs = 0x304, [all …]
|
H A D | mt8192-pm-domains.h | 17 .ctl_offs = 0x0354, 33 .ctl_offs = 0x0304, 60 .ctl_offs = 0x0308, 70 .ctl_offs = 0x030c, 102 .ctl_offs = 0x0310, 111 .ctl_offs = 0x0314, 120 .ctl_offs = 0x0318, 129 .ctl_offs = 0x031c, 138 .ctl_offs = 0x0320, 147 .ctl_offs = 0x0350, [all …]
|
H A D | mt8186-pm-domains.h | 21 .ctl_offs = 0x308, 31 .ctl_offs = 0x30c, 63 .ctl_offs = 0x310, 73 .ctl_offs = 0x314, 83 .ctl_offs = 0x9F0, 93 .ctl_offs = 0x9F4, 103 .ctl_offs = 0x354, 124 .ctl_offs = 0x334, 146 .ctl_offs = 0x338, 156 .ctl_offs = 0x33C, [all …]
|
H A D | mt8188-pm-domains.h | 21 .ctl_offs = 0x300, 31 .ctl_offs = 0x304, 73 .ctl_offs = 0x308, 83 .ctl_offs = 0x30C, 93 .ctl_offs = 0x310, 103 .ctl_offs = 0x324, 125 .ctl_offs = 0x328, 133 .ctl_offs = 0x3C4, 141 .ctl_offs = 0x338, 158 .ctl_offs = 0x37C, [all …]
|
H A D | mt8183-pm-domains.h | 17 .ctl_offs = 0x0314, 26 .ctl_offs = 0x032c, 42 .ctl_offs = 0x0334, 52 .ctl_offs = 0x0338, 62 .ctl_offs = 0x034c, 71 .ctl_offs = 0x0310, 80 .ctl_offs = 0x0348, 101 .ctl_offs = 0x030c, 127 .ctl_offs = 0x0344, 158 .ctl_offs = 0x0308, [all …]
|
H A D | mtk-scpsys.c | 125 int ctl_offs; member 307 void __iomem *ctl_addr = scp->base + scpd->data->ctl_offs; in scpsys_power_on() 365 void __iomem *ctl_addr = scp->base + scpd->data->ctl_offs; in scpsys_power_off() 559 .ctl_offs = SPM_CONN_PWR_CON, 568 .ctl_offs = SPM_DIS_PWR_CON, 577 .ctl_offs = SPM_MFG_PWR_CON, 586 .ctl_offs = SPM_VDE_PWR_CON, 595 .ctl_offs = SPM_ISP_PWR_CON, 604 .ctl_offs = SPM_BDP_PWR_CON, 612 .ctl_offs = SPM_ETH_PWR_CON, [all …]
|
H A D | mt8173-pm-domains.h | 17 .ctl_offs = SPM_VDE_PWR_CON, 26 .ctl_offs = SPM_VEN_PWR_CON, 35 .ctl_offs = SPM_ISP_PWR_CON, 44 .ctl_offs = SPM_DIS_PWR_CON, 57 .ctl_offs = SPM_VEN2_PWR_CON, 66 .ctl_offs = SPM_AUDIO_PWR_CON, 75 .ctl_offs = SPM_USB_PWR_CON, 85 .ctl_offs = SPM_MFG_ASYNC_PWR_CON, 95 .ctl_offs = SPM_MFG_2D_PWR_CON, 104 .ctl_offs = SPM_MFG_PWR_CON,
|
H A D | mt6795-pm-domains.h | 17 .ctl_offs = SPM_VDE_PWR_CON, 26 .ctl_offs = SPM_VEN_PWR_CON, 35 .ctl_offs = SPM_ISP_PWR_CON, 44 .ctl_offs = SPM_DIS_PWR_CON, 57 .ctl_offs = 0x298, 66 .ctl_offs = SPM_AUDIO_PWR_CON, 75 .ctl_offs = SPM_MFG_ASYNC_PWR_CON, 84 .ctl_offs = SPM_MFG_2D_PWR_CON, 93 .ctl_offs = SPM_MFG_PWR_CON,
|
H A D | mt8365-pm-domains.h | 42 .ctl_offs = 0x30c, 74 .ctl_offs = 0x0304, 86 .ctl_offs = 0x0314, 101 .ctl_offs = 0x032c, 121 .ctl_offs = 0x0338, 136 .ctl_offs = 0x0344, 150 .ctl_offs = 0x0370, 162 .ctl_offs = 0x0378, 177 .ctl_offs = 0x037C,
|
H A D | mt8167-pm-domains.h | 20 .ctl_offs = SPM_DIS_PWR_CON, 34 .ctl_offs = SPM_VDE_PWR_CON, 44 .ctl_offs = SPM_ISP_PWR_CON, 54 .ctl_offs = SPM_MFG_ASYNC_PWR_CON, 67 .ctl_offs = SPM_MFG_2D_PWR_CON, 76 .ctl_offs = SPM_MFG_PWR_CON, 85 .ctl_offs = SPM_CONN_PWR_CON,
|
H A D | mtk-pm-domains.c | 86 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 89 ret = regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_enable() 95 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_enable() 97 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable() 110 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_disable() 112 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable() 115 regmap_set_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_disable() 118 return regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_disable() 253 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_BIT); in scpsys_power_on() 254 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_ON_2ND_BIT); in scpsys_power_on() [all …]
|
H A D | mtk-pm-domains.h | 106 int ctl_offs; member
|