Searched refs:pfhwdev (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_hw_dev.c | 132 struct hinic_pfhwdev *pfhwdev; in get_dev_cap() local 218 struct hinic_pfhwdev *pfhwdev; in hinic_port_msg_cmd() local 231 struct hinic_pfhwdev *pfhwdev; in hinic_hilink_msg_cmd() local 604 hwdev = &pfhwdev->hwdev; in nic_mgmt_msg_handler() 646 pfhwdev->proc.cmd_num++; in hinic_comm_recv_mgmt_self_cmd_reg() 665 pfhwdev->proc.cmd_num--; in hinic_comm_recv_mgmt_self_cmd_unreg() 929 pfhwdev = devm_kzalloc(&pdev->dev, sizeof(*pfhwdev), GFP_KERNEL); in hinic_init_hwdev() 930 if (!pfhwdev) { in hinic_init_hwdev() 935 hwdev = &pfhwdev->hwdev; in hinic_init_hwdev() 1006 free_pfhwdev(pfhwdev); in hinic_init_hwdev() [all …]
|
| A 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()
|
| A D | hinic_hw_cmdq.c | 798 struct hinic_pfhwdev *pfhwdev; in init_cmdqs_ctxt() local 807 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in init_cmdqs_ctxt() 828 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in init_cmdqs_ctxt() 857 struct hinic_pfhwdev *pfhwdev; in hinic_set_cmdq_depth() local 859 pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev); in hinic_set_cmdq_depth() 867 return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM, in hinic_set_cmdq_depth()
|
| A D | hinic_hw_mgmt.c | 619 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() 669 struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt); in hinic_pf_to_mgmt_free() local 670 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in hinic_pf_to_mgmt_free()
|
| A 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()
|
| A 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()
|
| A 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()
|
| A D | hinic_sriov.c | 1025 struct hinic_pfhwdev *pfhwdev; in nic_pf_mbox_handler() local 1040 pfhwdev = container_of(dev, struct hinic_pfhwdev, hwdev); in nic_pf_mbox_handler() 1054 err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, in nic_pf_mbox_handler()
|
Completed in 32 milliseconds