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.c295 FW(fecp, mii_speed, fec_inf->mii_speed); in restart()
375 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.h67 u32 mii_speed; member
/drivers/net/ethernet/xilinx/
Dll_temac_main.c712 u32 mii_speed; in temac_adjust_link() local
721 mii_speed = temac_indirect_in32_locked(lp, XTE_EMCFG_OFFSET); in temac_adjust_link()
722 mii_speed &= ~XTE_EMCFG_LINKSPD_MASK; in temac_adjust_link()
725 case SPEED_1000: mii_speed |= XTE_EMCFG_LINKSPD_1000; break; in temac_adjust_link()
726 case SPEED_100: mii_speed |= XTE_EMCFG_LINKSPD_100; break; in temac_adjust_link()
727 case SPEED_10: mii_speed |= XTE_EMCFG_LINKSPD_10; break; in temac_adjust_link()
731 temac_indirect_out32_locked(lp, XTE_EMCFG_OFFSET, mii_speed); in temac_adjust_link()
/drivers/net/ethernet/freescale/
Dfec_mpc52xx_phy.c102 out_be32(&priv->regs->mii_speed, in mpc52xx_fec_mdio_probe()
Dfec_mpc52xx.h48 u32 mii_speed; /* FEC + 0x044 */ member
Dfec_main.c2150 u32 mii_speed, holdtime; in fec_enet_mii_init() local
2195 mii_speed = DIV_ROUND_UP(clk_get_rate(fep->clk_ipg), bus_freq * 2); in fec_enet_mii_init()
2197 mii_speed--; in fec_enet_mii_init()
2198 if (mii_speed > 63) { in fec_enet_mii_init()
2220 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.c259 static int mii_speed(struct mii_if_info *mii) in mii_speed() function
302 speed = mii_speed(&data->mii_if); in tsi108_check_phy()