Searched refs:mdix_ctrl (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/net/usb/ |
D | smsc95xx.c | 63 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()
|
D | lan78xx.c | 406 u8 mdix_ctrl; member
|
/Linux-v5.4/drivers/net/phy/ |
D | phy.c | 306 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()
|
D | microchip.c | 282 switch (phydev->mdix_ctrl) { in lan88xx_set_mdix()
|
D | adin.c | 414 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in adin_config_init() 524 switch (phydev->mdix_ctrl) { in adin_config_mdix()
|
D | marvell.c | 298 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()
|
D | marvell10g.c | 323 phydev->mdix_ctrl = ETH_TP_MDI_AUTO; in mv3310_config_aneg()
|
D | mscc.c | 850 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/ |
D | hns_ethtool.c | 65 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/ |
D | phy.h | 439 u8 mdix_ctrl; member
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 8772 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()
|