Lines Matching refs:rx_en
3198 bool rx_en, tx_en; in hclge_update_pause_advertising() local
3202 rx_en = true; in hclge_update_pause_advertising()
3206 rx_en = false; in hclge_update_pause_advertising()
3210 rx_en = true; in hclge_update_pause_advertising()
3214 rx_en = false; in hclge_update_pause_advertising()
3219 linkmode_set_pause(mac->advertising, tx_en, rx_en); in hclge_update_pause_advertising()
10891 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument
10898 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv()
10901 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument
10908 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam()
10949 u32 *rx_en, u32 *tx_en) in hclge_get_pauseparam() argument
10959 *rx_en = 0; in hclge_get_pauseparam()
10965 *rx_en = 1; in hclge_get_pauseparam()
10969 *rx_en = 0; in hclge_get_pauseparam()
10971 *rx_en = 1; in hclge_get_pauseparam()
10974 *rx_en = 0; in hclge_get_pauseparam()
10980 u32 rx_en, u32 tx_en) in hclge_record_user_pauseparam() argument
10982 if (rx_en && tx_en) in hclge_record_user_pauseparam()
10984 else if (rx_en && !tx_en) in hclge_record_user_pauseparam()
10986 else if (!rx_en && tx_en) in hclge_record_user_pauseparam()
10995 u32 rx_en, u32 tx_en) in hclge_set_pauseparam() argument
11017 hclge_set_flowctrl_adv(hdev, rx_en, tx_en); in hclge_set_pauseparam()
11019 hclge_record_user_pauseparam(hdev, rx_en, tx_en); in hclge_set_pauseparam()
11022 return hclge_cfg_pauseparam(hdev, rx_en, tx_en); in hclge_set_pauseparam()