Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c87 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_RESET); in whack_reset()
89 if ((FR(fecp, ecntrl) & FEC_ECNTRL_RESET) == 0) in whack_reset()
352 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in restart()
366 if ((FR(fecp, ecntrl) & FEC_ECNTRL_ETHER_EN) == 0) in stop()
380 FC(fecp, ecntrl, FEC_ECNTRL_ETHER_EN); in stop()
389 FS(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in stop()
/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c597 out_be32(&fec->ecntrl, FEC_ECNTRL_RESET); in mpc52xx_fec_hw_init()
599 if ((in_be32(&fec->ecntrl) & FEC_ECNTRL_RESET) == 0) in mpc52xx_fec_hw_init()
685 out_be32(&fec->ecntrl, FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_start()
731 out_be32(&fec->ecntrl, in_be32(&fec->ecntrl) & ~FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_stop()
Dgianfar.c1239 gfar_write(&regs->ecntrl, ECNTRL_INIT_SETTINGS); in gfar_hw_init()
1743 u32 ecntrl; in gfar_get_interface() local
1745 ecntrl = gfar_read(&regs->ecntrl); in gfar_get_interface()
1747 if (ecntrl & ECNTRL_SGMII_MODE) in gfar_get_interface()
1750 if (ecntrl & ECNTRL_TBI_MODE) { in gfar_get_interface()
1751 if (ecntrl & ECNTRL_REDUCED_MODE) in gfar_get_interface()
1757 if (ecntrl & ECNTRL_REDUCED_MODE) { in gfar_get_interface()
1758 if (ecntrl & ECNTRL_REDUCED_MII_MODE) { in gfar_get_interface()
3699 u32 ecntrl = gfar_read(&regs->ecntrl); in gfar_update_link_state() local
3717 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state()
[all …]
Dfec_mpc52xx.h44 u32 ecntrl; /* FEC + 0x024 */ member
Dgianfar.h679 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
Dgianfar_ethtool.c858 i = gfar_read(&regs->ecntrl); in gfar_check_filer_hardware()
/drivers/net/ethernet/freescale/fman/
Dfman_dtsec.c187 u32 ecntrl; /* 0x014 E control register */ member
410 iowrite32be(tmp, &regs->ecntrl); in init()
1176 tmp = ioread32be(&regs->ecntrl); in dtsec_adjust_link()
1181 iowrite32be(tmp, &regs->ecntrl); in dtsec_adjust_link()