Lines Matching refs:CFG_cache
426 u32 CFG_cache; member
608 if (dev->CFG_cache & CFG_TBI_EN) { in phy_intr()
651 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
677 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr()
679 dev->CFG_cache = new_cfg; in phy_intr()
682 dev->CFG_cache &= ~CFG_SPDSTS; in phy_intr()
683 dev->CFG_cache |= cfg & CFG_SPDSTS; in phy_intr()
1062 if (unlikely(dev->CFG_cache & CFG_LNKSTS)) {
1064 if (unlikely(dev->CFG_cache & CFG_LNKSTS))
1236 if (dev->CFG_cache & CFG_TBI_EN) {
1285 if (dev->CFG_cache & CFG_TBI_EN) {
1999 dev->CFG_cache = readl(dev->base + CFG);
2001 if ((dev->CFG_cache & CFG_PCI64_DET)) {
2005 if (!(dev->CFG_cache & CFG_DATA64_EN))
2009 dev->CFG_cache &= ~(CFG_DATA64_EN);
2011 dev->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS |
2014 dev->CFG_cache |= CFG_PINT_DUPSTS | CFG_PINT_LNKSTS | CFG_PINT_SPDSTS |
2016 dev->CFG_cache |= CFG_REQALG;
2017 dev->CFG_cache |= CFG_POW;
2018 dev->CFG_cache |= CFG_TMRTEST;
2024 dev->CFG_cache |= CFG_M64ADDR;
2026 dev->CFG_cache |= CFG_T64ADDR;
2029 dev->CFG_cache &= ~CFG_BEM;
2032 if (dev->CFG_cache & CFG_TBI_EN) {
2048 dev->CFG_cache |= CFG_MODE_1000;
2051 writel(dev->CFG_cache, dev->base + CFG);
2052 dprintk("CFG: %08x\n", dev->CFG_cache);
2056 writel(dev->CFG_cache | CFG_PHY_RST, dev->base + CFG);
2058 writel(dev->CFG_cache, dev->base + CFG);