Lines Matching refs:pss_ctl
1373 u32 pss_ctl; in bfa_ioc_lmem_init() local
1377 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1378 pss_ctl &= ~__PSS_LMEM_RESET; in bfa_ioc_lmem_init()
1379 pss_ctl |= __PSS_LMEM_INIT_EN; in bfa_ioc_lmem_init()
1384 pss_ctl |= __PSS_I2C_CLK_DIV(3UL); in bfa_ioc_lmem_init()
1385 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1392 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1394 } while (!(pss_ctl & __PSS_LMEM_INIT_DONE) && (i < PSS_LMEM_INIT_TIME)); in bfa_ioc_lmem_init()
1400 WARN_ON(!(pss_ctl & __PSS_LMEM_INIT_DONE)); in bfa_ioc_lmem_init()
1401 bfa_trc(ioc, pss_ctl); in bfa_ioc_lmem_init()
1403 pss_ctl &= ~(__PSS_LMEM_INIT_DONE | __PSS_LMEM_INIT_EN); in bfa_ioc_lmem_init()
1404 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1410 u32 pss_ctl; in bfa_ioc_lpu_start() local
1415 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_start()
1416 pss_ctl &= ~__PSS_LPU0_RESET; in bfa_ioc_lpu_start()
1418 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_start()
1424 u32 pss_ctl; in bfa_ioc_lpu_stop() local
1429 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_stop()
1430 pss_ctl |= (__PSS_LPU0_RESET | __PSS_LPU1_RESET); in bfa_ioc_lpu_stop()
1432 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lpu_stop()