Lines Matching refs:hclge_dev
11 struct hclge_dev;
235 int hclge_tm_schd_init(struct hclge_dev *hdev);
236 int hclge_tm_vport_map_update(struct hclge_dev *hdev);
237 int hclge_pause_setup_hw(struct hclge_dev *hdev, bool init);
238 int hclge_tm_schd_setup_hw(struct hclge_dev *hdev);
239 void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc);
240 void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc);
241 void hclge_tm_pfc_info_update(struct hclge_dev *hdev);
242 int hclge_tm_dwrr_cfg(struct hclge_dev *hdev);
243 int hclge_tm_init_hw(struct hclge_dev *hdev, bool init);
244 int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap,
246 int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx);
247 int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr);
248 int hclge_mac_pause_setup_hw(struct hclge_dev *hdev);
249 void hclge_pfc_rx_stats_get(struct hclge_dev *hdev, u64 *stats);
250 void hclge_pfc_tx_stats_get(struct hclge_dev *hdev, u64 *stats);
252 int hclge_tm_port_shaper_cfg(struct hclge_dev *hdev);
253 int hclge_tm_get_qset_num(struct hclge_dev *hdev, u16 *qset_num);
254 int hclge_tm_get_pri_num(struct hclge_dev *hdev, u8 *pri_num);
255 int hclge_tm_get_qset_map_pri(struct hclge_dev *hdev, u16 qset_id, u8 *priority,
257 int hclge_tm_get_qset_sch_mode(struct hclge_dev *hdev, u16 qset_id, u8 *mode);
258 int hclge_tm_get_qset_weight(struct hclge_dev *hdev, u16 qset_id, u8 *weight);
259 int hclge_tm_get_qset_shaper(struct hclge_dev *hdev, u16 qset_id,
261 int hclge_tm_get_pri_sch_mode(struct hclge_dev *hdev, u8 pri_id, u8 *mode);
262 int hclge_tm_get_pri_weight(struct hclge_dev *hdev, u8 pri_id, u8 *weight);
263 int hclge_tm_get_pri_shaper(struct hclge_dev *hdev, u8 pri_id,
266 int hclge_tm_get_q_to_qs_map(struct hclge_dev *hdev, u16 q_id, u16 *qset_id);
267 int hclge_tm_get_q_to_tc(struct hclge_dev *hdev, u16 q_id, u8 *tc_id);
268 int hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id,
270 int hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight);
271 int hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode);
272 int hclge_tm_get_pg_shaper(struct hclge_dev *hdev, u8 pg_id,
275 int hclge_tm_get_port_shaper(struct hclge_dev *hdev,
277 int hclge_up_to_tc_map(struct hclge_dev *hdev);
278 int hclge_dscp_to_tc_map(struct hclge_dev *hdev);
279 int hclge_tm_flush_cfg(struct hclge_dev *hdev, bool enable);
280 void hclge_reset_tc_config(struct hclge_dev *hdev);