Lines Matching refs:maccfg2
605 (u32) & ugeth->ug_regs->maccfg2, in dump_regs()
606 in_be32(&ugeth->ug_regs->maccfg2)); in dump_regs()
1339 u32 upsmr, maccfg2; in adjust_enet_interface() local
1349 maccfg2 = in_be32(&ug_regs->maccfg2); in adjust_enet_interface()
1350 maccfg2 &= ~MACCFG2_INTERFACE_MODE_MASK; in adjust_enet_interface()
1353 maccfg2 |= MACCFG2_INTERFACE_MODE_NIBBLE; in adjust_enet_interface()
1355 maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE; in adjust_enet_interface()
1356 maccfg2 |= ug_info->padAndCrc; in adjust_enet_interface()
1357 out_be32(&ug_regs->maccfg2, maccfg2); in adjust_enet_interface()
1410 init_check_frame_length_mode(ug_info->lengthCheckRx, &ug_regs->maccfg2); in adjust_enet_interface()
1412 ret_val = init_preamble_length(ug_info->prel, &ug_regs->maccfg2); in adjust_enet_interface()
1613 u32 tempval = in_be32(&ug_regs->maccfg2); in adjust_link()
1678 out_be32(&ug_regs->maccfg2, tempval); in adjust_link()
2490 &ug_regs->maccfg1, &ug_regs->maccfg2); in ucc_geth_startup()
3691 setbits32(&ugeth->ug_regs->maccfg2, MACCFG2_MPE); in ucc_geth_suspend()
3712 clrbits32(&ugeth->ug_regs->maccfg2, MACCFG2_MPE); in ucc_geth_resume()