pfhwdev           794 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           808 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           828 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c 		err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM,
pfhwdev           108 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c static int get_cap_from_fw(struct hinic_pfhwdev *pfhwdev)
pfhwdev           110 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_hwdev *hwdev = &pfhwdev->hwdev;
pfhwdev           120 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_CFGM,
pfhwdev           141 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           147 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 		pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           149 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 		err = get_cap_from_fw(pfhwdev);
pfhwdev           230 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           237 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           239 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC, cmd,
pfhwdev           292 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           313 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           315 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM,
pfhwdev           374 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           387 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           389 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	err = hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt, HINIC_MOD_COMM,
pfhwdev           414 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           424 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           426 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt,
pfhwdev           563 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           572 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           575 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	nic_cb = &pfhwdev->nic_cb[cmd_cb];
pfhwdev           592 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           601 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           604 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	nic_cb = &pfhwdev->nic_cb[cmd_cb];
pfhwdev           625 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev = handle;
pfhwdev           633 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	hwdev = &pfhwdev->hwdev;
pfhwdev           645 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	nic_cb = &pfhwdev->nic_cb[cmd_cb];
pfhwdev           666 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c static int init_pfhwdev(struct hinic_pfhwdev *pfhwdev)
pfhwdev           668 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_hwdev *hwdev = &pfhwdev->hwdev;
pfhwdev           673 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	err = hinic_pf_to_mgmt_init(&pfhwdev->pf_to_mgmt, hwif);
pfhwdev           679 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	hinic_register_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC,
pfhwdev           680 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 				   pfhwdev, nic_mgmt_msg_handler);
pfhwdev           690 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c static void free_pfhwdev(struct hinic_pfhwdev *pfhwdev)
pfhwdev           692 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_hwdev *hwdev = &pfhwdev->hwdev;
pfhwdev           696 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	hinic_unregister_mgmt_msg_cb(&pfhwdev->pf_to_mgmt, HINIC_MOD_L2NIC);
pfhwdev           698 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	hinic_pf_to_mgmt_free(&pfhwdev->pf_to_mgmt);
pfhwdev           711 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           732 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = devm_kzalloc(&pdev->dev, sizeof(*pfhwdev), GFP_KERNEL);
pfhwdev           733 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	if (!pfhwdev) {
pfhwdev           738 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	hwdev = &pfhwdev->hwdev;
pfhwdev           763 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	err = init_pfhwdev(pfhwdev);
pfhwdev           792 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	free_pfhwdev(pfhwdev);
pfhwdev           813 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev = container_of(hwdev,
pfhwdev           819 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	free_pfhwdev(pfhwdev);
pfhwdev           934 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	struct hinic_pfhwdev *pfhwdev;
pfhwdev           955 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	pfhwdev = container_of(hwdev, struct hinic_pfhwdev, hwdev);
pfhwdev           956 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c 	return hinic_msg_to_mgmt(&pfhwdev->pf_to_mgmt,
pfhwdev           558 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c 	struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt);
pfhwdev           559 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c 	struct hinic_hwdev *hwdev = &pfhwdev->hwdev;
pfhwdev           592 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c 	struct hinic_pfhwdev *pfhwdev = mgmt_to_pfhwdev(pf_to_mgmt);
pfhwdev           593 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c 	struct hinic_hwdev *hwdev = &pfhwdev->hwdev;