Lines Matching refs:hwif

108 	struct hinic_hwif *hwif = func_to_io->hwif;  in write_sq_ctxts()  local
110 struct pci_dev *pdev = hwif->pdev; in write_sq_ctxts()
152 struct hinic_hwif *hwif = func_to_io->hwif; in write_rq_ctxts() local
154 struct pci_dev *pdev = hwif->pdev; in write_rq_ctxts()
211 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_clean_queue_offload_ctxt() local
213 struct pci_dev *pdev = hwif->pdev; in hinic_clean_queue_offload_ctxt()
276 struct hinic_hwif *hwif = func_to_io->hwif; in init_qp() local
277 struct pci_dev *pdev = hwif->pdev; in init_qp()
309 err = hinic_init_sq(&qp->sq, hwif, &func_to_io->sq_wq[q_id], in init_qp()
319 err = hinic_init_rq(&qp->rq, hwif, &func_to_io->rq_wq[q_id], in init_qp()
376 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_create_qps() local
377 struct pci_dev *pdev = hwif->pdev; in hinic_io_create_qps()
470 struct hinic_hwif *hwif = func_to_io->hwif; in hinic_io_destroy_qps() local
471 struct pci_dev *pdev = hwif->pdev; in hinic_io_destroy_qps()
502 page_size_info.ppf_idx = HINIC_HWIF_PPF_IDX(hwdev->hwif); in hinic_set_wq_page_size()
510 …dev_err(&hwdev->hwif->pdev->dev, "Failed to set wq page size, err: %d, status: 0x%x, out_size: 0x%… in hinic_set_wq_page_size()
529 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs, in hinic_io_init() argument
532 struct pci_dev *pdev = hwif->pdev; in hinic_io_init()
537 func_to_io->hwif = hwif; in hinic_io_init()
542 err = hinic_ceqs_init(&func_to_io->ceqs, hwif, num_ceqs, in hinic_io_init()
550 err = hinic_wqs_alloc(&func_to_io->wqs, 2 * max_qps, hwif); in hinic_io_init()
577 HINIC_HWIF_FUNC_IDX(hwif), in hinic_io_init()
580 dev_err(&func_to_io->hwif->pdev->dev, "Failed to set wq page size\n"); in hinic_io_init()
584 err = hinic_init_cmdqs(&func_to_io->cmdqs, hwif, in hinic_io_init()
594 if (!HINIC_IS_VF(func_to_io->hwif)) in hinic_io_init()
596 HINIC_HWIF_FUNC_IDX(hwif), in hinic_io_init()
623 if (!HINIC_IS_VF(func_to_io->hwif)) in hinic_io_free()
625 HINIC_HWIF_FUNC_IDX(func_to_io->hwif), in hinic_io_free()