Home
last modified time | relevance | path

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

/linux/net/ethtool/
H A Dlinkinfo.c68 data->lsettings->eth_tp_mdix_ctrl) || in linkinfo_fill_reply()
117 ethnl_update_u8(&lsettings->eth_tp_mdix_ctrl, in ethnl_set_linkinfo()
H A Dcommon.c513 link_ksettings->base.eth_tp_mdix_ctrl in convert_legacy_settings_to_link_ksettings()
514 = legacy_settings->eth_tp_mdix_ctrl; in convert_legacy_settings_to_link_ksettings()
H A Dioctl.c415 legacy_settings->eth_tp_mdix_ctrl in convert_link_ksettings_to_legacy_settings()
416 = link_ksettings->base.eth_tp_mdix_ctrl; in convert_link_ksettings_to_legacy_settings()
/linux/drivers/net/ethernet/intel/e1000/
H A 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/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c190 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in e1000_get_link_ksettings()
192 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in e1000_get_link_ksettings()
195 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in e1000_get_link_ksettings()
290 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
294 if ((cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO) && in e1000_set_link_ksettings()
325 if (cmd->base.eth_tp_mdix_ctrl) { in e1000_set_link_ksettings()
329 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in e1000_set_link_ksettings()
332 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in e1000_set_link_ksettings()
/linux/drivers/net/ethernet/marvell/prestera/
H A 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/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1888 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in igc_ethtool_get_link_ksettings()
1890 cmd->base.eth_tp_mdix_ctrl = hw->phy.mdix; in igc_ethtool_get_link_ksettings()
1916 if (cmd->base.eth_tp_mdix_ctrl) { in igc_ethtool_set_link_ksettings()
1917 if (cmd->base.eth_tp_mdix_ctrl != ETH_TP_MDI_AUTO && in igc_ethtool_set_link_ksettings()
1960 if (cmd->base.eth_tp_mdix_ctrl) { in igc_ethtool_set_link_ksettings()
1964 if (cmd->base.eth_tp_mdix_ctrl == ETH_TP_MDI_AUTO) in igc_ethtool_set_link_ksettings()
1967 hw->phy.mdix = cmd->base.eth_tp_mdix_ctrl; in igc_ethtool_set_link_ksettings()
/linux/include/uapi/linux/
H A Dethtool.h120 __u8 eth_tp_mdix_ctrl; member
2522 __u8 eth_tp_mdix_ctrl; member
/linux/drivers/net/ethernet/intel/igb/
H A 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/drivers/s390/net/
H A Dqeth_ethtool.c440 cmd->base.eth_tp_mdix_ctrl = ETH_TP_MDI_INVALID; in qeth_get_link_ksettings()
/linux/drivers/net/phy/
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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h855 u8 eth_tp_mdix_ctrl; member
H A Dhclge_main.c3341 cmd->base.eth_tp_mdix_ctrl = req0->eth_tp_mdix_ctrl; in hclge_get_phy_link_ksettings()
3390 req0->eth_tp_mdix_ctrl = cmd->base.eth_tp_mdix_ctrl; in hclge_set_phy_link_ksettings()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c809 link_ksettings->base.eth_tp_mdix_ctrl = ETH_TP_MDI_AUTO; in ethtool_get_ptys_link_ksettings()