Lines Matching refs:rx_en

3106 	bool rx_en, tx_en;  in hclge_update_pause_advertising()  local
3110 rx_en = true; in hclge_update_pause_advertising()
3114 rx_en = false; in hclge_update_pause_advertising()
3118 rx_en = true; in hclge_update_pause_advertising()
3122 rx_en = false; in hclge_update_pause_advertising()
3127 linkmode_set_pause(mac->advertising, tx_en, rx_en); in hclge_update_pause_advertising()
10827 static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_set_flowctrl_adv() argument
10834 phy_set_asym_pause(phydev, rx_en, tx_en); in hclge_set_flowctrl_adv()
10837 static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) in hclge_cfg_pauseparam() argument
10844 ret = hclge_mac_pause_en_cfg(hdev, tx_en, rx_en); in hclge_cfg_pauseparam()
10888 u32 *rx_en, u32 *tx_en) in hclge_get_pauseparam() argument
10898 *rx_en = 0; in hclge_get_pauseparam()
10904 *rx_en = 1; in hclge_get_pauseparam()
10908 *rx_en = 0; in hclge_get_pauseparam()
10910 *rx_en = 1; in hclge_get_pauseparam()
10913 *rx_en = 0; in hclge_get_pauseparam()
10919 u32 rx_en, u32 tx_en) in hclge_record_user_pauseparam() argument
10921 if (rx_en && tx_en) in hclge_record_user_pauseparam()
10923 else if (rx_en && !tx_en) in hclge_record_user_pauseparam()
10925 else if (!rx_en && tx_en) in hclge_record_user_pauseparam()
10934 u32 rx_en, u32 tx_en) in hclge_set_pauseparam() argument
10956 hclge_set_flowctrl_adv(hdev, rx_en, tx_en); in hclge_set_pauseparam()
10958 hclge_record_user_pauseparam(hdev, rx_en, tx_en); in hclge_set_pauseparam()
10961 return hclge_cfg_pauseparam(hdev, rx_en, tx_en); in hclge_set_pauseparam()