/kernel/linux/linux-5.10/drivers/net/phy/ |
D | phy-c45.c | 379 phydev->mdix = ETH_TP_MDI; in genphy_c45_read_mdix() 383 phydev->mdix = ETH_TP_MDI_X; in genphy_c45_read_mdix() 387 phydev->mdix = ETH_TP_MDI_INVALID; in genphy_c45_read_mdix()
|
D | adin.c | 581 phydev->mdix = ETH_TP_MDI_X; in adin_mdix_update() 583 phydev->mdix = ETH_TP_MDI; in adin_mdix_update() 599 phydev->mdix = ETH_TP_MDI_X; in adin_mdix_update() 601 phydev->mdix = ETH_TP_MDI; in adin_mdix_update()
|
D | rockchip.c | 159 err = rockchip_set_polarity(phydev, phydev->mdix); in rockchip_config_aneg()
|
D | bcm84881.c | 163 phydev->mdix = 0; in bcm84881_read_status()
|
D | marvell10g.c | 695 phydev->mdix = cssr1 & MV_PCS_CSSR1_MDIX ? in mv3310_read_status_copper() 727 phydev->mdix = ETH_TP_MDI_INVALID; in mv3310_read_status()
|
D | smsc.c | 151 phydev->mdix = phydev->mdix_ctrl; in lan87xx_config_aneg()
|
D | at803x.c | 740 phydev->mdix = ETH_TP_MDI_X; in at803x_read_status() 742 phydev->mdix = ETH_TP_MDI; in at803x_read_status()
|
D | phy.c | 289 cmd->base.eth_tp_mdix = phydev->mdix; in phy_ethtool_ksettings_get()
|
/kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
D | mscc_main.c | 189 static int vsc85xx_mdix_get(struct phy_device *phydev, u8 *mdix) in vsc85xx_mdix_get() argument 195 *mdix = ETH_TP_MDI_X; in vsc85xx_mdix_get() 197 *mdix = ETH_TP_MDI; in vsc85xx_mdix_get() 202 static int vsc85xx_mdix_set(struct phy_device *phydev, u8 mdix) in vsc85xx_mdix_set() argument 208 if (mdix == ETH_TP_MDI || mdix == ETH_TP_MDI_X) { in vsc85xx_mdix_set() 223 if (mdix == ETH_TP_MDI) in vsc85xx_mdix_set() 225 else if (mdix == ETH_TP_MDI_X) in vsc85xx_mdix_set() 2072 rc = vsc85xx_mdix_get(phydev, &phydev->mdix); in vsc85xx_read_status()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 205 struct prestera_msg_port_mdix_param mdix; member 798 *status = prestera_hw_mdix_to_eth(resp.param.mdix.status); in prestera_hw_port_mdix_get() 799 *admin_mode = prestera_hw_mdix_to_eth(resp.param.mdix.admin_mode); in prestera_hw_port_mdix_get() 812 req.param.mdix.admin_mode = prestera_hw_mdix_from_eth(mode); in prestera_hw_port_mdix_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 1564 if (!hw->mac.autoneg && (hw->phy.mdix == 0 || hw->phy.mdix == 3)) { in igb_validate_mdi_setting() 1566 hw->phy.mdix = 1; in igb_validate_mdi_setting()
|
D | e1000_phy.c | 498 switch (hw->phy.mdix) { in igb_copper_link_setup_82580() 549 switch (phy->mdix) { in igb_copper_link_setup_m88() 649 switch (phy->mdix) { in igb_copper_link_setup_m88_gen2() 770 switch (phy->mdix) { in igb_copper_link_setup_igp()
|
D | e1000_hw.h | 428 u8 mdix; member
|
D | igb_ethtool.c | 247 if (hw->phy.mdix == AUTO_ALL_MODES) in igb_get_link_ksettings() 250 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in igb_get_link_ksettings() 342 hw->phy.mdix = AUTO_ALL_MODES; in igb_set_link_ksettings() 344 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in igb_set_link_ksettings()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_hw.h | 156 u8 mdix; member
|
D | igc_ethtool.c | 1761 if (hw->phy.mdix == AUTO_ALL_MODES) in igc_ethtool_get_link_ksettings() 1764 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in igc_ethtool_get_link_ksettings() 1825 hw->phy.mdix = AUTO_ALL_MODES; in igc_ethtool_set_link_ksettings() 1827 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in igc_ethtool_set_link_ksettings()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 65 int mdix_ctrl, mdix, retval, is_resolved; in hns_get_mdix_mode() local 80 mdix = hnae_get_bit(retval, PHY_MDIX_STATUS_B); in hns_get_mdix_mode() 102 else if (mdix) in hns_get_mdix_mode()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 187 if (hw->phy.mdix == AUTO_ALL_MODES) in e1000_get_link_ksettings() 190 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in e1000_get_link_ksettings() 249 adapter->hw.phy.mdix = AUTO_ALL_MODES; in e1000_set_spd_dplx() 328 hw->phy.mdix = AUTO_ALL_MODES; in e1000_set_link_ksettings() 330 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in e1000_set_link_ksettings()
|
D | hw.h | 619 u8 mdix; member
|
D | phy.c | 653 switch (hw->phy.mdix) { in e1000_copper_link_setup_82577() 702 switch (phy->mdix) { in e1000e_copper_link_setup_m88() 856 switch (phy->mdix) { in e1000e_copper_link_setup_igp()
|
D | 80003es2lan.c | 912 switch (phy->mdix) { in e1000_copper_link_setup_gg82563_80003es2lan()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 151 if (hw->mdix == AUTO_ALL_MODES) in e1000_get_link_ksettings() 154 cmd->base.eth_tp_mdix_ctrl = hw->mdix; in e1000_get_link_ksettings() 214 hw->mdix = AUTO_ALL_MODES; in e1000_set_link_ksettings() 216 hw->mdix = cmd->base.eth_tp_mdix_ctrl; in e1000_set_link_ksettings()
|
D | e1000_hw.c | 1104 hw->mdix = 1; in e1000_copper_link_igp_setup() 1110 switch (hw->mdix) { in e1000_copper_link_igp_setup() 1225 switch (hw->mdix) { in e1000_copper_link_mgp_setup() 3426 if (!hw->autoneg && (hw->mdix == 0 || hw->mdix == 3)) { in e1000_validate_mdi_setting() 3428 hw->mdix = 1; in e1000_validate_mdi_setting()
|
D | e1000_hw.h | 1382 u8 mdix; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | phy.h | 638 u8 mdix; member
|