Home
last modified time | relevance | path

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

/u-boot/drivers/net/fm/
A Ddtsec.c62 out_be32(&regs->maccfg2, MACCFG2_INIT); in dtsec_init_mac()
114 u32 ecntrl, maccfg2; in dtsec_set_interface_mode() local
121 maccfg2 = in_be32(&regs->maccfg2); in dtsec_set_interface_mode()
122 maccfg2 &= ~MACCFG2_IF_MODE_MASK; in dtsec_set_interface_mode()
125 maccfg2 |= MACCFG2_IF_MODE_BYTE; in dtsec_set_interface_mode()
127 maccfg2 |= MACCFG2_IF_MODE_NIBBLE; in dtsec_set_interface_mode()
153 out_be32(&regs->maccfg2, maccfg2); in dtsec_set_interface_mode()
/u-boot/drivers/qe/
A 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 …]
/u-boot/drivers/net/
A Dtsec.c212 u32 ecntrl, maccfg2; in adjust_link() local
223 maccfg2 = in_be32(&regs->maccfg2); in adjust_link()
224 maccfg2 &= ~(MACCFG2_IF | MACCFG2_FULL_DUPLEX); in adjust_link()
227 maccfg2 |= MACCFG2_FULL_DUPLEX; in adjust_link()
231 maccfg2 |= MACCFG2_GMII; in adjust_link()
235 maccfg2 |= MACCFG2_MII; in adjust_link()
250 out_be32(&regs->maccfg2, maccfg2); in adjust_link()
601 out_be32(&regs->maccfg2, MACCFG2_INIT_SETTINGS); in tsec_init()
/u-boot/drivers/net/qe/
A Ddm_qe_uec.c135 u32 maccfg2; in uec_set_mac_if_mode() local
140 maccfg2 = in_be32(&uec_regs->maccfg2); in uec_set_mac_if_mode()
141 maccfg2 &= ~MACCFG2_INTERFACE_MODE_MASK; in uec_set_mac_if_mode()
148 maccfg2 |= MACCFG2_INTERFACE_MODE_NIBBLE; in uec_set_mac_if_mode()
163 maccfg2 |= MACCFG2_INTERFACE_MODE_NIBBLE; in uec_set_mac_if_mode()
178 maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE; in uec_set_mac_if_mode()
205 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_if_mode()
837 out_be32(&uec_regs->maccfg2, MACCFG2_INIT_VALUE); in uec_startup()
/u-boot/include/
A Dfsl_dtsec.h29 u32 maccfg2; /* MAC configuration register 2 */ member
A Dtsec.h350 u32 maccfg2; /* MAC Configuration #2 */ member
/u-boot/include/linux/
A Dimmap_qe.h307 u32 maccfg2; /* mac configuration reg. 2 */ member
/u-boot/arch/powerpc/include/asm/
A Dimmap_86xx.h398 uint maccfg2; /* 0x24504 - MAC Configuration 2 Register */ member
A Dimmap_85xx.h404 u32 maccfg2; /* MAC Configuration 2 */ member

Completed in 46 milliseconds