Lines Matching refs:phy

237 	pause->autoneg = pdata->phy.pause_autoneg;  in xgbe_get_pauseparam()
238 pause->tx_pause = pdata->phy.tx_pause; in xgbe_get_pauseparam()
239 pause->rx_pause = pdata->phy.rx_pause; in xgbe_get_pauseparam()
248 if (pause->autoneg && (pdata->phy.autoneg != AUTONEG_ENABLE)) { in xgbe_set_pauseparam()
254 pdata->phy.pause_autoneg = pause->autoneg; in xgbe_set_pauseparam()
255 pdata->phy.tx_pause = pause->tx_pause; in xgbe_set_pauseparam()
256 pdata->phy.rx_pause = pause->rx_pause; in xgbe_set_pauseparam()
258 pdata->phy.advertising &= ~ADVERTISED_Pause; in xgbe_set_pauseparam()
259 pdata->phy.advertising &= ~ADVERTISED_Asym_Pause; in xgbe_set_pauseparam()
262 pdata->phy.advertising |= ADVERTISED_Pause; in xgbe_set_pauseparam()
263 pdata->phy.advertising |= ADVERTISED_Asym_Pause; in xgbe_set_pauseparam()
267 pdata->phy.advertising ^= ADVERTISED_Asym_Pause; in xgbe_set_pauseparam()
280 cmd->phy_address = pdata->phy.address; in xgbe_get_settings()
282 cmd->supported = pdata->phy.supported; in xgbe_get_settings()
283 cmd->advertising = pdata->phy.advertising; in xgbe_get_settings()
284 cmd->lp_advertising = pdata->phy.lp_advertising; in xgbe_get_settings()
286 cmd->autoneg = pdata->phy.autoneg; in xgbe_get_settings()
287 ethtool_cmd_speed_set(cmd, pdata->phy.speed); in xgbe_get_settings()
288 cmd->duplex = pdata->phy.duplex; in xgbe_get_settings()
305 if (cmd->phy_address != pdata->phy.address) { in xgbe_set_settings()
338 cmd->advertising, pdata->phy.supported); in xgbe_set_settings()
340 cmd->advertising &= pdata->phy.supported; in xgbe_set_settings()
348 pdata->phy.autoneg = cmd->autoneg; in xgbe_set_settings()
349 pdata->phy.speed = speed; in xgbe_set_settings()
350 pdata->phy.duplex = cmd->duplex; in xgbe_set_settings()
351 pdata->phy.advertising = cmd->advertising; in xgbe_set_settings()
354 pdata->phy.advertising |= ADVERTISED_Autoneg; in xgbe_set_settings()
356 pdata->phy.advertising &= ~ADVERTISED_Autoneg; in xgbe_set_settings()