/drivers/infiniband/hw/qib/ |
D | qib_pcie.c | 141 dd->pcidev = pdev; in qib_pcie_ddinit() 184 pci_disable_device(dd->pcidev); in qib_pcie_ddcleanup() 185 pci_release_regions(dd->pcidev); in qib_pcie_ddcleanup() 187 pci_set_drvdata(dd->pcidev, NULL); in qib_pcie_ddcleanup() 198 ret = pci_msix_vec_count(dd->pcidev); in qib_msix_setup() 214 ret = pci_enable_msix_range(dd->pcidev, msix_entry, 1, nvec); in qib_msix_setup() 236 qib_enable_intx(dd->pcidev); in qib_msix_setup() 246 struct pci_dev *pdev = dd->pcidev; in qib_msi_setup() 275 if (!pci_is_pcie(dd->pcidev)) { in qib_pcie_params() 283 pos = dd->pcidev->msix_cap; in qib_pcie_params() [all …]
|
/drivers/staging/comedi/ |
D | comedi_pci.c | 60 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in comedi_pci_enable() local 63 if (!pcidev) in comedi_pci_enable() 66 rc = pci_enable_device(pcidev); in comedi_pci_enable() 70 rc = pci_request_regions(pcidev, dev->board_name); in comedi_pci_enable() 72 pci_disable_device(pcidev); in comedi_pci_enable() 91 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in comedi_pci_disable() local 93 if (pcidev && dev->ioenabled) { in comedi_pci_disable() 94 pci_release_regions(pcidev); in comedi_pci_disable() 95 pci_disable_device(pcidev); in comedi_pci_disable() 117 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in comedi_pci_detach() local [all …]
|
/drivers/infiniband/hw/nes/ |
D | nes.c | 163 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), 0); in nes_inetaddr_event() 190 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), in nes_inetaddr_event() 276 pci_free_consistent(nesdev->pcidev, nesqp->qp_mem_size, in nes_cqp_rem_ref_callback() 281 pci_free_consistent(nesdev->pcidev, 256, nesqp->pbl_vbase, nesqp->pbl_pbase); in nes_cqp_rem_ref_callback() 285 pci_free_consistent(nesdev->pcidev, nesqp->qp_mem_size, in nes_cqp_rem_ref_callback() 448 static int nes_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) in nes_probe() argument 456 assert(pcidev != NULL); in nes_probe() 460 DRV_VERSION, pci_name(pcidev)); in nes_probe() 462 ret = pci_enable_device(pcidev); in nes_probe() 464 printk(KERN_ERR PFX "Unable to enable PCI device. (%s)\n", pci_name(pcidev)); in nes_probe() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | pcie.c | 165 dd->pcidev = pdev; in hfi1_pcie_ddinit() 212 pci_read_config_dword(dd->pcidev, PCI_ROM_ADDRESS, &dd->pci_rom); in hfi1_pcie_ddinit() 213 pci_read_config_word(dd->pcidev, PCI_COMMAND, &dd->pci_command); in hfi1_pcie_ddinit() 214 pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &dd->pcie_devctl); in hfi1_pcie_ddinit() 215 pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL, &dd->pcie_lnkctl); in hfi1_pcie_ddinit() 216 pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL2, in hfi1_pcie_ddinit() 218 pci_read_config_dword(dd->pcidev, PCI_CFG_MSIX0, &dd->pci_msix0); in hfi1_pcie_ddinit() 219 pci_read_config_dword(dd->pcidev, PCIE_CFG_SPCIE1, &dd->pci_lnkctl3); in hfi1_pcie_ddinit() 220 pci_read_config_dword(dd->pcidev, PCIE_CFG_TPH2, &dd->pci_tph2); in hfi1_pcie_ddinit() 259 pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVSTA, &status); in hfi1_pcie_flr() [all …]
|
D | aspm.h | 72 struct pci_dev *parent = dd->pcidev->bus->self; in aspm_hw_l1_supported() 82 pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &dn); in aspm_hw_l1_supported() 98 pci_read_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, ®32); in aspm_hw_set_l1_ent_latency() 101 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, reg32); in aspm_hw_set_l1_ent_latency() 106 struct pci_dev *parent = dd->pcidev->bus->self; in aspm_hw_enable_l1() 119 pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, in aspm_hw_enable_l1() 126 struct pci_dev *parent = dd->pcidev->bus->self; in aspm_hw_disable_l1() 129 pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, in aspm_hw_disable_l1()
|
D | efivar.c | 157 pci_domain_nr(dd->pcidev->bus), in read_hfi1_efi_var() 158 dd->pcidev->bus->number, in read_hfi1_efi_var() 159 PCI_SLOT(dd->pcidev->devfn), in read_hfi1_efi_var() 160 PCI_FUNC(dd->pcidev->devfn), in read_hfi1_efi_var()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 87 io_handle->start = pci_resource_start(asd_ha->pcidev, i); in asd_map_memio() 88 io_handle->len = pci_resource_len(asd_ha->pcidev, i); in asd_map_memio() 89 io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); in asd_map_memio() 93 i==0?0:1, pci_name(asd_ha->pcidev)); in asd_map_memio() 96 err = pci_request_region(asd_ha->pcidev, i, ASD_DRIVER_NAME); in asd_map_memio() 99 pci_name(asd_ha->pcidev)); in asd_map_memio() 105 pci_name(asd_ha->pcidev)); in asd_map_memio() 113 pci_release_region(asd_ha->pcidev, i); in asd_map_memio() 118 pci_release_region(asd_ha->pcidev, 0); in asd_map_memio() 129 pci_release_region(asd_ha->pcidev, 2); in asd_unmap_memio() [all …]
|
D | aic94xx_hwi.c | 163 struct pci_dev *pcidev = asd_ha->pcidev; in asd_init_sw() local 168 err = pci_read_config_dword(pcidev, PCI_CONF_MBAR_KEY, &v); in asd_init_sw() 171 pci_name(pcidev)); in asd_init_sw() 175 err = pci_write_config_dword(pcidev, PCI_CONF_MBAR_KEY, v); in asd_init_sw() 178 pci_name(pcidev)); in asd_init_sw() 185 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWA, REG_BASE_ADDR); in asd_init_sw() 186 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWB, in asd_init_sw() 188 pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWC, REG_BASE_ADDR_EXSI); in asd_init_sw() 195 pci_write_config_dword(pcidev, PCI_CONF_MBAR1, OCM_BASE_ADDR); in asd_init_sw() 465 pci_name(asd_ha->pcidev)); in asd_init_chip() [all …]
|
/drivers/parisc/ |
D | iosapic.c | 474 iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) in iosapic_xlate_pin() argument 478 pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin); in iosapic_xlate_pin() 481 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); in iosapic_xlate_pin() 489 if (pcidev->bus->parent) { in iosapic_xlate_pin() 504 intr_pin = pci_bridge_funcs->xlate_intr_line(pcidev); in iosapic_xlate_pin() 507 struct pci_bus *p = pcidev->bus; in iosapic_xlate_pin() 521 intr_pin = pci_swizzle_interrupt_pin(pcidev, intr_pin); in iosapic_xlate_pin() 532 intr_slot = PCI_SLOT(pcidev->devfn); in iosapic_xlate_pin() 535 pcidev->bus->busn_res.start, intr_slot, intr_pin); in iosapic_xlate_pin() 720 int iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) in iosapic_fixup_irq() argument [all …]
|
D | superio.c | 153 superio_init(struct pci_dev *pcidev) in superio_init() argument 338 int superio_fixup_irq(struct pci_dev *pcidev) in superio_fixup_irq() argument 344 fn = PCI_FUNC(pcidev->devfn); in superio_fixup_irq() 347 if (expected_device[fn] != pcidev->device) { in superio_fixup_irq() 352 pci_name(pcidev), in superio_fixup_irq() 353 pcidev->vendor, pcidev->device, in superio_fixup_irq() 368 switch(pcidev->device) { in superio_fixup_irq() 373 sio_dev.lio_pdev = pcidev; /* save for superio_init() */ in superio_fixup_irq() 376 sio_dev.usb_pdev = pcidev; /* save for superio_init() */ in superio_fixup_irq()
|
/drivers/mfd/ |
D | rtsx_pcr.c | 1155 static int rtsx_pci_probe(struct pci_dev *pcidev, in rtsx_pci_probe() argument 1163 dev_dbg(&(pcidev->dev), in rtsx_pci_probe() 1165 pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device, in rtsx_pci_probe() 1166 (int)pcidev->revision); in rtsx_pci_probe() 1168 ret = pci_set_dma_mask(pcidev, DMA_BIT_MASK(32)); in rtsx_pci_probe() 1172 ret = pci_enable_device(pcidev); in rtsx_pci_probe() 1176 ret = pci_request_regions(pcidev, DRV_NAME_RTSX_PCI); in rtsx_pci_probe() 1203 pcr->pci = pcidev; in rtsx_pci_probe() 1204 dev_set_drvdata(&pcidev->dev, handle); in rtsx_pci_probe() 1208 len = pci_resource_len(pcidev, bar); in rtsx_pci_probe() [all …]
|
/drivers/mmc/host/ |
D | via-sdmmc.c | 1085 static int via_sd_probe(struct pci_dev *pcidev, in via_sd_probe() argument 1096 pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device, in via_sd_probe() 1097 (int)pcidev->revision); in via_sd_probe() 1099 ret = pci_enable_device(pcidev); in via_sd_probe() 1103 ret = pci_request_regions(pcidev, DRV_NAME); in via_sd_probe() 1107 pci_write_config_byte(pcidev, VIA_CRDR_PCI_WORK_MODE, 0); in via_sd_probe() 1108 pci_write_config_byte(pcidev, VIA_CRDR_PCI_DBG_MODE, 0); in via_sd_probe() 1110 mmc = mmc_alloc_host(sizeof(struct via_crdr_mmc_host), &pcidev->dev); in via_sd_probe() 1118 dev_set_drvdata(&pcidev->dev, sdhost); in via_sd_probe() 1120 len = pci_resource_len(pcidev, 0); in via_sd_probe() [all …]
|
/drivers/staging/comedi/drivers/ |
D | ni_labpc_pci.c | 57 static int labpc_pci_mite_init(struct pci_dev *pcidev) in labpc_pci_mite_init() argument 63 mite_base = pci_ioremap_bar(pcidev, 0); in labpc_pci_mite_init() 68 main_phys_addr = pci_resource_start(pcidev, 1); in labpc_pci_mite_init() 79 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in labpc_pci_auto_attach() local 94 ret = labpc_pci_mite_init(pcidev); in labpc_pci_auto_attach() 98 dev->mmio = pci_ioremap_bar(pcidev, 1); in labpc_pci_auto_attach() 102 return labpc_common_attach(dev, pcidev->irq, IRQF_SHARED); in labpc_pci_auto_attach()
|
D | 8255_pci.c | 184 static int pci_8255_mite_init(struct pci_dev *pcidev) in pci_8255_mite_init() argument 190 mite_base = pci_ioremap_bar(pcidev, 0); in pci_8255_mite_init() 195 main_phys_addr = pci_resource_start(pcidev, 1); in pci_8255_mite_init() 206 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in pci_8255_auto_attach() local 224 ret = pci_8255_mite_init(pcidev); in pci_8255_auto_attach() 229 if ((pci_resource_flags(pcidev, board->dio_badr) & IORESOURCE_MEM)) { in pci_8255_auto_attach() 230 dev->mmio = pci_ioremap_bar(pcidev, board->dio_badr); in pci_8255_auto_attach() 234 dev->iobase = pci_resource_start(pcidev, board->dio_badr); in pci_8255_auto_attach()
|
D | ni_670x.c | 146 static int ni_670x_mite_init(struct pci_dev *pcidev) in ni_670x_mite_init() argument 152 mite_base = pci_ioremap_bar(pcidev, 0); in ni_670x_mite_init() 157 main_phys_addr = pci_resource_start(pcidev, 1); in ni_670x_mite_init() 168 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in ni_670x_auto_attach() local 190 ret = ni_670x_mite_init(pcidev); in ni_670x_auto_attach() 194 dev->mmio = pci_ioremap_bar(pcidev, 1); in ni_670x_auto_attach()
|
D | gsc_hpdi.c | 490 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in gsc_hpdi_free_dma() local 500 dma_free_coherent(&pcidev->dev, in gsc_hpdi_free_dma() 507 dma_free_coherent(&pcidev->dev, in gsc_hpdi_free_dma() 592 struct pci_dev *pcidev = comedi_to_pci_dev(dev); in gsc_hpdi_auto_attach() local 607 pci_set_master(pcidev); in gsc_hpdi_auto_attach() 609 devpriv->plx9080_mmio = pci_ioremap_bar(pcidev, 0); in gsc_hpdi_auto_attach() 610 dev->mmio = pci_ioremap_bar(pcidev, 2); in gsc_hpdi_auto_attach() 619 if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED, in gsc_hpdi_auto_attach() 622 "unable to allocate irq %u\n", pcidev->irq); in gsc_hpdi_auto_attach() 625 dev->irq = pcidev->irq; in gsc_hpdi_auto_attach() [all …]
|
/drivers/char/hw_random/ |
D | amd-rng.c | 57 struct pci_dev *pcidev; member 99 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_init() 101 pci_write_config_byte(priv->pcidev, 0x40, rnen); in amd_rng_init() 103 pci_read_config_byte(priv->pcidev, 0x41, &rnen); in amd_rng_init() 105 pci_write_config_byte(priv->pcidev, 0x41, rnen); in amd_rng_init() 115 pci_read_config_byte(priv->pcidev, 0x40, &rnen); in amd_rng_cleanup() 117 pci_write_config_byte(priv->pcidev, 0x40, rnen); in amd_rng_cleanup() 172 priv->pcidev = pdev; in mod_init()
|
/drivers/scsi/ |
D | ips.c | 687 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_release() 691 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n"); in ips_release() 693 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n"); in ips_release() 702 free_irq(ha->pcidev->irq, ha); in ips_release() 756 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_halt() 761 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt() 764 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt() 914 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset() 929 IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n"); in __ips_eh_reset() 935 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset() [all …]
|
D | hptiop.c | 598 struct pci_dev *pcidev = hba->pcidev; in hptiop_map_pci_bar() local 601 if (!(pci_resource_flags(pcidev, index) & IORESOURCE_MEM)) { in hptiop_map_pci_bar() 607 mem_base_phy = pci_resource_start(pcidev, index); in hptiop_map_pci_bar() 608 length = pci_resource_len(pcidev, index); in hptiop_map_pci_bar() 621 struct pci_dev *pcidev = hba->pcidev; in hptiop_map_pci_bar_itl() local 625 if ((pcidev->device & 0xff00) == 0x4400) { in hptiop_map_pci_bar_itl() 1201 hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mv() 1230 p = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mvfrey() 1269 dma_free_coherent(&hba->pcidev->dev, 0x800, in hptiop_internal_memfree_mv() 1279 dma_free_coherent(&hba->pcidev->dev, in hptiop_internal_memfree_mvfrey() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_DAC1064.c | 115 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); in DAC1064_setmclk() 130 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); in DAC1064_setmclk() 132 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); in DAC1064_setmclk() 157 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); in DAC1064_setmclk() 159 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); in DAC1064_setmclk() 696 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); in MGA1064_preinit() 719 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); in g450_mclk_init() 720 pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); in g450_mclk_init() 721 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); in g450_mclk_init() 739 pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); in g450_mclk_init() [all …]
|
/drivers/staging/slicoss/ |
D | slicoss.c | 378 ret = request_firmware(&fw, file, &adapter->pcidev->dev); in slic_card_download_gbrcv() 380 dev_err(&adapter->pcidev->dev, in slic_card_download_gbrcv() 456 ret = request_firmware(&fw, file, &adapter->pcidev->dev); in slic_card_download() 458 dev_err(&adapter->pcidev->dev, in slic_card_download() 1112 pci_free_consistent(adapter->pcidev, PAGE_SIZE, in slic_rspqueue_free() 1134 rspq->vaddr[i] = pci_zalloc_consistent(adapter->pcidev, in slic_rspqueue_init() 1138 dev_err(&adapter->pcidev->dev, in slic_rspqueue_init() 1190 pci_free_consistent(adapter->pcidev, in slic_cmdqmem_free() 1206 pageaddr = pci_alloc_consistent(adapter->pcidev, in slic_cmdqmem_addpage() 1455 pci_map_single(adapter->pcidev, in slic_rcvqueue_fill() [all …]
|
/drivers/char/agp/ |
D | intel-gtt.c | 63 struct pci_dev *pcidev; /* device one */ member 112 if (!pci_map_sg(intel_private.pcidev, in intel_gtt_map_memory() 128 pci_unmap_sg(intel_private.pcidev, sg_list, in intel_gtt_unmap_memory() 183 reg_addr = pci_resource_start(intel_private.pcidev, I810_MMADR_BAR); in i810_setup() 196 dev_info(&intel_private.pcidev->dev, in i810_setup() 304 dma_addr = pci_map_page(intel_private.pcidev, page, 0, in intel_gtt_setup_scratch_page() 306 if (pci_dma_mapping_error(intel_private.pcidev, dma_addr)) in intel_gtt_setup_scratch_page() 502 dev_info(&intel_private.pcidev->dev, in i965_gtt_total_entries() 549 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries() 559 pci_unmap_page(intel_private.pcidev, in intel_gtt_teardown_scratch_page() [all …]
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 675 tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, in bnx2fc_alloc_session_resc() 689 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc() 703 tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, in bnx2fc_alloc_session_resc() 716 tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, in bnx2fc_alloc_session_resc() 742 tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, tgt->xferq_mem_size, in bnx2fc_alloc_session_resc() 756 tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, tgt->confq_mem_size, in bnx2fc_alloc_session_resc() 770 tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 795 tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_alloc_session_resc() 811 tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_alloc_session_resc() 850 dma_free_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, in bnx2fc_free_session_resc() [all …]
|
/drivers/hwmon/ |
D | i5k_amb.c | 431 struct pci_dev *pcidev; in i5k_find_amb_registers() local 436 pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, in i5k_find_amb_registers() 439 if (!pcidev) in i5k_find_amb_registers() 442 if (pci_read_config_dword(pcidev, I5K_REG_AMB_BASE_ADDR, &val32)) in i5k_find_amb_registers() 446 if (pci_read_config_dword(pcidev, I5K_REG_AMB_LEN_ADDR, &val32)) in i5k_find_amb_registers() 452 dev_err(&pcidev->dev, "AMB region too small!\n"); in i5k_find_amb_registers() 458 pci_dev_put(pcidev); in i5k_find_amb_registers() 464 struct pci_dev *pcidev; in i5k_channel_probe() local 469 pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, dev_id, NULL); in i5k_channel_probe() 470 if (!pcidev) in i5k_channel_probe() [all …]
|
/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 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() [all …]
|