Searched refs:pfhwdev (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_dev.c | 100 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 …]
|
D | hinic_hw_mbox.c | 524 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()
|
D | hinic_hw_cmdq.c | 798 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()
|
D | hinic_hw_mgmt.c | 623 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()
|
D | hinic_hw_io.c | 497 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()
|
D | hinic_hw_eqs.c | 545 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()
|
D | hinic_sriov.c | 1022 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()
|
D | hinic_port.c | 1278 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()
|