Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c425 u8 *auto_neg, u16 *speed, u8 *duplex) in hns_ae_get_mac_info() argument
429 return hns_mac_get_port_info(mac_cb, auto_neg, speed, duplex); in hns_ae_get_mac_info()
476 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument
481 hns_mac_get_autoneg(mac_cb, auto_neg); in hns_ae_get_pauseparam()
507 u32 auto_neg; in hns_ae_get_autoneg() local
511 hns_mac_get_autoneg(hns_get_mac_cb(handle), &auto_neg); in hns_ae_get_autoneg()
513 return auto_neg; in hns_ae_get_autoneg()
Dhns_dsaf_mac.c92 u8 *auto_neg, u16 *speed, u8 *duplex) in hns_mac_get_port_info() argument
103 if (auto_neg) in hns_mac_get_port_info()
104 *auto_neg = info.auto_neg; in hns_mac_get_port_info()
549 void hns_mac_get_autoneg(struct hns_mac_cb *mac_cb, u32 *auto_neg) in hns_mac_get_autoneg() argument
554 mac_ctrl_drv->autoneg_stat(mac_ctrl_drv, auto_neg); in hns_mac_get_autoneg()
556 *auto_neg = 0; in hns_mac_get_autoneg()
Dhns_dsaf_mac.h199 u8 auto_neg; /* Enable or disable autonegotiation */ member
441 void hns_mac_get_autoneg(struct hns_mac_cb *mac_cb, u32 *auto_neg);
447 u8 *auto_neg, u16 *speed, u8 *duplex);
Dhnae.h479 u8 *auto_neg, u16 *speed, u8 *duplex);
489 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
493 u32 auto_neg, u32 rx_en, u32 tx_en);
Dhns_dsaf_gmac.c517 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
Dhns_dsaf_xgmac.c445 mac_info->auto_neg = 0; in hns_xgmac_get_info()
/kernel/linux/linux-5.10/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.c979 nic_cfg->auto_neg = port_cap.autoneg_state; in hinic_refresh_nic_cfg()
980 pause_info.auto_neg = nic_cfg->auto_neg; in hinic_refresh_nic_cfg()
Dhinic_port.h664 u32 auto_neg; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h473 u8 *auto_neg, u32 *speed, u8 *duplex);
494 u32 *auto_neg, u32 *rx_en, u32 *tx_en);
496 u32 auto_neg, u32 rx_en, u32 tx_en);
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3451 u8 *auto_neg, u32 *speed, in hclgevf_get_ksettings_an_result() argument
3460 if (auto_neg) in hclgevf_get_ksettings_an_result()
3461 *auto_neg = AUTONEG_DISABLE; in hclgevf_get_ksettings_an_result()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c9534 static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg, in hclge_get_pauseparam() argument
9541 *auto_neg = phydev ? hclge_get_autoneg(handle) : 0; in hclge_get_pauseparam()
9579 static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg, in hclge_set_pauseparam() argument
9589 if (auto_neg != fc_autoneg) { in hclge_set_pauseparam()
9606 if (!auto_neg) in hclge_set_pauseparam()
9616 u8 *auto_neg, u32 *speed, u8 *duplex) in hclge_get_ksettings_an_result() argument
9625 if (auto_neg) in hclge_get_ksettings_an_result()
9626 *auto_neg = hdev->hw.mac.autoneg; in hclge_get_ksettings_an_result()