• Home
  • Raw
  • Download

Lines Matching refs:pcidev

450 	io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev,  in bnx2i_alloc_bdt()
477 dma_free_coherent(&hba->pcidev->dev, in bnx2i_destroy_cmd_pool()
529 hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
537 hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_setup_mp_bdt()
542 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_setup_mp_bdt()
570 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
575 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_free_mp_bdt()
792 shost->dma_boundary = cnic->pcidev->dma_mask; in bnx2i_alloc_hba()
803 hba->pcidev = cnic->pcidev; in bnx2i_alloc_hba()
804 pci_dev_get(hba->pcidev); in bnx2i_alloc_hba()
805 hba->pci_did = hba->pcidev->device; in bnx2i_alloc_hba()
806 hba->pci_vid = hba->pcidev->vendor; in bnx2i_alloc_hba()
807 hba->pci_sdid = hba->pcidev->subsystem_device; in bnx2i_alloc_hba()
808 hba->pci_svid = hba->pcidev->subsystem_vendor; in bnx2i_alloc_hba()
809 hba->pci_func = PCI_FUNC(hba->pcidev->devfn); in bnx2i_alloc_hba()
810 hba->pci_devno = PCI_SLOT(hba->pcidev->devfn); in bnx2i_alloc_hba()
815 hba->reg_base = pci_resource_start(hba->pcidev, 0); in bnx2i_alloc_hba()
817 hba->regview = pci_iomap(hba->pcidev, 0, BNX2_MQ_CONFIG2); in bnx2i_alloc_hba()
821 hba->regview = pci_iomap(hba->pcidev, 0, 4096); in bnx2i_alloc_hba()
883 if (iscsi_host_add(shost, &hba->pcidev->dev)) in bnx2i_alloc_hba()
893 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_alloc_hba()
897 pci_dev_put(hba->pcidev); in bnx2i_alloc_hba()
918 pci_iounmap(hba->pcidev, hba->regview); in bnx2i_free_hba()
921 pci_dev_put(hba->pcidev); in bnx2i_free_hba()
938 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
945 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_free_login_resources()
952 dma_free_coherent(&hba->pcidev->dev, in bnx2i_conn_free_login_resources()
960 dma_free_coherent(&hba->pcidev->dev, in bnx2i_conn_free_login_resources()
980 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
991 dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_conn_alloc_login_resources()
1002 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1008 dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1017 dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2i_conn_alloc_login_resources()
1023 dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, in bnx2i_conn_alloc_login_resources()
1028 dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, in bnx2i_conn_alloc_login_resources()