Home
last modified time | relevance | path

Searched refs:pause_param (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c189 struct hclge_cfg_pause_param_cmd *pause_param; in hclge_pause_param_cfg() local
192 pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data; in hclge_pause_param_cfg()
196 ether_addr_copy(pause_param->mac_addr, addr); in hclge_pause_param_cfg()
197 ether_addr_copy(pause_param->mac_addr_extra, addr); in hclge_pause_param_cfg()
198 pause_param->pause_trans_gap = pause_trans_gap; in hclge_pause_param_cfg()
199 pause_param->pause_trans_time = cpu_to_le16(pause_trans_time); in hclge_pause_param_cfg()
206 struct hclge_cfg_pause_param_cmd *pause_param; in hclge_pause_addr_cfg() local
212 pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data; in hclge_pause_addr_cfg()
220 trans_gap = pause_param->pause_trans_gap; in hclge_pause_addr_cfg()
221 trans_time = le16_to_cpu(pause_param->pause_trans_time); in hclge_pause_addr_cfg()
Dhclge_debugfs.c771 struct hclge_cfg_pause_param_cmd *pause_param; in hclge_dbg_dump_qos_pause_cfg() local
784 pause_param = (struct hclge_cfg_pause_param_cmd *)desc.data; in hclge_dbg_dump_qos_pause_cfg()
787 pause_param->pause_trans_gap); in hclge_dbg_dump_qos_pause_cfg()
789 le16_to_cpu(pause_param->pause_trans_time)); in hclge_dbg_dump_qos_pause_cfg()