Lines Matching refs:CFG_cache
378 u32 CFG_cache; member
413 if (ns->CFG_cache & CFG_TBI_EN) { in phy_intr()
457 ns->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS); in phy_intr()
471 ((new_cfg ^ ns->CFG_cache) & CFG_MODE_1000)) { in phy_intr()
473 ns->CFG_cache = new_cfg; in phy_intr()
476 ns->CFG_cache &= ~CFG_SPDSTS; in phy_intr()
477 ns->CFG_cache |= cfg & CFG_SPDSTS; in phy_intr()
862 ns->CFG_cache = readl(ns->base + CFG); in ns83820_probe()
864 if ((ns->CFG_cache & CFG_PCI64_DET)) { in ns83820_probe()
867 if (!(ns->CFG_cache & CFG_DATA64_EN)) in ns83820_probe()
872 ns->CFG_cache &= ~(CFG_DATA64_EN); in ns83820_probe()
874 ns->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS | in ns83820_probe()
877 ns->CFG_cache |= in ns83820_probe()
880 ns->CFG_cache |= CFG_REQALG; in ns83820_probe()
881 ns->CFG_cache |= CFG_POW; in ns83820_probe()
882 ns->CFG_cache |= CFG_TMRTEST; in ns83820_probe()
888 ns->CFG_cache |= CFG_M64ADDR; in ns83820_probe()
893 ns->CFG_cache |= CFG_T64ADDR; in ns83820_probe()
896 ns->CFG_cache &= ~CFG_BEM; in ns83820_probe()
899 if (ns->CFG_cache & CFG_TBI_EN) { in ns83820_probe()
914 ns->CFG_cache |= CFG_MODE_1000; in ns83820_probe()
916 writel(ns->CFG_cache, ns->base + CFG); in ns83820_probe()
917 dprintf(("CFG: %hX\n", ns->CFG_cache)); in ns83820_probe()
922 writel(ns->CFG_cache | CFG_PHY_RST, ns->base + CFG); in ns83820_probe()
923 writel(ns->CFG_cache, ns->base + CFG); in ns83820_probe()