Lines Matching refs:mac_mode

842 	tp->mac_mode &= ~MAC_MODE_PORT_MODE_MASK;  in tg3_setup_copper_phy()
846 tp->mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_setup_copper_phy()
848 tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_setup_copper_phy()
850 tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_setup_copper_phy()
852 tp->mac_mode &= ~MAC_MODE_HALF_DUPLEX; in tg3_setup_copper_phy()
854 tp->mac_mode |= MAC_MODE_HALF_DUPLEX; in tg3_setup_copper_phy()
856 tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
861 tp->mac_mode |= MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
864 tp->mac_mode |= MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
878 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_copper_phy()
1051 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1052 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1075 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1076 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1090 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1091 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1175 tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1176 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1230 tp->mac_mode &= ~(MAC_MODE_PORT_MODE_MASK | MAC_MODE_HALF_DUPLEX); in tg3_setup_fiber_phy()
1231 tp->mac_mode |= MAC_MODE_PORT_MODE_TBI; in tg3_setup_fiber_phy()
1232 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1289 tmp = tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK; in tg3_setup_fiber_phy()
1292 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_SEND_CONFIGS); in tg3_setup_fiber_phy()
1306 tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; in tg3_setup_fiber_phy()
1307 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1347 tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; in tg3_setup_fiber_phy()
1348 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1389 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_LINK_POLARITY); in tg3_setup_fiber_phy()
1391 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1500 tp->mac_mode &= ~MAC_MODE_TDE_ENABLE; in tg3_abort_hw()
1501 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_abort_hw()
1761 tp->mac_mode = 0; in tg3_init_rings()
1844 tp->mac_mode = MAC_MODE_PORT_MODE_TBI; in tg3_setup_hw()
1846 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_hw()
2090 tp->mac_mode = MAC_MODE_TXSTAT_ENABLE | MAC_MODE_RXSTAT_ENABLE | in tg3_setup_hw()
2092 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_RXSTAT_CLEAR | MAC_MODE_TXSTAT_CLEAR); in tg3_setup_hw()
3061 tw32_carefully(MAC_MODE, tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK); in tg3_poll_link()
3062 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_poll_link()