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))
1250 if (dev->CFG_cache & CFG_TBI_EN) {
1299 if (dev->CFG_cache & CFG_TBI_EN) {
2041 dev->CFG_cache = readl(dev->base + CFG);
2043 if ((dev->CFG_cache & CFG_PCI64_DET)) {
2047 if (!(dev->CFG_cache & CFG_DATA64_EN))
2051 dev->CFG_cache &= ~(CFG_DATA64_EN);
2053 dev->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS |
2056 dev->CFG_cache |= CFG_PINT_DUPSTS | CFG_PINT_LNKSTS | CFG_PINT_SPDSTS |
2058 dev->CFG_cache |= CFG_REQALG;
2059 dev->CFG_cache |= CFG_POW;
2060 dev->CFG_cache |= CFG_TMRTEST;
2066 dev->CFG_cache |= CFG_M64ADDR;
2068 dev->CFG_cache |= CFG_T64ADDR;
2071 dev->CFG_cache &= ~CFG_BEM;
2074 if (dev->CFG_cache & CFG_TBI_EN) {
2090 dev->CFG_cache |= CFG_MODE_1000;
2093 writel(dev->CFG_cache, dev->base + CFG);
2094 dprintk("CFG: %08x\n", dev->CFG_cache);
2098 writel(dev->CFG_cache | CFG_PHY_RST, dev->base + CFG);
2100 writel(dev->CFG_cache, dev->base + CFG);