Home
last modified time | relevance | path

Searched refs:hclgevf_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c16 static int hclgevf_reset_hdev(struct hclgevf_dev *hdev);
91 static struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle) in hclgevf_ae_get_hdev()
94 return container_of(handle, struct hclgevf_dev, nic); in hclgevf_ae_get_hdev()
96 return container_of(handle, struct hclgevf_dev, roce); in hclgevf_ae_get_hdev()
98 return container_of(handle, struct hclgevf_dev, nic); in hclgevf_ae_get_hdev()
104 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_tqps_update_stats()
199 struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle); in hclgevf_update_stats()
243 static int hclgevf_get_tc_info(struct hclgevf_dev *hdev) in hclgevf_get_tc_info()
264 static int hclgevf_get_port_base_vlan_filter_state(struct hclgevf_dev *hdev) in hclgevf_get_port_base_vlan_filter_state()
287 static int hclgevf_get_queue_info(struct hclgevf_dev *hdev) in hclgevf_get_queue_info()
[all …]
Dhclgevf_main.h260 struct hclgevf_dev { struct
328 static inline bool hclgevf_is_reset_pending(struct hclgevf_dev *hdev) in hclgevf_is_reset_pending() argument
333 int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev,
336 void hclgevf_mbx_handler(struct hclgevf_dev *hdev);
337 void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev);
339 void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state);
340 void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed,
342 void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev);
343 void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev);
344 void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state,
Dhclgevf_cmd.c41 struct hclgevf_dev *hdev = container_of(hw, struct hclgevf_dev, hw); in hclgevf_cmd_csq_clean()
87 struct hclgevf_dev *hdev = ring->dev; in hclgevf_cmd_config_regs()
147 static int hclgevf_alloc_cmd_queue(struct hclgevf_dev *hdev, int ring_type) in hclgevf_alloc_cmd_queue()
221 struct hclgevf_dev *hdev = (struct hclgevf_dev *)hw->hdev; in hclgevf_cmd_send()
316 static void hclgevf_set_default_capability(struct hclgevf_dev *hdev) in hclgevf_set_default_capability()
325 static void hclgevf_parse_capability(struct hclgevf_dev *hdev, in hclgevf_parse_capability()
341 static int hclgevf_cmd_query_version_and_capability(struct hclgevf_dev *hdev) in hclgevf_cmd_query_version_and_capability()
369 int hclgevf_cmd_queue_init(struct hclgevf_dev *hdev) in hclgevf_cmd_queue_init()
401 int hclgevf_cmd_init(struct hclgevf_dev *hdev) in hclgevf_cmd_init()
473 void hclgevf_cmd_uninit(struct hclgevf_dev *hdev) in hclgevf_cmd_uninit()
Dhclgevf_cmd.h15 struct hclgevf_dev;
35 struct hclgevf_dev *dev;
308 int hclgevf_cmd_init(struct hclgevf_dev *hdev);
309 void hclgevf_cmd_uninit(struct hclgevf_dev *hdev);
310 int hclgevf_cmd_queue_init(struct hclgevf_dev *hdev);
Dhclgevf_mbx.c16 static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev) in hclgevf_reset_mbx_resp_status()
33 static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1, in hclgevf_get_mbx_resp()
90 int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev, in hclgevf_send_mbx_msg()
152 void hclgevf_mbx_handler(struct hclgevf_dev *hdev) in hclgevf_mbx_handler()
263 static void hclgevf_parse_promisc_info(struct hclgevf_dev *hdev, in hclgevf_parse_promisc_info()
271 void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev) in hclgevf_mbx_async_handler()
Dhclgevf_trace.h18 struct hclgevf_dev *hdev,
49 struct hclgevf_dev *hdev,
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhclge_mbx.h161 struct hclgevf_dev *hdev;