Searched refs:maccfg2 (Results 1 – 8 of 8) sorted by relevance
61 out_be32(®s->maccfg2, MACCFG2_INIT); in dtsec_init_mac()113 u32 ecntrl, maccfg2; in dtsec_set_interface_mode() local120 maccfg2 = in_be32(®s->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(®s->maccfg2, maccfg2); in dtsec_set_interface_mode()
284 u32 maccfg2; in uec_set_mac_duplex() local293 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() local323 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 …]
180 u32 ecntrl, maccfg2; in adjust_link() local191 maccfg2 = in_be32(®s->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(®s->maccfg2, maccfg2); in adjust_link()549 out_be32(®s->maccfg2, MACCFG2_INIT_SETTINGS); in tsec_init()
29 u32 maccfg2; /* MAC configuration register 2 */ member
348 u32 maccfg2; /* MAC Configuration #2 */ member
307 u32 maccfg2; /* mac configuration reg. 2 */ member
398 uint maccfg2; /* 0x24504 - MAC Configuration 2 Register */ member
403 u32 maccfg2; /* MAC Configuration 2 */ member