Home
last modified time | relevance | path

Searched refs:pfhwdev (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c100 static int get_capability(struct hinic_pfhwdev *pfhwdev) in get_capability() argument
102 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_capability()
111 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_capability()
132 struct hinic_pfhwdev *pfhwdev; in get_dev_cap() local
139 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in get_dev_cap()
140 err = get_capability(pfhwdev); in get_dev_cap()
217 struct hinic_pfhwdev *pfhwdev; in hinic_port_msg_cmd() local
219 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_port_msg_cmd()
221 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd()
230 struct hinic_pfhwdev *pfhwdev; in hinic_hilink_msg_cmd() local
[all …]
Dhinic_hw_mbox.c524 struct hinic_pfhwdev *pfhwdev; in set_vf_mbox_random_id() local
527 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in set_vf_mbox_random_id()
536 ret = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_vf_mbox_random_id()
1374 struct hinic_pfhwdev *pfhwdev; in comm_pf_mbox_handler() local
1377 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in comm_pf_mbox_handler()
1391 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in comm_pf_mbox_handler()
1406 struct hinic_pfhwdev *pfhwdev; in hinic_func_to_func_init() local
1409 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_func_to_func_init()
1448 &pfhwdev->hwdev, hinic_mbox_func_aeqe_handler); in hinic_func_to_func_init()
1450 &pfhwdev->hwdev, hinic_mbox_self_aeqe_handler); in hinic_func_to_func_init()
Dhinic_hw_cmdq.c798 struct hinic_pfhwdev *pfhwdev; in init_cmdqs_ctxt() local
806 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in init_cmdqs_ctxt()
827 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt()
856 struct hinic_pfhwdev *pfhwdev; in hinic_set_cmdq_depth() local
858 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_set_cmdq_depth()
866 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_cmdq_depth()
Dhinic_hw_mgmt.c623 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_init() local
624 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init()
675 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_free() local
676 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free()
Dhinic_hw_io.c497 struct hinic_pfhwdev *pfhwdev; in hinic_set_wq_page_size() local
500 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_set_wq_page_size()
506 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_wq_page_size()
Dhinic_hw_eqs.c545 struct hinic_pfhwdev *pfhwdev; in set_ceq_ctrl_reg() local
549 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in set_ceq_ctrl_reg()
559 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_ceq_ctrl_reg()
Dhinic_sriov.c1022 struct hinic_pfhwdev *pfhwdev; in nic_pf_mbox_handler() local
1037 pfhwdev = container_of(dev, struct hinic_pfhwdev, hwdev); in nic_pf_mbox_handler()
1051 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in nic_pf_mbox_handler()
Dhinic_port.c1278 struct hinic_pfhwdev *pfhwdev; in _set_led_status() local
1281 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in _set_led_status()
1289 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in _set_led_status()