Searched refs:emmc_reg (Results 1 – 2 of 2) sorted by relevance
288 u32 speed, emmc_reg, ret; in setup_phy() local335 emmc_reg = readl(®s->emmc); in setup_phy()336 emmc_reg &= ~XAE_EMMC_LINKSPEED_MASK; in setup_phy()337 emmc_reg |= speed; in setup_phy()340 writel(emmc_reg, ®s->emmc); in setup_phy()
1725 u32 emmc_reg, fcc_reg; in axienet_mac_link_up() 1727 emmc_reg = axienet_ior(lp, XAE_EMMC_OFFSET); in axienet_mac_link_up() 1728 emmc_reg &= ~XAE_EMMC_LINKSPEED_MASK; in axienet_mac_link_up() 1732 emmc_reg |= XAE_EMMC_LINKSPD_1000; in axienet_mac_link_up() 1735 emmc_reg |= XAE_EMMC_LINKSPD_100; in axienet_mac_link_up() 1738 emmc_reg |= XAE_EMMC_LINKSPD_10; in axienet_mac_link_up() 1746 axienet_iow(lp, XAE_EMMC_OFFSET, emmc_reg); in axienet_mac_link_up() 1719 u32 emmc_reg, fcc_reg; axienet_mac_link_up() local