Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/fm/
Ddtsec.c61 out_be32(&regs->maccfg2, MACCFG2_INIT); in dtsec_init_mac()
113 u32 ecntrl, maccfg2; in dtsec_set_interface_mode() local
120 maccfg2 = in_be32(&regs->maccfg2); in dtsec_set_interface_mode()
121 maccfg2 &= ~MACCFG2_IF_MODE_MASK; in dtsec_set_interface_mode()
124 maccfg2 |= MACCFG2_IF_MODE_BYTE; in dtsec_set_interface_mode()
126 maccfg2 |= MACCFG2_IF_MODE_NIBBLE; in dtsec_set_interface_mode()
152 out_be32(&regs->maccfg2, maccfg2); in dtsec_set_interface_mode()
/external/u-boot/drivers/qe/
Duec.c284 u32 maccfg2; in uec_set_mac_duplex() local
293 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_duplex()
294 maccfg2 &= ~MACCFG2_FDX; in uec_set_mac_duplex()
295 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_duplex()
299 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_duplex()
300 maccfg2 |= MACCFG2_FDX; in uec_set_mac_duplex()
301 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_duplex()
313 u32 maccfg2; in uec_set_mac_if_mode() local
323 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_if_mode()
324 maccfg2 &= ~MACCFG2_INTERFACE_MODE_MASK; in uec_set_mac_if_mode()
[all …]
/external/u-boot/drivers/net/
Dtsec.c180 u32 ecntrl, maccfg2; in adjust_link() local
191 maccfg2 = in_be32(&regs->maccfg2); in adjust_link()
192 maccfg2 &= ~(MACCFG2_IF | MACCFG2_FULL_DUPLEX); in adjust_link()
195 maccfg2 |= MACCFG2_FULL_DUPLEX; in adjust_link()
199 maccfg2 |= MACCFG2_GMII; in adjust_link()
203 maccfg2 |= MACCFG2_MII; in adjust_link()
218 out_be32(&regs->maccfg2, maccfg2); in adjust_link()
549 out_be32(&regs->maccfg2, MACCFG2_INIT_SETTINGS); in tsec_init()
/external/u-boot/include/
Dfsl_dtsec.h29 u32 maccfg2; /* MAC configuration register 2 */ member
Dtsec.h348 u32 maccfg2; /* MAC Configuration #2 */ member
/external/u-boot/include/linux/
Dimmap_qe.h307 u32 maccfg2; /* mac configuration reg. 2 */ member
/external/u-boot/arch/powerpc/include/asm/
Dimmap_86xx.h398 uint maccfg2; /* 0x24504 - MAC Configuration 2 Register */ member
Dimmap_85xx.h403 u32 maccfg2; /* MAC Configuration 2 */ member