Lines Matching refs:CFG_cache
440 u32 CFG_cache; member
622 if (dev->CFG_cache & CFG_TBI_EN) { in phy_intr()
665 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
691 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr()
693 dev->CFG_cache = new_cfg; in phy_intr()
696 dev->CFG_cache &= ~CFG_SPDSTS; in phy_intr()
697 dev->CFG_cache |= cfg & CFG_SPDSTS; in phy_intr()
1076 if (unlikely(dev->CFG_cache & CFG_LNKSTS)) {
1078 if (unlikely(dev->CFG_cache & CFG_LNKSTS))
1249 if (dev->CFG_cache & CFG_TBI_EN) {
1295 if (dev->CFG_cache & CFG_TBI_EN) {
2048 dev->CFG_cache = readl(dev->base + CFG);
2050 if ((dev->CFG_cache & CFG_PCI64_DET)) {
2054 if (!(dev->CFG_cache & CFG_DATA64_EN))
2058 dev->CFG_cache &= ~(CFG_DATA64_EN);
2060 dev->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS |
2063 dev->CFG_cache |= CFG_PINT_DUPSTS | CFG_PINT_LNKSTS | CFG_PINT_SPDSTS |
2065 dev->CFG_cache |= CFG_REQALG;
2066 dev->CFG_cache |= CFG_POW;
2067 dev->CFG_cache |= CFG_TMRTEST;
2073 dev->CFG_cache |= CFG_M64ADDR;
2075 dev->CFG_cache |= CFG_T64ADDR;
2078 dev->CFG_cache &= ~CFG_BEM;
2081 if (dev->CFG_cache & CFG_TBI_EN) {
2097 dev->CFG_cache |= CFG_MODE_1000;
2100 writel(dev->CFG_cache, dev->base + CFG);
2101 dprintk("CFG: %08x\n", dev->CFG_cache);
2105 writel(dev->CFG_cache | CFG_PHY_RST, dev->base + CFG);
2107 writel(dev->CFG_cache, dev->base + CFG);