Home
last modified time | relevance | path

Searched refs:mdix_ctrl (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/phy/
H A Dmicrochip.c304 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 Dicplus.c331 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 Dnxp-cbtx.c51 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in cbtx_config_init()
87 switch (phydev->mdix_ctrl) { in cbtx_mdix_config()
H A Dmxl-gpy.c421 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 Dncn26000.c55 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in ncn26000_config_aneg()
H A Dvitesse.c237 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 Dbcm84881.c100 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in bcm84881_config_aneg()
H A Dbroadcom.c1039 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 Dsmsc.c161 switch (phydev->mdix_ctrl) { in lan87xx_config_aneg()
186 phydev->mdix = phydev->mdix_ctrl; in lan87xx_config_aneg()
H A Dmicrel.c822 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 Dadin.c529 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in adin_config_init()
674 switch (phydev->mdix_ctrl) { in adin_config_mdix()
H A Dmarvell10g.c834 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in mv3310_config_init()
912 switch (phydev->mdix_ctrl) { in mv3310_config_mdix()
H A Dphy.c309 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 Dmarvell.c454 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 Dqcom-phy-lib.c254 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 Dethtool.py412 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 Dhns_ethtool.c64 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 Dmscc_main.c583 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 Dhclge_main.c11124 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 Dlan78xx.c459 u8 mdix_ctrl; member