Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/tehuti/
Dtehuti.c458 val = readl(regs + regCLKPLL); in bdx_hw_reset_direct()
459 writel((val | CLKPLL_SFTRST) + 0x8, regs + regCLKPLL); in bdx_hw_reset_direct()
461 val = readl(regs + regCLKPLL); in bdx_hw_reset_direct()
462 writel(val & ~CLKPLL_SFTRST, regs + regCLKPLL); in bdx_hw_reset_direct()
466 if ((readl(regs + regCLKPLL) & CLKPLL_LKD) == CLKPLL_LKD) { in bdx_hw_reset_direct()
482 val = READ_REG(priv, regCLKPLL); in bdx_hw_reset()
483 WRITE_REG(priv, regCLKPLL, (val | CLKPLL_SFTRST) + 0x8); in bdx_hw_reset()
485 val = READ_REG(priv, regCLKPLL); in bdx_hw_reset()
486 WRITE_REG(priv, regCLKPLL, val & ~CLKPLL_SFTRST); in bdx_hw_reset()
490 if ((READ_REG(priv, regCLKPLL) & CLKPLL_LKD) == CLKPLL_LKD) { in bdx_hw_reset()
Dtehuti.h404 #define regCLKPLL 0x5000 macro