Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/usb/
Dsmsc95xx.c63 u8 mdix_ctrl; member
796 static void set_mdix_status(struct net_device *net, __u8 mdix_ctrl) in set_mdix_status() argument
814 if (mdix_ctrl == ETH_TP_MDI) { in set_mdix_status()
822 } else if (mdix_ctrl == ETH_TP_MDI_X) { in set_mdix_status()
831 } else if (mdix_ctrl == ETH_TP_MDI_AUTO) { in set_mdix_status()
841 pdata->mdix_ctrl = mdix_ctrl; in set_mdix_status()
853 cmd->base.eth_tp_mdix = pdata->mdix_ctrl; in smsc95xx_get_link_ksettings()
854 cmd->base.eth_tp_mdix_ctrl = pdata->mdix_ctrl; in smsc95xx_get_link_ksettings()
866 if (pdata->mdix_ctrl != cmd->base.eth_tp_mdix_ctrl) in smsc95xx_set_link_ksettings()
1297 pdata->mdix_ctrl = get_mdix_status(dev->net); in smsc95xx_bind()
Dlan78xx.c406 u8 mdix_ctrl; member
/Linux-v5.4/drivers/net/phy/
Dphy.c306 phydev->mdix_ctrl = cmd->eth_tp_mdix_ctrl; in phy_ethtool_sset()
357 phydev->mdix_ctrl = cmd->base.eth_tp_mdix_ctrl; in phy_ethtool_ksettings_set()
383 cmd->base.eth_tp_mdix_ctrl = phydev->mdix_ctrl; in phy_ethtool_ksettings_get()
Dmicrochip.c282 switch (phydev->mdix_ctrl) { in lan88xx_set_mdix()
Dadin.c414 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in adin_config_init()
524 switch (phydev->mdix_ctrl) { in adin_config_mdix()
Dmarvell.c298 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in marvell_config_aneg()
463 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1121_config_aneg()
675 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1116r_config_init()
893 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in m88e1118_config_aneg()
Dmarvell10g.c323 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in mv3310_config_aneg()
Dmscc.c850 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc85xx_default_config()
1619 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc8584_config_init()
1990 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in vsc8514_config_init()
2194 rc = vsc85xx_mdix_set(phydev, phydev->mdix_ctrl); in vsc85xx_config_aneg()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c65 int mdix_ctrl, mdix, retval, is_resolved; in hns_get_mdix_mode() local
77 mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); in hns_get_mdix_mode()
85 switch (mdix_ctrl) { in hns_get_mdix_mode()
/Linux-v5.4/include/linux/
Dphy.h439 u8 mdix_ctrl; member
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8772 int mdix_ctrl, mdix, is_resolved; in hclge_get_mdix_mode() local
8784 mdix_ctrl = hnae3_get_field(retval, HCLGE_PHY_MDIX_CTRL_M, in hclge_get_mdix_mode()
8793 switch (mdix_ctrl) { in hclge_get_mdix_mode()