Lines Matching refs:CFG_cache
402 u32 CFG_cache;
424 if (ns->CFG_cache & CFG_TBI_EN) {
468 ns->CFG_cache & ~(CFG_SB | CFG_MODE_1000 | CFG_SPDSTS);
482 ((new_cfg ^ ns->CFG_cache) & CFG_MODE_1000)) {
484 ns->CFG_cache = new_cfg;
487 ns->CFG_cache &= ~CFG_SPDSTS;
488 ns->CFG_cache |= cfg & CFG_SPDSTS;
862 ns->CFG_cache = readl(ns->base + CFG);
864 if ((ns->CFG_cache & CFG_PCI64_DET)) {
866 /*dev->CFG_cache |= CFG_DATA64_EN; */
867 if (!(ns->CFG_cache & CFG_DATA64_EN))
872 ns->CFG_cache &= ~(CFG_DATA64_EN);
874 ns->CFG_cache &= (CFG_TBI_EN | CFG_MRM_DIS | CFG_MWI_DIS |
877 ns->CFG_cache |=
880 ns->CFG_cache |= CFG_REQALG;
881 ns->CFG_cache |= CFG_POW;
882 ns->CFG_cache |= CFG_TMRTEST;
888 ns->CFG_cache |= CFG_M64ADDR;
893 ns->CFG_cache |= CFG_T64ADDR;
896 ns->CFG_cache &= ~CFG_BEM;
899 if (ns->CFG_cache & CFG_TBI_EN) {
914 ns->CFG_cache |= CFG_MODE_1000;
916 writel(ns->CFG_cache, ns->base + CFG);
917 dprintf(("CFG: %hX\n", ns->CFG_cache));
922 writel(ns->CFG_cache | CFG_PHY_RST, ns->base + CFG);
923 writel(ns->CFG_cache, ns->base + CFG);