Lines Matching refs:hwif

129 	struct hinic_hwif *hwif = cmdqs->hwif;  in hinic_alloc_cmdq_buf()  local
130 struct pci_dev *pdev = hwif->pdev; in hinic_alloc_cmdq_buf()
485 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_cmdq_direct_resp() local
486 struct pci_dev *pdev = hwif->pdev; in hinic_cmdq_direct_resp()
511 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_set_arm_bit() local
512 struct pci_dev *pdev = hwif->pdev; in hinic_set_arm_bit()
677 struct hinic_hwif *hwif = cmdqs->hwif; in cmdq_ceq_handler() local
678 struct pci_dev *pdev = hwif->pdev; in cmdq_ceq_handler()
724 cmdq_ctxt->func_idx = HINIC_HWIF_FUNC_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
725 cmdq_ctxt->ppf_idx = HINIC_HWIF_PPF_IDX(cmdqs->hwif); in cmdq_init_queue_ctxt()
789 struct hinic_hwif *hwif = hwdev->hwif; in init_cmdqs_ctxt() local
792 struct pci_dev *pdev = hwif->pdev; in init_cmdqs_ctxt()
855 hw_ioctxt.func_idx = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in hinic_set_cmdq_depth()
856 hw_ioctxt.ppf_idx = HINIC_HWIF_PPF_IDX(hwdev->hwif); in hinic_set_cmdq_depth()
875 int hinic_init_cmdqs(struct hinic_cmdqs *cmdqs, struct hinic_hwif *hwif, in hinic_init_cmdqs() argument
879 struct pci_dev *pdev = hwif->pdev; in hinic_init_cmdqs()
884 cmdqs->hwif = hwif; in hinic_init_cmdqs()
899 err = hinic_wqs_cmdq_alloc(&cmdqs->cmdq_pages, cmdqs->saved_wqs, hwif, in hinic_init_cmdqs()
919 dev_err(&hwif->pdev->dev, "Failed to set cmdq depth\n"); in hinic_init_cmdqs()
947 struct hinic_hwif *hwif = cmdqs->hwif; in hinic_free_cmdqs() local
948 struct pci_dev *pdev = hwif->pdev; in hinic_free_cmdqs()