Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c77 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_RESET); in whack_reset()
79 if ((FR(fecp, ecntrl) & FEC_ECNTRL_RESET) == 0) in whack_reset()
332 FW(fecp, ecntrl, FEC_ECNTRL_PINMUX | FEC_ECNTRL_ETHER_EN); in restart()
342 if ((FR(fecp, ecntrl) & FEC_ECNTRL_ETHER_EN) == 0) in stop()
356 FC(fecp, ecntrl, FEC_ECNTRL_ETHER_EN); in stop()
/linux-6.12.1/drivers/net/ethernet/freescale/
Dfec_mpc52xx.c600 out_be32(&fec->ecntrl, FEC_ECNTRL_RESET); in mpc52xx_fec_hw_init()
602 if ((in_be32(&fec->ecntrl) & FEC_ECNTRL_RESET) == 0) in mpc52xx_fec_hw_init()
688 out_be32(&fec->ecntrl, FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_start()
734 out_be32(&fec->ecntrl, in_be32(&fec->ecntrl) & ~FEC_ECNTRL_ETHER_EN); in mpc52xx_fec_stop()
Dgianfar.c593 u32 ecntrl; in gfar_get_interface() local
595 ecntrl = gfar_read(&regs->ecntrl); in gfar_get_interface()
597 if (ecntrl & ECNTRL_SGMII_MODE) in gfar_get_interface()
600 if (ecntrl & ECNTRL_TBI_MODE) { in gfar_get_interface()
601 if (ecntrl & ECNTRL_REDUCED_MODE) in gfar_get_interface()
607 if (ecntrl & ECNTRL_REDUCED_MODE) { in gfar_get_interface()
608 if (ecntrl & ECNTRL_REDUCED_MII_MODE) { in gfar_get_interface()
1500 u32 ecntrl = gfar_read(&regs->ecntrl); in gfar_update_link_state() local
1518 ecntrl &= ~(ECNTRL_R100); in gfar_update_link_state()
1529 ecntrl |= ECNTRL_R100; in gfar_update_link_state()
[all …]
Dfec_mpc52xx.h44 u32 ecntrl; /* FEC + 0x024 */ member
Dgianfar.h703 u32 ecntrl; /* 0x.020 - Ethernet Control Register */ member
Dgianfar_ethtool.c798 i = gfar_read(&regs->ecntrl); in gfar_check_filer_hardware()
/linux-6.12.1/drivers/net/ethernet/freescale/fman/
Dfman_dtsec.c162 u32 ecntrl; /* 0x014 E control register */ member
926 iowrite32be(tmp, &regs->ecntrl); in dtsec_mac_config()
943 tmp = ioread32be(&regs->ecntrl); in dtsec_link_up()
948 iowrite32be(tmp, &regs->ecntrl); in dtsec_link_up()