Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/fm/
Ddtsec.c55 out_be32(&regs->ecntrl, ECNTRL_DEFAULT); in dtsec_init_mac()
113 u32 ecntrl, maccfg2; in dtsec_set_interface_mode() local
116 ecntrl = in_be32(&regs->ecntrl); in dtsec_set_interface_mode()
117 ecntrl &= ~(ECNTRL_TBIM | ECNTRL_GMIIM | ECNTRL_RPM | in dtsec_set_interface_mode()
131 ecntrl |= ECNTRL_GMIIM; in dtsec_set_interface_mode()
134 ecntrl |= (ECNTRL_GMIIM | ECNTRL_RPM); in dtsec_set_interface_mode()
136 ecntrl |= ECNTRL_R100M; in dtsec_set_interface_mode()
140 ecntrl |= ECNTRL_R100M; in dtsec_set_interface_mode()
143 ecntrl |= (ECNTRL_SGMIIM | ECNTRL_TBIM); in dtsec_set_interface_mode()
145 ecntrl |= ECNTRL_R100M; in dtsec_set_interface_mode()
[all …]
/external/u-boot/drivers/net/
Dtsec.c180 u32 ecntrl, maccfg2; in adjust_link() local
188 ecntrl = in_be32(&regs->ecntrl); in adjust_link()
189 ecntrl &= ~ECNTRL_R100; in adjust_link()
210 ecntrl |= ECNTRL_R100; in adjust_link()
217 out_be32(&regs->ecntrl, ecntrl); in adjust_link()
552 out_be32(&regs->ecntrl, ECNTRL_INIT_SETTINGS); in tsec_init()
601 u32 ecntrl; in tsec_get_interface() local
603 ecntrl = in_be32(&regs->ecntrl); in tsec_get_interface()
605 if (ecntrl & ECNTRL_SGMII_MODE) in tsec_get_interface()
608 if (ecntrl & ECNTRL_TBI_MODE) { in tsec_get_interface()
[all …]
Dfec_mxc.c447 writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_DBSWAP, in fec_open()
448 &fec->eth->ecntrl); in fec_open()
454 writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_ETHER_EN, in fec_open()
455 &fec->eth->ecntrl); in fec_open()
506 u32 ecr = readl(&fec->eth->ecntrl) & ~FEC_ECNTRL_SPEED; in fec_open()
512 writel(ecr, &fec->eth->ecntrl); in fec_open()
627 writel(readl(&fec->eth->ecntrl) & ~FEC_ECNTRL_ETHER_EN, in fecmxc_halt()
628 &fec->eth->ecntrl); in fecmxc_halt()
1091 writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_RESET, &fec->eth->ecntrl); in fec_probe()
1093 while (readl(&fec->eth->ecntrl) & FEC_ECNTRL_RESET) { in fec_probe()
[all …]
Dfec_mxc.h32 uint32_t ecntrl; /* MBAR_ETH + 0x024 */ member
/external/u-boot/include/
Dfsl_dtsec.h17 u32 ecntrl; /* ethernet control and configuration */ member
Dtsec.h301 u32 ecntrl; /* Ethernet Control */ member
/external/u-boot/arch/powerpc/include/asm/
Dimmap_86xx.h291 uint ecntrl; /* 0x24020 - Ethernet Control Register */ member
Dimmap_85xx.h340 u32 ecntrl; /* Ethernet Control */ member