Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A 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()
1247 BUG_ON(!(pss_ctl & __PSS_LMEM_INIT_DONE)); 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
1262 pss_ctl &= ~__PSS_LPU0_RESET; in bfa_ioc_lpu_start()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A 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()
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()
1411 u32 pss_ctl; in bfa_ioc_lpu_start() local
1417 pss_ctl &= ~__PSS_LPU0_RESET; in bfa_ioc_lpu_start()
[all …]