Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_dev.c126 struct hinic_pfhwdev *pfhwdev; in get_dev_cap() local
211 struct hinic_pfhwdev *pfhwdev; in hinic_port_msg_cmd() local
224 struct hinic_pfhwdev *pfhwdev; in hinic_hilink_msg_cmd() local
597 hwdev = &pfhwdev->hwdev; in nic_mgmt_msg_handler()
639 pfhwdev->proc.cmd_num++; in hinic_comm_recv_mgmt_self_cmd_reg()
658 pfhwdev->proc.cmd_num--; in hinic_comm_recv_mgmt_self_cmd_unreg()
922 pfhwdev = devm_kzalloc(&pdev->dev, sizeof(*pfhwdev), GFP_KERNEL); in hinic_init_hwdev()
923 if (!pfhwdev) { in hinic_init_hwdev()
928 hwdev = &pfhwdev->hwdev; in hinic_init_hwdev()
999 free_pfhwdev(pfhwdev); in hinic_init_hwdev()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()