Lines Matching refs:pcidev
450 io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_alloc_bdt()
478 dma_free_coherent(&hba->pcidev->dev, in bnx2i_destroy_cmd_pool()
530 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
538 hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_setup_mp_bdt()
543 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
571 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
576 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
794 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
805 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
806 pci_dev_get(hba->pcidev); in bnx2i_alloc_hba()
807 hba->pci_did = hba->pcidev->device; in bnx2i_alloc_hba()
808 hba->pci_vid = hba->pcidev->vendor; in bnx2i_alloc_hba()
809 hba->pci_sdid = hba->pcidev->subsystem_device; in bnx2i_alloc_hba()
810 hba->pci_svid = hba->pcidev->subsystem_vendor; in bnx2i_alloc_hba()
811 hba->pci_func = PCI_FUNC(hba->pcidev->devfn); in bnx2i_alloc_hba()
812 hba->pci_devno = PCI_SLOT(hba->pcidev->devfn); in bnx2i_alloc_hba()
817 hba->reg_base = pci_resource_start(hba->pcidev, 0); in bnx2i_alloc_hba()
819 hba->regview = pci_iomap(hba->pcidev, 0, BNX2_MQ_CONFIG2); in bnx2i_alloc_hba()
823 hba->regview = pci_iomap(hba->pcidev, 0, 4096); in bnx2i_alloc_hba()
885 if (iscsi_host_add(shost, &hba->pcidev->dev)) in bnx2i_alloc_hba()
895 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_alloc_hba()
899 pci_dev_put(hba->pcidev); in bnx2i_alloc_hba()
918 pci_dev_put(hba->pcidev); in bnx2i_free_hba()
921 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_free_hba()
940 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
947 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
954 dma_free_coherent(&hba->pcidev->dev, in bnx2i_conn_free_login_resources()
962 dma_free_coherent(&hba->pcidev->dev, in bnx2i_conn_free_login_resources()
982 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
993 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
1004 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1010 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1019 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1025 dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, in bnx2i_conn_alloc_login_resources()
1030 dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, in bnx2i_conn_alloc_login_resources()