Searched refs:pss_ctl (Results 1 – 2 of 2) sorted by relevance
1220 u32 pss_ctl; in bfa_ioc_lmem_init() local1224 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()[all …]
1375 u32 pss_ctl; in bfa_ioc_lmem_init() local1379 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()1380 pss_ctl &= ~__PSS_LMEM_RESET; in bfa_ioc_lmem_init()1381 pss_ctl |= __PSS_LMEM_INIT_EN; in bfa_ioc_lmem_init()1386 pss_ctl |= __PSS_I2C_CLK_DIV(3UL); in bfa_ioc_lmem_init()1387 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()1394 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()1396 } while (!(pss_ctl & __PSS_LMEM_INIT_DONE) && (i < PSS_LMEM_INIT_TIME)); in bfa_ioc_lmem_init()1402 WARN_ON(!(pss_ctl & __PSS_LMEM_INIT_DONE)); in bfa_ioc_lmem_init()1403 bfa_trc(ioc, pss_ctl); in bfa_ioc_lmem_init()[all …]