Lines Matching refs:hwif
132 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in prepare_header() local
143 HINIC_MSG_HEADER_SET(HINIC_HWIF_PCI_INTF(hwif), PCI_INTF) | in prepare_header()
144 HINIC_MSG_HEADER_SET(HINIC_HWIF_PF_IDX(hwif), PF_IDX) | in prepare_header()
252 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in msg_to_mgmt_sync() local
253 struct pci_dev *pdev = hwif->pdev; in msg_to_mgmt_sync()
355 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in hinic_msg_to_mgmt() local
356 struct pci_dev *pdev = hwif->pdev; in hinic_msg_to_mgmt()
369 if (HINIC_IS_VF(hwif)) { in hinic_msg_to_mgmt()
392 struct pci_dev *pdev = pf_to_mgmt->hwif->pdev; in recv_mgmt_msg_work_handler()
490 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in recv_mgmt_msg_handler() local
491 struct pci_dev *pdev = hwif->pdev; in recv_mgmt_msg_handler()
552 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_recv_msg() local
553 struct pci_dev *pdev = hwif->pdev; in alloc_recv_msg()
576 struct hinic_hwif *hwif = pf_to_mgmt->hwif; in alloc_msg_buf() local
577 struct pci_dev *pdev = hwif->pdev; in alloc_msg_buf()
617 struct hinic_hwif *hwif) in hinic_pf_to_mgmt_init() argument
621 struct pci_dev *pdev = hwif->pdev; in hinic_pf_to_mgmt_init()
624 pf_to_mgmt->hwif = hwif; in hinic_pf_to_mgmt_init()
627 if (HINIC_IS_VF(hwif)) in hinic_pf_to_mgmt_init()
651 err = hinic_api_cmd_init(pf_to_mgmt->cmd_chain, hwif); in hinic_pf_to_mgmt_init()
674 if (HINIC_IS_VF(hwdev->hwif)) in hinic_pf_to_mgmt_free()