Home
last modified time | relevance | path

Searched refs:pss_ctl (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1220 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()
[all …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_ioc.c1374 u32 pss_ctl; in bfa_ioc_lmem_init() local
1378 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1379 pss_ctl &= ~__PSS_LMEM_RESET; in bfa_ioc_lmem_init()
1380 pss_ctl |= __PSS_LMEM_INIT_EN; in bfa_ioc_lmem_init()
1385 pss_ctl |= __PSS_I2C_CLK_DIV(3UL); in bfa_ioc_lmem_init()
1386 writel(pss_ctl, ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1393 pss_ctl = readl(ioc->ioc_regs.pss_ctl_reg); in bfa_ioc_lmem_init()
1395 } while (!(pss_ctl & __PSS_LMEM_INIT_DONE) && (i < PSS_LMEM_INIT_TIME)); in bfa_ioc_lmem_init()
1401 WARN_ON(!(pss_ctl & __PSS_LMEM_INIT_DONE)); in bfa_ioc_lmem_init()
1402 bfa_trc(ioc, pss_ctl); in bfa_ioc_lmem_init()
[all …]