Home
last modified time | relevance | path

Searched refs:portctrl_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
294 portctrl_reg = TSI_READ(TSI108_EC_PORTCTRL); in tsi108_check_phy()
300 portctrl_reg &= ~TSI108_EC_PORTCTRL_NOGIG; in tsi108_check_phy()
303 portctrl_reg |= TSI108_EC_PORTCTRL_NOGIG; in tsi108_check_phy()
310 portctrl_reg &= ~TSI108_EC_PORTCTRL_HALFDUPLEX; in tsi108_check_phy()
314 portctrl_reg |= TSI108_EC_PORTCTRL_HALFDUPLEX; in tsi108_check_phy()
319 TSI_WRITE(TSI108_EC_PORTCTRL, portctrl_reg); in tsi108_check_phy()