Lines Matching refs:mif_cfg
1929 u32 mif_cfg; in gem_check_invariants() local
1941 mif_cfg = readl(gp->regs + MIF_CFG); in gem_check_invariants()
1942 mif_cfg &= ~(MIF_CFG_PSELECT|MIF_CFG_POLL|MIF_CFG_BBMODE|MIF_CFG_MDI1); in gem_check_invariants()
1943 mif_cfg |= MIF_CFG_MDI0; in gem_check_invariants()
1944 writel(mif_cfg, gp->regs + MIF_CFG); in gem_check_invariants()
1960 mif_cfg = readl(gp->regs + MIF_CFG); in gem_check_invariants()
1967 if ((mif_cfg & (MIF_CFG_MDI0 | MIF_CFG_MDI1)) == 0) { in gem_check_invariants()
1969 mif_cfg); in gem_check_invariants()
1978 if (mif_cfg & MIF_CFG_MDI1) { in gem_check_invariants()
1980 mif_cfg |= MIF_CFG_PSELECT; in gem_check_invariants()
1981 writel(mif_cfg, gp->regs + MIF_CFG); in gem_check_invariants()
1982 } else if (mif_cfg & MIF_CFG_MDI0) { in gem_check_invariants()
1984 mif_cfg &= ~MIF_CFG_PSELECT; in gem_check_invariants()
1985 writel(mif_cfg, gp->regs + MIF_CFG); in gem_check_invariants()