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.c82 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_RESET); in whack_reset()
84 if ((FR(fecp, ecntrl) & FEC_ECNTRL_RESET) == 0) in whack_reset()
336 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in restart()
350 if ((FR(fecp, ecntrl) & FEC_ECNTRL_ETHER_EN) == 0) in stop()
364 FC(fecp, ecntrl, FEC_ECNTRL_ETHER_EN); in stop()
373 FS(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in stop()
/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c598 out_be32(&fec->ecntrl, FEC_ECNTRL_RESET); in mpc52xx_fec_hw_init()
600 if ((in_be32(&fec->ecntrl) & FEC_ECNTRL_RESET) == 0) in mpc52xx_fec_hw_init()
686 out_be32(&fec->ecntrl, FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_start()
732 out_be32(&fec->ecntrl, in_be32(&fec->ecntrl) & ~FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_stop()
Dgianfar.c604 u32 ecntrl; in gfar_get_interface() local
606 ecntrl = gfar_read(&regs->ecntrl); in gfar_get_interface()
608 if (ecntrl & ECNTRL_SGMII_MODE) in gfar_get_interface()
611 if (ecntrl & ECNTRL_TBI_MODE) { in gfar_get_interface()
612 if (ecntrl & ECNTRL_REDUCED_MODE) in gfar_get_interface()
618 if (ecntrl & ECNTRL_REDUCED_MODE) { in gfar_get_interface()
619 if (ecntrl & ECNTRL_REDUCED_MII_MODE) { in gfar_get_interface()
1531 u32 ecntrl = gfar_read(&regs->ecntrl); in gfar_update_link_state() local
1549 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state()
1560 ecntrl |= ECNTRL_R100; in gfar_update_link_state()
[all …]
Dfec_mpc52xx.h44 u32 ecntrl; /* FEC + 0x024 */ member
Dgianfar.h643 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
Dgianfar_ethtool.c788 i = gfar_read(&regs->ecntrl); in gfar_check_filer_hardware()
/drivers/net/ethernet/freescale/fman/
Dfman_dtsec.c189 u32 ecntrl; /* 0x014 E control register */ member
431 iowrite32be(tmp, &regs->ecntrl); in init()
1289 tmp = ioread32be(&regs->ecntrl); in dtsec_adjust_link()
1294 iowrite32be(tmp, &regs->ecntrl); in dtsec_adjust_link()