Searched refs:ecntrl (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 82 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/ |
D | fec_mpc52xx.c | 598 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()
|
D | gianfar.c | 602 u32 ecntrl; in gfar_get_interface() local 604 ecntrl = gfar_read(®s->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(®s->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 …]
|
D | fec_mpc52xx.h | 44 u32 ecntrl; /* FEC + 0x024 */ member
|
D | gianfar.h | 644 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
|
D | gianfar_ethtool.c | 821 i = gfar_read(®s->ecntrl); in gfar_check_filer_hardware()
|
/Linux-v5.4/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 189 u32 ecntrl; /* 0x014 E control register */ member 418 iowrite32be(tmp, ®s->ecntrl); in init() 1294 tmp = ioread32be(®s->ecntrl); in dtsec_adjust_link() 1299 iowrite32be(tmp, ®s->ecntrl); in dtsec_adjust_link()
|