/linux/drivers/net/phy/ |
H A D | microchip.c | 304 switch (phydev->mdix_ctrl) { in lan88xx_set_mdix() 402 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in lan937x_tx_read_mdix_status() 406 phydev->mdix_ctrl = ETH_TP_MDI_X; in lan937x_tx_read_mdix_status() 409 phydev->mdix_ctrl = ETH_TP_MDI; in lan937x_tx_read_mdix_status() 451 switch (phydev->mdix_ctrl) { in lan937x_tx_set_mdix()
|
H A D | icplus.c | 331 phydev->mdix_ctrl = ETH_TP_MDI_X; in ip101a_g_read_status() 333 phydev->mdix_ctrl = ETH_TP_MDI; in ip101a_g_read_status() 335 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in ip101a_g_read_status() 355 switch (phydev->mdix_ctrl) { in ip101a_g_config_mdix()
|
H A D | nxp-cbtx.c | 51 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in cbtx_config_init() 87 switch (phydev->mdix_ctrl) { in cbtx_mdix_config()
|
H A D | mxl-gpy.c | 421 ret = gpy_config_mdix(phydev, phydev->mdix_ctrl); in gpy_config_aneg() 500 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in gpy_update_mdix() 503 phydev->mdix_ctrl = ETH_TP_MDI_X; in gpy_update_mdix() 505 phydev->mdix_ctrl = ETH_TP_MDI; in gpy_update_mdix()
|
H A D | ncn26000.c | 55 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in ncn26000_config_aneg()
|
H A D | vitesse.c | 237 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc73xx_config_init() 376 ret = vsc73xx_mdix_set(phydev, phydev->mdix_ctrl); in vsc73xx_config_aneg()
|
H A D | bcm84881.c | 100 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in bcm84881_config_aneg()
|
H A D | broadcom.c | 1039 switch (phydev->mdix_ctrl) { in bcm5221_config_aneg() 1069 phydev->mdix_ctrl = ETH_TP_MDI_X; in bcm5221_read_status() 1071 phydev->mdix_ctrl = ETH_TP_MDI; in bcm5221_read_status() 1073 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in bcm5221_read_status()
|
H A D | smsc.c | 161 switch (phydev->mdix_ctrl) { in lan87xx_config_aneg() 186 phydev->mdix = phydev->mdix_ctrl; in lan87xx_config_aneg()
|
H A D | micrel.c | 822 return ksz8081_config_mdix(phydev, phydev->mdix_ctrl); in ksz8081_config_aneg() 835 phydev->mdix_ctrl = ETH_TP_MDI_X; in ksz8081_mdix_update() 837 phydev->mdix_ctrl = ETH_TP_MDI; in ksz8081_mdix_update() 839 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in ksz8081_mdix_update() 1392 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in ksz9131_config_init() 1451 if (phydev->mdix_ctrl != ETH_TP_MDI_AUTO) { in ksz9131_mdix_update() 1452 phydev->mdix = phydev->mdix_ctrl; in ksz9131_mdix_update() 1510 ret = ksz9131_config_mdix(phydev, phydev->mdix_ctrl); in ksz9131_config_aneg() 1878 return ksz886x_config_mdix(phydev, phydev->mdix_ctrl); in ksz886x_config_aneg() 1891 phydev->mdix_ctrl = ETH_TP_MDI_X; in ksz886x_mdix_update() [all …]
|
H A D | adin.c | 529 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in adin_config_init() 674 switch (phydev->mdix_ctrl) { in adin_config_mdix()
|
H A D | marvell10g.c | 834 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in mv3310_config_init() 912 switch (phydev->mdix_ctrl) { in mv3310_config_mdix()
|
H A D | phy.c | 309 cmd->base.eth_tp_mdix_ctrl = phydev->mdix_ctrl; in phy_ethtool_ksettings_get() 1125 phydev->mdix_ctrl = cmd->base.eth_tp_mdix_ctrl; in phy_ethtool_ksettings_set()
|
H A D | marvell.c | 454 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in marvell_config_aneg() 621 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1121_config_aneg() 1205 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1116r_config_init() 1319 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1118_config_aneg()
|
/linux/drivers/net/phy/qcom/ |
H A D | qcom-phy-lib.c | 254 phydev->mdix_ctrl = ETH_TP_MDI; in at803x_read_specific_status() 257 phydev->mdix_ctrl = ETH_TP_MDI_X; in at803x_read_specific_status() 260 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in at803x_read_specific_status() 297 ret = at803x_config_mdix(phydev, phydev->mdix_ctrl); in at803x_prepare_config_aneg()
|
/linux/tools/net/ynl/ |
H A D | ethtool.py | 412 mdix_ctrl = { 416 mdix = mdix_ctrl.get(linkinfo['tp-mdix-ctrl'], None) 420 mdix = mdix_ctrl.get(linkinfo['tp-mdix'], 'Unknown (auto)')
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 64 int mdix_ctrl, mdix, retval, is_resolved; in hns_get_mdix_mode() local 76 mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); in hns_get_mdix_mode() 84 switch (mdix_ctrl) { in hns_get_mdix_mode()
|
/linux/drivers/net/phy/mscc/ |
H A D | mscc_main.c | 583 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc85xx_default_config() 1709 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc8584_config_init() 2076 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc8514_config_init() 2187 rc = vsc85xx_mdix_set(phydev, phydev->mdix_ctrl); in vsc85xx_config_aneg()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 11124 int mdix_ctrl, mdix, is_resolved; in hclge_get_mdix_mode() local 11136 mdix_ctrl = hnae3_get_field(retval, HCLGE_PHY_MDIX_CTRL_M, in hclge_get_mdix_mode() 11145 switch (mdix_ctrl) { in hclge_get_mdix_mode()
|
/linux/drivers/net/usb/ |
H A D | lan78xx.c | 459 u8 mdix_ctrl; member
|