Home
last modified time | relevance | path

Searched refs:eth_tp_mdix_ctrl (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/net/ethtool/
Dlinkinfo.c68 data->lsettings->eth_tp_mdix_ctrl) || in linkinfo_fill_reply()
135 ethnl_update_u8(&lsettings->eth_tp_mdix_ctrl, in ethnl_set_linkinfo()
Dcommon.c488 link_ksettings->base.eth_tp_mdix_ctrl in convert_legacy_settings_to_link_ksettings()
489 = legacy_settings->eth_tp_mdix_ctrl; in convert_legacy_settings_to_link_ksettings()
Dioctl.c417 legacy_settings->eth_tp_mdix_ctrl in convert_link_ksettings_to_legacy_settings()
418 = link_ksettings->base.eth_tp_mdix_ctrl; in convert_link_ksettings_to_legacy_settings()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c68 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in hns_get_mdix_mode()
86 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI; in hns_get_mdix_mode()
89 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_X; in hns_get_mdix_mode()
92 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in hns_get_mdix_mode()
95 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in hns_get_mdix_mode()
/Linux-v6.1/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c152 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in e1000_get_link_ksettings()
154 cmd->base.eth_tp_mdix_ctrl = hw->mdix; in e1000_get_link_ksettings()
178 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
182 if ((cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO) && in e1000_set_link_ksettings()
212 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
213 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in e1000_set_link_ksettings()
216 hw->mdix = cmd->base.eth_tp_mdix_ctrl; in e1000_set_link_ksettings()
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/
Dprestera_ethtool.c509 ecmd->base.eth_tp_mdix_ctrl = port->cfg_phy.mdix; in prestera_port_mdix_get()
573 if (ecmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_INVALID && in prestera_port_mdix_set()
576 port->cfg_phy.mdix = ecmd->base.eth_tp_mdix_ctrl; in prestera_port_mdix_set()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dethtool.c188 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in e1000_get_link_ksettings()
190 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in e1000_get_link_ksettings()
193 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in e1000_get_link_ksettings()
285 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
291 if ((cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO) && in e1000_set_link_ksettings()
323 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
327 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in e1000_set_link_ksettings()
330 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in e1000_set_link_ksettings()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1796 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in igc_ethtool_get_link_ksettings()
1798 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in igc_ethtool_get_link_ksettings()
1824 if (cmd->base.eth_tp_mdix_ctrl) { in igc_ethtool_set_link_ksettings()
1825 if (cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO && in igc_ethtool_set_link_ksettings()
1854 if (cmd->base.eth_tp_mdix_ctrl) { in igc_ethtool_set_link_ksettings()
1858 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in igc_ethtool_set_link_ksettings()
1861 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in igc_ethtool_set_link_ksettings()
/Linux-v6.1/include/uapi/linux/
Dethtool.h120 __u8 eth_tp_mdix_ctrl; member
2142 __u8 eth_tp_mdix_ctrl; member
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c248 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in igb_get_link_ksettings()
250 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in igb_get_link_ksettings()
280 if (cmd->base.eth_tp_mdix_ctrl) { in igb_set_link_ksettings()
284 if ((cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO) && in igb_set_link_ksettings()
337 if (cmd->base.eth_tp_mdix_ctrl) { in igb_set_link_ksettings()
341 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in igb_set_link_ksettings()
344 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in igb_set_link_ksettings()
/Linux-v6.1/drivers/s390/net/
Dqeth_ethtool.c440 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in qeth_get_link_ksettings()
/Linux-v6.1/drivers/net/phy/
Dphy.c295 cmd->base.eth_tp_mdix_ctrl = phydev->mdix_ctrl; in phy_ethtool_ksettings_get()
848 phydev->mdix_ctrl = cmd->base.eth_tp_mdix_ctrl; in phy_ethtool_ksettings_set()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h852 u8 eth_tp_mdix_ctrl; member
Dhclge_main.c3362 cmd->base.eth_tp_mdix_ctrl = req0->eth_tp_mdix_ctrl; in hclge_get_phy_link_ksettings()
3411 req0->eth_tp_mdix_ctrl = cmd->base.eth_tp_mdix_ctrl; in hclge_set_phy_link_ksettings()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c753 ops->get_mdix_mode(h, &cmd->base.eth_tp_mdix_ctrl, in hns3_get_ksettings()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c828 link_ksettings->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in ethtool_get_ptys_link_ksettings()