Searched refs:ecntrl (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/drivers/net/fm/ |
D | dtsec.c | 55 out_be32(®s->ecntrl, ECNTRL_DEFAULT); in dtsec_init_mac() 113 u32 ecntrl, maccfg2; in dtsec_set_interface_mode() local 116 ecntrl = in_be32(®s->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/ |
D | tsec.c | 180 u32 ecntrl, maccfg2; in adjust_link() local 188 ecntrl = in_be32(®s->ecntrl); in adjust_link() 189 ecntrl &= ~ECNTRL_R100; in adjust_link() 210 ecntrl |= ECNTRL_R100; in adjust_link() 217 out_be32(®s->ecntrl, ecntrl); in adjust_link() 552 out_be32(®s->ecntrl, ECNTRL_INIT_SETTINGS); in tsec_init() 601 u32 ecntrl; in tsec_get_interface() local 603 ecntrl = in_be32(®s->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 …]
|
D | fec_mxc.c | 447 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 …]
|
D | fec_mxc.h | 32 uint32_t ecntrl; /* MBAR_ETH + 0x024 */ member
|
/external/u-boot/include/ |
D | fsl_dtsec.h | 17 u32 ecntrl; /* ethernet control and configuration */ member
|
D | tsec.h | 301 u32 ecntrl; /* Ethernet Control */ member
|
/external/u-boot/arch/powerpc/include/asm/ |
D | immap_86xx.h | 291 uint ecntrl; /* 0x24020 - Ethernet Control Register */ member
|
D | immap_85xx.h | 340 u32 ecntrl; /* Ethernet Control */ member
|