Lines Matching refs:CFG_cache
426 u32 CFG_cache; member
608 if (dev->CFG_cache & CFG_TBI_EN) { in phy_intr()
653 new_cfg = dev->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
679 ((new_cfg ^ dev->CFG_cache) != 0)) { in phy_intr()
681 dev->CFG_cache = new_cfg; in phy_intr()
684 dev->CFG_cache &= ~CFG_SPDSTS; in phy_intr()
685 dev->CFG_cache |= cfg & CFG_SPDSTS; in phy_intr()
1060 if (unlikely(dev->CFG_cache & CFG_LNKSTS)) {
1062 if (unlikely(dev->CFG_cache & CFG_LNKSTS))
1235 if (dev->CFG_cache & CFG_TBI_EN) {
1284 if (dev->CFG_cache & CFG_TBI_EN) {
2003 dev->CFG_cache = readl(dev->base + CFG);
2005 if ((dev->CFG_cache & CFG_PCI64_DET)) {
2009 if (!(dev->CFG_cache & CFG_DATA64_EN))
2013 dev->CFG_cache &= ~(CFG_DATA64_EN);
2015 dev->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS |
2018 dev->CFG_cache |= CFG_PINT_DUPSTS | CFG_PINT_LNKSTS | CFG_PINT_SPDSTS |
2020 dev->CFG_cache |= CFG_REQALG;
2021 dev->CFG_cache |= CFG_POW;
2022 dev->CFG_cache |= CFG_TMRTEST;
2028 dev->CFG_cache |= CFG_M64ADDR;
2030 dev->CFG_cache |= CFG_T64ADDR;
2033 dev->CFG_cache &= ~CFG_BEM;
2036 if (dev->CFG_cache & CFG_TBI_EN) {
2052 dev->CFG_cache |= CFG_MODE_1000;
2055 writel(dev->CFG_cache, dev->base + CFG);
2056 dprintk("CFG: %08x\n", dev->CFG_cache);
2060 writel(dev->CFG_cache | CFG_PHY_RST, dev->base + CFG);
2062 writel(dev->CFG_cache, dev->base + CFG);