Home
last modified time | relevance | path

Searched refs:ecntrl (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fec.c77 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_RESET); in whack_reset()
79 if ((FR(fecp, ecntrl) & FEC_ECNTRL_RESET) == 0) in whack_reset()
332 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in restart()
342 if ((FR(fecp, ecntrl) & FEC_ECNTRL_ETHER_EN) == 0) in stop()
356 FC(fecp, ecntrl, FEC_ECNTRL_ETHER_EN); in stop()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar.c593 u32 ecntrl; in gfar_get_interface() local
595 ecntrl = gfar_read(&regs->ecntrl); in gfar_get_interface()
597 if (ecntrl & ECNTRL_SGMII_MODE) in gfar_get_interface()
600 if (ecntrl & ECNTRL_TBI_MODE) { in gfar_get_interface()
601 if (ecntrl & ECNTRL_REDUCED_MODE) in gfar_get_interface()
607 if (ecntrl & ECNTRL_REDUCED_MODE) { in gfar_get_interface()
608 if (ecntrl & ECNTRL_REDUCED_MII_MODE) { in gfar_get_interface()
1500 u32 ecntrl = gfar_read(&regs->ecntrl); in gfar_update_link_state() local
1518 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state()
1529 ecntrl |= ECNTRL_R100; in gfar_update_link_state()
[all …]
H A Dfec_mpc52xx.h44 u32 ecntrl; /* FEC + 0x024 */ member
H A Dgianfar.h703 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
H A Dgianfar_ethtool.c800 i = gfar_read(&regs->ecntrl); in gfar_check_filer_hardware()