Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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.c602 u32 ecntrl; in gfar_get_interface() local
604 ecntrl = gfar_read(&regs->ecntrl); in gfar_get_interface()
606 if (ecntrl & ECNTRL_SGMII_MODE) in gfar_get_interface()
609 if (ecntrl & ECNTRL_TBI_MODE) { in gfar_get_interface()
610 if (ecntrl & ECNTRL_REDUCED_MODE) in gfar_get_interface()
616 if (ecntrl & ECNTRL_REDUCED_MODE) { in gfar_get_interface()
617 if (ecntrl & ECNTRL_REDUCED_MII_MODE) { in gfar_get_interface()
1522 u32 ecntrl = gfar_read(&regs->ecntrl); in gfar_update_link_state() local
1540 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state()
1551 ecntrl |= ECNTRL_R100; in gfar_update_link_state()
[all …]
Dfec_mpc52xx.h44 u32 ecntrl; /* FEC + 0x024 */ member
Dgianfar.h644 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
Dgianfar_ethtool.c821 i = gfar_read(&regs->ecntrl); in gfar_check_filer_hardware()
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_dtsec.c189 u32 ecntrl; /* 0x014 E control register */ member
418 iowrite32be(tmp, &regs->ecntrl); in init()
1294 tmp = ioread32be(&regs->ecntrl); in dtsec_adjust_link()
1299 iowrite32be(tmp, &regs->ecntrl); in dtsec_adjust_link()