Searched refs:auto_neg (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ae_adapt.c | 427 u8 *auto_neg, u16 *speed, u8 *duplex) in hns_ae_get_mac_info() argument 431 return hns_mac_get_port_info(mac_cb, auto_neg, speed, duplex); in hns_ae_get_mac_info() 478 u32 *auto_neg, u32 *rx_en, u32 *tx_en) in hns_ae_get_pauseparam() argument 483 hns_mac_get_autoneg(mac_cb, auto_neg); in hns_ae_get_pauseparam() 509 u32 auto_neg; in hns_ae_get_autoneg() local 513 hns_mac_get_autoneg(hns_get_mac_cb(handle), &auto_neg); in hns_ae_get_autoneg() 515 return auto_neg; in hns_ae_get_autoneg()
|
D | hns_dsaf_mac.c | 92 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() 548 void hns_mac_get_autoneg(struct hns_mac_cb *mac_cb, u32 *auto_neg) in hns_mac_get_autoneg() argument 553 mac_ctrl_drv->autoneg_stat(mac_ctrl_drv, auto_neg); in hns_mac_get_autoneg() 555 *auto_neg = 0; in hns_mac_get_autoneg()
|
D | hns_dsaf_mac.h | 199 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);
|
D | hnae.h | 479 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);
|
D | hns_dsaf_gmac.c | 517 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
|
D | hns_dsaf_xgmac.c | 444 mac_info->auto_neg = 0; in hns_xgmac_get_info()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 385 u8 *auto_neg, u32 *speed, u8 *duplex); 405 u32 *auto_neg, u32 *rx_en, u32 *tx_en); 407 u32 auto_neg, u32 rx_en, u32 tx_en);
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 2940 u8 *auto_neg, u32 *speed, in hclgevf_get_ksettings_an_result() argument 2949 if (auto_neg) in hclgevf_get_ksettings_an_result() 2950 *auto_neg = AUTONEG_DISABLE; in hclgevf_get_ksettings_an_result()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 8658 static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg, in hclge_get_pauseparam() argument 8665 *auto_neg = phydev ? hclge_get_autoneg(handle) : 0; in hclge_get_pauseparam() 8703 static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg, in hclge_set_pauseparam() argument 8713 if (auto_neg != fc_autoneg) { in hclge_set_pauseparam() 8730 if (!auto_neg) in hclge_set_pauseparam() 8740 u8 *auto_neg, u32 *speed, u8 *duplex) in hclge_get_ksettings_an_result() argument 8749 if (auto_neg) in hclge_get_ksettings_an_result() 8750 *auto_neg = hdev->hw.mac.autoneg; in hclge_get_ksettings_an_result()
|