Searched refs:ctl_offs (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/pmdomain/mediatek/ |
| H A D | mt6893-pm-domains.h | 83 .ctl_offs = 0x304, 110 .ctl_offs = 0x308, 120 .ctl_offs = 0x30c, 157 .ctl_offs = 0x310, 167 .ctl_offs = 0x314, 177 .ctl_offs = 0x318, 187 .ctl_offs = 0x31c, 197 .ctl_offs = 0x320, 207 .ctl_offs = 0x330, 228 .ctl_offs = 0x334, [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 | mtk-pm-domains.c | 144 regmap_set_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 147 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_enable() 152 ret = regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_enable() 159 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_enable() 161 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_enable() 174 regmap_set_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_CLKISO_BIT); in scpsys_sram_disable() 176 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, PWR_SRAM_ISOINT_B_BIT); in scpsys_sram_disable() 180 regmap_clear_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_disable() 183 regmap_set_bits(scpsys->base, pd->data->ctl_offs, pd->data->sram_pdn_bits); in scpsys_sram_disable() 188 return regmap_read_poll_timeout(scpsys->base, pd->data->ctl_offs, tmp, in scpsys_sram_disable() [all …]
|