mdix 65 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c int mdix_ctrl, mdix, retval, is_resolved; mdix 80 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c mdix = hnae_get_bit(retval, PHY_MDIX_STATUS_B); mdix 102 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c else if (mdix) mdix 8777 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int mdix_ctrl, mdix, is_resolved; mdix 8793 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mdix = hnae3_get_bit(retval, HCLGE_PHY_MDIX_STATUS_B); mdix 8815 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c else if (mdix) mdix 151 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if (hw->mdix == AUTO_ALL_MODES) mdix 154 drivers/net/ethernet/intel/e1000/e1000_ethtool.c cmd->base.eth_tp_mdix_ctrl = hw->mdix; mdix 214 drivers/net/ethernet/intel/e1000/e1000_ethtool.c hw->mdix = AUTO_ALL_MODES; mdix 216 drivers/net/ethernet/intel/e1000/e1000_ethtool.c hw->mdix = cmd->base.eth_tp_mdix_ctrl; mdix 1106 drivers/net/ethernet/intel/e1000/e1000_hw.c hw->mdix = 1; mdix 1112 drivers/net/ethernet/intel/e1000/e1000_hw.c switch (hw->mdix) { mdix 1227 drivers/net/ethernet/intel/e1000/e1000_hw.c switch (hw->mdix) { mdix 3435 drivers/net/ethernet/intel/e1000/e1000_hw.c if (!hw->autoneg && (hw->mdix == 0 || hw->mdix == 3)) { mdix 3437 drivers/net/ethernet/intel/e1000/e1000_hw.c hw->mdix = 1; mdix 1382 drivers/net/ethernet/intel/e1000/e1000_hw.h u8 mdix; mdix 901 drivers/net/ethernet/intel/e1000/e1000_main.c hw->mdix = AUTO_ALL_MODES; mdix 5039 drivers/net/ethernet/intel/e1000/e1000_main.c hw->mdix = AUTO_ALL_MODES; mdix 912 drivers/net/ethernet/intel/e1000e/80003es2lan.c switch (phy->mdix) { mdix 180 drivers/net/ethernet/intel/e1000e/ethtool.c if (hw->phy.mdix == AUTO_ALL_MODES) mdix 183 drivers/net/ethernet/intel/e1000e/ethtool.c cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; mdix 242 drivers/net/ethernet/intel/e1000e/ethtool.c adapter->hw.phy.mdix = AUTO_ALL_MODES; mdix 321 drivers/net/ethernet/intel/e1000e/ethtool.c hw->phy.mdix = AUTO_ALL_MODES; mdix 323 drivers/net/ethernet/intel/e1000e/ethtool.c hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; mdix 596 drivers/net/ethernet/intel/e1000e/hw.h u8 mdix; mdix 5028 drivers/net/ethernet/intel/e1000e/ich8lan.c switch (hw->phy.mdix) { mdix 7193 drivers/net/ethernet/intel/e1000e/netdev.c adapter->hw.phy.mdix = AUTO_ALL_MODES; mdix 653 drivers/net/ethernet/intel/e1000e/phy.c switch (hw->phy.mdix) { mdix 702 drivers/net/ethernet/intel/e1000e/phy.c switch (phy->mdix) { mdix 856 drivers/net/ethernet/intel/e1000e/phy.c switch (phy->mdix) { mdix 428 drivers/net/ethernet/intel/igb/e1000_hw.h u8 mdix; mdix 1566 drivers/net/ethernet/intel/igb/e1000_mac.c if (!hw->mac.autoneg && (hw->phy.mdix == 0 || hw->phy.mdix == 3)) { mdix 1568 drivers/net/ethernet/intel/igb/e1000_mac.c hw->phy.mdix = 1; mdix 498 drivers/net/ethernet/intel/igb/e1000_phy.c switch (hw->phy.mdix) { mdix 549 drivers/net/ethernet/intel/igb/e1000_phy.c switch (phy->mdix) { mdix 649 drivers/net/ethernet/intel/igb/e1000_phy.c switch (phy->mdix) { mdix 770 drivers/net/ethernet/intel/igb/e1000_phy.c switch (phy->mdix) { mdix 246 drivers/net/ethernet/intel/igb/igb_ethtool.c if (hw->phy.mdix == AUTO_ALL_MODES) mdix 249 drivers/net/ethernet/intel/igb/igb_ethtool.c cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; mdix 341 drivers/net/ethernet/intel/igb/igb_ethtool.c hw->phy.mdix = AUTO_ALL_MODES; mdix 343 drivers/net/ethernet/intel/igb/igb_ethtool.c hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; mdix 3104 drivers/net/ethernet/intel/igb/igb_main.c hw->phy.mdix = AUTO_ALL_MODES; mdix 8715 drivers/net/ethernet/intel/igb/igb_main.c adapter->hw.phy.mdix = AUTO_ALL_MODES; mdix 1748 drivers/net/ethernet/intel/igc/igc_ethtool.c if (hw->phy.mdix == AUTO_ALL_MODES) mdix 1751 drivers/net/ethernet/intel/igc/igc_ethtool.c cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; mdix 1807 drivers/net/ethernet/intel/igc/igc_ethtool.c hw->phy.mdix = AUTO_ALL_MODES; mdix 1809 drivers/net/ethernet/intel/igc/igc_ethtool.c hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; mdix 158 drivers/net/ethernet/intel/igc/igc_hw.h u8 mdix; mdix 4099 drivers/net/ethernet/intel/igc/igc_main.c adapter->hw.phy.mdix = AUTO_ALL_MODES; mdix 581 drivers/net/phy/adin.c phydev->mdix = ETH_TP_MDI_X; mdix 583 drivers/net/phy/adin.c phydev->mdix = ETH_TP_MDI; mdix 599 drivers/net/phy/adin.c phydev->mdix = ETH_TP_MDI_X; mdix 601 drivers/net/phy/adin.c phydev->mdix = ETH_TP_MDI; mdix 416 drivers/net/phy/at803x.c phydev->mdix = ETH_TP_MDI_X; mdix 418 drivers/net/phy/at803x.c phydev->mdix = ETH_TP_MDI; mdix 413 drivers/net/phy/marvell10g.c phydev->mdix = 0; mdix 463 drivers/net/phy/marvell10g.c phydev->mdix = ETH_TP_MDI_X; mdix 466 drivers/net/phy/marvell10g.c phydev->mdix = ETH_TP_MDI; mdix 469 drivers/net/phy/marvell10g.c phydev->mdix = ETH_TP_MDI_INVALID; mdix 514 drivers/net/phy/mscc.c static int vsc85xx_mdix_get(struct phy_device *phydev, u8 *mdix) mdix 520 drivers/net/phy/mscc.c *mdix = ETH_TP_MDI_X; mdix 522 drivers/net/phy/mscc.c *mdix = ETH_TP_MDI; mdix 527 drivers/net/phy/mscc.c static int vsc85xx_mdix_set(struct phy_device *phydev, u8 mdix) mdix 533 drivers/net/phy/mscc.c if (mdix == ETH_TP_MDI || mdix == ETH_TP_MDI_X) { mdix 548 drivers/net/phy/mscc.c if (mdix == ETH_TP_MDI) mdix 550 drivers/net/phy/mscc.c else if (mdix == ETH_TP_MDI_X) mdix 2205 drivers/net/phy/mscc.c rc = vsc85xx_mdix_get(phydev, &phydev->mdix); mdix 378 drivers/net/phy/phy-c45.c phydev->mdix = ETH_TP_MDI; mdix 382 drivers/net/phy/phy-c45.c phydev->mdix = ETH_TP_MDI_X; mdix 386 drivers/net/phy/phy-c45.c phydev->mdix = ETH_TP_MDI_INVALID; mdix 384 drivers/net/phy/phy.c cmd->base.eth_tp_mdix = phydev->mdix; mdix 159 drivers/net/phy/rockchip.c err = rockchip_set_polarity(phydev, phydev->mdix); mdix 2139 drivers/net/usb/lan78xx.c phydev->mdix = ETH_TP_MDI_AUTO; mdix 440 include/linux/phy.h u8 mdix;