Lines Matching refs:maccfg2
284 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()
331 maccfg2 |= MACCFG2_INTERFACE_MODE_NIBBLE; in uec_set_mac_if_mode()
346 maccfg2 |= MACCFG2_INTERFACE_MODE_NIBBLE; in uec_set_mac_if_mode()
361 maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE; in uec_set_mac_if_mode()
388 out_be32(&uec_regs->maccfg2, maccfg2); in uec_set_mac_if_mode()
1068 out_be32(&uec_regs->maccfg2, MACCFG2_INIT_VALUE); in uec_startup()