Lines Matching refs:mac_mode

822 	tp->mac_mode &= ~MAC_MODE_PORT_MODE_MASK;  in tg3_setup_copper_phy()
826 tp->mac_mode |= MAC_MODE_PORT_MODE_MII; in tg3_setup_copper_phy()
828 tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_setup_copper_phy()
830 tp->mac_mode |= MAC_MODE_PORT_MODE_GMII; in tg3_setup_copper_phy()
832 tp->mac_mode &= ~MAC_MODE_HALF_DUPLEX; in tg3_setup_copper_phy()
834 tp->mac_mode |= MAC_MODE_HALF_DUPLEX; in tg3_setup_copper_phy()
836 tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
841 tp->mac_mode |= MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
844 tp->mac_mode |= MAC_MODE_LINK_POLARITY; in tg3_setup_copper_phy()
858 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_copper_phy()
1031 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1032 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1055 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1056 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1070 tp->mac_mode |= MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1071 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1155 tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; in tg3_fiber_aneg_smachine()
1156 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_fiber_aneg_smachine()
1210 tp->mac_mode &= ~(MAC_MODE_PORT_MODE_MASK | MAC_MODE_HALF_DUPLEX); in tg3_setup_fiber_phy()
1211 tp->mac_mode |= MAC_MODE_PORT_MODE_TBI; in tg3_setup_fiber_phy()
1212 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1269 tmp = tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK; in tg3_setup_fiber_phy()
1272 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_SEND_CONFIGS); in tg3_setup_fiber_phy()
1286 tp->mac_mode &= ~MAC_MODE_SEND_CONFIGS; in tg3_setup_fiber_phy()
1287 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1327 tp->mac_mode &= ~MAC_MODE_LINK_POLARITY; in tg3_setup_fiber_phy()
1328 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1369 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_LINK_POLARITY); in tg3_setup_fiber_phy()
1371 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_fiber_phy()
1478 tp->mac_mode &= ~MAC_MODE_TDE_ENABLE; in tg3_abort_hw()
1479 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_abort_hw()
1701 tp->mac_mode = 0; in tg3_init_rings()
1780 tp->mac_mode = MAC_MODE_PORT_MODE_TBI; in tg3_setup_hw()
1782 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_setup_hw()
2017 tp->mac_mode = MAC_MODE_TXSTAT_ENABLE | MAC_MODE_RXSTAT_ENABLE | in tg3_setup_hw()
2019 tw32_carefully(MAC_MODE, tp->mac_mode | MAC_MODE_RXSTAT_CLEAR | MAC_MODE_TXSTAT_CLEAR); in tg3_setup_hw()
2955 tw32_carefully(MAC_MODE, tp->mac_mode & ~MAC_MODE_PORT_MODE_MASK); in tg3_poll_link()
2956 tw32_carefully(MAC_MODE, tp->mac_mode); in tg3_poll_link()