Searched refs:ecntrl (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 87 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/ |
D | fec_mpc52xx.c | 597 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()
|
D | gianfar.c | 1239 gfar_write(®s->ecntrl, ECNTRL_INIT_SETTINGS); in gfar_hw_init() 1743 u32 ecntrl; in gfar_get_interface() local 1745 ecntrl = gfar_read(®s->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(®s->ecntrl); in gfar_update_link_state() local 3717 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state() [all …]
|
D | fec_mpc52xx.h | 44 u32 ecntrl; /* FEC + 0x024 */ member
|
D | gianfar.h | 679 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
|
D | gianfar_ethtool.c | 858 i = gfar_read(®s->ecntrl); in gfar_check_filer_hardware()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 187 u32 ecntrl; /* 0x014 E control register */ member 410 iowrite32be(tmp, ®s->ecntrl); in init() 1176 tmp = ioread32be(®s->ecntrl); in dtsec_adjust_link() 1181 iowrite32be(tmp, ®s->ecntrl); in dtsec_adjust_link()
|