Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c120 static int get_cap_from_fw(struct hinic_pfhwdev *pfhwdev) in get_cap_from_fw() argument
122 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_cap_from_fw()
132 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM, in get_cap_from_fw()
153 struct hinic_pfhwdev *pfhwdev; in get_dev_cap() local
159 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in get_dev_cap()
161 err = get_cap_from_fw(pfhwdev); in get_dev_cap()
242 struct hinic_pfhwdev *pfhwdev; in hinic_port_msg_cmd() local
249 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_port_msg_cmd()
251 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd, in hinic_port_msg_cmd()
304 struct hinic_pfhwdev *pfhwdev; in set_hw_ioctxt() local
[all …]
Dhinic_hw_mgmt.c558 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_init() local
559 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_init()
592 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_free() local
593 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free()
Dhinic_hw_cmdq.c800 struct hinic_pfhwdev *pfhwdev; in init_cmdqs_ctxt() local
814 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in init_cmdqs_ctxt()
834 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt()