Home
last modified time | relevance | path

Searched refs:mac_cfg2_reg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/tundra/
H A Dtsi108_eth.c274 u32 mac_cfg2_reg, portctrl_reg; in tsi108_check_phy() local
293 mac_cfg2_reg = TSI_READ(TSI108_MAC_CFG2); in tsi108_check_phy()
296 mac_cfg2_reg &= ~TSI108_MAC_CFG2_IFACE_MASK; in tsi108_check_phy()
299 mac_cfg2_reg |= TSI108_MAC_CFG2_GIG; in tsi108_check_phy()
302 mac_cfg2_reg |= TSI108_MAC_CFG2_NOGIG; in tsi108_check_phy()
309 mac_cfg2_reg |= TSI108_MAC_CFG2_FULLDUPLEX; in tsi108_check_phy()
313 mac_cfg2_reg &= ~TSI108_MAC_CFG2_FULLDUPLEX; in tsi108_check_phy()
318 TSI_WRITE(TSI108_MAC_CFG2, mac_cfg2_reg); in tsi108_check_phy()