Home
last modified time | relevance | path

Searched refs:mii_speed (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c315 FW(fecp, mii_speed, fec_inf->mii_speed); in restart()
395 FW(fecp, mii_speed, feci->mii_speed); in stop()
Dmii-fec.c160 fec->mii_speed = speed << 1; in fs_enet_mdio_probe()
166 clrsetbits_be32(&fec->fecp->fec_mii_speed, 0x7E, fec->mii_speed); in fs_enet_mdio_probe()
Dfs_enet.h66 u32 mii_speed; member
/drivers/net/ethernet/xilinx/
Dll_temac_main.c594 u32 mii_speed; in temac_adjust_link() local
602 mii_speed = temac_indirect_in32(lp, XTE_EMCFG_OFFSET); in temac_adjust_link()
603 mii_speed &= ~XTE_EMCFG_LINKSPD_MASK; in temac_adjust_link()
606 case SPEED_1000: mii_speed |= XTE_EMCFG_LINKSPD_1000; break; in temac_adjust_link()
607 case SPEED_100: mii_speed |= XTE_EMCFG_LINKSPD_100; break; in temac_adjust_link()
608 case SPEED_10: mii_speed |= XTE_EMCFG_LINKSPD_10; break; in temac_adjust_link()
612 temac_indirect_out32(lp, XTE_EMCFG_OFFSET, mii_speed); in temac_adjust_link()
/drivers/net/ethernet/freescale/
Dfec_mpc52xx_phy.c106 out_be32(&priv->regs->mii_speed, in mpc52xx_fec_mdio_probe()
Dfec_mpc52xx.h48 u32 mii_speed; /* FEC + 0x044 */ member
Dfec_main.c1995 u32 mii_speed, holdtime; in fec_enet_mii_init() local
2033 mii_speed = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), 5000000); in fec_enet_mii_init()
2035 mii_speed--; in fec_enet_mii_init()
2036 if (mii_speed > 63) { in fec_enet_mii_init()
2058 fep->phy_speed = mii_speed << 1 | holdtime << 8; in fec_enet_mii_init()
Dfec_mpc52xx.c631 out_be32(&fec->mii_speed, priv->mdio_speed); in mpc52xx_fec_hw_init()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c267 static int mii_speed(struct mii_if_info *mii) in mii_speed() function
310 speed = mii_speed(&data->mii_if); in tsi108_check_phy()