Home
last modified time | relevance | path

Searched refs:auto_neg (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/accel/habanalabs/include/gaudi/
Dgaudi_fw_if.h74 __u8 auto_neg; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c121 u8 *auto_neg, u16 *speed, u8 *duplex) in hns_mac_get_port_info() argument
132 if (auto_neg) in hns_mac_get_port_info()
133 *auto_neg = info.auto_neg; in hns_mac_get_port_info()
578 void hns_mac_get_autoneg(struct hns_mac_cb *mac_cb, u32 *auto_neg) in hns_mac_get_autoneg() argument
583 mac_ctrl_drv->autoneg_stat(mac_ctrl_drv, auto_neg); in hns_mac_get_autoneg()
585 *auto_neg = 0; in hns_mac_get_autoneg()
Dhns_dsaf_mac.h199 u8 auto_neg; /* Enable or disable autonegotiation */ member
437 void hns_mac_get_autoneg(struct hns_mac_cb *mac_cb, u32 *auto_neg);
443 u8 *auto_neg, u16 *speed, u8 *duplex);
Dhnae.h475 u8 *auto_neg, u16 *speed, u8 *duplex);
485 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
487 u32 auto_neg, u32 rx_en, u32 tx_en);
Dhns_ae_adapt.c424 u8 *auto_neg, u16 *speed, u8 *duplex) in hns_ae_get_mac_info() argument
428 return hns_mac_get_port_info(mac_cb, auto_neg, speed, duplex); in hns_ae_get_mac_info()
473 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument
478 hns_mac_get_autoneg(mac_cb, auto_neg); in hns_ae_get_pauseparam()
Dhns_dsaf_gmac.c501 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
Dhns_dsaf_xgmac.c432 mac_info->auto_neg = 0; in hns_xgmac_get_info()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.h54 u32 auto_neg; member
Dhinic_ethtool.c838 pause->autoneg = pause_info.auto_neg; in hinic_get_pauseparam()
839 if (nic_cfg->pause_set || !pause_info.auto_neg) { in hinic_get_pauseparam()
864 pause_info.auto_neg = pause->autoneg; in hinic_set_pauseparam()
875 nic_dev->hwdev->func_to_io.nic_cfg.auto_neg = pause->autoneg; in hinic_set_pauseparam()
Dhinic_main.c947 nic_cfg->auto_neg = port_cap.autoneg_state; in hinic_refresh_nic_cfg()
948 pause_info.auto_neg = nic_cfg->auto_neg; in hinic_refresh_nic_cfg()
Dhinic_port.h675 u32 auto_neg; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h595 u8 *auto_neg, u32 *speed, u8 *duplex,
619 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
621 u32 auto_neg, u32 rx_en, u32 tx_en);
/linux-6.6.21/drivers/accel/habanalabs/include/common/
Dcpucp_if.h1266 __u8 auto_neg; member
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3146 u8 *auto_neg, u32 *speed, in hclgevf_get_ksettings_an_result() argument
3155 if (auto_neg) in hclgevf_get_ksettings_an_result()
3156 *auto_neg = AUTONEG_DISABLE; in hclgevf_get_ksettings_an_result()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c10887 static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg, in hclge_get_pauseparam() argument
10894 *auto_neg = (media_type == HNAE3_MEDIA_TYPE_COPPER) ? in hclge_get_pauseparam()
10933 static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg, in hclge_set_pauseparam() argument
10943 if (auto_neg != fc_autoneg) { in hclge_set_pauseparam()
10960 if (!auto_neg || hnae3_dev_phy_imp_supported(hdev)) in hclge_set_pauseparam()
10970 u8 *auto_neg, u32 *speed, u8 *duplex, u32 *lane_num) in hclge_get_ksettings_an_result() argument
10979 if (auto_neg) in hclge_get_ksettings_an_result()
10980 *auto_neg = hdev->hw.mac.autoneg; in hclge_get_ksettings_an_result()