Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c94 static int get_capability(struct hinic_pfhwdev *pfhwdev) in get_capability() argument
96 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_capability()
105 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_capability()
126 struct hinic_pfhwdev *pfhwdev; in get_dev_cap() local
133 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in get_dev_cap()
134 err = get_capability(pfhwdev); in get_dev_cap()
211 struct hinic_pfhwdev *pfhwdev; in hinic_port_msg_cmd() local
213 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_port_msg_cmd()
215 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd()
224 struct hinic_pfhwdev *pfhwdev; in hinic_hilink_msg_cmd() local
[all …]
Dhinic_hw_mbox.c519 struct hinic_pfhwdev *pfhwdev; in set_vf_mbox_random_id() local
522 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in set_vf_mbox_random_id()
531 ret = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in set_vf_mbox_random_id()
1369 struct hinic_pfhwdev *pfhwdev; in comm_pf_mbox_handler() local
1372 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in comm_pf_mbox_handler()
1386 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in comm_pf_mbox_handler()
1401 struct hinic_pfhwdev *pfhwdev; in hinic_func_to_func_init() local
1404 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_func_to_func_init()
1443 &pfhwdev->hwdev, hinic_mbox_func_aeqe_handler); in hinic_func_to_func_init()
1445 &pfhwdev->hwdev, hinic_mbox_self_aeqe_handler); in hinic_func_to_func_init()
Dhinic_hw_cmdq.c793 struct hinic_pfhwdev *pfhwdev; in init_cmdqs_ctxt() local
801 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in init_cmdqs_ctxt()
822 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt()
851 struct hinic_pfhwdev *pfhwdev; in hinic_set_cmdq_depth() local
853 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_set_cmdq_depth()
861 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_cmdq_depth()
Dhinic_hw_mgmt.c619 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_init() local
620 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init()
671 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_free() local
672 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free()
Dhinic_hw_io.c496 struct hinic_pfhwdev *pfhwdev; in hinic_set_wq_page_size() local
499 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_set_wq_page_size()
505 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_port.c1293 struct hinic_pfhwdev *pfhwdev; in _set_led_status() local
1296 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in _set_led_status()
1304 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in _set_led_status()
Dhinic_sriov.c1038 struct hinic_pfhwdev *pfhwdev; in nic_pf_mbox_handler() local
1053 pfhwdev = container_of(dev, struct hinic_pfhwdev, hwdev); in nic_pf_mbox_handler()
1067 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in nic_pf_mbox_handler()