Lines Matching refs:pss_ctl
1220 u32 pss_ctl; in bfa_ioc_lmem_init() local
1224 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1225 pss_ctl &= ~__PSS_LMEM_RESET; in bfa_ioc_lmem_init()
1226 pss_ctl |= __PSS_LMEM_INIT_EN; in bfa_ioc_lmem_init()
1231 pss_ctl |= __PSS_I2C_CLK_DIV(3UL); in bfa_ioc_lmem_init()
1232 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1239 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1241 } while (!(pss_ctl & __PSS_LMEM_INIT_DONE) && (i < PSS_LMEM_INIT_TIME)); in bfa_ioc_lmem_init()
1247 BUG_ON(!(pss_ctl & __PSS_LMEM_INIT_DONE)); in bfa_ioc_lmem_init()
1249 pss_ctl &= ~(__PSS_LMEM_INIT_DONE | __PSS_LMEM_INIT_EN); in bfa_ioc_lmem_init()
1250 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1256 u32 pss_ctl; in bfa_ioc_lpu_start() local
1261 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_start()
1262 pss_ctl &= ~__PSS_LPU0_RESET; in bfa_ioc_lpu_start()
1264 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_start()
1270 u32 pss_ctl; in bfa_ioc_lpu_stop() local
1275 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_stop()
1276 pss_ctl |= (__PSS_LPU0_RESET | __PSS_LPU1_RESET); in bfa_ioc_lpu_stop()
1278 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_stop()