pcidev 256 arch/parisc/include/asm/ropes.h extern int iosapic_fixup_irq(void *obj, struct pci_dev *pcidev); pcidev 84 arch/parisc/include/asm/superio.h extern int superio_fixup_irq(struct pci_dev *pcidev); /* called by iosapic */ pcidev 45 arch/powerpc/kernel/eeh_cache.c struct pci_dev *pcidev; pcidev 109 arch/powerpc/kernel/eeh_cache.c &piar->addr_lo, &piar->addr_hi, pci_name(piar->pcidev)); pcidev 134 arch/powerpc/kernel/eeh_cache.c if (dev != piar->pcidev || pcidev 148 arch/powerpc/kernel/eeh_cache.c piar->pcidev = dev; pcidev 231 arch/powerpc/kernel/eeh_cache.c if (piar->pcidev == dev) { pcidev 282 arch/powerpc/kernel/eeh_cache.c &piar->addr_lo, &piar->addr_hi, pci_name(piar->pcidev)); pcidev 644 drivers/atm/idt77252.c scq->base = dma_alloc_coherent(&card->pcidev->dev, SCQ_SIZE, pcidev 673 drivers/atm/idt77252.c dma_free_coherent(&card->pcidev->dev, SCQ_SIZE, pcidev 677 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 688 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 804 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 850 drivers/atm/idt77252.c IDT77252_PRV_PADDR(skb) = dma_map_single(&card->pcidev->dev, skb->data, pcidev 928 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 974 drivers/atm/idt77252.c card->rsq.base = dma_alloc_coherent(&card->pcidev->dev, RSQSIZE, pcidev 1005 drivers/atm/idt77252.c dma_free_coherent(&card->pcidev->dev, RSQSIZE, pcidev 1061 drivers/atm/idt77252.c dma_sync_single_for_cpu(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 1182 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 1256 drivers/atm/idt77252.c dma_sync_single_for_cpu(&card->pcidev->dev, IDT77252_PRV_PADDR(queue), pcidev 1349 drivers/atm/idt77252.c dma_sync_single_for_cpu(&card->pcidev->dev, pcidev 1376 drivers/atm/idt77252.c card->tsq.base = dma_alloc_coherent(&card->pcidev->dev, RSQSIZE, pcidev 1398 drivers/atm/idt77252.c dma_free_coherent(&card->pcidev->dev, TSQSIZE, pcidev 1861 drivers/atm/idt77252.c paddr = dma_map_single(&card->pcidev->dev, skb->data, pcidev 1875 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 1892 drivers/atm/idt77252.c dma_sync_single_for_device(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 1898 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, IDT77252_PRV_PADDR(skb), pcidev 3057 drivers/atm/idt77252.c dma_unmap_single(&card->pcidev->dev, pcidev 3075 drivers/atm/idt77252.c dma_free_coherent(&card->pcidev->dev, 2 * sizeof(u32), pcidev 3090 drivers/atm/idt77252.c free_irq(card->pcidev->irq, card); pcidev 3251 drivers/atm/idt77252.c struct pci_dev *pcidev = card->pcidev; pcidev 3274 drivers/atm/idt77252.c if (pci_read_config_byte(pcidev, 0x40, &pci_byte) != 0) { pcidev 3282 drivers/atm/idt77252.c if (pci_write_config_byte(pcidev, 0x40, 0) != 0) { pcidev 3290 drivers/atm/idt77252.c if (pci_read_config_byte(pcidev, 0x41, &pci_byte) != 0) { pcidev 3298 drivers/atm/idt77252.c if (pci_write_config_byte(pcidev, 0x41, 0) != 0) { pcidev 3310 drivers/atm/idt77252.c if (request_irq(pcidev->irq, idt77252_interrupt, IRQF_SHARED, pcidev 3316 drivers/atm/idt77252.c IPRINTK("got %d.\n", pcidev->irq); pcidev 3392 drivers/atm/idt77252.c card->raw_cell_hnd = dma_alloc_coherent(&card->pcidev->dev, pcidev 3538 drivers/atm/idt77252.c if (pci_read_config_word(card->pcidev, PCI_COMMAND, &pci_command)) { pcidev 3550 drivers/atm/idt77252.c if (pci_write_config_word(card->pcidev, PCI_COMMAND, pci_command)) { pcidev 3590 drivers/atm/idt77252.c static int idt77252_init_one(struct pci_dev *pcidev, pcidev 3602 drivers/atm/idt77252.c if ((err = pci_enable_device(pcidev))) { pcidev 3603 drivers/atm/idt77252.c printk("idt77252: can't enable PCI device at %s\n", pci_name(pcidev)); pcidev 3607 drivers/atm/idt77252.c if ((err = dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(32)))) { pcidev 3608 drivers/atm/idt77252.c printk("idt77252: can't enable DMA for PCI device at %s\n", pci_name(pcidev)); pcidev 3618 drivers/atm/idt77252.c card->revision = pcidev->revision; pcidev 3620 drivers/atm/idt77252.c card->pcidev = pcidev; pcidev 3625 drivers/atm/idt77252.c membase = pci_resource_start(pcidev, 1); pcidev 3626 drivers/atm/idt77252.c srambase = pci_resource_start(pcidev, 2); pcidev 3648 drivers/atm/idt77252.c dev = atm_dev_register("idt77252", &pcidev->dev, &idt77252_ops, -1, pcidev 3722 drivers/atm/idt77252.c pci_disable_device(pcidev); pcidev 3773 drivers/atm/idt77252.c pci_disable_device(card->pcidev); pcidev 352 drivers/atm/idt77252.h struct pci_dev *pcidev; /* PCI handle (desriptor) */ pcidev 123 drivers/atm/nicstar.c static int ns_init_card(int i, struct pci_dev *pcidev); pcidev 176 drivers/atm/nicstar.c static int nicstar_init_one(struct pci_dev *pcidev, pcidev 185 drivers/atm/nicstar.c error = ns_init_card(index, pcidev); pcidev 196 drivers/atm/nicstar.c static void nicstar_remove_one(struct pci_dev *pcidev) pcidev 199 drivers/atm/nicstar.c ns_dev *card = pci_get_drvdata(pcidev); pcidev 220 drivers/atm/nicstar.c pci_disable_device(pcidev); pcidev 248 drivers/atm/nicstar.c dma_free_coherent(&card->pcidev->dev, NS_RSQSIZE + NS_RSQ_ALIGNMENT, pcidev 250 drivers/atm/nicstar.c dma_free_coherent(&card->pcidev->dev, NS_TSQSIZE + NS_TSQ_ALIGNMENT, pcidev 252 drivers/atm/nicstar.c free_irq(card->pcidev->irq, card); pcidev 344 drivers/atm/nicstar.c static int ns_init_card(int i, struct pci_dev *pcidev) pcidev 358 drivers/atm/nicstar.c if (pci_enable_device(pcidev)) { pcidev 364 drivers/atm/nicstar.c if (dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(32)) != 0) { pcidev 385 drivers/atm/nicstar.c pci_set_drvdata(pcidev, card); pcidev 389 drivers/atm/nicstar.c card->pcidev = pcidev; pcidev 390 drivers/atm/nicstar.c membase = pci_resource_start(pcidev, 1); pcidev 400 drivers/atm/nicstar.c pci_set_master(pcidev); pcidev 402 drivers/atm/nicstar.c if (pci_read_config_byte(pcidev, PCI_LATENCY_TIMER, &pci_latency) != 0) { pcidev 414 drivers/atm/nicstar.c (pcidev, PCI_LATENCY_TIMER, NS_PCI_LATENCY) != 0) pcidev 529 drivers/atm/nicstar.c card->tsq.org = dma_alloc_coherent(&card->pcidev->dev, pcidev 548 drivers/atm/nicstar.c card->rsq.org = dma_alloc_coherent(&card->pcidev->dev, pcidev 756 drivers/atm/nicstar.c (pcidev->irq, &ns_irq_handler, IRQF_SHARED, "nicstar", card) != 0) { pcidev 757 drivers/atm/nicstar.c printk("nicstar%d: can't allocate IRQ %d.\n", i, pcidev->irq); pcidev 764 drivers/atm/nicstar.c card->atmdev = atm_dev_register("nicstar", &card->pcidev->dev, &atm_ops, pcidev 846 drivers/atm/nicstar.c free_irq(card->pcidev->irq, card); pcidev 852 drivers/atm/nicstar.c pci_disable_device(card->pcidev); pcidev 868 drivers/atm/nicstar.c scq->org = dma_alloc_coherent(&card->pcidev->dev, pcidev 878 drivers/atm/nicstar.c dma_free_coherent(&card->pcidev->dev, pcidev 933 drivers/atm/nicstar.c dma_free_coherent(&card->pcidev->dev, pcidev 954 drivers/atm/nicstar.c addr1 = dma_map_single(&card->pcidev->dev, pcidev 1667 drivers/atm/nicstar.c NS_PRV_DMA(skb) = dma_map_single(&card->pcidev->dev, skb->data, pcidev 1927 drivers/atm/nicstar.c dma_unmap_single(&card->pcidev->dev, pcidev 1988 drivers/atm/nicstar.c dma_sync_single_for_cpu(&card->pcidev->dev, pcidev 1993 drivers/atm/nicstar.c dma_unmap_single(&card->pcidev->dev, pcidev 716 drivers/atm/nicstar.h struct pci_dev *pcidev; pcidev 64 drivers/char/agp/intel-gtt.c struct pci_dev *pcidev; /* device one */ pcidev 113 drivers/char/agp/intel-gtt.c if (!pci_map_sg(intel_private.pcidev, pcidev 129 drivers/char/agp/intel-gtt.c pci_unmap_sg(intel_private.pcidev, sg_list, pcidev 184 drivers/char/agp/intel-gtt.c reg_addr = pci_resource_start(intel_private.pcidev, I810_MMADR_BAR); pcidev 197 drivers/char/agp/intel-gtt.c dev_info(&intel_private.pcidev->dev, pcidev 305 drivers/char/agp/intel-gtt.c dma_addr = pci_map_page(intel_private.pcidev, page, 0, pcidev 307 drivers/char/agp/intel-gtt.c if (pci_dma_mapping_error(intel_private.pcidev, dma_addr)) pcidev 495 drivers/char/agp/intel-gtt.c dev_info(&intel_private.pcidev->dev, pcidev 542 drivers/char/agp/intel-gtt.c aperture_size = pci_resource_len(intel_private.pcidev, 2); pcidev 552 drivers/char/agp/intel-gtt.c pci_unmap_page(intel_private.pcidev, pcidev 574 drivers/char/agp/intel-gtt.c const unsigned short gpu_devid = intel_private.pcidev->device; pcidev 661 drivers/char/agp/intel-gtt.c intel_private.gma_bus_addr = pci_bus_address(intel_private.pcidev, bar); pcidev 760 drivers/char/agp/intel-gtt.c dev_err(&intel_private.pcidev->dev, pcidev 776 drivers/char/agp/intel-gtt.c dev_err(&intel_private.pcidev->dev, pcidev 793 drivers/char/agp/intel-gtt.c reg_addr = pci_resource_start(intel_private.pcidev, I810_MMADR_BAR); pcidev 1093 drivers/char/agp/intel-gtt.c dev_err(&intel_private.pcidev->dev, pcidev 1134 drivers/char/agp/intel-gtt.c reg_addr = pci_resource_start(intel_private.pcidev, I915_MMADR_BAR); pcidev 1143 drivers/char/agp/intel-gtt.c pci_resource_start(intel_private.pcidev, I915_PTE_BAR); pcidev 1357 drivers/char/agp/intel-gtt.c intel_private.pcidev = gmch_device; pcidev 1370 drivers/char/agp/intel-gtt.c intel_private.pcidev = pci_dev_get(gpu_pdev); pcidev 1411 drivers/char/agp/intel-gtt.c if (pci_set_dma_mask(intel_private.pcidev, DMA_BIT_MASK(mask))) pcidev 1412 drivers/char/agp/intel-gtt.c dev_err(&intel_private.pcidev->dev, pcidev 1415 drivers/char/agp/intel-gtt.c pci_set_consistent_dma_mask(intel_private.pcidev, pcidev 1452 drivers/char/agp/intel-gtt.c if (intel_private.pcidev) pcidev 1453 drivers/char/agp/intel-gtt.c pci_dev_put(intel_private.pcidev); pcidev 57 drivers/char/hw_random/amd-rng.c struct pci_dev *pcidev; pcidev 99 drivers/char/hw_random/amd-rng.c pci_read_config_byte(priv->pcidev, 0x40, &rnen); pcidev 101 drivers/char/hw_random/amd-rng.c pci_write_config_byte(priv->pcidev, 0x40, rnen); pcidev 103 drivers/char/hw_random/amd-rng.c pci_read_config_byte(priv->pcidev, 0x41, &rnen); pcidev 105 drivers/char/hw_random/amd-rng.c pci_write_config_byte(priv->pcidev, 0x41, rnen); pcidev 115 drivers/char/hw_random/amd-rng.c pci_read_config_byte(priv->pcidev, 0x40, &rnen); pcidev 117 drivers/char/hw_random/amd-rng.c pci_write_config_byte(priv->pcidev, 0x40, rnen); pcidev 172 drivers/char/hw_random/amd-rng.c priv->pcidev = pdev; pcidev 1292 drivers/char/sonypi.c struct pci_dev *pcidev; pcidev 1310 drivers/char/sonypi.c if ((pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 1313 drivers/char/sonypi.c else if ((pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 1316 drivers/char/sonypi.c else if ((pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 1322 drivers/char/sonypi.c if (pcidev && pci_enable_device(pcidev)) { pcidev 1328 drivers/char/sonypi.c sonypi_device.dev = pcidev; pcidev 1403 drivers/char/sonypi.c if (pcidev) pcidev 1404 drivers/char/sonypi.c pci_disable_device(pcidev); pcidev 1406 drivers/char/sonypi.c pci_dev_put(pcidev); pcidev 110 drivers/cpufreq/amd_freq_sensitivity.c struct pci_dev *pcidev; pcidev 120 drivers/cpufreq/amd_freq_sensitivity.c pcidev = pci_get_device(pci_vendor, pcidev 123 drivers/cpufreq/amd_freq_sensitivity.c if (!pcidev) { pcidev 34 drivers/fpga/dfl-pci.c static void __iomem *cci_pci_ioremap_bar(struct pci_dev *pcidev, int bar) pcidev 36 drivers/fpga/dfl-pci.c if (pcim_iomap_regions(pcidev, BIT(bar), DRV_NAME)) pcidev 39 drivers/fpga/dfl-pci.c return pcim_iomap_table(pcidev)[bar]; pcidev 62 drivers/fpga/dfl-pci.c static int cci_init_drvdata(struct pci_dev *pcidev) pcidev 66 drivers/fpga/dfl-pci.c drvdata = devm_kzalloc(&pcidev->dev, sizeof(*drvdata), GFP_KERNEL); pcidev 70 drivers/fpga/dfl-pci.c pci_set_drvdata(pcidev, drvdata); pcidev 75 drivers/fpga/dfl-pci.c static void cci_remove_feature_devs(struct pci_dev *pcidev) pcidev 77 drivers/fpga/dfl-pci.c struct cci_drvdata *drvdata = pci_get_drvdata(pcidev); pcidev 84 drivers/fpga/dfl-pci.c static int cci_enumerate_feature_devs(struct pci_dev *pcidev) pcidev 86 drivers/fpga/dfl-pci.c struct cci_drvdata *drvdata = pci_get_drvdata(pcidev); pcidev 96 drivers/fpga/dfl-pci.c info = dfl_fpga_enum_info_alloc(&pcidev->dev); pcidev 101 drivers/fpga/dfl-pci.c base = cci_pci_ioremap_bar(pcidev, 0); pcidev 113 drivers/fpga/dfl-pci.c start = pci_resource_start(pcidev, 0); pcidev 114 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, 0); pcidev 140 drivers/fpga/dfl-pci.c base = cci_pci_ioremap_bar(pcidev, bar); pcidev 144 drivers/fpga/dfl-pci.c start = pci_resource_start(pcidev, bar) + offset; pcidev 145 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, bar) - offset; pcidev 151 drivers/fpga/dfl-pci.c start = pci_resource_start(pcidev, 0); pcidev 152 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, 0); pcidev 163 drivers/fpga/dfl-pci.c dev_err(&pcidev->dev, "Enumeration failure\n"); pcidev 177 drivers/fpga/dfl-pci.c int cci_pci_probe(struct pci_dev *pcidev, const struct pci_device_id *pcidevid) pcidev 181 drivers/fpga/dfl-pci.c ret = pcim_enable_device(pcidev); pcidev 183 drivers/fpga/dfl-pci.c dev_err(&pcidev->dev, "Failed to enable device %d.\n", ret); pcidev 187 drivers/fpga/dfl-pci.c ret = pci_enable_pcie_error_reporting(pcidev); pcidev 189 drivers/fpga/dfl-pci.c dev_info(&pcidev->dev, "PCIE AER unavailable %d.\n", ret); pcidev 191 drivers/fpga/dfl-pci.c pci_set_master(pcidev); pcidev 193 drivers/fpga/dfl-pci.c if (!pci_set_dma_mask(pcidev, DMA_BIT_MASK(64))) { pcidev 194 drivers/fpga/dfl-pci.c ret = pci_set_consistent_dma_mask(pcidev, DMA_BIT_MASK(64)); pcidev 197 drivers/fpga/dfl-pci.c } else if (!pci_set_dma_mask(pcidev, DMA_BIT_MASK(32))) { pcidev 198 drivers/fpga/dfl-pci.c ret = pci_set_consistent_dma_mask(pcidev, DMA_BIT_MASK(32)); pcidev 203 drivers/fpga/dfl-pci.c dev_err(&pcidev->dev, "No suitable DMA support available.\n"); pcidev 207 drivers/fpga/dfl-pci.c ret = cci_init_drvdata(pcidev); pcidev 209 drivers/fpga/dfl-pci.c dev_err(&pcidev->dev, "Fail to init drvdata %d.\n", ret); pcidev 213 drivers/fpga/dfl-pci.c ret = cci_enumerate_feature_devs(pcidev); pcidev 215 drivers/fpga/dfl-pci.c dev_err(&pcidev->dev, "enumeration failure %d.\n", ret); pcidev 222 drivers/fpga/dfl-pci.c pci_disable_pcie_error_reporting(pcidev); pcidev 226 drivers/fpga/dfl-pci.c static int cci_pci_sriov_configure(struct pci_dev *pcidev, int num_vfs) pcidev 228 drivers/fpga/dfl-pci.c struct cci_drvdata *drvdata = pci_get_drvdata(pcidev); pcidev 237 drivers/fpga/dfl-pci.c pci_disable_sriov(pcidev); pcidev 250 drivers/fpga/dfl-pci.c ret = pci_enable_sriov(pcidev, num_vfs); pcidev 260 drivers/fpga/dfl-pci.c static void cci_pci_remove(struct pci_dev *pcidev) pcidev 262 drivers/fpga/dfl-pci.c if (dev_is_pf(&pcidev->dev)) pcidev 263 drivers/fpga/dfl-pci.c cci_pci_sriov_configure(pcidev, 0); pcidev 265 drivers/fpga/dfl-pci.c cci_remove_feature_devs(pcidev); pcidev 266 drivers/fpga/dfl-pci.c pci_disable_pcie_error_reporting(pcidev); pcidev 118 drivers/gpio/gpio-exar.c struct pci_dev *pcidev = to_pci_dev(pdev->dev.parent); pcidev 128 drivers/gpio/gpio-exar.c p = pcim_iomap_table(pcidev)[0]; pcidev 419 drivers/hwmon/i5k_amb.c struct pci_dev *pcidev; pcidev 424 drivers/hwmon/i5k_amb.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 427 drivers/hwmon/i5k_amb.c if (!pcidev) pcidev 430 drivers/hwmon/i5k_amb.c if (pci_read_config_dword(pcidev, I5K_REG_AMB_BASE_ADDR, &val32)) pcidev 434 drivers/hwmon/i5k_amb.c if (pci_read_config_dword(pcidev, I5K_REG_AMB_LEN_ADDR, &val32)) pcidev 440 drivers/hwmon/i5k_amb.c dev_err(&pcidev->dev, "AMB region too small!\n"); pcidev 446 drivers/hwmon/i5k_amb.c pci_dev_put(pcidev); pcidev 452 drivers/hwmon/i5k_amb.c struct pci_dev *pcidev; pcidev 457 drivers/hwmon/i5k_amb.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, dev_id, NULL); pcidev 458 drivers/hwmon/i5k_amb.c if (!pcidev) pcidev 461 drivers/hwmon/i5k_amb.c if (pci_read_config_word(pcidev, I5K_REG_CHAN0_PRESENCE_ADDR, &val16)) pcidev 465 drivers/hwmon/i5k_amb.c if (pci_read_config_word(pcidev, I5K_REG_CHAN1_PRESENCE_ADDR, &val16)) pcidev 472 drivers/hwmon/i5k_amb.c pci_dev_put(pcidev); pcidev 634 drivers/infiniband/hw/hfi1/affinity.c int node = pcibus_to_node(dd->pcidev->bus); pcidev 25 drivers/infiniband/hw/hfi1/aspm.c struct pci_dev *parent = dd->pcidev->bus->self; pcidev 35 drivers/infiniband/hw/hfi1/aspm.c pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &dn); pcidev 51 drivers/infiniband/hw/hfi1/aspm.c pci_read_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, ®32); pcidev 54 drivers/infiniband/hw/hfi1/aspm.c pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, reg32); pcidev 59 drivers/infiniband/hw/hfi1/aspm.c struct pci_dev *parent = dd->pcidev->bus->self; pcidev 72 drivers/infiniband/hw/hfi1/aspm.c pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, pcidev 79 drivers/infiniband/hw/hfi1/aspm.c struct pci_dev *parent = dd->pcidev->bus->self; pcidev 82 drivers/infiniband/hw/hfi1/aspm.c pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, pcidev 9386 drivers/infiniband/hw/hfi1/chip.c ret = write_local_device_id(dd, dd->pcidev->device, dd->minrev); pcidev 13952 drivers/infiniband/hw/hfi1/chip.c pcie_flr(dd->pcidev); pcidev 13964 drivers/infiniband/hw/hfi1/chip.c pcie_flr(dd->pcidev); pcidev 14410 drivers/infiniband/hw/hfi1/chip.c dev_dbg(&(dd)->pcidev->dev, "Vnic rsm start = %d, end %d\n", pcidev 14426 drivers/infiniband/hw/hfi1/chip.c dev_dbg(&(dd)->pcidev->dev, pcidev 14825 drivers/infiniband/hw/hfi1/chip.c struct pci_dev *pdev = dd->pcidev; pcidev 166 drivers/infiniband/hw/hfi1/driver.c return dd->pcidev; pcidev 161 drivers/infiniband/hw/hfi1/efivar.c pci_domain_nr(dd->pcidev->bus), pcidev 162 drivers/infiniband/hw/hfi1/efivar.c dd->pcidev->bus->number, pcidev 163 drivers/infiniband/hw/hfi1/efivar.c PCI_SLOT(dd->pcidev->devfn), pcidev 164 drivers/infiniband/hw/hfi1/efivar.c PCI_FUNC(dd->pcidev->devfn)); pcidev 175 drivers/infiniband/hw/hfi1/eprom.c if (dd->pcidev->device != PCI_DEVICE_ID_INTEL0) pcidev 458 drivers/infiniband/hw/hfi1/firmware.c ret = request_firmware(&fdet->fw, name, &dd->pcidev->dev); pcidev 1475 drivers/infiniband/hw/hfi1/firmware.c if (dd->pcidev->device == PCI_DEVICE_ID_INTEL0 && pcidev 1077 drivers/infiniband/hw/hfi1/hfi.h struct pci_dev *pcidev; pcidev 2204 drivers/infiniband/hw/hfi1/hfi.h dev_emerg(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2208 drivers/infiniband/hw/hfi1/hfi.h dev_err(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2212 drivers/infiniband/hw/hfi1/hfi.h dev_err_ratelimited(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2217 drivers/infiniband/hw/hfi1/hfi.h dev_warn(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2221 drivers/infiniband/hw/hfi1/hfi.h dev_warn_ratelimited(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2226 drivers/infiniband/hw/hfi1/hfi.h dev_info(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2230 drivers/infiniband/hw/hfi1/hfi.h dev_info_ratelimited(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2235 drivers/infiniband/hw/hfi1/hfi.h dev_dbg(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 2239 drivers/infiniband/hw/hfi1/hfi.h dev_err(&(dd)->pcidev->dev, "%s: port %u: " fmt, \ pcidev 2303 drivers/infiniband/hw/hfi1/hfi.h return dd->pcidev->device == PCI_DEVICE_ID_INTEL1; pcidev 2308 drivers/infiniband/hw/hfi1/hfi.h #define DD_DEV_ENTRY(dd) __string(dev, dev_name(&(dd)->pcidev->dev)) pcidev 2309 drivers/infiniband/hw/hfi1/hfi.h #define DD_DEV_ASSIGN(dd) __assign_str(dev, dev_name(&(dd)->pcidev->dev)) pcidev 915 drivers/infiniband/hw/hfi1/init.c dd->rcvhdrtail_dummy_kvaddr = dma_alloc_coherent(&dd->pcidev->dev, pcidev 1149 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, rcvhdrq_size(rcd), pcidev 1153 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, pcidev 1166 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, pcidev 1291 drivers/infiniband/hw/hfi1/init.c dd->pcidev = pdev; pcidev 1560 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, sizeof(u64), pcidev 1607 drivers/infiniband/hw/hfi1/init.c hfi1_pcie_cleanup(dd->pcidev); pcidev 1856 drivers/infiniband/hw/hfi1/init.c rcd->rcvhdrq = dma_alloc_coherent(&dd->pcidev->dev, amt, pcidev 1869 drivers/infiniband/hw/hfi1/init.c rcd->rcvhdrtail_kvaddr = dma_alloc_coherent(&dd->pcidev->dev, pcidev 1908 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, pcidev 1968 drivers/infiniband/hw/hfi1/init.c dma_alloc_coherent(&dd->pcidev->dev, pcidev 2089 drivers/infiniband/hw/hfi1/init.c dma_free_coherent(&dd->pcidev->dev, pcidev 630 drivers/infiniband/hw/hfi1/mad.c ni->device_id = cpu_to_be16(dd->pcidev->device); pcidev 667 drivers/infiniband/hw/hfi1/mad.c nip->device_id = cpu_to_be16(dd->pcidev->device); pcidev 77 drivers/infiniband/hw/hfi1/msix.c ret = pci_alloc_irq_vectors(dd->pcidev, total, total, PCI_IRQ_MSIX); pcidev 86 drivers/infiniband/hw/hfi1/msix.c pci_free_irq_vectors(dd->pcidev); pcidev 169 drivers/infiniband/hw/hfi1/msix.c irq = pci_irq_vector(dd->pcidev, nr); pcidev 170 drivers/infiniband/hw/hfi1/msix.c ret = pci_request_irq(dd->pcidev, nr, handler, thread, arg, name); pcidev 315 drivers/infiniband/hw/hfi1/msix.c pci_free_irq(dd->pcidev, msix_intr, me->arg); pcidev 344 drivers/infiniband/hw/hfi1/msix.c pci_free_irq_vectors(dd->pcidev); pcidev 69 drivers/infiniband/hw/hfi1/pcie.c struct pci_dev *pdev = dd->pcidev; pcidev 276 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); pcidev 295 drivers/infiniband/hw/hfi1/pcie.c struct pci_dev *parent = dd->pcidev->bus->self; pcidev 298 drivers/infiniband/hw/hfi1/pcie.c if (!pci_is_pcie(dd->pcidev)) { pcidev 306 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_dword(dd->pcidev, PCI_EXP_LNKCAP, &linkcap); pcidev 323 drivers/infiniband/hw/hfi1/pcie.c (dd->pcidev->bus->max_bus_speed == PCIE_SPEED_2_5GT || pcidev 324 drivers/infiniband/hw/hfi1/pcie.c dd->pcidev->bus->max_bus_speed == PCIE_SPEED_5_0GT)) { pcidev 342 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_word(dd->pcidev, PCI_COMMAND, dd->pci_command); pcidev 346 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_dword(dd->pcidev, PCI_BASE_ADDRESS_0, pcidev 351 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_dword(dd->pcidev, PCI_BASE_ADDRESS_1, pcidev 356 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_dword(dd->pcidev, PCI_ROM_ADDRESS, dd->pci_rom); pcidev 360 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, pcidev 365 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, pcidev 370 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL2, pcidev 375 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_dword(dd->pcidev, PCI_CFG_MSIX0, dd->pci_msix0); pcidev 379 drivers/infiniband/hw/hfi1/pcie.c if (pci_find_ext_capability(dd->pcidev, PCI_EXT_CAP_ID_TPH)) { pcidev 380 drivers/infiniband/hw/hfi1/pcie.c ret = pci_write_config_dword(dd->pcidev, PCIE_CFG_TPH2, pcidev 397 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCI_BASE_ADDRESS_0, pcidev 402 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCI_BASE_ADDRESS_1, pcidev 407 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCI_ROM_ADDRESS, &dd->pci_rom); pcidev 411 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_word(dd->pcidev, PCI_COMMAND, &dd->pci_command); pcidev 415 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, pcidev 420 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL, pcidev 425 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL2, pcidev 430 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCI_CFG_MSIX0, &dd->pci_msix0); pcidev 434 drivers/infiniband/hw/hfi1/pcie.c if (pci_find_ext_capability(dd->pcidev, PCI_EXT_CAP_ID_TPH)) { pcidev 435 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCIE_CFG_TPH2, pcidev 471 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl); pcidev 475 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_write_word(dd->pcidev, pcidev 481 drivers/infiniband/hw/hfi1/pcie.c parent = dd->pcidev->bus->self; pcidev 498 drivers/infiniband/hw/hfi1/pcie.c if (!pci_is_pcie(dd->pcidev)) { pcidev 505 drivers/infiniband/hw/hfi1/pcie.c ep_mpss = dd->pcidev->pcie_mpss; pcidev 506 drivers/infiniband/hw/hfi1/pcie.c ep_mps = ffs(pcie_get_mps(dd->pcidev)) - 8; pcidev 523 drivers/infiniband/hw/hfi1/pcie.c pcie_set_mps(dd->pcidev, 128 << ep_mps); pcidev 537 drivers/infiniband/hw/hfi1/pcie.c ep_mrrs = pcie_get_readrq(dd->pcidev); pcidev 545 drivers/infiniband/hw/hfi1/pcie.c pcie_set_readrq(dd->pcidev, ep_mrrs); pcidev 769 drivers/infiniband/hw/hfi1/pcie.c struct pci_dev *pdev = dd->pcidev; pcidev 786 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, pcidev 847 drivers/infiniband/hw/hfi1/pcie.c struct pci_dev *dev = dd->pcidev; pcidev 940 drivers/infiniband/hw/hfi1/pcie.c if (dd->pcidev->device == PCI_DEVICE_ID_INTEL1) { /* integrated */ pcidev 985 drivers/infiniband/hw/hfi1/pcie.c struct pci_dev *parent = dd->pcidev->bus->self; pcidev 1100 drivers/infiniband/hw/hfi1/pcie.c pci_write_config_dword(dd->pcidev, PCIE_CFG_SPCIE2, 0xffff); pcidev 1111 drivers/infiniband/hw/hfi1/pcie.c pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL2, reg32); pcidev 1121 drivers/infiniband/hw/hfi1/pcie.c pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL100, reg32); pcidev 1131 drivers/infiniband/hw/hfi1/pcie.c if (dd->pcidev->device == PCI_DEVICE_ID_INTEL0) { /* discrete */ pcidev 1152 drivers/infiniband/hw/hfi1/pcie.c pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL101, pcidev 1174 drivers/infiniband/hw/hfi1/pcie.c pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL106, pcidev 1274 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL2, &lnkctl2); pcidev 1287 drivers/infiniband/hw/hfi1/pcie.c ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); pcidev 1325 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_word(dd->pcidev, PCI_VENDOR_ID, &vendor); pcidev 1379 drivers/infiniband/hw/hfi1/pcie.c ret = pci_read_config_dword(dd->pcidev, PCIE_CFG_SPCIE2, ®32); pcidev 2121 drivers/infiniband/hw/hfi1/pio.c set_dev_node(&dd->pcidev->dev, i); pcidev 2122 drivers/infiniband/hw/hfi1/pio.c dd->cr_base[i].va = dma_alloc_coherent(&dd->pcidev->dev, pcidev 2127 drivers/infiniband/hw/hfi1/pio.c set_dev_node(&dd->pcidev->dev, dd->node); pcidev 2135 drivers/infiniband/hw/hfi1/pio.c set_dev_node(&dd->pcidev->dev, dd->node); pcidev 2150 drivers/infiniband/hw/hfi1/pio.c dma_free_coherent(&dd->pcidev->dev, pcidev 178 drivers/infiniband/hw/hfi1/platform.c &dd->pcidev->dev); pcidev 169 drivers/infiniband/hw/hfi1/qsfp.c bus->adapter.dev.parent = &dd->pcidev->dev; pcidev 1300 drivers/infiniband/hw/hfi1/sdma.c dma_free_coherent(&dd->pcidev->dev, SDMA_PAD, pcidev 1307 drivers/infiniband/hw/hfi1/sdma.c dma_free_coherent(&dd->pcidev->dev, dd->sdma_heads_size, pcidev 1321 drivers/infiniband/hw/hfi1/sdma.c &dd->pcidev->dev, pcidev 1470 drivers/infiniband/hw/hfi1/sdma.c sde->descq = dma_alloc_coherent(&dd->pcidev->dev, pcidev 1485 drivers/infiniband/hw/hfi1/sdma.c dd->sdma_heads_dma = dma_alloc_coherent(&dd->pcidev->dev, pcidev 1495 drivers/infiniband/hw/hfi1/sdma.c dd->sdma_pad_dma = dma_alloc_coherent(&dd->pcidev->dev, SDMA_PAD, pcidev 1639 drivers/infiniband/hw/hfi1/sdma.c &dd->pcidev->dev, pcidev 1646 drivers/infiniband/hw/hfi1/sdma.c &dd->pcidev->dev, pcidev 3161 drivers/infiniband/hw/hfi1/sdma.c addr = dma_map_single(&dd->pcidev->dev, pcidev 3166 drivers/infiniband/hw/hfi1/sdma.c if (unlikely(dma_mapping_error(&dd->pcidev->dev, addr))) { pcidev 748 drivers/infiniband/hw/hfi1/sdma.h &dd->pcidev->dev, pcidev 754 drivers/infiniband/hw/hfi1/sdma.h if (unlikely(dma_mapping_error(&dd->pcidev->dev, addr))) { pcidev 830 drivers/infiniband/hw/hfi1/sdma.h &dd->pcidev->dev, pcidev 835 drivers/infiniband/hw/hfi1/sdma.h if (unlikely(dma_mapping_error(&dd->pcidev->dev, addr))) { pcidev 1125 drivers/infiniband/hw/hfi1/tid_rdma.c dma_unmap_page(&dd->pcidev->dev, pcidev 1143 drivers/infiniband/hw/hfi1/tid_rdma.c pset->addr = dma_map_page(&dd->pcidev->dev, pcidev 1149 drivers/infiniband/hw/hfi1/tid_rdma.c if (dma_mapping_error(&dd->pcidev->dev, pset->addr)) { pcidev 202 drivers/infiniband/hw/hfi1/user_exp_rcv.c pci_unmap_single(dd->pcidev, node->dma_addr, pcidev 769 drivers/infiniband/hw/hfi1/user_exp_rcv.c phys = pci_map_single(dd->pcidev, pcidev 772 drivers/infiniband/hw/hfi1/user_exp_rcv.c if (dma_mapping_error(&dd->pcidev->dev, phys)) { pcidev 797 drivers/infiniband/hw/hfi1/user_exp_rcv.c pci_unmap_single(dd->pcidev, phys, npages * PAGE_SIZE, pcidev 1348 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.vendor_part_id = dd->pcidev->device; pcidev 1839 drivers/infiniband/hw/hfi1/verbs.c ibdev->dev.parent = &dd->pcidev->dev; pcidev 1577 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->db_start = pci_resource_start(ldev->pcidev, 0) + I40IW_DB_ADDR_OFFSET; pcidev 1579 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->db_start = pci_resource_start(ldev->pcidev, 0) + I40IW_VF_DB_ADDR_OFFSET; pcidev 1584 drivers/infiniband/hw/i40iw/i40iw_main.c iwdev->hw.dev_context = (void *)ldev->pcidev; pcidev 170 drivers/infiniband/hw/i40iw/i40iw_pble.c struct pci_dev *pcidev = (struct pci_dev *)hw->dev_context; pcidev 176 drivers/infiniband/hw/i40iw/i40iw_pble.c dma_unmap_page(&pcidev->dev, chunk->dmaaddrs[i], PAGE_SIZE, DMA_BIDIRECTIONAL); pcidev 196 drivers/infiniband/hw/i40iw/i40iw_pble.c struct pci_dev *pcidev = (struct pci_dev *)hw->dev_context; pcidev 218 drivers/infiniband/hw/i40iw/i40iw_pble.c chunk->dmaaddrs[i] = dma_map_page(&pcidev->dev, page, 0, pcidev 220 drivers/infiniband/hw/i40iw/i40iw_pble.c if (dma_mapping_error(&pcidev->dev, chunk->dmaaddrs[i])) pcidev 756 drivers/infiniband/hw/i40iw/i40iw_utils.c struct pci_dev *pcidev = (struct pci_dev *)hw->dev_context; pcidev 761 drivers/infiniband/hw/i40iw/i40iw_utils.c mem->va = dma_alloc_coherent(&pcidev->dev, mem->size, pcidev 775 drivers/infiniband/hw/i40iw/i40iw_utils.c struct pci_dev *pcidev = (struct pci_dev *)hw->dev_context; pcidev 780 drivers/infiniband/hw/i40iw/i40iw_utils.c dma_free_coherent(&pcidev->dev, mem->size, pcidev 69 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->vendor_id = iwdev->ldev->pcidev->vendor; pcidev 70 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->vendor_part_id = iwdev->ldev->pcidev->device; pcidev 201 drivers/infiniband/hw/i40iw/i40iw_verbs.c vma->vm_pgoff + (pci_resource_start(ucontext->iwdev->ldev->pcidev, 0) >> PAGE_SHIFT), pcidev 2690 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct pci_dev *pcidev = (struct pci_dev *)iwdev->hw.dev_context; pcidev 2726 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwibdev->ibdev.dev.parent = &pcidev->dev; pcidev 717 drivers/infiniband/hw/qib/qib.h struct pci_dev *pcidev; pcidev 1485 drivers/infiniband/hw/qib/qib.h dev_err(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 1489 drivers/infiniband/hw/qib/qib.h dev_warn(&(dd)->pcidev->dev, "%s: " fmt, \ pcidev 1493 drivers/infiniband/hw/qib/qib.h dev_err(&(dd)->pcidev->dev, "%s: IB%u:%u " fmt, \ pcidev 1497 drivers/infiniband/hw/qib/qib.h #define qib_devinfo(pcidev, fmt, ...) \ pcidev 1498 drivers/infiniband/hw/qib/qib.h dev_info(&(pcidev)->dev, fmt, ##__VA_ARGS__) pcidev 87 drivers/infiniband/hw/qib/qib_driver.c return dd->pcidev; pcidev 647 drivers/infiniband/hw/qib/qib_driver.c qib_devinfo(dd->pcidev, "IB%u:%u got a lid: 0x%x\n", pcidev 751 drivers/infiniband/hw/qib/qib_driver.c qib_devinfo(dd->pcidev, "Reset on unit %u requested\n", unit); pcidev 754 drivers/infiniband/hw/qib/qib_driver.c qib_devinfo(dd->pcidev, pcidev 797 drivers/infiniband/hw/qib/qib_driver.c qib_devinfo(dd->pcidev, pcidev 201 drivers/infiniband/hw/qib/qib_eeprom.c qib_devinfo(dd->pcidev, pcidev 217 drivers/infiniband/hw/qib/qib_eeprom.c qib_devinfo(dd->pcidev, pcidev 327 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 361 drivers/infiniband/hw/qib/qib_file_ops.c dd->pcidev, pcidev 385 drivers/infiniband/hw/qib/qib_file_ops.c ret = qib_map_page(dd->pcidev, pagep[i], &daddr); pcidev 432 drivers/infiniband/hw/qib/qib_file_ops.c pci_unmap_page(dd->pcidev, phys, PAGE_SIZE, pcidev 547 drivers/infiniband/hw/qib/qib_file_ops.c pci_unmap_page(dd->pcidev, phys, PAGE_SIZE, pcidev 716 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 729 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 743 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 764 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 796 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 839 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 848 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 937 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 1073 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 1146 drivers/infiniband/hw/qib/qib_file_ops.c const struct cpumask *local_mask = cpumask_of_pcibus(dd->pcidev->bus); pcidev 1234 drivers/infiniband/hw/qib/qib_file_ops.c qib_devinfo(dd->pcidev, pcidev 1547 drivers/infiniband/hw/qib/qib_file_ops.c if (pcibus_to_node(dd->pcidev->bus) < 0) { pcidev 1552 drivers/infiniband/hw/qib/qib_file_ops.c pcibus_to_node(dd->pcidev->bus)) { pcidev 1570 drivers/infiniband/hw/qib/qib_file_ops.c fd->pq = qib_user_sdma_queue_create(&dd->pcidev->dev, pcidev 1783 drivers/infiniband/hw/qib/qib_file_ops.c pci_unmap_page(dd->pcidev, phys, PAGE_SIZE, pcidev 673 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(dd->pcidev, pcidev 778 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(dd->pcidev, pcidev 1489 drivers/infiniband/hw/qib/qib_iba6120.c dma_free_coherent(&dd->pcidev->dev, pcidev 1529 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(dd->pcidev, pcidev 1704 drivers/infiniband/hw/qib/qib_iba6120.c ret = pci_request_irq(dd->pcidev, 0, qib_6120intr, NULL, dd, pcidev 1709 drivers/infiniband/hw/qib/qib_iba6120.c pci_irq_vector(dd->pcidev, 0), ret); pcidev 2076 drivers/infiniband/hw/qib/qib_iba6120.c dd->cspec->dummy_hdrq = dma_alloc_coherent(&dd->pcidev->dev, pcidev 2081 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(dd->pcidev, "Couldn't allocate dummy hdrq\n"); pcidev 2321 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(ppd->dd->pcidev, pcidev 2605 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(dd->pcidev, pcidev 2894 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(ppd->dd->pcidev, "Enabling IB%u:%u IBC loopback\n", pcidev 2898 drivers/infiniband/hw/qib/qib_iba6120.c qib_devinfo(ppd->dd->pcidev, pcidev 772 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(dd->pcidev, "Recovering from TXE PIO parity error\n"); pcidev 1327 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(dd->pcidev, pcidev 1445 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(dd->pcidev, "MemBIST is disabled.\n"); pcidev 1910 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(dd->pcidev, pcidev 2014 drivers/infiniband/hw/qib/qib_iba7220.c ret = pci_request_irq(dd->pcidev, 0, qib_7220intr, NULL, dd, pcidev 2018 drivers/infiniband/hw/qib/qib_iba7220.c dd->pcidev->msi_enabled ? "MSI" : "INTx", pcidev 2019 drivers/infiniband/hw/qib/qib_iba7220.c pci_irq_vector(dd->pcidev, 0), ret); pcidev 2678 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(ppd->dd->pcidev, "Enabling IB%u:%u IBC loopback\n", pcidev 2684 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(ppd->dd->pcidev, pcidev 2946 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(ppd->dd->pcidev, pcidev 3279 drivers/infiniband/hw/qib/qib_iba7220.c qib_devinfo(dd->pcidev, pcidev 3284 drivers/infiniband/hw/qib/qib_iba7220.c if (pci_alloc_irq_vectors(dd->pcidev, 1, 1, PCI_IRQ_LEGACY) < 0) pcidev 1660 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 1870 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 2123 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 2674 drivers/infiniband/hw/qib/qib_iba7322.c if (!dca_add_requester(&dd->pcidev->dev)) { pcidev 2675 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, "DCA enabled\n"); pcidev 2682 drivers/infiniband/hw/qib/qib_iba7322.c dca_remove_requester(&dd->pcidev->dev); pcidev 2707 drivers/infiniband/hw/qib/qib_iba7322.c (u64) dca3_get_tag(&dd->pcidev->dev, cpu) << rmp->lsb; pcidev 2708 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 2732 drivers/infiniband/hw/qib/qib_iba7322.c (u64) dca3_get_tag(&dd->pcidev->dev, cpu) << pcidev 2736 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 2820 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 2839 drivers/infiniband/hw/qib/qib_iba7322.c irq_set_affinity_hint(pci_irq_vector(dd->pcidev, i), pcidev 2842 drivers/infiniband/hw/qib/qib_iba7322.c pci_free_irq(dd->pcidev, i, pcidev 2849 drivers/infiniband/hw/qib/qib_iba7322.c pci_free_irq(dd->pcidev, 0, dd); pcidev 2853 drivers/infiniband/hw/qib/qib_iba7322.c pci_free_irq_vectors(dd->pcidev); pcidev 2867 drivers/infiniband/hw/qib/qib_iba7322.c dca_remove_requester(&dd->pcidev->dev); pcidev 3332 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, "Disabling notifier on HCA %d irq %d\n", pcidev 3333 drivers/infiniband/hw/qib/qib_iba7322.c dd->unit, pci_irq_vector(dd->pcidev, msixnum)); pcidev 3334 drivers/infiniband/hw/qib/qib_iba7322.c irq_set_affinity_notifier(pci_irq_vector(dd->pcidev, msixnum), NULL); pcidev 3350 drivers/infiniband/hw/qib/qib_iba7322.c n->notify.irq = pci_irq_vector(dd->pcidev, msixnum); pcidev 3355 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 3411 drivers/infiniband/hw/qib/qib_iba7322.c ret = pci_request_irq(dd->pcidev, 0, qib_7322intr, NULL, dd, pcidev 3417 drivers/infiniband/hw/qib/qib_iba7322.c pci_irq_vector(dd->pcidev, 0), ret); pcidev 3428 drivers/infiniband/hw/qib/qib_iba7322.c local_mask = cpumask_of_pcibus(dd->pcidev->bus); pcidev 3461 drivers/infiniband/hw/qib/qib_iba7322.c ret = pci_request_irq(dd->pcidev, msixnum, handler, pcidev 3480 drivers/infiniband/hw/qib/qib_iba7322.c ret = pci_request_irq(dd->pcidev, msixnum, handler, pcidev 3494 drivers/infiniband/hw/qib/qib_iba7322.c pci_irq_vector(dd->pcidev, msixnum), pcidev 3497 drivers/infiniband/hw/qib/qib_iba7322.c pci_alloc_irq_vectors(dd->pcidev, 1, 1, pcidev 3532 drivers/infiniband/hw/qib/qib_iba7322.c pci_irq_vector(dd->pcidev, msixnum), pcidev 3614 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 4331 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(ppd->dd->pcidev, "Enabling IB%u:%u IBC loopback\n", pcidev 4338 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(ppd->dd->pcidev, pcidev 4781 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(ppd->dd->pcidev, pcidev 5167 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 5170 drivers/infiniband/hw/qib/qib_iba7322.c if (pci_alloc_irq_vectors(dd->pcidev, 1, 1, PCI_IRQ_LEGACY) < 0) pcidev 6533 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 6545 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 6568 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, pcidev 7311 drivers/infiniband/hw/qib/qib_iba7322.c qib_devinfo(dd->pcidev, "DCA enabled\n"); pcidev 124 drivers/infiniband/hw/qib/qib_init.c int local_node_id = pcibus_to_node(dd->pcidev->bus); pcidev 313 drivers/infiniband/hw/qib/qib_init.c &dd->pcidev->dev, PAGE_SIZE, &dd->pioavailregs_phys, pcidev 412 drivers/infiniband/hw/qib/qib_init.c qib_devinfo(dd->pcidev, "%s", dd->boardversion); pcidev 509 drivers/infiniband/hw/qib/qib_init.c dev_err(&dd->pcidev->dev, pcidev 715 drivers/infiniband/hw/qib/qib_init.c qib_devinfo(dd->pcidev, pcidev 911 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, rcd->rcvhdrq_size, pcidev 915 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, pcidev 928 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, size, pcidev 972 drivers/infiniband/hw/qib/qib_init.c qib_devinfo(dd->pcidev, pcidev 1320 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, pcidev 1338 drivers/infiniband/hw/qib/qib_init.c pci_unmap_page(dd->pcidev, tmpd[i], pcidev 1557 drivers/infiniband/hw/qib/qib_init.c old_node_id = dev_to_node(&dd->pcidev->dev); pcidev 1558 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, rcd->node_id); pcidev 1560 drivers/infiniband/hw/qib/qib_init.c &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, pcidev 1562 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, old_node_id); pcidev 1578 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, rcd->node_id); pcidev 1580 drivers/infiniband/hw/qib/qib_init.c &dd->pcidev->dev, PAGE_SIZE, &phys_hdrqtail, pcidev 1582 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, old_node_id); pcidev 1604 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, pcidev 1662 drivers/infiniband/hw/qib/qib_init.c old_node_id = dev_to_node(&dd->pcidev->dev); pcidev 1663 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, rcd->node_id); pcidev 1665 drivers/infiniband/hw/qib/qib_init.c dma_alloc_coherent(&dd->pcidev->dev, size, pcidev 1668 drivers/infiniband/hw/qib/qib_init.c set_dev_node(&dd->pcidev->dev, old_node_id); pcidev 1698 drivers/infiniband/hw/qib/qib_init.c dma_free_coherent(&dd->pcidev->dev, size, pcidev 142 drivers/infiniband/hw/qib/qib_pcie.c dd->pcidev = pdev; pcidev 185 drivers/infiniband/hw/qib/qib_pcie.c pci_disable_device(dd->pcidev); pcidev 186 drivers/infiniband/hw/qib/qib_pcie.c pci_release_regions(dd->pcidev); pcidev 188 drivers/infiniband/hw/qib/qib_pcie.c pci_set_drvdata(dd->pcidev, NULL); pcidev 198 drivers/infiniband/hw/qib/qib_pcie.c struct pci_dev *pdev = dd->pcidev; pcidev 218 drivers/infiniband/hw/qib/qib_pcie.c if (!pci_is_pcie(dd->pcidev)) { pcidev 230 drivers/infiniband/hw/qib/qib_pcie.c nvec = pci_alloc_irq_vectors(dd->pcidev, 1, maxvec, flags); pcidev 240 drivers/infiniband/hw/qib/qib_pcie.c *nent = !dd->pcidev->msix_enabled ? 0 : nvec; pcidev 242 drivers/infiniband/hw/qib/qib_pcie.c if (dd->pcidev->msi_enabled) pcidev 243 drivers/infiniband/hw/qib/qib_pcie.c qib_cache_msi_info(dd, dd->pcidev->msi_cap); pcidev 245 drivers/infiniband/hw/qib/qib_pcie.c pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKSTA, &linkstat); pcidev 297 drivers/infiniband/hw/qib/qib_pcie.c pci_free_irq(dd->pcidev, 0, dd); pcidev 298 drivers/infiniband/hw/qib/qib_pcie.c pci_free_irq_vectors(dd->pcidev); pcidev 319 drivers/infiniband/hw/qib/qib_pcie.c pos = dd->pcidev->msi_cap; pcidev 327 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_LO, pcidev 329 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_dword(dd->pcidev, pos + PCI_MSI_ADDRESS_HI, pcidev 331 drivers/infiniband/hw/qib/qib_pcie.c pci_read_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, &control); pcidev 334 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, pcidev 338 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_word(dd->pcidev, pos + pcidev 349 drivers/infiniband/hw/qib/qib_pcie.c pci_set_master(dd->pcidev); pcidev 360 drivers/infiniband/hw/qib/qib_pcie.c pci_read_config_word(dd->pcidev, PCI_COMMAND, cmd); pcidev 361 drivers/infiniband/hw/qib/qib_pcie.c pci_read_config_byte(dd->pcidev, PCI_INTERRUPT_LINE, iline); pcidev 362 drivers/infiniband/hw/qib/qib_pcie.c pci_read_config_byte(dd->pcidev, PCI_CACHE_LINE_SIZE, cline); pcidev 369 drivers/infiniband/hw/qib/qib_pcie.c r = pci_write_config_dword(dd->pcidev, PCI_BASE_ADDRESS_0, pcidev 373 drivers/infiniband/hw/qib/qib_pcie.c r = pci_write_config_dword(dd->pcidev, PCI_BASE_ADDRESS_1, pcidev 378 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_word(dd->pcidev, PCI_COMMAND, cmd); pcidev 379 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_byte(dd->pcidev, PCI_INTERRUPT_LINE, iline); pcidev 380 drivers/infiniband/hw/qib/qib_pcie.c pci_write_config_byte(dd->pcidev, PCI_CACHE_LINE_SIZE, cline); pcidev 381 drivers/infiniband/hw/qib/qib_pcie.c r = pci_enable_device(dd->pcidev); pcidev 408 drivers/infiniband/hw/qib/qib_pcie.c parent = dd->pcidev->bus->self; pcidev 410 drivers/infiniband/hw/qib/qib_pcie.c qib_devinfo(dd->pcidev, "Parent not root\n"); pcidev 472 drivers/infiniband/hw/qib/qib_pcie.c parent = dd->pcidev->bus->self; pcidev 474 drivers/infiniband/hw/qib/qib_pcie.c qib_devinfo(dd->pcidev, "Parent not root\n"); pcidev 478 drivers/infiniband/hw/qib/qib_pcie.c if (!pci_is_pcie(parent) || !pci_is_pcie(dd->pcidev)) pcidev 484 drivers/infiniband/hw/qib/qib_pcie.c ep_mpss = dd->pcidev->pcie_mpss; pcidev 485 drivers/infiniband/hw/qib/qib_pcie.c ep_mps = ffs(pcie_get_mps(dd->pcidev)) - 8; pcidev 502 drivers/infiniband/hw/qib/qib_pcie.c pcie_set_mps(dd->pcidev, 128 << ep_mps); pcidev 516 drivers/infiniband/hw/qib/qib_pcie.c ep_mrrs = pcie_get_readrq(dd->pcidev); pcidev 524 drivers/infiniband/hw/qib/qib_pcie.c pcie_set_readrq(dd->pcidev, ep_mrrs); pcidev 408 drivers/infiniband/hw/qib/qib_sd7220.c ret = request_firmware(&fw, SD7220_FW_NAME, &dd->pcidev->dev); pcidev 241 drivers/infiniband/hw/qib/qib_sdma.c dma_unmap_single(&ppd->dd->pcidev->dev, addr, len, DMA_TO_DEVICE); pcidev 251 drivers/infiniband/hw/qib/qib_sdma.c ppd->sdma_descq = dma_alloc_coherent(&ppd->dd->pcidev->dev, pcidev 262 drivers/infiniband/hw/qib/qib_sdma.c ppd->sdma_head_dma = dma_alloc_coherent(&ppd->dd->pcidev->dev, pcidev 273 drivers/infiniband/hw/qib/qib_sdma.c dma_free_coherent(&ppd->dd->pcidev->dev, pcidev 288 drivers/infiniband/hw/qib/qib_sdma.c dma_free_coherent(&dd->pcidev->dev, PAGE_SIZE, pcidev 296 drivers/infiniband/hw/qib/qib_sdma.c dma_free_coherent(&dd->pcidev->dev, pcidev 571 drivers/infiniband/hw/qib/qib_sdma.c addr = dma_map_single(&ppd->dd->pcidev->dev, sge->vaddr, pcidev 573 drivers/infiniband/hw/qib/qib_sdma.c if (dma_mapping_error(&ppd->dd->pcidev->dev, addr)) { pcidev 819 drivers/infiniband/hw/qib/qib_sysfs.c qib_devinfo(dd->pcidev, pcidev 309 drivers/infiniband/hw/qib/qib_user_sdma.c dma_map_page(&dd->pcidev->dev, pcidev 313 drivers/infiniband/hw/qib/qib_user_sdma.c if (dma_mapping_error(&dd->pcidev->dev, dma_addr)) { pcidev 384 drivers/infiniband/hw/qib/qib_user_sdma.c dma_map_single(&dd->pcidev->dev, pcidev 388 drivers/infiniband/hw/qib/qib_user_sdma.c if (dma_mapping_error(&dd->pcidev->dev, pcidev 475 drivers/infiniband/hw/qib/qib_user_sdma.c dma_map_single(&dd->pcidev->dev, pcidev 479 drivers/infiniband/hw/qib/qib_user_sdma.c if (dma_mapping_error(&dd->pcidev->dev, pcidev 739 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_free_pkt_frag(&dd->pcidev->dev, pq, pkt, idx); pcidev 745 drivers/infiniband/hw/qib/qib_user_sdma.c dma_unmap_single(&dd->pcidev->dev, pcidev 999 drivers/infiniband/hw/qib/qib_user_sdma.c dma_addr = dma_map_single(&dd->pcidev->dev, pcidev 1001 drivers/infiniband/hw/qib/qib_user_sdma.c if (dma_mapping_error(&dd->pcidev->dev, pcidev 1035 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, list); pcidev 1089 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); pcidev 1173 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &free_list); pcidev 1435 drivers/infiniband/hw/qib/qib_user_sdma.c qib_user_sdma_free_pkt_list(&dd->pcidev->dev, pq, &list); pcidev 630 drivers/infiniband/hw/qib/qib_verbs.c dma_unmap_single(&dd_from_dev(dev)->pcidev->dev, pcidev 847 drivers/infiniband/hw/qib/qib_verbs.c tx->txreq.addr = dma_map_single(&dd->pcidev->dev, phdr, pcidev 849 drivers/infiniband/hw/qib/qib_verbs.c if (dma_mapping_error(&dd->pcidev->dev, tx->txreq.addr)) pcidev 1520 drivers/infiniband/hw/qib/qib_verbs.c dev->pio_hdrs = dma_alloc_coherent(&dd->pcidev->dev, pcidev 1553 drivers/infiniband/hw/qib/qib_verbs.c ibdev->dev.parent = &dd->pcidev->dev; pcidev 1637 drivers/infiniband/hw/qib/qib_verbs.c dma_free_coherent(&dd->pcidev->dev, pcidev 1673 drivers/infiniband/hw/qib/qib_verbs.c dma_free_coherent(&dd->pcidev->dev, pcidev 58 drivers/infiniband/hw/qib/qib_wc_x86_64.c const unsigned long addr = pci_resource_start(dd->pcidev, 0); pcidev 59 drivers/infiniband/hw/qib/qib_wc_x86_64.c const size_t len = pci_resource_len(dd->pcidev, 0); pcidev 1567 drivers/media/pci/meye/meye.c static int meye_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) pcidev 1604 drivers/media/pci/meye/meye.c ret = v4l2_device_register(&pcidev->dev, v4l2_dev); pcidev 1610 drivers/media/pci/meye/meye.c meye.mchip_dev = pcidev; pcidev 1660 drivers/media/pci/meye/meye.c meye.mchip_irq = pcidev->irq; pcidev 1749 drivers/media/pci/meye/meye.c static void meye_remove(struct pci_dev *pcidev) pcidev 303 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 319 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 341 drivers/message/fusion/mptbase.c pdev = ioc->pcidev; pcidev 842 drivers/message/fusion/mptbase.c id = ioc->pcidev->driver ? pcidev 843 drivers/message/fusion/mptbase.c ioc->pcidev->driver->id_table : NULL; pcidev 845 drivers/message/fusion/mptbase.c dd_cbfunc->probe(ioc->pcidev, id); pcidev 869 drivers/message/fusion/mptbase.c dd_cbfunc->remove(ioc->pcidev); pcidev 1330 drivers/message/fusion/mptbase.c ioc->pcidev, pcidev 1653 drivers/message/fusion/mptbase.c pdev = ioc->pcidev; pcidev 1804 drivers/message/fusion/mptbase.c ioc->pcidev = pdev; pcidev 1987 drivers/message/fusion/mptbase.c pci_set_drvdata(ioc->pcidev, ioc); pcidev 2175 drivers/message/fusion/mptbase.c pci_disable_msi(ioc->pcidev); pcidev 2204 drivers/message/fusion/mptbase.c ioc->pcidev = pdev; pcidev 2404 drivers/message/fusion/mptbase.c pci_release_selected_regions(ioc->pcidev, ioc->bars); pcidev 2405 drivers/message/fusion/mptbase.c ioc->bars = pci_select_bars(ioc->pcidev, IORESOURCE_MEM | pcidev 2407 drivers/message/fusion/mptbase.c if (pci_enable_device(ioc->pcidev)) pcidev 2409 drivers/message/fusion/mptbase.c if (pci_request_selected_regions(ioc->pcidev, ioc->bars, pcidev 2421 drivers/message/fusion/mptbase.c if (ioc->pcidev->irq) { pcidev 2422 drivers/message/fusion/mptbase.c if (ioc->msi_enable && !pci_enable_msi(ioc->pcidev)) pcidev 2427 drivers/message/fusion/mptbase.c rc = request_irq(ioc->pcidev->irq, mpt_interrupt, pcidev 2432 drivers/message/fusion/mptbase.c ioc->name, ioc->pcidev->irq); pcidev 2434 drivers/message/fusion/mptbase.c pci_disable_msi(ioc->pcidev); pcidev 2439 drivers/message/fusion/mptbase.c ioc->pci_irq = ioc->pcidev->irq; pcidev 2440 drivers/message/fusion/mptbase.c pci_set_master(ioc->pcidev); /* ?? */ pcidev 2441 drivers/message/fusion/mptbase.c pci_set_drvdata(ioc->pcidev, ioc); pcidev 2444 drivers/message/fusion/mptbase.c ioc->pcidev->irq)); pcidev 2629 drivers/message/fusion/mptbase.c pci_disable_msi(ioc->pcidev); pcidev 2668 drivers/message/fusion/mptbase.c struct pci_dev *_pcidev = ioc_srch->pcidev; pcidev 2732 drivers/message/fusion/mptbase.c synchronize_irq(ioc->pcidev->irq); pcidev 2744 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, sz, pcidev 2754 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, sz, pcidev 2778 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, sz, pcidev 2805 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, ioc->HostPageBuffer_sz, pcidev 2812 drivers/message/fusion/mptbase.c pci_set_drvdata(ioc->pcidev, NULL); pcidev 2837 drivers/message/fusion/mptbase.c pci_disable_msi(ioc->pcidev); pcidev 2846 drivers/message/fusion/mptbase.c pci_disable_device(ioc->pcidev); pcidev 2847 drivers/message/fusion/mptbase.c pci_release_selected_regions(ioc->pcidev, ioc->bars); pcidev 3525 drivers/message/fusion/mptbase.c ioc->cached_fw = pci_alloc_consistent(ioc->pcidev, size, &ioc->cached_fw_dma); pcidev 3558 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, sz, ioc->cached_fw, ioc->cached_fw_dma); pcidev 3752 drivers/message/fusion/mptbase.c pci_enable_io_access(ioc->pcidev); pcidev 3819 drivers/message/fusion/mptbase.c pci_disable_io_access(ioc->pcidev); pcidev 3980 drivers/message/fusion/mptbase.c if (ioc->pcidev->device == MPI_MANUFACTPAGE_DEVID_SAS1078) { pcidev 4455 drivers/message/fusion/mptbase.c if (ioc->pcidev->device == MPI_MANUFACTPAGE_DEVID_SAS1078 && pcidev 4457 drivers/message/fusion/mptbase.c if (!pci_set_dma_mask(ioc->pcidev, DMA_BIT_MASK(32)) pcidev 4458 drivers/message/fusion/mptbase.c && !pci_set_consistent_dma_mask(ioc->pcidev, pcidev 4467 drivers/message/fusion/mptbase.c pci_set_dma_mask(ioc->pcidev, pcidev 4469 drivers/message/fusion/mptbase.c pci_set_consistent_dma_mask(ioc->pcidev, pcidev 4500 drivers/message/fusion/mptbase.c mem = pci_alloc_consistent(ioc->pcidev, total_size, &alloc_dma); pcidev 4578 drivers/message/fusion/mptbase.c pci_alloc_consistent(ioc->pcidev, sz, &ioc->sense_buf_pool_dma); pcidev 4604 drivers/message/fusion/mptbase.c if (dma_mask == DMA_BIT_MASK(35) && !pci_set_dma_mask(ioc->pcidev, pcidev 4605 drivers/message/fusion/mptbase.c ioc->dma_mask) && !pci_set_consistent_dma_mask(ioc->pcidev, pcidev 4616 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, pcidev 4625 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, pcidev 4631 drivers/message/fusion/mptbase.c if (dma_mask == DMA_BIT_MASK(35) && !pci_set_dma_mask(ioc->pcidev, pcidev 4632 drivers/message/fusion/mptbase.c DMA_BIT_MASK(64)) && !pci_set_consistent_dma_mask(ioc->pcidev, pcidev 4979 drivers/message/fusion/mptbase.c ppage0_alloc = (LANPage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); pcidev 4993 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); pcidev 5025 drivers/message/fusion/mptbase.c ppage1_alloc = (LANPage1_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page1_dma); pcidev 5037 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage1_alloc, page1_dma); pcidev 5324 drivers/message/fusion/mptbase.c ppage_alloc = (IOUnitPage2_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); pcidev 5334 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage_alloc, page_dma); pcidev 5409 drivers/message/fusion/mptbase.c pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); pcidev 5465 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); pcidev 5487 drivers/message/fusion/mptbase.c pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); pcidev 5495 drivers/message/fusion/mptbase.c } else if (ioc->pcidev->vendor == PCI_VENDOR_ID_ATTO) { pcidev 5552 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); pcidev 5668 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 5716 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 5761 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 5785 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 5828 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 5849 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 5900 drivers/message/fusion/mptbase.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 5938 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 5995 drivers/message/fusion/mptbase.c pIoc2 = pci_alloc_consistent(ioc->pcidev, iocpage2sz, &ioc2_dma); pcidev 6020 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, iocpage2sz, pIoc2, ioc2_dma); pcidev 6062 drivers/message/fusion/mptbase.c pIoc3 = pci_alloc_consistent(ioc->pcidev, iocpage3sz, &ioc3_dma); pcidev 6079 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, iocpage3sz, pIoc3, ioc3_dma); pcidev 6113 drivers/message/fusion/mptbase.c pIoc4 = pci_alloc_consistent(ioc->pcidev, iocpage4sz, &ioc4_dma); pcidev 6131 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, iocpage4sz, pIoc4, ioc4_dma); pcidev 6168 drivers/message/fusion/mptbase.c pIoc1 = pci_alloc_consistent(ioc->pcidev, iocpage1sz, &ioc1_dma); pcidev 6219 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, iocpage1sz, pIoc1, ioc1_dma); pcidev 6248 drivers/message/fusion/mptbase.c pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); pcidev 6264 drivers/message/fusion/mptbase.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); pcidev 674 drivers/message/fusion/mptbase.h struct pci_dev *pcidev; /* struct pci_dev pointer */ pcidev 1046 drivers/message/fusion/mptctl.c sglbuf = pci_alloc_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf_dma); pcidev 1067 drivers/message/fusion/mptctl.c buflist[buflist_ent].kptr = pci_alloc_consistent(ioc->pcidev, pcidev 1085 drivers/message/fusion/mptctl.c dma_addr = pci_map_single(ioc->pcidev, pcidev 1145 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); pcidev 1147 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sglbuf, *sglbuf_dma); pcidev 1184 drivers/message/fusion/mptctl.c pci_unmap_single(ioc->pcidev, dma_addr, len, dir); pcidev 1185 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); pcidev 1202 drivers/message/fusion/mptctl.c pci_unmap_single(ioc->pcidev, dma_addr, len, dir); pcidev 1203 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, len, kptr, dma_addr); pcidev 1207 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, MAX_SGL_BYTES, sgl, sgl_dma); pcidev 1285 drivers/message/fusion/mptctl.c pdev = (struct pci_dev *) ioc->pcidev; pcidev 1498 drivers/message/fusion/mptctl.c karg.chip_type = ioc->pcidev->device; pcidev 2112 drivers/message/fusion/mptctl.c ioc->pcidev, bufOut.len, &dma_addr_out); pcidev 2145 drivers/message/fusion/mptctl.c bufIn.kptr = pci_alloc_consistent(ioc->pcidev, pcidev 2294 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, pcidev 2299 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, pcidev 2362 drivers/message/fusion/mptctl.c pdev = (struct pci_dev *) ioc->pcidev; pcidev 2406 drivers/message/fusion/mptctl.c pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); pcidev 2416 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); pcidev 2481 drivers/message/fusion/mptctl.c pbuf = pci_alloc_consistent(ioc->pcidev, 4, &buf_dma); pcidev 2530 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, 4, pbuf, buf_dma); pcidev 2596 drivers/message/fusion/mptctl.c pg0_alloc = (SCSIDevicePage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); pcidev 2634 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); pcidev 2661 drivers/message/fusion/mptctl.c ioc->pcidev, data_sz, &page_dma); pcidev 2670 drivers/message/fusion/mptctl.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); pcidev 334 drivers/message/fusion/mptfc.c ppage0_alloc = pci_alloc_consistent(ioc->pcidev, data_sz, pcidev 370 drivers/message/fusion/mptfc.c pci_free_consistent(ioc->pcidev, data_sz, pcidev 766 drivers/message/fusion/mptfc.c ppage0_alloc = (FCPortPage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page0_dma); pcidev 820 drivers/message/fusion/mptfc.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage0_alloc, page0_dma); pcidev 907 drivers/message/fusion/mptfc.c page1_alloc = (FCPortPage1_t *) pci_alloc_consistent(ioc->pcidev, pcidev 919 drivers/message/fusion/mptfc.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pcidev 937 drivers/message/fusion/mptfc.c pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pcidev 1307 drivers/message/fusion/mptfc.c error = scsi_add_host (sh, &ioc->pcidev->dev); pcidev 1519 drivers/message/fusion/mptfc.c pci_free_consistent(ioc->pcidev, pcidev 522 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[i].dma, pcidev 534 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[i].dma, pcidev 588 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[ctx].dma, pcidev 654 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->SendCtl[ctx].dma, pcidev 726 drivers/message/fusion/mptlan.c dma = pci_map_single(mpt_dev->pcidev, skb->data, skb->len, pcidev 874 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_cpu(mpt_dev->pcidev, priv->RcvCtl[ctx].dma, pcidev 879 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_device(mpt_dev->pcidev, priv->RcvCtl[ctx].dma, pcidev 888 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[ctx].dma, pcidev 933 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[ctx].dma, pcidev 1034 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_cpu(mpt_dev->pcidev, pcidev 1040 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_device(mpt_dev->pcidev, pcidev 1062 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_cpu(mpt_dev->pcidev, pcidev 1069 drivers/message/fusion/mptlan.c pci_dma_sync_single_for_device(mpt_dev->pcidev, pcidev 1083 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, priv->RcvCtl[ctx].dma, pcidev 1205 drivers/message/fusion/mptlan.c pci_unmap_single(mpt_dev->pcidev, pcidev 1224 drivers/message/fusion/mptlan.c dma = pci_map_single(mpt_dev->pcidev, skb->data, pcidev 677 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 744 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 1374 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 1401 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2033 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2056 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2275 drivers/message/fusion/mptsas.c if (!dma_map_sg(&ioc->pcidev->dev, job->request_payload.sg_list, pcidev 2292 drivers/message/fusion/mptsas.c if (!dma_map_sg(&ioc->pcidev->dev, job->reply_payload.sg_list, pcidev 2330 drivers/message/fusion/mptsas.c dma_unmap_sg(&ioc->pcidev->dev, job->reply_payload.sg_list, 1, pcidev 2333 drivers/message/fusion/mptsas.c dma_unmap_sg(&ioc->pcidev->dev, job->request_payload.sg_list, 1, pcidev 2387 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2427 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2462 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2484 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2526 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2548 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2589 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2629 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2672 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2712 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2752 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2785 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.ExtPageLength * 4, pcidev 2870 drivers/message/fusion/mptsas.c data_out = pci_alloc_consistent(ioc->pcidev, sz, &data_out_dma); pcidev 2961 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, sz, data_out, data_out_dma); pcidev 4247 drivers/message/fusion/mptsas.c buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, pcidev 4294 drivers/message/fusion/mptsas.c pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, pcidev 5293 drivers/message/fusion/mptsas.c error = scsi_add_host(sh, &ioc->pcidev->dev); pcidev 2444 drivers/message/fusion/mptscsih.c if (ioc->pcidev->vendor == pcidev 538 drivers/message/fusion/mptspi.c spi_dev_pg0 = dma_alloc_coherent(&ioc->pcidev->dev, size, &spi_dev_pg0_dma, GFP_KERNEL); pcidev 571 drivers/message/fusion/mptspi.c dma_free_coherent(&ioc->pcidev->dev, size, spi_dev_pg0, spi_dev_pg0_dma); pcidev 873 drivers/message/fusion/mptspi.c pg1 = dma_alloc_coherent(&ioc->pcidev->dev, size, &pg1_dma, GFP_KERNEL); pcidev 930 drivers/message/fusion/mptspi.c dma_free_coherent(&ioc->pcidev->dev, size, pg1, pg1_dma); pcidev 1521 drivers/message/fusion/mptspi.c error = scsi_add_host (sh, &ioc->pcidev->dev); pcidev 1434 drivers/misc/cardreader/rtsx_pcr.c static int rtsx_pci_probe(struct pci_dev *pcidev, pcidev 1442 drivers/misc/cardreader/rtsx_pcr.c dev_dbg(&(pcidev->dev), pcidev 1444 drivers/misc/cardreader/rtsx_pcr.c pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device, pcidev 1445 drivers/misc/cardreader/rtsx_pcr.c (int)pcidev->revision); pcidev 1447 drivers/misc/cardreader/rtsx_pcr.c ret = pci_set_dma_mask(pcidev, DMA_BIT_MASK(32)); pcidev 1451 drivers/misc/cardreader/rtsx_pcr.c ret = pci_enable_device(pcidev); pcidev 1455 drivers/misc/cardreader/rtsx_pcr.c ret = pci_request_regions(pcidev, DRV_NAME_RTSX_PCI); pcidev 1482 drivers/misc/cardreader/rtsx_pcr.c pcr->pci = pcidev; pcidev 1483 drivers/misc/cardreader/rtsx_pcr.c dev_set_drvdata(&pcidev->dev, handle); pcidev 1487 drivers/misc/cardreader/rtsx_pcr.c len = pci_resource_len(pcidev, bar); pcidev 1488 drivers/misc/cardreader/rtsx_pcr.c base = pci_resource_start(pcidev, bar); pcidev 1495 drivers/misc/cardreader/rtsx_pcr.c pcr->rtsx_resv_buf = dma_alloc_coherent(&(pcidev->dev), pcidev 1514 drivers/misc/cardreader/rtsx_pcr.c ret = pci_enable_msi(pcidev); pcidev 1523 drivers/misc/cardreader/rtsx_pcr.c pci_set_master(pcidev); pcidev 1534 drivers/misc/cardreader/rtsx_pcr.c ret = mfd_add_devices(&pcidev->dev, pcr->id, rtsx_pcr_cells, pcidev 1557 drivers/misc/cardreader/rtsx_pcr.c pci_release_regions(pcidev); pcidev 1559 drivers/misc/cardreader/rtsx_pcr.c pci_disable_device(pcidev); pcidev 1564 drivers/misc/cardreader/rtsx_pcr.c static void rtsx_pci_remove(struct pci_dev *pcidev) pcidev 1566 drivers/misc/cardreader/rtsx_pcr.c struct pcr_handle *handle = pci_get_drvdata(pcidev); pcidev 1580 drivers/misc/cardreader/rtsx_pcr.c mfd_remove_devices(&pcidev->dev); pcidev 1589 drivers/misc/cardreader/rtsx_pcr.c pci_release_regions(pcidev); pcidev 1590 drivers/misc/cardreader/rtsx_pcr.c pci_disable_device(pcidev); pcidev 1600 drivers/misc/cardreader/rtsx_pcr.c dev_dbg(&(pcidev->dev), pcidev 1602 drivers/misc/cardreader/rtsx_pcr.c pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device); pcidev 1607 drivers/misc/cardreader/rtsx_pcr.c static int rtsx_pci_suspend(struct pci_dev *pcidev, pm_message_t state) pcidev 1612 drivers/misc/cardreader/rtsx_pcr.c dev_dbg(&(pcidev->dev), "--> %s\n", __func__); pcidev 1614 drivers/misc/cardreader/rtsx_pcr.c handle = pci_get_drvdata(pcidev); pcidev 1624 drivers/misc/cardreader/rtsx_pcr.c pci_save_state(pcidev); pcidev 1625 drivers/misc/cardreader/rtsx_pcr.c pci_enable_wake(pcidev, pci_choose_state(pcidev, state), 0); pcidev 1626 drivers/misc/cardreader/rtsx_pcr.c pci_disable_device(pcidev); pcidev 1627 drivers/misc/cardreader/rtsx_pcr.c pci_set_power_state(pcidev, pci_choose_state(pcidev, state)); pcidev 1633 drivers/misc/cardreader/rtsx_pcr.c static int rtsx_pci_resume(struct pci_dev *pcidev) pcidev 1639 drivers/misc/cardreader/rtsx_pcr.c dev_dbg(&(pcidev->dev), "--> %s\n", __func__); pcidev 1641 drivers/misc/cardreader/rtsx_pcr.c handle = pci_get_drvdata(pcidev); pcidev 1646 drivers/misc/cardreader/rtsx_pcr.c pci_set_power_state(pcidev, PCI_D0); pcidev 1647 drivers/misc/cardreader/rtsx_pcr.c pci_restore_state(pcidev); pcidev 1648 drivers/misc/cardreader/rtsx_pcr.c ret = pci_enable_device(pcidev); pcidev 1651 drivers/misc/cardreader/rtsx_pcr.c pci_set_master(pcidev); pcidev 1668 drivers/misc/cardreader/rtsx_pcr.c static void rtsx_pci_shutdown(struct pci_dev *pcidev) pcidev 1673 drivers/misc/cardreader/rtsx_pcr.c dev_dbg(&(pcidev->dev), "--> %s\n", __func__); pcidev 1675 drivers/misc/cardreader/rtsx_pcr.c handle = pci_get_drvdata(pcidev); pcidev 1679 drivers/misc/cardreader/rtsx_pcr.c pci_disable_device(pcidev); pcidev 1072 drivers/mmc/host/via-sdmmc.c static int via_sd_probe(struct pci_dev *pcidev, pcidev 1083 drivers/mmc/host/via-sdmmc.c pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device, pcidev 1084 drivers/mmc/host/via-sdmmc.c (int)pcidev->revision); pcidev 1086 drivers/mmc/host/via-sdmmc.c ret = pci_enable_device(pcidev); pcidev 1090 drivers/mmc/host/via-sdmmc.c ret = pci_request_regions(pcidev, DRV_NAME); pcidev 1094 drivers/mmc/host/via-sdmmc.c pci_write_config_byte(pcidev, VIA_CRDR_PCI_WORK_MODE, 0); pcidev 1095 drivers/mmc/host/via-sdmmc.c pci_write_config_byte(pcidev, VIA_CRDR_PCI_DBG_MODE, 0); pcidev 1097 drivers/mmc/host/via-sdmmc.c mmc = mmc_alloc_host(sizeof(struct via_crdr_mmc_host), &pcidev->dev); pcidev 1105 drivers/mmc/host/via-sdmmc.c dev_set_drvdata(&pcidev->dev, sdhost); pcidev 1107 drivers/mmc/host/via-sdmmc.c len = pci_resource_len(pcidev, 0); pcidev 1108 drivers/mmc/host/via-sdmmc.c base = pci_resource_start(pcidev, 0); pcidev 1134 drivers/mmc/host/via-sdmmc.c request_irq(pcidev->irq, via_sdc_isr, IRQF_SHARED, DRV_NAME, pcidev 1145 drivers/mmc/host/via-sdmmc.c if (pcidev->subsystem_vendor == PCI_VENDOR_ID_LENOVO && pcidev 1146 drivers/mmc/host/via-sdmmc.c pcidev->subsystem_device == 0x3891) pcidev 1156 drivers/mmc/host/via-sdmmc.c dev_set_drvdata(&pcidev->dev, NULL); pcidev 1159 drivers/mmc/host/via-sdmmc.c pci_release_regions(pcidev); pcidev 1161 drivers/mmc/host/via-sdmmc.c pci_disable_device(pcidev); pcidev 1166 drivers/mmc/host/via-sdmmc.c static void via_sd_remove(struct pci_dev *pcidev) pcidev 1168 drivers/mmc/host/via-sdmmc.c struct via_crdr_mmc_host *sdhost = pci_get_drvdata(pcidev); pcidev 1196 drivers/mmc/host/via-sdmmc.c free_irq(pcidev->irq, sdhost); pcidev 1208 drivers/mmc/host/via-sdmmc.c dev_set_drvdata(&pcidev->dev, NULL); pcidev 1210 drivers/mmc/host/via-sdmmc.c pci_release_regions(pcidev); pcidev 1211 drivers/mmc/host/via-sdmmc.c pci_disable_device(pcidev); pcidev 1215 drivers/mmc/host/via-sdmmc.c pci_name(pcidev), (int)pcidev->vendor, (int)pcidev->device); pcidev 1254 drivers/mmc/host/via-sdmmc.c static int via_sd_suspend(struct pci_dev *pcidev, pm_message_t state) pcidev 1258 drivers/mmc/host/via-sdmmc.c host = pci_get_drvdata(pcidev); pcidev 1263 drivers/mmc/host/via-sdmmc.c pci_save_state(pcidev); pcidev 1264 drivers/mmc/host/via-sdmmc.c pci_enable_wake(pcidev, pci_choose_state(pcidev, state), 0); pcidev 1265 drivers/mmc/host/via-sdmmc.c pci_disable_device(pcidev); pcidev 1266 drivers/mmc/host/via-sdmmc.c pci_set_power_state(pcidev, pci_choose_state(pcidev, state)); pcidev 1271 drivers/mmc/host/via-sdmmc.c static int via_sd_resume(struct pci_dev *pcidev) pcidev 1277 drivers/mmc/host/via-sdmmc.c sdhost = pci_get_drvdata(pcidev); pcidev 1292 drivers/mmc/host/via-sdmmc.c pci_set_power_state(pcidev, PCI_D0); pcidev 1293 drivers/mmc/host/via-sdmmc.c pci_restore_state(pcidev); pcidev 1294 drivers/mmc/host/via-sdmmc.c ret = pci_enable_device(pcidev); pcidev 135 drivers/net/ethernet/amd/xgbe/xgbe-pci.c ret = pci_alloc_irq_vectors(pdata->pcidev, XGBE_MSI_MIN_COUNT, pcidev 145 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); pcidev 146 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 1); pcidev 147 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 2); pcidev 148 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->an_irq = pci_irq_vector(pdata->pcidev, 3); pcidev 151 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->channel_irq[j] = pci_irq_vector(pdata->pcidev, i); pcidev 159 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->pcidev->msix_enabled ? "MSI-X" : "MSI"); pcidev 172 drivers/net/ethernet/amd/xgbe/xgbe-pci.c ret = pci_alloc_irq_vectors(pdata->pcidev, 1, 1, pcidev 179 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->isr_as_tasklet = pdata->pcidev->msi_enabled ? 1 : 0; pcidev 183 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->dev_irq = pci_irq_vector(pdata->pcidev, 0); pcidev 184 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->ecc_irq = pci_irq_vector(pdata->pcidev, 0); pcidev 185 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->i2c_irq = pci_irq_vector(pdata->pcidev, 0); pcidev 186 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->an_irq = pci_irq_vector(pdata->pcidev, 0); pcidev 190 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->pcidev->msi_enabled ? "MSI" : "legacy"); pcidev 225 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pdata->pcidev = pdev; pcidev 402 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pci_free_irq_vectors(pdata->pcidev); pcidev 419 drivers/net/ethernet/amd/xgbe/xgbe-pci.c pci_free_irq_vectors(pdata->pcidev); pcidev 1026 drivers/net/ethernet/amd/xgbe/xgbe.h struct pci_dev *pcidev; pcidev 741 drivers/net/ethernet/broadcom/cnic.c dma_free_coherent(&dev->pcidev->dev, CNIC_PAGE_SIZE, pcidev 747 drivers/net/ethernet/broadcom/cnic.c dma_free_coherent(&dev->pcidev->dev, dma->pgtbl_size, pcidev 799 drivers/net/ethernet/broadcom/cnic.c dma->pg_arr[i] = dma_alloc_coherent(&dev->pcidev->dev, pcidev 811 drivers/net/ethernet/broadcom/cnic.c dma->pgtbl = dma_alloc_coherent(&dev->pcidev->dev, dma->pgtbl_size, pcidev 832 drivers/net/ethernet/broadcom/cnic.c dma_free_coherent(&dev->pcidev->dev, cp->ctx_blk_size, pcidev 947 drivers/net/ethernet/broadcom/cnic.c dma_alloc_coherent(&dev->pcidev->dev, pcidev 1055 drivers/net/ethernet/broadcom/cnic.c if (udev->pdev == dev->pcidev) { pcidev 1073 drivers/net/ethernet/broadcom/cnic.c udev->pdev = dev->pcidev; pcidev 1103 drivers/net/ethernet/broadcom/cnic.c uinfo->mem[0].addr = pci_resource_start(dev->pcidev, 0); pcidev 1119 drivers/net/ethernet/broadcom/cnic.c uinfo->mem[0].size = pci_resource_len(dev->pcidev, 0); pcidev 1220 drivers/net/ethernet/broadcom/cnic.c dma_alloc_coherent(&dev->pcidev->dev, cp->ctx_blk_size, pcidev 5327 drivers/net/ethernet/broadcom/cnic.c pci_dev_get(dev->pcidev); pcidev 5328 drivers/net/ethernet/broadcom/cnic.c cp->func = PCI_FUNC(dev->pcidev->devfn); pcidev 5357 drivers/net/ethernet/broadcom/cnic.c pci_dev_put(dev->pcidev); pcidev 5431 drivers/net/ethernet/broadcom/cnic.c pci_dev_put(dev->pcidev); pcidev 5538 drivers/net/ethernet/broadcom/cnic.c cdev->pcidev = pdev; pcidev 5591 drivers/net/ethernet/broadcom/cnic.c cdev->pcidev = pdev; pcidev 312 drivers/net/ethernet/broadcom/cnic_if.h struct pci_dev *pcidev; pcidev 1744 drivers/net/ethernet/brocade/bna/bfa_ioc.c return bfa_flash_raw_read(ioc->pcidev.pci_bar_kva, pcidev 2508 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_nw_ioc_pci_init(struct bfa_ioc *ioc, struct bfa_pcidev *pcidev, pcidev 2512 drivers/net/ethernet/brocade/bna/bfa_ioc.c ioc->pcidev = *pcidev; pcidev 2520 drivers/net/ethernet/brocade/bna/bfa_ioc.c switch (pcidev->device_id) { pcidev 2532 drivers/net/ethernet/brocade/bna/bfa_ioc.c pcidev->ssid == BFA_PCI_CT2_SSID_FC) { pcidev 2540 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (pcidev->ssid == BFA_PCI_CT2_SSID_FCoE) { pcidev 161 drivers/net/ethernet/brocade/bna/bfa_ioc.h struct bfa_pcidev pcidev; pcidev 220 drivers/net/ethernet/brocade/bna/bfa_ioc.h #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) pcidev 221 drivers/net/ethernet/brocade/bna/bfa_ioc.h #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) pcidev 222 drivers/net/ethernet/brocade/bna/bfa_ioc.h #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) pcidev 254 drivers/net/ethernet/brocade/bna/bfa_ioc.h ((__ioc)->ioc_hwif->ioc_pll_init((__ioc)->pcidev.pci_bar_kva, \ pcidev 270 drivers/net/ethernet/brocade/bna/bfa_ioc.h void bfa_nw_ioc_pci_init(struct bfa_ioc *ioc, struct bfa_pcidev *pcidev, pcidev 371 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 386 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 397 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 447 drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 261 drivers/net/ethernet/brocade/bna/bna.h struct bfa_pcidev *pcidev, pcidev 1702 drivers/net/ethernet/brocade/bna/bna_enet.c bfa_nw_ioc_pci_init(&ioceth->ioc, &bna->pcidev, BFI_PCIFN_CLASS_ETH); pcidev 1967 drivers/net/ethernet/brocade/bna/bna_enet.c struct bfa_pcidev *pcidev, struct bna_res_info *res_info) pcidev 1970 drivers/net/ethernet/brocade/bna/bna_enet.c bna->pcidev = *pcidev; pcidev 1979 drivers/net/ethernet/brocade/bna/bna_enet.c bna_reg_addr_init(bna, &bna->pcidev); pcidev 2104 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva pcidev 2108 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva pcidev 2113 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rx->bna->pcidev.pci_bar_kva pcidev 3285 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna->pcidev.pci_bar_kva pcidev 3288 drivers/net/ethernet/brocade/bna/bna_tx_rx.c tx->bna->pcidev.pci_bar_kva pcidev 903 drivers/net/ethernet/brocade/bna/bna_types.h struct bfa_pcidev pcidev; pcidev 59 drivers/net/ethernet/brocade/bna/bnad.c ((_bnad)->pcidev->irq)) pcidev 103 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_single(&bnad->pcidev->dev, pcidev 118 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_page(&bnad->pcidev->dev, pcidev 297 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_page(&bnad->pcidev->dev, pcidev 312 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_single(&bnad->pcidev->dev, pcidev 375 drivers/net/ethernet/brocade/bna/bnad.c dma_addr = dma_map_page(&bnad->pcidev->dev, page, page_offset, pcidev 377 drivers/net/ethernet/brocade/bna/bnad.c if (dma_mapping_error(&bnad->pcidev->dev, dma_addr)) { pcidev 438 drivers/net/ethernet/brocade/bna/bnad.c dma_addr = dma_map_single(&bnad->pcidev->dev, skb->data, pcidev 440 drivers/net/ethernet/brocade/bna/bnad.c if (dma_mapping_error(&bnad->pcidev->dev, dma_addr)) { pcidev 547 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_page(&bnad->pcidev->dev, pcidev 575 drivers/net/ethernet/brocade/bna/bnad.c dma_unmap_single(&bnad->pcidev->dev, pcidev 1325 drivers/net/ethernet/brocade/bna/bnad.c dma_free_coherent(&bnad->pcidev->dev, pcidev 1357 drivers/net/ethernet/brocade/bna/bnad.c dma_alloc_coherent(&bnad->pcidev->dev, pcidev 1418 drivers/net/ethernet/brocade/bna/bnad.c irq = bnad->pcidev->irq; pcidev 2473 drivers/net/ethernet/brocade/bna/bnad.c irq = bnad->pcidev->irq; pcidev 2656 drivers/net/ethernet/brocade/bna/bnad.c ret = pci_enable_msix_range(bnad->pcidev, bnad->msix_table, pcidev 2661 drivers/net/ethernet/brocade/bna/bnad.c dev_warn(&bnad->pcidev->dev, pcidev 2675 drivers/net/ethernet/brocade/bna/bnad.c pci_disable_msix(bnad->pcidev); pcidev 2680 drivers/net/ethernet/brocade/bna/bnad.c pci_intx(bnad->pcidev, 0); pcidev 2685 drivers/net/ethernet/brocade/bna/bnad.c dev_warn(&bnad->pcidev->dev, pcidev 2710 drivers/net/ethernet/brocade/bna/bnad.c pci_disable_msix(bnad->pcidev); pcidev 3022 drivers/net/ethernet/brocade/bna/bnad.c dma_addr = dma_map_single(&bnad->pcidev->dev, skb->data, pcidev 3024 drivers/net/ethernet/brocade/bna/bnad.c if (dma_mapping_error(&bnad->pcidev->dev, dma_addr)) { pcidev 3058 drivers/net/ethernet/brocade/bna/bnad.c dma_addr = skb_frag_dma_map(&bnad->pcidev->dev, frag, pcidev 3060 drivers/net/ethernet/brocade/bna/bnad.c if (dma_mapping_error(&bnad->pcidev->dev, dma_addr)) { pcidev 3390 drivers/net/ethernet/brocade/bna/bnad.c bnad_isr(bnad->pcidev->irq, netdev); pcidev 3477 drivers/net/ethernet/brocade/bna/bnad.c bnad->pcidev = pdev; pcidev 3668 drivers/net/ethernet/brocade/bna/bnad.c pcidev_info.pci_slot = PCI_SLOT(bnad->pcidev->devfn); pcidev 3669 drivers/net/ethernet/brocade/bna/bnad.c pcidev_info.pci_func = PCI_FUNC(bnad->pcidev->devfn); pcidev 3670 drivers/net/ethernet/brocade/bna/bnad.c pcidev_info.device_id = bnad->pcidev->device; pcidev 260 drivers/net/ethernet/brocade/bna/bnad.h ((_bnad)->pcidev->device == BFA_PCI_DEVICE_ID_CT2) pcidev 316 drivers/net/ethernet/brocade/bna/bnad.h struct pci_dev *pcidev; pcidev 511 drivers/net/ethernet/brocade/bna/bnad_debugfs.c snprintf(name, sizeof(name), "pci_dev:%s", pci_name(bnad->pcidev)); pcidev 300 drivers/net/ethernet/brocade/bna/bnad_ethtool.c strlcpy(drvinfo->bus_info, pci_name(bnad->pcidev), pcidev 1005 drivers/net/ethernet/brocade/bna/bnad_ethtool.c eeprom->magic = bnad->pcidev->vendor | (bnad->pcidev->device << 16); pcidev 1045 drivers/net/ethernet/brocade/bna/bnad_ethtool.c if (eeprom->magic != (bnad->pcidev->vendor | pcidev 1046 drivers/net/ethernet/brocade/bna/bnad_ethtool.c (bnad->pcidev->device << 16))) pcidev 1084 drivers/net/ethernet/brocade/bna/bnad_ethtool.c ret = request_firmware(&fw, eflash->data, &bnad->pcidev->dev); pcidev 300 drivers/net/ethernet/intel/i40e/i40e_client.c cdev->lan_info.pcidev = pf->pdev; pcidev 86 drivers/net/ethernet/intel/i40e/i40e_client.h struct pci_dev *pcidev; pcidev 206 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.pcidev = adapter->pdev; pcidev 87 drivers/net/ethernet/intel/iavf/iavf_client.h struct pci_dev *pcidev; pcidev 25 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c static int xlgmac_probe(struct pci_dev *pcidev, const struct pci_device_id *id) pcidev 27 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c struct device *dev = &pcidev->dev; pcidev 31 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c ret = pcim_enable_device(pcidev); pcidev 38 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c if (pci_resource_len(pcidev, i) == 0) pcidev 40 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c ret = pcim_iomap_regions(pcidev, BIT(i), XLGMAC_DRV_NAME); pcidev 46 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c pci_set_master(pcidev); pcidev 49 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c res.irq = pcidev->irq; pcidev 50 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c res.addr = pcim_iomap_table(pcidev)[i]; pcidev 52 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c return xlgmac_drv_probe(&pcidev->dev, &res); pcidev 55 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c static void xlgmac_remove(struct pci_dev *pcidev) pcidev 57 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c xlgmac_drv_remove(&pcidev->dev); pcidev 1878 drivers/net/wireless/broadcom/b43legacy/main.c struct ssb_device *gpiodev, *pcidev = NULL; pcidev 1910 drivers/net/wireless/broadcom/b43legacy/main.c pcidev = bus->pcicore.dev; pcidev 1912 drivers/net/wireless/broadcom/b43legacy/main.c gpiodev = bus->chipco.dev ? : pcidev; pcidev 1926 drivers/net/wireless/broadcom/b43legacy/main.c struct ssb_device *gpiodev, *pcidev = NULL; pcidev 1929 drivers/net/wireless/broadcom/b43legacy/main.c pcidev = bus->pcicore.dev; pcidev 1931 drivers/net/wireless/broadcom/b43legacy/main.c gpiodev = bus->chipco.dev ? : pcidev; pcidev 4413 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct pci_dev *pcidev = core->bus->host_pci; pcidev 4418 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c pcidev->vendor, pcidev 4419 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c pcidev->device); pcidev 4457 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->vendorid = pcidev->vendor; pcidev 4458 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->deviceid = pcidev->device; pcidev 5630 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct pci_dev *pcidev = core->bus->host_pci; pcidev 5631 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u16 vendor = pcidev->vendor; pcidev 5632 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u16 device = pcidev->device; pcidev 460 drivers/parisc/iosapic.c iosapic_xlate_pin(struct iosapic_info *isi, struct pci_dev *pcidev) pcidev 464 drivers/parisc/iosapic.c pci_read_config_byte(pcidev, PCI_INTERRUPT_PIN, &intr_pin); pcidev 467 drivers/parisc/iosapic.c pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); pcidev 475 drivers/parisc/iosapic.c if (pcidev->bus->parent) { pcidev 490 drivers/parisc/iosapic.c intr_pin = pci_bridge_funcs->xlate_intr_line(pcidev); pcidev 493 drivers/parisc/iosapic.c struct pci_bus *p = pcidev->bus; pcidev 507 drivers/parisc/iosapic.c intr_pin = pci_swizzle_interrupt_pin(pcidev, intr_pin); pcidev 518 drivers/parisc/iosapic.c intr_slot = PCI_SLOT(pcidev->devfn); pcidev 521 drivers/parisc/iosapic.c pcidev->bus->busn_res.start, intr_slot, intr_pin); pcidev 706 drivers/parisc/iosapic.c int iosapic_fixup_irq(void *isi_obj, struct pci_dev *pcidev) pcidev 715 drivers/parisc/iosapic.c pci_name(pcidev)); pcidev 728 drivers/parisc/iosapic.c if (is_superio_device(pcidev)) { pcidev 730 drivers/parisc/iosapic.c pcidev->irq = superio_fixup_irq(pcidev); pcidev 733 drivers/parisc/iosapic.c if (PCI_FUNC(pcidev->devfn) != SUPERIO_USB_FN) pcidev 734 drivers/parisc/iosapic.c return pcidev->irq; pcidev 739 drivers/parisc/iosapic.c irte = iosapic_xlate_pin(isi, pcidev); pcidev 742 drivers/parisc/iosapic.c pci_name(pcidev)); pcidev 791 drivers/parisc/iosapic.c pcidev->irq = vi->txn_irq; pcidev 794 drivers/parisc/iosapic.c PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn), pcidev 795 drivers/parisc/iosapic.c pcidev->vendor, pcidev->device, isi_line, pcidev->irq); pcidev 797 drivers/parisc/iosapic.c return pcidev->irq; pcidev 149 drivers/parisc/superio.c superio_init(struct pci_dev *pcidev) pcidev 334 drivers/parisc/superio.c int superio_fixup_irq(struct pci_dev *pcidev) pcidev 340 drivers/parisc/superio.c fn = PCI_FUNC(pcidev->devfn); pcidev 343 drivers/parisc/superio.c if (expected_device[fn] != pcidev->device) { pcidev 348 drivers/parisc/superio.c pci_name(pcidev), pcidev 349 drivers/parisc/superio.c pcidev->vendor, pcidev->device, pcidev 364 drivers/parisc/superio.c switch(pcidev->device) { pcidev 369 drivers/parisc/superio.c sio_dev.lio_pdev = pcidev; /* save for superio_init() */ pcidev 372 drivers/parisc/superio.c sio_dev.usb_pdev = pcidev; /* save for superio_init() */ pcidev 599 drivers/pci/xen-pcifront.c struct pci_dev *pcidev; pcidev 607 drivers/pci/xen-pcifront.c pcidev = pci_get_domain_bus_and_slot(domain, bus, devfn); pcidev 608 drivers/pci/xen-pcifront.c if (!pcidev || !pcidev->driver) { pcidev 610 drivers/pci/xen-pcifront.c pci_dev_put(pcidev); pcidev 613 drivers/pci/xen-pcifront.c pdrv = pcidev->driver; pcidev 617 drivers/pci/xen-pcifront.c pci_dbg(pcidev, "trying to call AER service\n"); pcidev 618 drivers/pci/xen-pcifront.c if (pcidev) { pcidev 623 drivers/pci/xen-pcifront.c error_detected(pcidev, state); pcidev 627 drivers/pci/xen-pcifront.c mmio_enabled(pcidev); pcidev 631 drivers/pci/xen-pcifront.c slot_reset(pcidev); pcidev 634 drivers/pci/xen-pcifront.c pdrv->err_handler->resume(pcidev); pcidev 3676 drivers/platform/x86/sony-laptop.c struct pci_dev *pcidev; pcidev 3678 drivers/platform/x86/sony-laptop.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 3680 drivers/platform/x86/sony-laptop.c if (pcidev) { pcidev 3687 drivers/platform/x86/sony-laptop.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 3689 drivers/platform/x86/sony-laptop.c if (pcidev) { pcidev 3696 drivers/platform/x86/sony-laptop.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 3698 drivers/platform/x86/sony-laptop.c if (pcidev) { pcidev 3706 drivers/platform/x86/sony-laptop.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 3708 drivers/platform/x86/sony-laptop.c if (pcidev) { pcidev 3716 drivers/platform/x86/sony-laptop.c pcidev = pci_get_device(PCI_VENDOR_ID_INTEL, pcidev 3718 drivers/platform/x86/sony-laptop.c if (pcidev) { pcidev 3732 drivers/platform/x86/sony-laptop.c pci_dev_put(pcidev); pcidev 145 drivers/scsi/aic94xx/aic94xx_hwi.c struct pci_dev *pcidev = asd_ha->pcidev; pcidev 150 drivers/scsi/aic94xx/aic94xx_hwi.c err = pci_read_config_dword(pcidev, PCI_CONF_MBAR_KEY, &v); pcidev 153 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(pcidev)); pcidev 157 drivers/scsi/aic94xx/aic94xx_hwi.c err = pci_write_config_dword(pcidev, PCI_CONF_MBAR_KEY, v); pcidev 160 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(pcidev)); pcidev 167 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWA, REG_BASE_ADDR); pcidev 168 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWB, pcidev 170 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(pcidev, PCI_CONF_MBAR0_SWC, REG_BASE_ADDR_EXSI); pcidev 177 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(pcidev, PCI_CONF_MBAR1, OCM_BASE_ADDR); pcidev 452 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 461 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 468 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 616 drivers/scsi/aic94xx/aic94xx_hwi.c err = pci_read_config_dword(asd_ha->pcidev, PCIC_HSTPCIX_CNTRL, &v); pcidev 619 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 622 drivers/scsi/aic94xx/aic94xx_hwi.c err = pci_write_config_dword(asd_ha->pcidev, PCIC_HSTPCIX_CNTRL, pcidev 626 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 649 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 659 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 668 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 708 drivers/scsi/aic94xx/aic94xx_hwi.c ASD_DPRINTK("chip reset for %s\n", pci_name(asd_ha->pcidev)); pcidev 777 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 784 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 801 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 853 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 857 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 861 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 874 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 879 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 883 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), lseq, pcidev 899 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("%s: CFIFTOERR\n", pci_name(asd_ha->pcidev)); pcidev 920 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 925 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 939 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev), pcidev 963 drivers/scsi/aic94xx/aic94xx_hwi.c pci_read_config_word(asd_ha->pcidev, PCI_STATUS, &status); pcidev 964 drivers/scsi/aic94xx/aic94xx_hwi.c pci_read_config_dword(asd_ha->pcidev, PCIX_STATUS, &pcix_status); pcidev 965 drivers/scsi/aic94xx/aic94xx_hwi.c pci_read_config_dword(asd_ha->pcidev, ECC_CTRL_STAT, &ecc_status); pcidev 968 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("parity error for %s\n", pci_name(asd_ha->pcidev)); pcidev 970 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("master abort for %s\n", pci_name(asd_ha->pcidev)); pcidev 972 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("target abort for %s\n", pci_name(asd_ha->pcidev)); pcidev 974 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("data parity for %s\n", pci_name(asd_ha->pcidev)); pcidev 977 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 978 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(asd_ha->pcidev,PCIX_STATUS,pcix_status); pcidev 983 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 984 drivers/scsi/aic94xx/aic94xx_hwi.c pci_write_config_dword(asd_ha->pcidev,PCIX_STATUS,pcix_status); pcidev 989 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 992 drivers/scsi/aic94xx/aic94xx_hwi.c pci_name(asd_ha->pcidev)); pcidev 1203 drivers/scsi/aic94xx/aic94xx_hwi.c asd_printk("%s: scb queue full\n", pci_name(asd_ha->pcidev)); pcidev 181 drivers/scsi/aic94xx/aic94xx_hwi.h struct pci_dev *pcidev; pcidev 248 drivers/scsi/aic94xx/aic94xx_hwi.h token->vaddr = dma_alloc_coherent(&asd_ha->pcidev->dev, pcidev 264 drivers/scsi/aic94xx/aic94xx_hwi.h dma_free_coherent(&asd_ha->pcidev->dev, token->size, pcidev 68 drivers/scsi/aic94xx/aic94xx_init.c io_handle->start = pci_resource_start(asd_ha->pcidev, i); pcidev 69 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); pcidev 70 drivers/scsi/aic94xx/aic94xx_init.c io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); pcidev 74 drivers/scsi/aic94xx/aic94xx_init.c i==0?0:1, pci_name(asd_ha->pcidev)); pcidev 77 drivers/scsi/aic94xx/aic94xx_init.c err = pci_request_region(asd_ha->pcidev, i, ASD_DRIVER_NAME); pcidev 80 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 86 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 94 drivers/scsi/aic94xx/aic94xx_init.c pci_release_region(asd_ha->pcidev, i); pcidev 99 drivers/scsi/aic94xx/aic94xx_init.c pci_release_region(asd_ha->pcidev, 0); pcidev 110 drivers/scsi/aic94xx/aic94xx_init.c pci_release_region(asd_ha->pcidev, 2); pcidev 114 drivers/scsi/aic94xx/aic94xx_init.c pci_release_region(asd_ha->pcidev, 0); pcidev 123 drivers/scsi/aic94xx/aic94xx_init.c io_handle->start = pci_resource_start(asd_ha->pcidev, i); pcidev 124 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); pcidev 125 drivers/scsi/aic94xx/aic94xx_init.c io_handle->flags = pci_resource_flags(asd_ha->pcidev, i); pcidev 129 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 132 drivers/scsi/aic94xx/aic94xx_init.c err = pci_request_region(asd_ha->pcidev, i, ASD_DRIVER_NAME); pcidev 135 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 143 drivers/scsi/aic94xx/aic94xx_init.c pci_release_region(asd_ha->pcidev, PCI_IOBAR_OFFSET); pcidev 151 drivers/scsi/aic94xx/aic94xx_init.c err = pci_read_config_word(asd_ha->pcidev, PCI_COMMAND, &cmd_reg); pcidev 154 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 166 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 169 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 196 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->revision_id = asd_ha->pcidev->revision; pcidev 201 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev), pcidev 366 drivers/scsi/aic94xx/aic94xx_init.c &asd_ha->pcidev->dev); pcidev 376 drivers/scsi/aic94xx/aic94xx_init.c if ((hdr_ptr->contrl_id.vendor != asd_ha->pcidev->vendor || pcidev 377 drivers/scsi/aic94xx/aic94xx_init.c hdr_ptr->contrl_id.device != asd_ha->pcidev->device) && pcidev 378 drivers/scsi/aic94xx/aic94xx_init.c (hdr_ptr->contrl_id.sub_vendor != asd_ha->pcidev->vendor || pcidev 379 drivers/scsi/aic94xx/aic94xx_init.c hdr_ptr->contrl_id.sub_device != asd_ha->pcidev->device)) { pcidev 388 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->pcidev->vendor, pcidev 389 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->pcidev->device); pcidev 462 drivers/scsi/aic94xx/aic94xx_init.c err = device_create_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); pcidev 466 drivers/scsi/aic94xx/aic94xx_init.c err = device_create_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); pcidev 470 drivers/scsi/aic94xx/aic94xx_init.c err = device_create_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); pcidev 473 drivers/scsi/aic94xx/aic94xx_init.c err = device_create_file(&asd_ha->pcidev->dev, &dev_attr_update_bios); pcidev 480 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); pcidev 482 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); pcidev 484 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); pcidev 490 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_aic_revision); pcidev 491 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_bios_build); pcidev 492 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_pcba_sn); pcidev 493 drivers/scsi/aic94xx/aic94xx_init.c device_remove_file(&asd_ha->pcidev->dev, &dev_attr_update_bios); pcidev 518 drivers/scsi/aic94xx/aic94xx_init.c &asd_ha->pcidev->dev, pcidev 728 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->pcidev = dev; pcidev 729 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->sas_ha.dev = &asd_ha->pcidev->dev; pcidev 786 drivers/scsi/aic94xx/aic94xx_init.c pci_enable_msi(asd_ha->pcidev); pcidev 788 drivers/scsi/aic94xx/aic94xx_init.c err = request_irq(asd_ha->pcidev->irq, asd_hw_isr, IRQF_SHARED, pcidev 792 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->pcidev->irq, pci_name(asd_ha->pcidev)); pcidev 800 drivers/scsi/aic94xx/aic94xx_init.c pci_name(asd_ha->pcidev)); pcidev 901 drivers/scsi/aic94xx/aic94xx_init.c pci_disable_msi(asd_ha->pcidev); pcidev 173 drivers/scsi/aic94xx/aic94xx_reg.c pci_write_config_dword(asd_ha->pcidev, PCI_CONF_MBAR0_SWB, base); pcidev 296 drivers/scsi/aic94xx/aic94xx_sds.c struct pci_dev *pcidev = asd_ha->pcidev; pcidev 305 drivers/scsi/aic94xx/aic94xx_sds.c err = pci_read_config_dword(pcidev, PCIC_INTRPT_STAT, &v); pcidev 308 drivers/scsi/aic94xx/aic94xx_sds.c pci_name(pcidev)); pcidev 317 drivers/scsi/aic94xx/aic94xx_sds.c err = pci_write_config_dword(pcidev, pcidev 321 drivers/scsi/aic94xx/aic94xx_sds.c pci_name(pcidev)); pcidev 617 drivers/scsi/aic94xx/aic94xx_sds.c if (pci_read_config_dword(asd_ha->pcidev, PCI_CONF_FLSH_BAR, pcidev 620 drivers/scsi/aic94xx/aic94xx_sds.c pci_name(asd_ha->pcidev)); pcidev 187 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev), pcidev 229 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev), pcidev 330 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev)); pcidev 386 drivers/scsi/aic94xx/aic94xx_seq.c asd_printk("%s: no enabled phys!\n", pci_name(asd_ha->pcidev)); pcidev 1231 drivers/scsi/aic94xx/aic94xx_seq.c &asd_ha->pcidev->dev); pcidev 1311 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev)); pcidev 1329 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev)); pcidev 1338 drivers/scsi/aic94xx/aic94xx_seq.c pci_name(asd_ha->pcidev)); pcidev 50 drivers/scsi/aic94xx/aic94xx_task.c dma_addr_t dma = dma_map_single(&asd_ha->pcidev->dev, p, pcidev 64 drivers/scsi/aic94xx/aic94xx_task.c num_sg = dma_map_sg(&asd_ha->pcidev->dev, task->scatter, pcidev 111 drivers/scsi/aic94xx/aic94xx_task.c dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, pcidev 127 drivers/scsi/aic94xx/aic94xx_task.c dma_unmap_single(&ascb->ha->pcidev->dev, dma, pcidev 134 drivers/scsi/aic94xx/aic94xx_task.c dma_unmap_sg(&asd_ha->pcidev->dev, task->scatter, pcidev 178 drivers/scsi/aic94xx/aic94xx_task.c sas_ssp_task_response(&asd_ha->pcidev->dev, task, iu); pcidev 421 drivers/scsi/aic94xx/aic94xx_task.c dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_req, 1, pcidev 423 drivers/scsi/aic94xx/aic94xx_task.c dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_resp, 1, pcidev 456 drivers/scsi/aic94xx/aic94xx_task.c dma_unmap_sg(&a->ha->pcidev->dev, &task->smp_task.smp_req, 1, pcidev 458 drivers/scsi/aic94xx/aic94xx_task.c dma_unmap_sg(&a->ha->pcidev->dev, &task->smp_task.smp_resp, 1, pcidev 932 drivers/scsi/arcmsr/arcmsr_hba.c struct pci_dev *pcidev = acb->pdev; pcidev 936 drivers/scsi/arcmsr/arcmsr_hba.c dma_set_mask(&pcidev->dev, DMA_BIT_MASK(64))) pcidev 938 drivers/scsi/arcmsr/arcmsr_hba.c if (dma_set_coherent_mask(&pcidev->dev, DMA_BIT_MASK(64)) || pcidev 939 drivers/scsi/arcmsr/arcmsr_hba.c dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(64))) { pcidev 945 drivers/scsi/arcmsr/arcmsr_hba.c if (dma_set_mask(&pcidev->dev, DMA_BIT_MASK(32)) || pcidev 946 drivers/scsi/arcmsr/arcmsr_hba.c dma_set_coherent_mask(&pcidev->dev, DMA_BIT_MASK(32)) || pcidev 947 drivers/scsi/arcmsr/arcmsr_hba.c dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(32))) { pcidev 879 drivers/scsi/be2iscsi/be_cmds.c PCI_FUNC(phba->pcidev->devfn)); pcidev 1612 drivers/scsi/be2iscsi/be_cmds.c pci_read_config_dword(phba->pcidev, pcidev 1797 drivers/scsi/be2iscsi/be_cmds.c pci_read_config_dword(phba->pcidev, pcidev 1799 drivers/scsi/be2iscsi/be_cmds.c pci_read_config_dword(phba->pcidev, pcidev 1802 drivers/scsi/be2iscsi/be_cmds.c pci_read_config_dword(phba->pcidev, pcidev 1805 drivers/scsi/be2iscsi/be_cmds.c pci_read_config_dword(phba->pcidev, pcidev 85 drivers/scsi/be2iscsi/be_iscsi.c &phba->pcidev->dev, pcidev 408 drivers/scsi/be2iscsi/be_main.c static struct beiscsi_hba *beiscsi_hba_alloc(struct pci_dev *pcidev) pcidev 415 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, pcidev 427 drivers/scsi/be2iscsi/be_main.c phba->pcidev = pci_dev_get(pcidev); pcidev 428 drivers/scsi/be2iscsi/be_main.c pci_set_drvdata(pcidev, phba); pcidev 451 drivers/scsi/be2iscsi/be_main.c struct pci_dev *pcidev) pcidev 456 drivers/scsi/be2iscsi/be_main.c addr = ioremap_nocache(pci_resource_start(pcidev, 2), pcidev 457 drivers/scsi/be2iscsi/be_main.c pci_resource_len(pcidev, 2)); pcidev 463 drivers/scsi/be2iscsi/be_main.c addr = ioremap_nocache(pci_resource_start(pcidev, 4), 128 * 1024); pcidev 474 drivers/scsi/be2iscsi/be_main.c addr = ioremap_nocache(pci_resource_start(pcidev, pcicfg_reg), pcidev 475 drivers/scsi/be2iscsi/be_main.c pci_resource_len(pcidev, pcicfg_reg)); pcidev 488 drivers/scsi/be2iscsi/be_main.c static int beiscsi_enable_pci(struct pci_dev *pcidev) pcidev 492 drivers/scsi/be2iscsi/be_main.c ret = pci_enable_device(pcidev); pcidev 494 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, pcidev 499 drivers/scsi/be2iscsi/be_main.c ret = pci_request_regions(pcidev, DRV_NAME); pcidev 501 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, pcidev 506 drivers/scsi/be2iscsi/be_main.c pci_set_master(pcidev); pcidev 507 drivers/scsi/be2iscsi/be_main.c ret = dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(64)); pcidev 509 drivers/scsi/be2iscsi/be_main.c ret = dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(32)); pcidev 511 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, "Could not set PCI DMA Mask\n"); pcidev 518 drivers/scsi/be2iscsi/be_main.c pci_release_regions(pcidev); pcidev 520 drivers/scsi/be2iscsi/be_main.c pci_disable_device(pcidev); pcidev 789 drivers/scsi/be2iscsi/be_main.c if (!phba->pcidev->msix_enabled) { pcidev 790 drivers/scsi/be2iscsi/be_main.c if (phba->pcidev->irq) pcidev 791 drivers/scsi/be2iscsi/be_main.c free_irq(phba->pcidev->irq, phba); pcidev 797 drivers/scsi/be2iscsi/be_main.c free_irq(pci_irq_vector(phba->pcidev, i), pcidev 805 drivers/scsi/be2iscsi/be_main.c struct pci_dev *pcidev = phba->pcidev; pcidev 813 drivers/scsi/be2iscsi/be_main.c if (pcidev->msix_enabled) { pcidev 823 drivers/scsi/be2iscsi/be_main.c ret = request_irq(pci_irq_vector(pcidev, i), pcidev 841 drivers/scsi/be2iscsi/be_main.c ret = request_irq(pci_irq_vector(pcidev, i), be_isr_mcc, 0, pcidev 852 drivers/scsi/be2iscsi/be_main.c ret = request_irq(pcidev->irq, be_isr, IRQF_SHARED, pcidev 864 drivers/scsi/be2iscsi/be_main.c free_irq(pci_irq_vector(pcidev, i), &phwi_context->be_eq[j]); pcidev 2289 drivers/scsi/be2iscsi/be_main.c io_task->mtask_addr = dma_map_single(&phba->pcidev->dev, pcidev 2293 drivers/scsi/be2iscsi/be_main.c if (dma_mapping_error(&phba->pcidev->dev, pcidev 2505 drivers/scsi/be2iscsi/be_main.c dma_alloc_coherent(&phba->pcidev->dev, pcidev 2544 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, pcidev 3007 drivers/scsi/be2iscsi/be_main.c if (phba->pcidev->msix_enabled) pcidev 3015 drivers/scsi/be2iscsi/be_main.c eq_vaddress = dma_alloc_coherent(&phba->pcidev->dev, pcidev 3053 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, num_eq_pages pcidev 3081 drivers/scsi/be2iscsi/be_main.c cq_vaddress = dma_alloc_coherent(&phba->pcidev->dev, pcidev 3118 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, num_cq_pages pcidev 3310 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, mem->size, pcidev 3325 drivers/scsi/be2iscsi/be_main.c mem->va = dma_alloc_coherent(&phba->pcidev->dev, mem->size, &mem->dma, pcidev 3519 drivers/scsi/be2iscsi/be_main.c if (phba->pcidev->msix_enabled) { pcidev 3572 drivers/scsi/be2iscsi/be_main.c if (pci_alloc_irq_vectors_affinity(phba->pcidev, 2, nvec, pcidev 3596 drivers/scsi/be2iscsi/be_main.c if (phba->pcidev->msix_enabled) pcidev 3674 drivers/scsi/be2iscsi/be_main.c if (phba->pcidev->msix_enabled) pcidev 3865 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, pcidev 4119 drivers/scsi/be2iscsi/be_main.c if (!phba->pcidev->msix_enabled) { pcidev 4240 drivers/scsi/be2iscsi/be_main.c dma_unmap_single(&phba->pcidev->dev, pcidev 5344 drivers/scsi/be2iscsi/be_main.c i = (phba->pcidev->msix_enabled) ? i : 0; pcidev 5382 drivers/scsi/be2iscsi/be_main.c pci_free_irq_vectors(phba->pcidev); pcidev 5408 drivers/scsi/be2iscsi/be_main.c pci_free_irq_vectors(phba->pcidev); pcidev 5531 drivers/scsi/be2iscsi/be_main.c static int beiscsi_dev_probe(struct pci_dev *pcidev, pcidev 5542 drivers/scsi/be2iscsi/be_main.c ret = beiscsi_enable_pci(pcidev); pcidev 5544 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, pcidev 5549 drivers/scsi/be2iscsi/be_main.c phba = beiscsi_hba_alloc(pcidev); pcidev 5551 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, pcidev 5558 drivers/scsi/be2iscsi/be_main.c ret = pci_enable_pcie_error_reporting(pcidev); pcidev 5564 drivers/scsi/be2iscsi/be_main.c pci_save_state(pcidev); pcidev 5571 drivers/scsi/be2iscsi/be_main.c switch (pcidev->device) { pcidev 5577 drivers/scsi/be2iscsi/be_main.c dev_warn(&pcidev->dev, pcidev 5593 drivers/scsi/be2iscsi/be_main.c ret = be_ctrl_init(phba, pcidev); pcidev 5673 drivers/scsi/be2iscsi/be_main.c i = (phba->pcidev->msix_enabled) ? i : 0; pcidev 5687 drivers/scsi/be2iscsi/be_main.c ret = iscsi_host_add(phba->shost, &phba->pcidev->dev); pcidev 5739 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, pcidev 5745 drivers/scsi/be2iscsi/be_main.c pci_disable_msix(phba->pcidev); pcidev 5746 drivers/scsi/be2iscsi/be_main.c pci_dev_put(phba->pcidev); pcidev 5748 drivers/scsi/be2iscsi/be_main.c pci_set_drvdata(pcidev, NULL); pcidev 5750 drivers/scsi/be2iscsi/be_main.c pci_release_regions(pcidev); pcidev 5751 drivers/scsi/be2iscsi/be_main.c pci_disable_device(pcidev); pcidev 5755 drivers/scsi/be2iscsi/be_main.c static void beiscsi_remove(struct pci_dev *pcidev) pcidev 5759 drivers/scsi/be2iscsi/be_main.c phba = pci_get_drvdata(pcidev); pcidev 5761 drivers/scsi/be2iscsi/be_main.c dev_err(&pcidev->dev, "beiscsi_remove called with no phba\n"); pcidev 5783 drivers/scsi/be2iscsi/be_main.c dma_free_coherent(&phba->pcidev->dev, pcidev 5788 drivers/scsi/be2iscsi/be_main.c pci_dev_put(phba->pcidev); pcidev 5790 drivers/scsi/be2iscsi/be_main.c pci_disable_pcie_error_reporting(pcidev); pcidev 5791 drivers/scsi/be2iscsi/be_main.c pci_set_drvdata(pcidev, NULL); pcidev 5792 drivers/scsi/be2iscsi/be_main.c pci_release_regions(pcidev); pcidev 5793 drivers/scsi/be2iscsi/be_main.c pci_disable_device(pcidev); pcidev 278 drivers/scsi/be2iscsi/be_main.h struct pci_dev *pcidev; pcidev 319 drivers/scsi/be2iscsi/be_mgmt.c dma_free_coherent(&phba->pcidev->dev, tag_mem->size, pcidev 1239 drivers/scsi/be2iscsi/be_mgmt.c dev_id = phba->pcidev->device; pcidev 298 drivers/scsi/bfa/bfa.h struct bfa_pcidev_s *pcidev); pcidev 401 drivers/scsi/bfa/bfa.h struct bfa_pcidev_s *pcidev); pcidev 854 drivers/scsi/bfa/bfa_core.c if (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id)) { pcidev 913 drivers/scsi/bfa/bfa_core.c if (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id)) { pcidev 920 drivers/scsi/bfa/bfa_core.c halt_isr = bfa_asic_id_ct(bfa->ioc.pcidev.device_id) ? pcidev 1037 drivers/scsi/bfa/bfa_core.c struct bfa_pcidev_s *pcidev) pcidev 1518 drivers/scsi/bfa/bfa_core.c struct bfa_pcidev_s *pcidev) pcidev 1531 drivers/scsi/bfa/bfa_core.c bfa_ioc_pci_init(&bfa->ioc, pcidev, BFI_PCIFN_CLASS_FC); pcidev 1534 drivers/scsi/bfa/bfa_core.c bfa_iocfc_init_mem(bfa, bfad, cfg, pcidev); pcidev 1829 drivers/scsi/bfa/bfa_core.c struct bfa_meminfo_s *meminfo, struct bfa_pcidev_s *pcidev) pcidev 1858 drivers/scsi/bfa/bfa_core.c bfa_iocfc_attach(bfa, bfad, cfg, pcidev); pcidev 1859 drivers/scsi/bfa/bfa_core.c bfa_fcdiag_attach(bfa, bfad, cfg, pcidev); pcidev 1860 drivers/scsi/bfa/bfa_core.c bfa_sgpg_attach(bfa, bfad, cfg, pcidev); pcidev 1861 drivers/scsi/bfa/bfa_core.c bfa_fcport_attach(bfa, bfad, cfg, pcidev); pcidev 1862 drivers/scsi/bfa/bfa_core.c bfa_fcxp_attach(bfa, bfad, cfg, pcidev); pcidev 1863 drivers/scsi/bfa/bfa_core.c bfa_lps_attach(bfa, bfad, cfg, pcidev); pcidev 1864 drivers/scsi/bfa/bfa_core.c bfa_uf_attach(bfa, bfad, cfg, pcidev); pcidev 1865 drivers/scsi/bfa/bfa_core.c bfa_rport_attach(bfa, bfad, cfg, pcidev); pcidev 1866 drivers/scsi/bfa/bfa_core.c bfa_fcp_attach(bfa, bfad, cfg, pcidev); pcidev 309 drivers/scsi/bfa/bfa_fcpim.c struct bfa_iocfc_cfg_s *cfg, struct bfa_pcidev_s *pcidev) pcidev 3689 drivers/scsi/bfa/bfa_fcpim.c struct bfa_pcidev_s *pcidev) pcidev 3719 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_attach(fcp, bfad, cfg, pcidev); pcidev 1633 drivers/scsi/bfa/bfa_ioc.c return bfa_flash_raw_read(ioc->pcidev.pci_bar_kva, pcidev 2396 drivers/scsi/bfa/bfa_ioc.c bfa_ioc_pci_init(struct bfa_ioc_s *ioc, struct bfa_pcidev_s *pcidev, pcidev 2400 drivers/scsi/bfa/bfa_ioc.c ioc->pcidev = *pcidev; pcidev 2408 drivers/scsi/bfa/bfa_ioc.c switch (pcidev->device_id) { pcidev 2436 drivers/scsi/bfa/bfa_ioc.c pcidev->ssid == BFA_PCI_CT2_SSID_FC) { pcidev 2444 drivers/scsi/bfa/bfa_ioc.c if (pcidev->ssid == BFA_PCI_CT2_SSID_FCoE) { pcidev 2672 drivers/scsi/bfa/bfa_ioc.c if (ioc->pcidev.device_id != BFA_PCI_DEVICE_ID_FC_8G1P) { pcidev 2810 drivers/scsi/bfa/bfa_ioc.c if (bfa_asic_id_ct2(ioc->pcidev.device_id) && pcidev 296 drivers/scsi/bfa/bfa_ioc.h struct bfa_pcidev_s pcidev; pcidev 807 drivers/scsi/bfa/bfa_ioc.h #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) pcidev 808 drivers/scsi/bfa/bfa_ioc.h #define bfa_ioc_devid(__ioc) ((__ioc)->pcidev.device_id) pcidev 809 drivers/scsi/bfa/bfa_ioc.h #define bfa_ioc_bar0(__ioc) ((__ioc)->pcidev.pci_bar_kva) pcidev 853 drivers/scsi/bfa/bfa_ioc.h ((__ioc)->ioc_hwif->ioc_pll_init((__ioc)->pcidev.pci_bar_kva, \ pcidev 883 drivers/scsi/bfa/bfa_ioc.h void bfa_ioc_pci_init(struct bfa_ioc_s *ioc, struct bfa_pcidev_s *pcidev, pcidev 307 drivers/scsi/bfa/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 324 drivers/scsi/bfa/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 340 drivers/scsi/bfa/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 564 drivers/scsi/bfa/bfa_ioc_ct.c void __iomem *rb = ioc->pcidev.pci_bar_kva; pcidev 491 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 1481 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 3025 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 3753 drivers/scsi/bfa/bfa_svc.c (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id))) pcidev 4814 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 5180 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 5454 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 5714 drivers/scsi/bfa/bfa_svc.c struct bfa_pcidev_s *pcidev) pcidev 5996 drivers/scsi/bfa/bfa_svc.c (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id))) { pcidev 6657 drivers/scsi/bfa/bfa_svc.c if (!(bfa_asic_id_ct2(dport->bfa->ioc.pcidev.device_id))) { pcidev 6658 drivers/scsi/bfa/bfa_svc.c bfa_trc(dport->bfa, dport->bfa->ioc.pcidev.device_id); pcidev 542 drivers/scsi/bfa/bfad.c dma_free_coherent(&bfad->pcidev->dev, pcidev 616 drivers/scsi/bfa/bfad.c dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, pcidev 768 drivers/scsi/bfa/bfad.c bfad->pcidev = pdev; pcidev 932 drivers/scsi/bfa/bfad.c &bfad->pcidev->dev); pcidev 1188 drivers/scsi/bfa/bfad.c pci_disable_msix(bfad->pcidev); pcidev 1206 drivers/scsi/bfa/bfad.c struct pci_dev *pdev = bfad->pcidev; pcidev 1218 drivers/scsi/bfa/bfad.c error = pci_enable_msix_exact(bfad->pcidev, pcidev 1226 drivers/scsi/bfa/bfad.c error = pci_enable_msix_exact(bfad->pcidev, pcidev 1259 drivers/scsi/bfa/bfad.c error = request_irq(bfad->pcidev->irq, (irq_handler_t)bfad_intx, pcidev 1279 drivers/scsi/bfa/bfad.c pci_disable_msix(bfad->pcidev); pcidev 1282 drivers/scsi/bfa/bfad.c free_irq(bfad->pcidev->irq, bfad); pcidev 1494 drivers/scsi/bfa/bfad.c struct pci_dev *pdev = bfad->pcidev; pcidev 1561 drivers/scsi/bfa/bfad.c rc = dma_set_mask_and_coherent(&bfad->pcidev->dev, DMA_BIT_MASK(64)); pcidev 1563 drivers/scsi/bfa/bfad.c rc = dma_set_mask_and_coherent(&bfad->pcidev->dev, pcidev 3259 drivers/scsi/bfa/bfad_bsg.c buf_info->virt = dma_alloc_coherent(&bfad->pcidev->dev, pcidev 3293 drivers/scsi/bfa/bfad_bsg.c dma_free_coherent(&bfad->pcidev->dev, pcidev 187 drivers/scsi/bfa/bfad_drv.h struct pci_dev *pcidev; pcidev 286 drivers/scsi/bfa/bfad_drv.h dev_printk(level, &((bfad)->pcidev)->dev, fmt, ##arg); \ pcidev 571 drivers/scsi/bfa/bfad_im.c error = scsi_add_host_with_dma(im_port->shost, dev, &bfad->pcidev->dev); pcidev 189 drivers/scsi/bnx2fc/bnx2fc.h struct pci_dev *pcidev; pcidev 1743 drivers/scsi/bnx2fc/bnx2fc_fcoe.c pdev = hba->pcidev = cnic->pcidev; pcidev 1744 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (!hba->pcidev) pcidev 1780 drivers/scsi/bnx2fc/bnx2fc_fcoe.c pci_dev_get(hba->pcidev); pcidev 1786 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (hba->pcidev) { pcidev 1788 drivers/scsi/bnx2fc/bnx2fc_fcoe.c pci_dev_put(hba->pcidev); pcidev 1790 drivers/scsi/bnx2fc/bnx2fc_fcoe.c hba->pcidev = NULL; pcidev 1335 drivers/scsi/bnx2fc/bnx2fc_hwi.c (u8)hba->pcidev->bus->number); pcidev 1414 drivers/scsi/bnx2fc/bnx2fc_hwi.c reg_base = pci_resource_start(hba->pcidev, pcidev 1842 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->task_ctx_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, pcidev 1879 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->task_ctx[i] = dma_alloc_coherent(&hba->pcidev->dev, pcidev 1899 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 1911 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 1924 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 1934 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 1966 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, pcidev 1978 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 2016 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->hash_tbl_segments[i] = dma_alloc_coherent(&hba->pcidev->dev, pcidev 2026 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->hash_tbl_pbl = dma_alloc_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 2059 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, pcidev 2089 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->t2_hash_tbl_ptr = dma_alloc_coherent(&hba->pcidev->dev, mem_size, pcidev 2100 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->t2_hash_tbl = dma_alloc_coherent(&hba->pcidev->dev, mem_size, pcidev 2115 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, pcidev 2124 drivers/scsi/bnx2fc/bnx2fc_hwi.c hba->stats_buffer = dma_alloc_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 2141 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 2147 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, PAGE_SIZE, pcidev 2154 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, mem_size, pcidev 2163 drivers/scsi/bnx2fc/bnx2fc_hwi.c dma_free_coherent(&hba->pcidev->dev, mem_size, pcidev 318 drivers/scsi/bnx2fc/bnx2fc_io.c bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, pcidev 356 drivers/scsi/bnx2fc/bnx2fc_io.c dma_free_coherent(&hba->pcidev->dev, bd_tbl_sz, pcidev 556 drivers/scsi/bnx2fc/bnx2fc_io.c dma_free_coherent(&hba->pcidev->dev, sz, pcidev 562 drivers/scsi/bnx2fc/bnx2fc_io.c dma_free_coherent(&hba->pcidev->dev, sz, pcidev 568 drivers/scsi/bnx2fc/bnx2fc_io.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 574 drivers/scsi/bnx2fc/bnx2fc_io.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 600 drivers/scsi/bnx2fc/bnx2fc_io.c mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 609 drivers/scsi/bnx2fc/bnx2fc_io.c mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 622 drivers/scsi/bnx2fc/bnx2fc_io.c mp_req->mp_req_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, pcidev 630 drivers/scsi/bnx2fc/bnx2fc_io.c mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, pcidev 1664 drivers/scsi/bnx2fc/bnx2fc_io.c sg_count = dma_map_sg(&hba->pcidev->dev, scsi_sglist(sc), pcidev 1731 drivers/scsi/bnx2fc/bnx2fc_io.c dma_unmap_sg(&hba->pcidev->dev, scsi_sglist(sc), pcidev 675 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->sq = dma_alloc_coherent(&hba->pcidev->dev, tgt->sq_mem_size, pcidev 688 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, pcidev 701 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->rq = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_mem_size, pcidev 713 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->rq_pbl = dma_alloc_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, pcidev 738 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->xferq = dma_alloc_coherent(&hba->pcidev->dev, pcidev 752 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->confq = dma_alloc_coherent(&hba->pcidev->dev, pcidev 766 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->confq_pbl = dma_alloc_coherent(&hba->pcidev->dev, pcidev 790 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->conn_db = dma_alloc_coherent(&hba->pcidev->dev, pcidev 805 drivers/scsi/bnx2fc/bnx2fc_tgt.c tgt->lcq = dma_alloc_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, pcidev 843 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->lcq_mem_size, pcidev 849 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->conn_db_mem_size, pcidev 855 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->confq_pbl_size, pcidev 860 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->confq_mem_size, pcidev 866 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->xferq_mem_size, pcidev 872 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->rq_pbl_size, pcidev 877 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->rq_mem_size, pcidev 883 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->cq_mem_size, pcidev 889 drivers/scsi/bnx2fc/bnx2fc_tgt.c dma_free_coherent(&hba->pcidev->dev, tgt->sq_mem_size, pcidev 402 drivers/scsi/bnx2i/bnx2i.h struct pci_dev *pcidev; pcidev 1060 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_pgtbl_size, pcidev 1070 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, pcidev 1096 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_pgtbl_size, pcidev 1106 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, pcidev 1138 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_pgtbl_size, pcidev 1148 drivers/scsi/bnx2i/bnx2i_hwi.c dma_alloc_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, pcidev 1190 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.sq_pgtbl_size, pcidev 1196 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.sq_mem_size, pcidev 1204 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.rq_pgtbl_size, pcidev 1210 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.rq_mem_size, pcidev 1218 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.cq_pgtbl_size, pcidev 1224 drivers/scsi/bnx2i/bnx2i_hwi.c dma_free_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, pcidev 2501 drivers/scsi/bnx2i/bnx2i_hwi.c (u8)hba->pcidev->bus->number, pcidev 2715 drivers/scsi/bnx2i/bnx2i_hwi.c reg_base = pci_resource_start(ep->hba->pcidev, pcidev 450 drivers/scsi/bnx2i/bnx2i_iscsi.c io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, pcidev 478 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, pcidev 530 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->mp_bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 538 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->dummy_buffer = dma_alloc_coherent(&hba->pcidev->dev, pcidev 543 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 571 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 576 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 794 drivers/scsi/bnx2i/bnx2i_iscsi.c shost->dma_boundary = cnic->pcidev->dma_mask; pcidev 805 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pcidev = cnic->pcidev; pcidev 806 drivers/scsi/bnx2i/bnx2i_iscsi.c pci_dev_get(hba->pcidev); pcidev 807 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_did = hba->pcidev->device; pcidev 808 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_vid = hba->pcidev->vendor; pcidev 809 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_sdid = hba->pcidev->subsystem_device; pcidev 810 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_svid = hba->pcidev->subsystem_vendor; pcidev 811 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_func = PCI_FUNC(hba->pcidev->devfn); pcidev 812 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->pci_devno = PCI_SLOT(hba->pcidev->devfn); pcidev 817 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->reg_base = pci_resource_start(hba->pcidev, 0); pcidev 819 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->regview = pci_iomap(hba->pcidev, 0, BNX2_MQ_CONFIG2); pcidev 823 drivers/scsi/bnx2i/bnx2i_iscsi.c hba->regview = pci_iomap(hba->pcidev, 0, 4096); pcidev 885 drivers/scsi/bnx2i/bnx2i_iscsi.c if (iscsi_host_add(shost, &hba->pcidev->dev)) pcidev 895 drivers/scsi/bnx2i/bnx2i_iscsi.c pci_iounmap(hba->pcidev, hba->regview); pcidev 899 drivers/scsi/bnx2i/bnx2i_iscsi.c pci_dev_put(hba->pcidev); pcidev 920 drivers/scsi/bnx2i/bnx2i_iscsi.c pci_iounmap(hba->pcidev, hba->regview); pcidev 923 drivers/scsi/bnx2i/bnx2i_iscsi.c pci_dev_put(hba->pcidev); pcidev 940 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 947 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 954 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, pcidev 962 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, pcidev 982 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_alloc_coherent(&hba->pcidev->dev, pcidev 993 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_alloc_coherent(&hba->pcidev->dev, pcidev 1004 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 1010 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 1019 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, pcidev 1025 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, pcidev 1030 drivers/scsi/bnx2i/bnx2i_iscsi.c dma_free_coherent(&hba->pcidev->dev, ISCSI_DEF_MAX_RECV_SEG_LEN, pcidev 590 drivers/scsi/hptiop.c struct pci_dev *pcidev = hba->pcidev; pcidev 593 drivers/scsi/hptiop.c if (!(pci_resource_flags(pcidev, index) & IORESOURCE_MEM)) { pcidev 599 drivers/scsi/hptiop.c mem_base_phy = pci_resource_start(pcidev, index); pcidev 600 drivers/scsi/hptiop.c length = pci_resource_len(pcidev, index); pcidev 613 drivers/scsi/hptiop.c struct pci_dev *pcidev = hba->pcidev; pcidev 617 drivers/scsi/hptiop.c if ((pcidev->device & 0xff00) == 0x4400) { pcidev 1189 drivers/scsi/hptiop.c hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, pcidev 1218 drivers/scsi/hptiop.c p = dma_alloc_coherent(&hba->pcidev->dev, pcidev 1257 drivers/scsi/hptiop.c dma_free_coherent(&hba->pcidev->dev, 0x800, pcidev 1267 drivers/scsi/hptiop.c dma_free_coherent(&hba->pcidev->dev, pcidev 1277 drivers/scsi/hptiop.c static int hptiop_probe(struct pci_dev *pcidev, const struct pci_device_id *id) pcidev 1289 drivers/scsi/hptiop.c dprintk("hptiop_probe(%p)\n", pcidev); pcidev 1291 drivers/scsi/hptiop.c if (pci_enable_device(pcidev)) { pcidev 1297 drivers/scsi/hptiop.c pcidev->bus->number, pcidev->devfn >> 3, pcidev->devfn & 7, pcidev 1298 drivers/scsi/hptiop.c pcidev->irq); pcidev 1300 drivers/scsi/hptiop.c pci_set_master(pcidev); pcidev 1304 drivers/scsi/hptiop.c rc = dma_set_mask(&pcidev->dev, pcidev 1307 drivers/scsi/hptiop.c rc = dma_set_mask(&pcidev->dev, DMA_BIT_MASK(32)); pcidev 1314 drivers/scsi/hptiop.c if (pci_request_regions(pcidev, driver_name)) { pcidev 1329 drivers/scsi/hptiop.c hba->pcidev = pcidev; pcidev 1344 drivers/scsi/hptiop.c host->irq = pcidev->irq; pcidev 1418 drivers/scsi/hptiop.c pci_set_drvdata(pcidev, host); pcidev 1420 drivers/scsi/hptiop.c if (request_irq(pcidev->irq, hptiop_intr, IRQF_SHARED, pcidev 1423 drivers/scsi/hptiop.c hba->host->host_no, pcidev->irq); pcidev 1435 drivers/scsi/hptiop.c start_virt = dma_alloc_coherent(&pcidev->dev, pcidev 1465 drivers/scsi/hptiop.c if (scsi_add_host(host, &pcidev->dev)) { pcidev 1479 drivers/scsi/hptiop.c dma_free_coherent(&hba->pcidev->dev, pcidev 1487 drivers/scsi/hptiop.c free_irq(hba->pcidev->irq, hba); pcidev 1498 drivers/scsi/hptiop.c pci_release_regions(pcidev); pcidev 1501 drivers/scsi/hptiop.c pci_disable_device(pcidev); pcidev 1507 drivers/scsi/hptiop.c static void hptiop_shutdown(struct pci_dev *pcidev) pcidev 1509 drivers/scsi/hptiop.c struct Scsi_Host *host = pci_get_drvdata(pcidev); pcidev 1550 drivers/scsi/hptiop.c static void hptiop_remove(struct pci_dev *pcidev) pcidev 1552 drivers/scsi/hptiop.c struct Scsi_Host *host = pci_get_drvdata(pcidev); pcidev 1560 drivers/scsi/hptiop.c hptiop_shutdown(pcidev); pcidev 1562 drivers/scsi/hptiop.c free_irq(hba->pcidev->irq, hba); pcidev 1566 drivers/scsi/hptiop.c dma_free_coherent(&hba->pcidev->dev, pcidev 1578 drivers/scsi/hptiop.c pci_release_regions(hba->pcidev); pcidev 1579 drivers/scsi/hptiop.c pci_set_drvdata(hba->pcidev, NULL); pcidev 1580 drivers/scsi/hptiop.c pci_disable_device(hba->pcidev); pcidev 301 drivers/scsi/hptiop.h struct pci_dev *pcidev; pcidev 682 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); pcidev 686 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n"); pcidev 688 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n"); pcidev 697 drivers/scsi/ips.c free_irq(ha->pcidev->irq, ha); pcidev 751 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); pcidev 756 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 759 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 909 drivers/scsi/ips.c IPS_PRINTK(KERN_NOTICE, ha->pcidev, pcidev 924 drivers/scsi/ips.c IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n"); pcidev 930 drivers/scsi/ips.c IPS_PRINTK(KERN_NOTICE, ha->pcidev, pcidev 959 drivers/scsi/ips.c IPS_PRINTK(KERN_NOTICE, ha->pcidev, pcidev 1369 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 1531 drivers/scsi/ips.c bigger_buf = dma_alloc_coherent(&ha->pcidev->dev, length, &dma_busaddr, pcidev 1535 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, ha->ioctl_len, pcidev 1624 drivers/scsi/ips.c if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && pcidev 1681 drivers/scsi/ips.c ha->flash_data = dma_alloc_coherent(&ha->pcidev->dev, pcidev 1695 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 1860 drivers/scsi/ips.c dma_map_single(&ha->pcidev->dev, ha->flash_data, scb->data_len, pcidev 1882 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, ha->flash_len, pcidev 2007 drivers/scsi/ips.c if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && pcidev 2052 drivers/scsi/ips.c seq_printf(m, "\tIRQ number : %d\n", ha->pcidev->irq); pcidev 2147 drivers/scsi/ips.c switch (ha->pcidev->device) { pcidev 2149 drivers/scsi/ips.c if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { pcidev 2151 drivers/scsi/ips.c } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { pcidev 2153 drivers/scsi/ips.c } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { pcidev 2155 drivers/scsi/ips.c } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) pcidev 2158 drivers/scsi/ips.c } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && pcidev 2159 drivers/scsi/ips.c (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { pcidev 2164 drivers/scsi/ips.c } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && pcidev 2165 drivers/scsi/ips.c (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { pcidev 2171 drivers/scsi/ips.c switch (ha->pcidev->subsystem_device) { pcidev 2200 drivers/scsi/ips.c switch (ha->pcidev->subsystem_device) { pcidev 2244 drivers/scsi/ips.c if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) { pcidev 2250 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2257 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2265 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2272 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2278 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2287 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2294 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2302 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2309 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2316 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 2409 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 2416 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 2426 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 2434 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 3111 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 3119 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4215 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, sizeof(IPS_ENQ), pcidev 4224 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, pcidev 4232 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, pcidev 4246 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, ha->ioctl_len, pcidev 4279 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, pcidev 4283 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, sizeof (ips_scb_t) * cmds, pcidev 4310 drivers/scsi/ips.c ha->scbs = dma_alloc_coherent(&ha->pcidev->dev, pcidev 4315 drivers/scsi/ips.c ips_sg.list = dma_alloc_coherent(&ha->pcidev->dev, pcidev 4319 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, pcidev 4448 drivers/scsi/ips.c dma_unmap_single(&ha->pcidev->dev, scb->data_busaddr, pcidev 4561 drivers/scsi/ips.c scb = dma_alloc_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), pcidev 4597 drivers/scsi/ips.c dma_free_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), scb, command_dma); pcidev 4724 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4769 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 4818 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4863 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 4907 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4916 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4932 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4944 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 4963 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5008 drivers/scsi/ips.c ips_name, ha->host_num, ha->io_addr, ha->pcidev->irq); pcidev 5053 drivers/scsi/ips.c ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); pcidev 5099 drivers/scsi/ips.c ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); pcidev 5112 drivers/scsi/ips.c pci_read_config_byte(ha->pcidev, 4, &junk); pcidev 5301 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5303 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5354 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5356 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5596 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 5634 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 6024 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6028 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6033 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6038 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6043 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6049 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6069 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6075 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6105 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6110 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6136 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6140 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6145 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6150 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6155 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6161 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6181 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6187 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6217 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6222 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6251 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6255 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6259 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6265 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6282 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6286 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6296 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6300 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6309 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6313 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6342 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6346 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6350 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6356 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { pcidev 6373 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6377 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6387 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6391 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6400 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6404 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6429 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6436 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6445 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6478 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6485 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6494 drivers/scsi/ips.c if (ha->pcidev->revision == IPS_REVID_TROMBONE64) pcidev 6659 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, oldha->pcidev, pcidev 6665 drivers/scsi/ips.c free_irq(oldha->pcidev->irq, oldha); pcidev 6667 drivers/scsi/ips.c if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { pcidev 6668 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 6687 drivers/scsi/ips.c if (scsi_add_host(sh, &ha->pcidev->dev)) pcidev 6698 drivers/scsi/ips.c free_irq(ha->pcidev->irq, ha); pcidev 6919 drivers/scsi/ips.c ha->pcidev = pci_dev; pcidev 6928 drivers/scsi/ips.c !dma_set_mask(&ha->pcidev->dev, DMA_BIT_MASK(64))) { pcidev 6931 drivers/scsi/ips.c if (dma_set_mask(&ha->pcidev->dev, DMA_BIT_MASK(32)) != 0) { pcidev 7065 drivers/scsi/ips.c if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { pcidev 7066 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 7076 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 7078 drivers/scsi/ips.c free_irq(ha->pcidev->irq, ha); pcidev 7083 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 7085 drivers/scsi/ips.c free_irq(ha->pcidev->irq, ha); pcidev 7093 drivers/scsi/ips.c IPS_PRINTK(KERN_WARNING, ha->pcidev, pcidev 7095 drivers/scsi/ips.c free_irq(ha->pcidev->irq, ha); pcidev 62 drivers/scsi/ips.h #define IPS_IS_TROMBONE(ha) (((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \ pcidev 63 drivers/scsi/ips.h (ha->pcidev->revision >= IPS_REVID_TROMBONE32) && \ pcidev 64 drivers/scsi/ips.h (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) ? 1 : 0) pcidev 65 drivers/scsi/ips.h #define IPS_IS_CLARINET(ha) (((ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) && \ pcidev 66 drivers/scsi/ips.h (ha->pcidev->revision >= IPS_REVID_CLARINETP1) && \ pcidev 67 drivers/scsi/ips.h (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) ? 1 : 0) pcidev 68 drivers/scsi/ips.h #define IPS_IS_MORPHEUS(ha) (ha->pcidev->device == IPS_DEVICEID_MORPHEUS) pcidev 69 drivers/scsi/ips.h #define IPS_IS_MARCO(ha) (ha->pcidev->device == IPS_DEVICEID_MARCO) pcidev 82 drivers/scsi/ips.h #define IPS_PRINTK(level, pcidev, format, arg...) \ pcidev 83 drivers/scsi/ips.h dev_printk(level , &((pcidev)->dev) , format , ## arg) pcidev 1050 drivers/scsi/ips.h struct pci_dev *pcidev; /* PCI device handle */ pcidev 902 drivers/scsi/lpfc/lpfc.h struct pci_dev *pcidev; pcidev 1312 drivers/scsi/lpfc/lpfc_attr.c struct pci_dev *pdev = phba->pcidev; pcidev 1521 drivers/scsi/lpfc/lpfc_attr.c struct pci_dev *pdev = phba->pcidev; pcidev 2809 drivers/scsi/lpfc/lpfc_attr.c dev_printk(KERN_WARNING, &phba->pcidev->dev, pcidev 2812 drivers/scsi/lpfc/lpfc_attr.c dev_printk(KERN_WARNING, &phba->pcidev->dev, pcidev 2895 drivers/scsi/lpfc/lpfc_attr.c dev_printk(KERN_NOTICE, &phba->pcidev->dev, pcidev 2973 drivers/scsi/lpfc/lpfc_attr.c dev_printk(KERN_NOTICE, &phba->pcidev->dev, pcidev 4099 drivers/scsi/lpfc/lpfc_attr.c if ((phba->pcidev->device == PCI_DEVICE_ID_LANCER_G6_FC || pcidev 4100 drivers/scsi/lpfc/lpfc_attr.c phba->pcidev->device == PCI_DEVICE_ID_LANCER_G7_FC) && pcidev 4705 drivers/scsi/lpfc/lpfc_attr.c rc = pci_disable_pcie_error_reporting(phba->pcidev); pcidev 4721 drivers/scsi/lpfc/lpfc_attr.c rc = pci_enable_pcie_error_reporting(phba->pcidev); pcidev 4780 drivers/scsi/lpfc/lpfc_attr.c rc = pci_cleanup_aer_uncorrect_error_status(phba->pcidev); pcidev 4837 drivers/scsi/lpfc/lpfc_attr.c struct pci_dev *pdev = phba->pcidev; pcidev 7089 drivers/scsi/lpfc/lpfc_attr.c if (phba->pcidev->device == PCI_DEVICE_ID_SKYHAWK) pcidev 882 drivers/scsi/lpfc/lpfc_bsg.c struct pci_dev *pcidev; pcidev 890 drivers/scsi/lpfc/lpfc_bsg.c pcidev = phba->pcidev; pcidev 896 drivers/scsi/lpfc/lpfc_bsg.c dma_free_coherent(&pcidev->dev, pcidev 2795 drivers/scsi/lpfc/lpfc_bsg.c struct pci_dev *pcidev = phba->pcidev; pcidev 2805 drivers/scsi/lpfc/lpfc_bsg.c dmabuf->virt = dma_alloc_coherent(&pcidev->dev, BSG_MBOX_SIZE, pcidev 2827 drivers/scsi/lpfc/lpfc_bsg.c struct pci_dev *pcidev = phba->pcidev; pcidev 2833 drivers/scsi/lpfc/lpfc_bsg.c dma_free_coherent(&pcidev->dev, BSG_MBOX_SIZE, pcidev 2882 drivers/scsi/lpfc/lpfc_bsg.c struct pci_dev *pcidev; pcidev 2884 drivers/scsi/lpfc/lpfc_bsg.c pcidev = phba->pcidev; pcidev 2907 drivers/scsi/lpfc/lpfc_bsg.c dmp->dma.virt = dma_alloc_coherent(&pcidev->dev, pcidev 3106 drivers/scsi/lpfc/lpfc_debugfs.c pdev = phba->pcidev; pcidev 3227 drivers/scsi/lpfc/lpfc_debugfs.c pdev = phba->pcidev; pcidev 3402 drivers/scsi/lpfc/lpfc_debugfs.c pdev = phba->pcidev; pcidev 3552 drivers/scsi/lpfc/lpfc_debugfs.c pdev = phba->pcidev; pcidev 389 drivers/scsi/lpfc/lpfc_debugfs.h dev_printk(KERN_ERR, &(((q->phba))->pcidev)->dev, pcidev 3653 drivers/scsi/lpfc/lpfc_els.c phba->pcidev->device) { pcidev 4163 drivers/scsi/lpfc/lpfc_hbadisc.c dev_printk(KERN_WARNING, &phba->pcidev->dev, pcidev 140 drivers/scsi/lpfc/lpfc_init.c if (lpfc_is_LC_HBA(phba->pcidev->device)) { pcidev 234 drivers/scsi/lpfc/lpfc_init.c if (lpfc_is_LC_HBA(phba->pcidev->device)) pcidev 1554 drivers/scsi/lpfc/lpfc_init.c if (pci_channel_offline(phba->pcidev)) { pcidev 1653 drivers/scsi/lpfc/lpfc_init.c if (pci_channel_offline(phba->pcidev)) { pcidev 1843 drivers/scsi/lpfc/lpfc_init.c if (pci_channel_offline(phba->pcidev)) { pcidev 2284 drivers/scsi/lpfc/lpfc_init.c uint16_t dev_id = phba->pcidev->device; pcidev 4253 drivers/scsi/lpfc/lpfc_init.c dev == &phba->pcidev->dev) { pcidev 4274 drivers/scsi/lpfc/lpfc_init.c if (dev != &phba->pcidev->dev) { pcidev 4335 drivers/scsi/lpfc/lpfc_init.c if (dev != &phba->pcidev->dev) { pcidev 4357 drivers/scsi/lpfc/lpfc_init.c error = scsi_add_host_with_dma(shost, dev, &phba->pcidev->dev); pcidev 6003 drivers/scsi/lpfc/lpfc_init.c if (!phba->pcidev) pcidev 6006 drivers/scsi/lpfc/lpfc_init.c pdev = phba->pcidev; pcidev 6045 drivers/scsi/lpfc/lpfc_init.c if (!phba->pcidev) pcidev 6048 drivers/scsi/lpfc/lpfc_init.c pdev = phba->pcidev; pcidev 6096 drivers/scsi/lpfc/lpfc_init.c struct pci_dev *pdev = phba->pcidev; pcidev 6122 drivers/scsi/lpfc/lpfc_init.c struct pci_dev *pdev = phba->pcidev; pcidev 6258 drivers/scsi/lpfc/lpfc_init.c if (phba->pcidev->device == PCI_DEVICE_ID_HORNET) { pcidev 6342 drivers/scsi/lpfc/lpfc_init.c &phba->pcidev->dev, phba->cfg_sg_dma_buf_size, pcidev 6350 drivers/scsi/lpfc/lpfc_init.c &phba->pcidev->dev, pcidev 6810 drivers/scsi/lpfc/lpfc_init.c &phba->pcidev->dev, pcidev 6818 drivers/scsi/lpfc/lpfc_init.c &phba->pcidev->dev, pcidev 7389 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, pcidev 7421 drivers/scsi/lpfc/lpfc_init.c dma_free_coherent(&phba->pcidev->dev, LPFC_HDR_TEMPLATE_SIZE, pcidev 7448 drivers/scsi/lpfc/lpfc_init.c dma_free_coherent(&phba->pcidev->dev, rpi_hdr->len, pcidev 7483 drivers/scsi/lpfc/lpfc_init.c phba->pcidev = pdev; pcidev 7547 drivers/scsi/lpfc/lpfc_init.c vport = lpfc_create_port(phba, phba->brd_no, &phba->pcidev->dev); pcidev 7558 drivers/scsi/lpfc/lpfc_init.c "txrdy_pool", &phba->pcidev->dev, pcidev 7572 drivers/scsi/lpfc/lpfc_init.c pci_set_drvdata(phba->pcidev, shost); pcidev 7682 drivers/scsi/lpfc/lpfc_init.c shost = pci_get_drvdata(phba->pcidev); pcidev 7719 drivers/scsi/lpfc/lpfc_init.c struct pci_dev *pdev = phba->pcidev; pcidev 7826 drivers/scsi/lpfc/lpfc_init.c if (!phba->pcidev) pcidev 7829 drivers/scsi/lpfc/lpfc_init.c pdev = phba->pcidev; pcidev 8065 drivers/scsi/lpfc/lpfc_init.c dev_printk(KERN_ERR, &phba->pcidev->dev, pcidev 8108 drivers/scsi/lpfc/lpfc_init.c dev_err(&phba->pcidev->dev, pcidev 8181 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, bmbx_size, pcidev 8237 drivers/scsi/lpfc/lpfc_init.c dma_free_coherent(&phba->pcidev->dev, pcidev 10060 drivers/scsi/lpfc/lpfc_init.c pci_read_config_word(phba->pcidev, pcidev 10103 drivers/scsi/lpfc/lpfc_init.c struct pci_dev *pdev = phba->pcidev; pcidev 10336 drivers/scsi/lpfc/lpfc_init.c dev_printk(KERN_ERR, &phba->pcidev->dev, pcidev 10361 drivers/scsi/lpfc/lpfc_init.c rc = pci_alloc_irq_vectors(phba->pcidev, pcidev 10374 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(pci_irq_vector(phba->pcidev, 0), pcidev 10385 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(pci_irq_vector(phba->pcidev, 1), pcidev 10430 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, 1), phba); pcidev 10434 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, 0), phba); pcidev 10438 drivers/scsi/lpfc/lpfc_init.c pci_free_irq_vectors(phba->pcidev); pcidev 10463 drivers/scsi/lpfc/lpfc_init.c rc = pci_enable_msi(phba->pcidev); pcidev 10473 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler, pcidev 10476 drivers/scsi/lpfc/lpfc_init.c pci_disable_msi(phba->pcidev); pcidev 10531 drivers/scsi/lpfc/lpfc_init.c retval = request_irq(phba->pcidev->irq, lpfc_sli_intr_handler, pcidev 10562 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, i), phba); pcidev 10563 drivers/scsi/lpfc/lpfc_init.c pci_free_irq_vectors(phba->pcidev); pcidev 10721 drivers/scsi/lpfc/lpfc_init.c maskp = pci_irq_get_affinity(phba->pcidev, idx); pcidev 10732 drivers/scsi/lpfc/lpfc_init.c cpup->irq = pci_irq_vector(phba->pcidev, idx); pcidev 10744 drivers/scsi/lpfc/lpfc_init.c cpup->irq = pci_irq_vector(phba->pcidev, idx); pcidev 10994 drivers/scsi/lpfc/lpfc_init.c maskp = pci_irq_get_affinity(phba->pcidev, idx); pcidev 11021 drivers/scsi/lpfc/lpfc_init.c if (!(map->irq == pci_irq_vector(phba->pcidev, idx))) pcidev 11159 drivers/scsi/lpfc/lpfc_init.c rc = pci_alloc_irq_vectors(phba->pcidev, pcidev 11178 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(pci_irq_vector(phba->pcidev, index), pcidev 11206 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, index), pcidev 11210 drivers/scsi/lpfc/lpfc_init.c pci_free_irq_vectors(phba->pcidev); pcidev 11235 drivers/scsi/lpfc/lpfc_init.c rc = pci_alloc_irq_vectors(phba->pcidev, 1, 1, pcidev 11246 drivers/scsi/lpfc/lpfc_init.c rc = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler, pcidev 11249 drivers/scsi/lpfc/lpfc_init.c pci_free_irq_vectors(phba->pcidev); pcidev 11311 drivers/scsi/lpfc/lpfc_init.c retval = request_irq(phba->pcidev->irq, lpfc_sli4_intr_handler, pcidev 11349 drivers/scsi/lpfc/lpfc_init.c pci_irq_vector(phba->pcidev, index), pcidev 11351 drivers/scsi/lpfc/lpfc_init.c free_irq(pci_irq_vector(phba->pcidev, index), pcidev 11355 drivers/scsi/lpfc/lpfc_init.c free_irq(phba->pcidev->irq, phba); pcidev 11358 drivers/scsi/lpfc/lpfc_init.c pci_free_irq_vectors(phba->pcidev); pcidev 11506 drivers/scsi/lpfc/lpfc_init.c struct pci_dev *pdev = phba->pcidev; pcidev 12284 drivers/scsi/lpfc/lpfc_init.c pci_disable_device(phba->pcidev); pcidev 12498 drivers/scsi/lpfc/lpfc_init.c (phba->pcidev->device == PCI_DEVICE_ID_LANCER_G6_FC && pcidev 12500 drivers/scsi/lpfc/lpfc_init.c (phba->pcidev->device == PCI_DEVICE_ID_LANCER_G7_FC && pcidev 12506 drivers/scsi/lpfc/lpfc_init.c phba->pcidev->device, magic_number, ftype, fid, pcidev 12512 drivers/scsi/lpfc/lpfc_init.c phba->pcidev->device, magic_number, ftype, fid, pcidev 12561 drivers/scsi/lpfc/lpfc_init.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, pcidev 12604 drivers/scsi/lpfc/lpfc_init.c dma_free_coherent(&phba->pcidev->dev, SLI4_PAGE_SIZE, pcidev 12638 drivers/scsi/lpfc/lpfc_init.c file_name, &phba->pcidev->dev, pcidev 12642 drivers/scsi/lpfc/lpfc_init.c ret = request_firmware(&fw, file_name, &phba->pcidev->dev); pcidev 13091 drivers/scsi/lpfc/lpfc_init.c pci_disable_device(phba->pcidev); pcidev 13545 drivers/scsi/lpfc/lpfc_init.c switch (phba->pcidev->device) { pcidev 13549 drivers/scsi/lpfc/lpfc_init.c if (phba->cfg_ras_fwlog_func == PCI_FUNC(phba->pcidev->devfn) && pcidev 52 drivers/scsi/lpfc/lpfc_logmsg.h dev_printk(level, &((vport)->phba->pcidev)->dev, "%d:(%d):" \ pcidev 62 drivers/scsi/lpfc/lpfc_logmsg.h dev_printk(level, &((phba)->pcidev)->dev, "%d:" \ pcidev 516 drivers/scsi/lpfc/lpfc_mbox.c if ((phba->pcidev->device == PCI_DEVICE_ID_LANCER_G6_FC || pcidev 517 drivers/scsi/lpfc/lpfc_mbox.c phba->pcidev->device == PCI_DEVICE_ID_LANCER_G7_FC) && pcidev 1350 drivers/scsi/lpfc/lpfc_mbox.c pci_read_config_dword(phba->pcidev, PCI_BASE_ADDRESS_0, &bar_low); pcidev 1351 drivers/scsi/lpfc/lpfc_mbox.c pci_read_config_dword(phba->pcidev, PCI_BASE_ADDRESS_1, &bar_high); pcidev 1432 drivers/scsi/lpfc/lpfc_mbox.c if (lpfc_is_LC_HBA(phba->pcidev->device)) { pcidev 1603 drivers/scsi/lpfc/lpfc_mbox.c if (unlikely(pci_channel_offline(phba->pcidev))) pcidev 1754 drivers/scsi/lpfc/lpfc_mbox.c dma_free_coherent(&phba->pcidev->dev, SLI4_PAGE_SIZE, pcidev 1830 drivers/scsi/lpfc/lpfc_mbox.c viraddr = dma_alloc_coherent(&phba->pcidev->dev, pcidev 93 drivers/scsi/lpfc/lpfc_mem.c phba->lpfc_mbuf_pool = dma_pool_create("lpfc_mbuf_pool", &phba->pcidev->dev, pcidev 133 drivers/scsi/lpfc/lpfc_mem.c &phba->pcidev->dev, pcidev 139 drivers/scsi/lpfc/lpfc_mem.c &phba->pcidev->dev, pcidev 146 drivers/scsi/lpfc/lpfc_mem.c &phba->pcidev->dev, LPFC_BPL_SIZE, align, 0); pcidev 196 drivers/scsi/lpfc/lpfc_mem.c &phba->pcidev->dev, LPFC_NVMET_DATA_BUF_SIZE, pcidev 2159 drivers/scsi/lpfc/lpfc_nvme.c &vport->phba->pcidev->dev, &localport); pcidev 1478 drivers/scsi/lpfc/lpfc_nvmet.c &phba->pcidev->dev, pcidev 863 drivers/scsi/lpfc/lpfc_scsi.c nseg = dma_map_sg(&phba->pcidev->dev, scsi_sglist(scsi_cmnd), pcidev 2544 drivers/scsi/lpfc/lpfc_scsi.c datasegcnt = dma_map_sg(&phba->pcidev->dev, pcidev 2585 drivers/scsi/lpfc/lpfc_scsi.c protsegcnt = dma_map_sg(&phba->pcidev->dev, pcidev 2660 drivers/scsi/lpfc/lpfc_scsi.c dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(scsi_cmnd), pcidev 3281 drivers/scsi/lpfc/lpfc_scsi.c datasegcnt = dma_map_sg(&phba->pcidev->dev, pcidev 3332 drivers/scsi/lpfc/lpfc_scsi.c protsegcnt = dma_map_sg(&phba->pcidev->dev, pcidev 3421 drivers/scsi/lpfc/lpfc_scsi.c dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(scsi_cmnd), pcidev 3589 drivers/scsi/lpfc/lpfc_scsi.c dma_unmap_sg(&phba->pcidev->dev, scsi_prot_sglist(psb->pCmd), pcidev 4327 drivers/scsi/lpfc/lpfc_scsi.c const struct pci_dev *pdev = phba->pcidev; pcidev 4389 drivers/scsi/lpfc/lpfc_scsi.c if (phba && phba->pcidev){ pcidev 4399 drivers/scsi/lpfc/lpfc_scsi.c phba->pcidev->bus->number, phba->pcidev->devfn, pcidev 4400 drivers/scsi/lpfc/lpfc_scsi.c phba->pcidev->irq); pcidev 3475 drivers/scsi/lpfc/lpfc_sli.c dev_warn(&((phba->pcidev)->dev), pcidev 3673 drivers/scsi/lpfc/lpfc_sli.c dev_warn(&((phba->pcidev)->dev), pcidev 4213 drivers/scsi/lpfc/lpfc_sli.c pci_read_config_byte(phba->pcidev, PCI_HEADER_TYPE, &hdrtype); pcidev 4433 drivers/scsi/lpfc/lpfc_sli.c if (pci_read_config_word(phba->pcidev, PCI_COMMAND, &cfg_value)) pcidev 4436 drivers/scsi/lpfc/lpfc_sli.c pci_write_config_word(phba->pcidev, PCI_COMMAND, pcidev 4450 drivers/scsi/lpfc/lpfc_sli.c pci_write_config_word(phba->pcidev, PCI_COMMAND, cfg_value); pcidev 4512 drivers/scsi/lpfc/lpfc_sli.c if (pci_read_config_word(phba->pcidev, PCI_COMMAND, &cfg_value)) { pcidev 4518 drivers/scsi/lpfc/lpfc_sli.c pci_write_config_word(phba->pcidev, PCI_COMMAND, (cfg_value & pcidev 4525 drivers/scsi/lpfc/lpfc_sli.c pci_write_config_word(phba->pcidev, PCI_COMMAND, cfg_value); pcidev 4600 drivers/scsi/lpfc/lpfc_sli.c pci_disable_pcie_error_reporting(phba->pcidev); pcidev 4648 drivers/scsi/lpfc/lpfc_sli.c pci_disable_pcie_error_reporting(phba->pcidev); pcidev 5105 drivers/scsi/lpfc/lpfc_sli.c rc = pci_enable_pcie_error_reporting(phba->pcidev); pcidev 5306 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, dma_size, pcidev 5328 drivers/scsi/lpfc/lpfc_sli.c dma_free_coherent(&phba->pcidev->dev, dma_size, pcidev 5344 drivers/scsi/lpfc/lpfc_sli.c dma_free_coherent(&phba->pcidev->dev, dma_size, pcidev 6222 drivers/scsi/lpfc/lpfc_sli.c dma_free_coherent(&phba->pcidev->dev, pcidev 6230 drivers/scsi/lpfc/lpfc_sli.c dma_free_coherent(&phba->pcidev->dev, pcidev 6263 drivers/scsi/lpfc/lpfc_sli.c ras_fwlog->lwpd.virt = dma_alloc_coherent(&phba->pcidev->dev, pcidev 6285 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, pcidev 7697 drivers/scsi/lpfc/lpfc_sli.c rc = pci_enable_pcie_error_reporting(phba->pcidev); pcidev 8052 drivers/scsi/lpfc/lpfc_sli.c if (unlikely(pci_channel_offline(phba->pcidev))) { pcidev 9069 drivers/scsi/lpfc/lpfc_sli.c if (unlikely(pci_channel_offline(phba->pcidev))) pcidev 12261 drivers/scsi/lpfc/lpfc_sli.c if (unlikely(pci_channel_offline(phba->pcidev))) { pcidev 12302 drivers/scsi/lpfc/lpfc_sli.c if (unlikely(pci_channel_offline(phba->pcidev))) pcidev 14484 drivers/scsi/lpfc/lpfc_sli.c dma_free_coherent(&queue->phba->pcidev->dev, queue->page_size, pcidev 14556 drivers/scsi/lpfc/lpfc_sli.c dev_to_node(&phba->pcidev->dev)); pcidev 14559 drivers/scsi/lpfc/lpfc_sli.c dmabuf->virt = dma_alloc_coherent(&phba->pcidev->dev, pcidev 14596 drivers/scsi/lpfc/lpfc_sli.c if (!phba->pcidev) pcidev 4433 drivers/scsi/megaraid.c mcontroller[i].pcidev = id->device; pcidev 513 drivers/scsi/megaraid.h u16 pcidev; pcidev 217 drivers/scsi/megaraid/megaraid_ioctl.h uint16_t pcidev; pcidev 889 drivers/scsi/megaraid/megaraid_mm.c cinfo->pcidev = hinfo->pci_slot; pcidev 1120 drivers/ssb/pci.c static ssize_t ssb_pci_attr_sprom_show(struct device *pcidev, pcidev 1124 drivers/ssb/pci.c struct pci_dev *pdev = container_of(pcidev, struct pci_dev, dev); pcidev 1134 drivers/ssb/pci.c static ssize_t ssb_pci_attr_sprom_store(struct device *pcidev, pcidev 1138 drivers/ssb/pci.c struct pci_dev *pdev = container_of(pcidev, struct pci_dev, dev); pcidev 51 drivers/staging/comedi/comedi_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 54 drivers/staging/comedi/comedi_pci.c if (!pcidev) pcidev 57 drivers/staging/comedi/comedi_pci.c rc = pci_enable_device(pcidev); pcidev 61 drivers/staging/comedi/comedi_pci.c rc = pci_request_regions(pcidev, dev->board_name); pcidev 63 drivers/staging/comedi/comedi_pci.c pci_disable_device(pcidev); pcidev 82 drivers/staging/comedi/comedi_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 84 drivers/staging/comedi/comedi_pci.c if (pcidev && dev->ioenabled) { pcidev 85 drivers/staging/comedi/comedi_pci.c pci_release_regions(pcidev); pcidev 86 drivers/staging/comedi/comedi_pci.c pci_disable_device(pcidev); pcidev 108 drivers/staging/comedi/comedi_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 110 drivers/staging/comedi/comedi_pci.c if (!pcidev || !dev->ioenabled) pcidev 140 drivers/staging/comedi/comedi_pci.c int comedi_pci_auto_config(struct pci_dev *pcidev, pcidev 144 drivers/staging/comedi/comedi_pci.c return comedi_auto_config(&pcidev->dev, driver, context); pcidev 162 drivers/staging/comedi/comedi_pci.c void comedi_pci_auto_unconfig(struct pci_dev *pcidev) pcidev 164 drivers/staging/comedi/comedi_pci.c comedi_auto_unconfig(&pcidev->dev); pcidev 34 drivers/staging/comedi/comedi_pci.h int comedi_pci_auto_config(struct pci_dev *pcidev, struct comedi_driver *driver, pcidev 36 drivers/staging/comedi/comedi_pci.h void comedi_pci_auto_unconfig(struct pci_dev *pcidev); pcidev 175 drivers/staging/comedi/drivers/8255_pci.c static int pci_8255_mite_init(struct pci_dev *pcidev) pcidev 181 drivers/staging/comedi/drivers/8255_pci.c mite_base = pci_ioremap_bar(pcidev, 0); pcidev 186 drivers/staging/comedi/drivers/8255_pci.c main_phys_addr = pci_resource_start(pcidev, 1); pcidev 197 drivers/staging/comedi/drivers/8255_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 215 drivers/staging/comedi/drivers/8255_pci.c ret = pci_8255_mite_init(pcidev); pcidev 220 drivers/staging/comedi/drivers/8255_pci.c if ((pci_resource_flags(pcidev, board->dio_badr) & IORESOURCE_MEM)) { pcidev 221 drivers/staging/comedi/drivers/8255_pci.c dev->mmio = pci_ioremap_bar(pcidev, board->dio_badr); pcidev 225 drivers/staging/comedi/drivers/8255_pci.c dev->iobase = pci_resource_start(pcidev, board->dio_badr); pcidev 292 drivers/staging/comedi/drivers/addi_apci_1032.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 305 drivers/staging/comedi/drivers/addi_apci_1032.c devpriv->amcc_iobase = pci_resource_start(pcidev, 0); pcidev 306 drivers/staging/comedi/drivers/addi_apci_1032.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 308 drivers/staging/comedi/drivers/addi_apci_1032.c if (pcidev->irq > 0) { pcidev 309 drivers/staging/comedi/drivers/addi_apci_1032.c ret = request_irq(pcidev->irq, apci1032_interrupt, IRQF_SHARED, pcidev 312 drivers/staging/comedi/drivers/addi_apci_1032.c dev->irq = pcidev->irq; pcidev 747 drivers/staging/comedi/drivers/addi_apci_1500.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 760 drivers/staging/comedi/drivers/addi_apci_1500.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 761 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->amcc = pci_resource_start(pcidev, 0); pcidev 762 drivers/staging/comedi/drivers/addi_apci_1500.c devpriv->addon = pci_resource_start(pcidev, 2); pcidev 766 drivers/staging/comedi/drivers/addi_apci_1500.c if (pcidev->irq > 0) { pcidev 767 drivers/staging/comedi/drivers/addi_apci_1500.c ret = request_irq(pcidev->irq, apci1500_interrupt, IRQF_SHARED, pcidev 770 drivers/staging/comedi/drivers/addi_apci_1500.c dev->irq = pcidev->irq; pcidev 110 drivers/staging/comedi/drivers/addi_apci_1516.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 131 drivers/staging/comedi/drivers/addi_apci_1516.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 132 drivers/staging/comedi/drivers/addi_apci_1516.c devpriv->wdog_iobase = pci_resource_start(pcidev, 2); pcidev 653 drivers/staging/comedi/drivers/addi_apci_1564.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 668 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->eeprom = pci_resource_start(pcidev, 0); pcidev 672 drivers/staging/comedi/drivers/addi_apci_1564.c dev->iobase = pci_resource_start(pcidev, 1) + pcidev 679 drivers/staging/comedi/drivers/addi_apci_1564.c devpriv->counters = pci_resource_start(pcidev, 1); pcidev 684 drivers/staging/comedi/drivers/addi_apci_1564.c if (pcidev->irq > 0) { pcidev 685 drivers/staging/comedi/drivers/addi_apci_1564.c ret = request_irq(pcidev->irq, apci1564_interrupt, IRQF_SHARED, pcidev 688 drivers/staging/comedi/drivers/addi_apci_1564.c dev->irq = pcidev->irq; pcidev 91 drivers/staging/comedi/drivers/addi_apci_16xx.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 110 drivers/staging/comedi/drivers/addi_apci_16xx.c dev->iobase = pci_resource_start(pcidev, 0); pcidev 229 drivers/staging/comedi/drivers/addi_apci_2032.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 236 drivers/staging/comedi/drivers/addi_apci_2032.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 239 drivers/staging/comedi/drivers/addi_apci_2032.c if (pcidev->irq > 0) { pcidev 240 drivers/staging/comedi/drivers/addi_apci_2032.c ret = request_irq(pcidev->irq, apci2032_interrupt, pcidev 243 drivers/staging/comedi/drivers/addi_apci_2032.c dev->irq = pcidev->irq; pcidev 65 drivers/staging/comedi/drivers/addi_apci_2200.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 73 drivers/staging/comedi/drivers/addi_apci_2200.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 967 drivers/staging/comedi/drivers/addi_apci_3120.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 988 drivers/staging/comedi/drivers/addi_apci_3120.c pci_set_master(pcidev); pcidev 990 drivers/staging/comedi/drivers/addi_apci_3120.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 991 drivers/staging/comedi/drivers/addi_apci_3120.c devpriv->amcc = pci_resource_start(pcidev, 0); pcidev 992 drivers/staging/comedi/drivers/addi_apci_3120.c devpriv->addon = pci_resource_start(pcidev, 2); pcidev 996 drivers/staging/comedi/drivers/addi_apci_3120.c if (pcidev->irq > 0) { pcidev 997 drivers/staging/comedi/drivers/addi_apci_3120.c ret = request_irq(pcidev->irq, apci3120_interrupt, IRQF_SHARED, pcidev 1000 drivers/staging/comedi/drivers/addi_apci_3120.c dev->irq = pcidev->irq; pcidev 307 drivers/staging/comedi/drivers/addi_apci_3501.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 321 drivers/staging/comedi/drivers/addi_apci_3501.c devpriv->amcc = pci_resource_start(pcidev, 0); pcidev 322 drivers/staging/comedi/drivers/addi_apci_3501.c dev->iobase = pci_resource_start(pcidev, 1); pcidev 756 drivers/staging/comedi/drivers/addi_apci_3xxx.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 779 drivers/staging/comedi/drivers/addi_apci_3xxx.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 780 drivers/staging/comedi/drivers/addi_apci_3xxx.c dev->mmio = pci_ioremap_bar(pcidev, 3); pcidev 784 drivers/staging/comedi/drivers/addi_apci_3xxx.c if (pcidev->irq > 0) { pcidev 785 drivers/staging/comedi/drivers/addi_apci_3xxx.c ret = request_irq(pcidev->irq, apci3xxx_irq_handler, pcidev 788 drivers/staging/comedi/drivers/addi_apci_3xxx.c dev->irq = pcidev->irq; pcidev 113 drivers/staging/comedi/drivers/adl_pci6208.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 121 drivers/staging/comedi/drivers/adl_pci6208.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 149 drivers/staging/comedi/drivers/adl_pci7x3x.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 166 drivers/staging/comedi/drivers/adl_pci7x3x.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 64 drivers/staging/comedi/drivers/adl_pci8164.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 71 drivers/staging/comedi/drivers/adl_pci8164.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 627 drivers/staging/comedi/drivers/adl_pci9111.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 639 drivers/staging/comedi/drivers/adl_pci9111.c dev_private->lcr_io_base = pci_resource_start(pcidev, 1); pcidev 640 drivers/staging/comedi/drivers/adl_pci9111.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 644 drivers/staging/comedi/drivers/adl_pci9111.c if (pcidev->irq) { pcidev 645 drivers/staging/comedi/drivers/adl_pci9111.c ret = request_irq(pcidev->irq, pci9111_interrupt, pcidev 648 drivers/staging/comedi/drivers/adl_pci9111.c dev->irq = pcidev->irq; pcidev 1437 drivers/staging/comedi/drivers/adl_pci9118.c struct pci_dev *pcidev = NULL; pcidev 1441 drivers/staging/comedi/drivers/adl_pci9118.c for_each_pci_dev(pcidev) { pcidev 1442 drivers/staging/comedi/drivers/adl_pci9118.c if (pcidev->vendor != PCI_VENDOR_ID_AMCC) pcidev 1444 drivers/staging/comedi/drivers/adl_pci9118.c if (pcidev->device != 0x80d9) pcidev 1448 drivers/staging/comedi/drivers/adl_pci9118.c if (pcidev->bus->number != bus || pcidev 1449 drivers/staging/comedi/drivers/adl_pci9118.c PCI_SLOT(pcidev->devfn) != slot) pcidev 1452 drivers/staging/comedi/drivers/adl_pci9118.c return pcidev; pcidev 1509 drivers/staging/comedi/drivers/adl_pci9118.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1523 drivers/staging/comedi/drivers/adl_pci9118.c pci_set_master(pcidev); pcidev 1525 drivers/staging/comedi/drivers/adl_pci9118.c devpriv->iobase_a = pci_resource_start(pcidev, 0); pcidev 1526 drivers/staging/comedi/drivers/adl_pci9118.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 1535 drivers/staging/comedi/drivers/adl_pci9118.c if (pcidev->irq) { pcidev 1536 drivers/staging/comedi/drivers/adl_pci9118.c ret = request_irq(pcidev->irq, pci9118_interrupt, IRQF_SHARED, pcidev 1539 drivers/staging/comedi/drivers/adl_pci9118.c dev->irq = pcidev->irq; pcidev 1567 drivers/staging/comedi/drivers/adl_pci9118.c pci_read_config_word(pcidev, PCI_COMMAND, &u16w); pcidev 1568 drivers/staging/comedi/drivers/adl_pci9118.c pci_write_config_word(pcidev, PCI_COMMAND, u16w | 64); pcidev 1652 drivers/staging/comedi/drivers/adl_pci9118.c struct pci_dev *pcidev; pcidev 1658 drivers/staging/comedi/drivers/adl_pci9118.c pcidev = pci9118_find_pci(dev, it); pcidev 1659 drivers/staging/comedi/drivers/adl_pci9118.c if (!pcidev) pcidev 1661 drivers/staging/comedi/drivers/adl_pci9118.c comedi_set_hw_dev(dev, &pcidev->dev); pcidev 1669 drivers/staging/comedi/drivers/adl_pci9118.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1683 drivers/staging/comedi/drivers/adl_pci9118.c pci_dev_get(pcidev); pcidev 1690 drivers/staging/comedi/drivers/adl_pci9118.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1696 drivers/staging/comedi/drivers/adl_pci9118.c pci_dev_put(pcidev); pcidev 748 drivers/staging/comedi/drivers/adv_pci1710.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 769 drivers/staging/comedi/drivers/adv_pci1710.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 793 drivers/staging/comedi/drivers/adv_pci1710.c if (pcidev->irq) { pcidev 794 drivers/staging/comedi/drivers/adv_pci1710.c ret = request_irq(pcidev->irq, pci1710_irq_handler, pcidev 797 drivers/staging/comedi/drivers/adv_pci1710.c dev->irq = pcidev->irq; pcidev 115 drivers/staging/comedi/drivers/adv_pci1720.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 122 drivers/staging/comedi/drivers/adv_pci1720.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 135 drivers/staging/comedi/drivers/adv_pci1723.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 144 drivers/staging/comedi/drivers/adv_pci1723.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 121 drivers/staging/comedi/drivers/adv_pci1724.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 130 drivers/staging/comedi/drivers/adv_pci1724.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 342 drivers/staging/comedi/drivers/adv_pci1760.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 349 drivers/staging/comedi/drivers/adv_pci1760.c dev->iobase = pci_resource_start(pcidev, 0); pcidev 347 drivers/staging/comedi/drivers/adv_pci_dio.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 364 drivers/staging/comedi/drivers/adv_pci_dio.c dev->iobase = pci_resource_start(pcidev, 0); pcidev 366 drivers/staging/comedi/drivers/adv_pci_dio.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 467 drivers/staging/comedi/drivers/adv_pci_dio.c static unsigned long pci_dio_override_cardtype(struct pci_dev *pcidev, pcidev 477 drivers/staging/comedi/drivers/adv_pci_dio.c if (pci_enable_device(pcidev) < 0) pcidev 479 drivers/staging/comedi/drivers/adv_pci_dio.c if (pci_request_region(pcidev, 2, "adv_pci_dio") == 0) { pcidev 485 drivers/staging/comedi/drivers/adv_pci_dio.c unsigned long reg = pci_resource_start(pcidev, 2) + 53; pcidev 493 drivers/staging/comedi/drivers/adv_pci_dio.c pci_release_region(pcidev, 2); pcidev 495 drivers/staging/comedi/drivers/adv_pci_dio.c pci_disable_device(pcidev); pcidev 309 drivers/staging/comedi/drivers/amplc_dio200_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 322 drivers/staging/comedi/drivers/amplc_dio200_pci.c if (pci_resource_len(pcidev, 0) < 0x4000) { pcidev 326 drivers/staging/comedi/drivers/amplc_dio200_pci.c brbase = pci_ioremap_bar(pcidev, 0); pcidev 1250 drivers/staging/comedi/drivers/cb_pcidas.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1272 drivers/staging/comedi/drivers/cb_pcidas.c devpriv->amcc = pci_resource_start(pcidev, 0); pcidev 1273 drivers/staging/comedi/drivers/cb_pcidas.c devpriv->pcibar1 = pci_resource_start(pcidev, 1); pcidev 1274 drivers/staging/comedi/drivers/cb_pcidas.c devpriv->pcibar2 = pci_resource_start(pcidev, 2); pcidev 1275 drivers/staging/comedi/drivers/cb_pcidas.c dev->iobase = pci_resource_start(pcidev, 3); pcidev 1277 drivers/staging/comedi/drivers/cb_pcidas.c devpriv->pcibar4 = pci_resource_start(pcidev, 4); pcidev 1283 drivers/staging/comedi/drivers/cb_pcidas.c ret = request_irq(pcidev->irq, cb_pcidas_interrupt, IRQF_SHARED, pcidev 1287 drivers/staging/comedi/drivers/cb_pcidas.c pcidev->irq); pcidev 1290 drivers/staging/comedi/drivers/cb_pcidas.c dev->irq = pcidev->irq; pcidev 1475 drivers/staging/comedi/drivers/cb_pcidas64.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1482 drivers/staging/comedi/drivers/cb_pcidas64.c dma_alloc_coherent(&pcidev->dev, DMA_BUFFER_SIZE, pcidev 1491 drivers/staging/comedi/drivers/cb_pcidas64.c dma_alloc_coherent(&pcidev->dev, pcidev 1501 drivers/staging/comedi/drivers/cb_pcidas64.c dma_alloc_coherent(&pcidev->dev, sizeof(struct plx_dma_desc) * pcidev 1509 drivers/staging/comedi/drivers/cb_pcidas64.c dma_alloc_coherent(&pcidev->dev, pcidev 1559 drivers/staging/comedi/drivers/cb_pcidas64.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1569 drivers/staging/comedi/drivers/cb_pcidas64.c dma_free_coherent(&pcidev->dev, pcidev 1576 drivers/staging/comedi/drivers/cb_pcidas64.c dma_free_coherent(&pcidev->dev, pcidev 1583 drivers/staging/comedi/drivers/cb_pcidas64.c dma_free_coherent(&pcidev->dev, pcidev 1589 drivers/staging/comedi/drivers/cb_pcidas64.c dma_free_coherent(&pcidev->dev, pcidev 3976 drivers/staging/comedi/drivers/cb_pcidas64.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 3995 drivers/staging/comedi/drivers/cb_pcidas64.c pci_set_master(pcidev); pcidev 4000 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->main_phys_iobase = pci_resource_start(pcidev, 2); pcidev 4001 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->dio_counter_phys_iobase = pci_resource_start(pcidev, 3); pcidev 4003 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->plx9080_iobase = pci_ioremap_bar(pcidev, 0); pcidev 4004 drivers/staging/comedi/drivers/cb_pcidas64.c devpriv->main_iobase = pci_ioremap_bar(pcidev, 2); pcidev 4005 drivers/staging/comedi/drivers/cb_pcidas64.c dev->mmio = pci_ioremap_bar(pcidev, 3); pcidev 4037 drivers/staging/comedi/drivers/cb_pcidas64.c retval = request_irq(pcidev->irq, handle_interrupt, IRQF_SHARED, pcidev 4041 drivers/staging/comedi/drivers/cb_pcidas64.c pcidev->irq); pcidev 4044 drivers/staging/comedi/drivers/cb_pcidas64.c dev->irq = pcidev->irq; pcidev 330 drivers/staging/comedi/drivers/cb_pcidda.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 351 drivers/staging/comedi/drivers/cb_pcidda.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 352 drivers/staging/comedi/drivers/cb_pcidda.c devpriv->daqio = pci_resource_start(pcidev, 3); pcidev 351 drivers/staging/comedi/drivers/cb_pcimdas.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 364 drivers/staging/comedi/drivers/cb_pcimdas.c devpriv->daqio = pci_resource_start(pcidev, 2); pcidev 365 drivers/staging/comedi/drivers/cb_pcimdas.c devpriv->BADR3 = pci_resource_start(pcidev, 3); pcidev 366 drivers/staging/comedi/drivers/cb_pcimdas.c dev->iobase = pci_resource_start(pcidev, 4); pcidev 130 drivers/staging/comedi/drivers/cb_pcimdda.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 137 drivers/staging/comedi/drivers/cb_pcimdda.c dev->iobase = pci_resource_start(pcidev, 3); pcidev 55 drivers/staging/comedi/drivers/contec_pci_dio.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 62 drivers/staging/comedi/drivers/contec_pci_dio.c dev->iobase = pci_resource_start(pcidev, 0); pcidev 680 drivers/staging/comedi/drivers/daqboard2000.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 702 drivers/staging/comedi/drivers/daqboard2000.c devpriv->plx = pci_ioremap_bar(pcidev, 0); pcidev 703 drivers/staging/comedi/drivers/daqboard2000.c dev->mmio = pci_ioremap_bar(pcidev, 2); pcidev 614 drivers/staging/comedi/drivers/dt3000.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 635 drivers/staging/comedi/drivers/dt3000.c dev->mmio = pci_ioremap_bar(pcidev, 0); pcidev 639 drivers/staging/comedi/drivers/dt3000.c if (pcidev->irq) { pcidev 640 drivers/staging/comedi/drivers/dt3000.c ret = request_irq(pcidev->irq, dt3k_interrupt, IRQF_SHARED, pcidev 643 drivers/staging/comedi/drivers/dt3000.c dev->irq = pcidev->irq; pcidev 165 drivers/staging/comedi/drivers/dyna_pci10xx.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 177 drivers/staging/comedi/drivers/dyna_pci10xx.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 178 drivers/staging/comedi/drivers/dyna_pci10xx.c devpriv->BADR3 = pci_resource_start(pcidev, 3); pcidev 481 drivers/staging/comedi/drivers/gsc_hpdi.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 491 drivers/staging/comedi/drivers/gsc_hpdi.c dma_free_coherent(&pcidev->dev, pcidev 498 drivers/staging/comedi/drivers/gsc_hpdi.c dma_free_coherent(&pcidev->dev, pcidev 583 drivers/staging/comedi/drivers/gsc_hpdi.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 598 drivers/staging/comedi/drivers/gsc_hpdi.c pci_set_master(pcidev); pcidev 600 drivers/staging/comedi/drivers/gsc_hpdi.c devpriv->plx9080_mmio = pci_ioremap_bar(pcidev, 0); pcidev 601 drivers/staging/comedi/drivers/gsc_hpdi.c dev->mmio = pci_ioremap_bar(pcidev, 2); pcidev 610 drivers/staging/comedi/drivers/gsc_hpdi.c if (request_irq(pcidev->irq, gsc_hpdi_interrupt, IRQF_SHARED, pcidev 613 drivers/staging/comedi/drivers/gsc_hpdi.c "unable to allocate irq %u\n", pcidev->irq); pcidev 616 drivers/staging/comedi/drivers/gsc_hpdi.c dev->irq = pcidev->irq; pcidev 623 drivers/staging/comedi/drivers/gsc_hpdi.c dma_alloc_coherent(&pcidev->dev, DMA_BUFFER_SIZE, pcidev 633 drivers/staging/comedi/drivers/gsc_hpdi.c devpriv->dma_desc = dma_alloc_coherent(&pcidev->dev, pcidev 246 drivers/staging/comedi/drivers/icp_multi.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 254 drivers/staging/comedi/drivers/icp_multi.c dev->mmio = pci_ioremap_bar(pcidev, 2); pcidev 673 drivers/staging/comedi/drivers/jr3_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 699 drivers/staging/comedi/drivers/jr3_pci.c if (pci_resource_len(pcidev, 0) < board->n_subdevs * sizeof(*block)) pcidev 702 drivers/staging/comedi/drivers/jr3_pci.c dev->mmio = pci_ioremap_bar(pcidev, 0); pcidev 164 drivers/staging/comedi/drivers/ke_counter.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 171 drivers/staging/comedi/drivers/ke_counter.c dev->iobase = pci_resource_start(pcidev, 0); pcidev 312 drivers/staging/comedi/drivers/me4000.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 314 drivers/staging/comedi/drivers/me4000.c unsigned long xilinx_iobase = pci_resource_start(pcidev, 5); pcidev 1098 drivers/staging/comedi/drivers/me4000.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1119 drivers/staging/comedi/drivers/me4000.c devpriv->plx_regbase = pci_resource_start(pcidev, 1); pcidev 1120 drivers/staging/comedi/drivers/me4000.c dev->iobase = pci_resource_start(pcidev, 2); pcidev 1124 drivers/staging/comedi/drivers/me4000.c result = comedi_load_firmware(dev, &pcidev->dev, ME4000_FIRMWARE, pcidev 1131 drivers/staging/comedi/drivers/me4000.c if (pcidev->irq > 0) { pcidev 1132 drivers/staging/comedi/drivers/me4000.c result = request_irq(pcidev->irq, me4000_ai_isr, IRQF_SHARED, pcidev 1135 drivers/staging/comedi/drivers/me4000.c dev->irq = pcidev->irq; pcidev 1208 drivers/staging/comedi/drivers/me4000.c unsigned long timer_base = pci_resource_start(pcidev, 3); pcidev 430 drivers/staging/comedi/drivers/me_daq.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 451 drivers/staging/comedi/drivers/me_daq.c devpriv->plx_regbase = pci_ioremap_bar(pcidev, 0); pcidev 455 drivers/staging/comedi/drivers/me_daq.c dev->mmio = pci_ioremap_bar(pcidev, 2); pcidev 181 drivers/staging/comedi/drivers/mf6x4.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 203 drivers/staging/comedi/drivers/mf6x4.c devpriv->bar0_mem = pci_ioremap_bar(pcidev, board->bar_nums[0]); pcidev 207 drivers/staging/comedi/drivers/mf6x4.c dev->mmio = pci_ioremap_bar(pcidev, board->bar_nums[1]); pcidev 211 drivers/staging/comedi/drivers/mf6x4.c devpriv->bar2_mem = pci_ioremap_bar(pcidev, board->bar_nums[2]); pcidev 756 drivers/staging/comedi/drivers/mite.c ring->hw_dev = get_device(&mite->pcidev->dev); pcidev 792 drivers/staging/comedi/drivers/mite.c pci_set_master(mite->pcidev); pcidev 794 drivers/staging/comedi/drivers/mite.c mite->mmio = pci_ioremap_bar(mite->pcidev, 0); pcidev 798 drivers/staging/comedi/drivers/mite.c dev->mmio = pci_ioremap_bar(mite->pcidev, 1); pcidev 801 drivers/staging/comedi/drivers/mite.c daq_phys_addr = pci_resource_start(mite->pcidev, 1); pcidev 802 drivers/staging/comedi/drivers/mite.c length = pci_resource_len(mite->pcidev, 1); pcidev 878 drivers/staging/comedi/drivers/mite.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 888 drivers/staging/comedi/drivers/mite.c mite->pcidev = pcidev; pcidev 45 drivers/staging/comedi/drivers/mite.h struct pci_dev *pcidev; pcidev 373 drivers/staging/comedi/drivers/ni_6527.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 394 drivers/staging/comedi/drivers/ni_6527.c dev->mmio = pci_ioremap_bar(pcidev, 1); pcidev 404 drivers/staging/comedi/drivers/ni_6527.c ret = request_irq(pcidev->irq, ni6527_interrupt, IRQF_SHARED, pcidev 407 drivers/staging/comedi/drivers/ni_6527.c dev->irq = pcidev->irq; pcidev 609 drivers/staging/comedi/drivers/ni_65xx.c static int ni_65xx_mite_init(struct pci_dev *pcidev) pcidev 615 drivers/staging/comedi/drivers/ni_65xx.c mite_base = pci_ioremap_bar(pcidev, 0); pcidev 620 drivers/staging/comedi/drivers/ni_65xx.c main_phys_addr = pci_resource_start(pcidev, 1); pcidev 631 drivers/staging/comedi/drivers/ni_65xx.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 648 drivers/staging/comedi/drivers/ni_65xx.c ret = ni_65xx_mite_init(pcidev); pcidev 652 drivers/staging/comedi/drivers/ni_65xx.c dev->mmio = pci_ioremap_bar(pcidev, 1); pcidev 660 drivers/staging/comedi/drivers/ni_65xx.c if (pcidev->irq) { pcidev 661 drivers/staging/comedi/drivers/ni_65xx.c ret = request_irq(pcidev->irq, ni_65xx_interrupt, IRQF_SHARED, pcidev 664 drivers/staging/comedi/drivers/ni_65xx.c dev->irq = pcidev->irq; pcidev 1000 drivers/staging/comedi/drivers/ni_660x.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1186 drivers/staging/comedi/drivers/ni_660x.c ret = request_irq(pcidev->irq, ni_660x_interrupt, IRQF_SHARED, pcidev 1192 drivers/staging/comedi/drivers/ni_660x.c dev->irq = pcidev->irq; pcidev 137 drivers/staging/comedi/drivers/ni_670x.c static int ni_670x_mite_init(struct pci_dev *pcidev) pcidev 143 drivers/staging/comedi/drivers/ni_670x.c mite_base = pci_ioremap_bar(pcidev, 0); pcidev 148 drivers/staging/comedi/drivers/ni_670x.c main_phys_addr = pci_resource_start(pcidev, 1); pcidev 159 drivers/staging/comedi/drivers/ni_670x.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 181 drivers/staging/comedi/drivers/ni_670x.c ret = ni_670x_mite_init(pcidev); pcidev 185 drivers/staging/comedi/drivers/ni_670x.c dev->mmio = pci_ioremap_bar(pcidev, 1); pcidev 48 drivers/staging/comedi/drivers/ni_labpc_pci.c static int labpc_pci_mite_init(struct pci_dev *pcidev) pcidev 54 drivers/staging/comedi/drivers/ni_labpc_pci.c mite_base = pci_ioremap_bar(pcidev, 0); pcidev 59 drivers/staging/comedi/drivers/ni_labpc_pci.c main_phys_addr = pci_resource_start(pcidev, 1); pcidev 70 drivers/staging/comedi/drivers/ni_labpc_pci.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 85 drivers/staging/comedi/drivers/ni_labpc_pci.c ret = labpc_pci_mite_init(pcidev); pcidev 89 drivers/staging/comedi/drivers/ni_labpc_pci.c dev->mmio = pci_ioremap_bar(pcidev, 1); pcidev 93 drivers/staging/comedi/drivers/ni_labpc_pci.c return labpc_common_attach(dev, pcidev->irq, IRQF_SHARED); pcidev 859 drivers/staging/comedi/drivers/ni_pcidio.c ret = comedi_load_firmware(dev, &devpriv->mite->pcidev->dev, pcidev 883 drivers/staging/comedi/drivers/ni_pcidio.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 950 drivers/staging/comedi/drivers/ni_pcidio.c irq = pcidev->irq; pcidev 1223 drivers/staging/comedi/drivers/ni_pcimio.c daq_phys_addr = pci_resource_start(mite->pcidev, 1); pcidev 1293 drivers/staging/comedi/drivers/ni_pcimio.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1361 drivers/staging/comedi/drivers/ni_pcimio.c irq = pcidev->irq; pcidev 1195 drivers/staging/comedi/drivers/rtd520.c struct pci_dev *pcidev) pcidev 1199 drivers/staging/comedi/drivers/rtd520.c pci_read_config_byte(pcidev, PCI_LATENCY_TIMER, &pci_latency); pcidev 1204 drivers/staging/comedi/drivers/rtd520.c pci_write_config_byte(pcidev, PCI_LATENCY_TIMER, 32); pcidev 1211 drivers/staging/comedi/drivers/rtd520.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 1232 drivers/staging/comedi/drivers/rtd520.c dev->mmio = pci_ioremap_bar(pcidev, 2); pcidev 1233 drivers/staging/comedi/drivers/rtd520.c devpriv->las1 = pci_ioremap_bar(pcidev, 3); pcidev 1234 drivers/staging/comedi/drivers/rtd520.c devpriv->lcfg = pci_ioremap_bar(pcidev, 0); pcidev 1238 drivers/staging/comedi/drivers/rtd520.c rtd_pci_latency_quirk(dev, pcidev); pcidev 1240 drivers/staging/comedi/drivers/rtd520.c if (pcidev->irq) { pcidev 1241 drivers/staging/comedi/drivers/rtd520.c ret = request_irq(pcidev->irq, rtd_interrupt, IRQF_SHARED, pcidev 1244 drivers/staging/comedi/drivers/rtd520.c dev->irq = pcidev->irq; pcidev 2129 drivers/staging/comedi/drivers/s626.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 2134 drivers/staging/comedi/drivers/s626.c addr = pci_alloc_consistent(pcidev, S626_DMABUF_SIZE, &appdma); pcidev 2140 drivers/staging/comedi/drivers/s626.c addr = pci_alloc_consistent(pcidev, S626_DMABUF_SIZE, &appdma); pcidev 2151 drivers/staging/comedi/drivers/s626.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 2158 drivers/staging/comedi/drivers/s626.c pci_free_consistent(pcidev, S626_DMABUF_SIZE, pcidev 2162 drivers/staging/comedi/drivers/s626.c pci_free_consistent(pcidev, S626_DMABUF_SIZE, pcidev 2420 drivers/staging/comedi/drivers/s626.c struct pci_dev *pcidev = comedi_to_pci_dev(dev); pcidev 2433 drivers/staging/comedi/drivers/s626.c dev->mmio = pci_ioremap_bar(pcidev, 0); pcidev 2449 drivers/staging/comedi/drivers/s626.c if (pcidev->irq) { pcidev 2450 drivers/staging/comedi/drivers/s626.c ret = request_irq(pcidev->irq, s626_irq_handler, IRQF_SHARED, pcidev 2454 drivers/staging/comedi/drivers/s626.c dev->irq = pcidev->irq; pcidev 59 drivers/staging/isdn/avm/avmcard.h struct pci_dev *pcidev; pcidev 741 drivers/staging/isdn/avm/b1.c pci_free_consistent(p->pcidev, p->recvbuf.size, pcidev 751 drivers/staging/isdn/avm/b1.c pci_free_consistent(p->pcidev, p->recvbuf.size, pcidev 753 drivers/staging/isdn/avm/b1.c pci_free_consistent(p->pcidev, p->sendbuf.size, pcidev 131 drivers/tty/serial/8250/8250_exar.c void (*exit)(struct pci_dev *pcidev); pcidev 197 drivers/tty/serial/8250/8250_exar.c static int default_setup(struct exar8250 *priv, struct pci_dev *pcidev, pcidev 206 drivers/tty/serial/8250/8250_exar.c port->port.mapbase = pci_resource_start(pcidev, bar) + offset; pcidev 234 drivers/tty/serial/8250/8250_exar.c pci_fastcom335_setup(struct exar8250 *priv, struct pci_dev *pcidev, pcidev 244 drivers/tty/serial/8250/8250_exar.c err = default_setup(priv, pcidev, idx, offset, port); pcidev 259 drivers/tty/serial/8250/8250_exar.c switch (pcidev->device) { pcidev 282 drivers/tty/serial/8250/8250_exar.c pci_connect_tech_setup(struct exar8250 *priv, struct pci_dev *pcidev, pcidev 289 drivers/tty/serial/8250/8250_exar.c return default_setup(priv, pcidev, idx, offset, port); pcidev 293 drivers/tty/serial/8250/8250_exar.c pci_xr17c154_setup(struct exar8250 *priv, struct pci_dev *pcidev, pcidev 300 drivers/tty/serial/8250/8250_exar.c return default_setup(priv, pcidev, idx, offset, port); pcidev 303 drivers/tty/serial/8250/8250_exar.c static void setup_gpio(struct pci_dev *pcidev, u8 __iomem *p) pcidev 310 drivers/tty/serial/8250/8250_exar.c u8 dir = pcidev->vendor == PCI_VENDOR_ID_EXAR ? 0xff : 0x00; pcidev 327 drivers/tty/serial/8250/8250_exar.c __xr17v35x_register_gpio(struct pci_dev *pcidev, pcidev 336 drivers/tty/serial/8250/8250_exar.c pdev->dev.parent = &pcidev->dev; pcidev 337 drivers/tty/serial/8250/8250_exar.c ACPI_COMPANION_SET(&pdev->dev, ACPI_COMPANION(&pcidev->dev)); pcidev 354 drivers/tty/serial/8250/8250_exar.c static int xr17v35x_register_gpio(struct pci_dev *pcidev, pcidev 357 drivers/tty/serial/8250/8250_exar.c if (pcidev->vendor == PCI_VENDOR_ID_EXAR) pcidev 359 drivers/tty/serial/8250/8250_exar.c __xr17v35x_register_gpio(pcidev, exar_gpio_properties); pcidev 431 drivers/tty/serial/8250/8250_exar.c static int iot2040_register_gpio(struct pci_dev *pcidev, pcidev 442 drivers/tty/serial/8250/8250_exar.c __xr17v35x_register_gpio(pcidev, iot2040_gpio_properties); pcidev 468 drivers/tty/serial/8250/8250_exar.c pci_xr17v35x_setup(struct exar8250 *priv, struct pci_dev *pcidev, pcidev 494 drivers/tty/serial/8250/8250_exar.c ret = default_setup(priv, pcidev, idx, offset, port); pcidev 507 drivers/tty/serial/8250/8250_exar.c setup_gpio(pcidev, p); pcidev 509 drivers/tty/serial/8250/8250_exar.c ret = platform->register_gpio(pcidev, port); pcidev 515 drivers/tty/serial/8250/8250_exar.c static void pci_xr17v35x_exit(struct pci_dev *pcidev) pcidev 517 drivers/tty/serial/8250/8250_exar.c struct exar8250 *priv = pci_get_drvdata(pcidev); pcidev 552 drivers/tty/serial/8250/8250_exar.c exar_pci_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) pcidev 564 drivers/tty/serial/8250/8250_exar.c rc = pcim_enable_device(pcidev); pcidev 568 drivers/tty/serial/8250/8250_exar.c maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); pcidev 570 drivers/tty/serial/8250/8250_exar.c nr_ports = board->num_ports ? board->num_ports : pcidev->device & 0x0f; pcidev 572 drivers/tty/serial/8250/8250_exar.c priv = devm_kzalloc(&pcidev->dev, struct_size(priv, line, nr_ports), GFP_KERNEL); pcidev 577 drivers/tty/serial/8250/8250_exar.c priv->virt = pcim_iomap(pcidev, bar, 0); pcidev 581 drivers/tty/serial/8250/8250_exar.c pci_set_master(pcidev); pcidev 583 drivers/tty/serial/8250/8250_exar.c rc = pci_alloc_irq_vectors(pcidev, 1, 1, PCI_IRQ_ALL_TYPES); pcidev 589 drivers/tty/serial/8250/8250_exar.c uart.port.irq = pci_irq_vector(pcidev, 0); pcidev 590 drivers/tty/serial/8250/8250_exar.c uart.port.dev = &pcidev->dev; pcidev 592 drivers/tty/serial/8250/8250_exar.c rc = devm_request_irq(&pcidev->dev, uart.port.irq, exar_misc_handler, pcidev 601 drivers/tty/serial/8250/8250_exar.c rc = board->setup(priv, pcidev, &uart, i); pcidev 603 drivers/tty/serial/8250/8250_exar.c dev_err(&pcidev->dev, "Failed to setup port %u\n", i); pcidev 607 drivers/tty/serial/8250/8250_exar.c dev_dbg(&pcidev->dev, "Setup PCI port: port %lx, irq %d, type %d\n", pcidev 612 drivers/tty/serial/8250/8250_exar.c dev_err(&pcidev->dev, pcidev 620 drivers/tty/serial/8250/8250_exar.c pci_set_drvdata(pcidev, priv); pcidev 624 drivers/tty/serial/8250/8250_exar.c static void exar_pci_remove(struct pci_dev *pcidev) pcidev 626 drivers/tty/serial/8250/8250_exar.c struct exar8250 *priv = pci_get_drvdata(pcidev); pcidev 633 drivers/tty/serial/8250/8250_exar.c priv->board->exit(pcidev); pcidev 638 drivers/tty/serial/8250/8250_exar.c struct pci_dev *pcidev = to_pci_dev(dev); pcidev 639 drivers/tty/serial/8250/8250_exar.c struct exar8250 *priv = pci_get_drvdata(pcidev); pcidev 648 drivers/tty/serial/8250/8250_exar.c priv->board->exit(pcidev); pcidev 401 drivers/video/fbdev/matrox/g450_pll.c pci_read_config_dword(minfo->pcidev, PCI_OPTION_REG, &opt); pcidev 403 drivers/video/fbdev/matrox/g450_pll.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, opt | 0x20); pcidev 117 drivers/video/fbdev/matrox/i2c-matroxfb.c b->adapter.dev.parent = &minfo->pcidev->dev; pcidev 116 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); pcidev 131 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); pcidev 133 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); pcidev 158 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); pcidev 160 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mx); pcidev 697 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 720 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); pcidev 721 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3 & ~0x00300C03); pcidev 722 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 740 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg | 4); pcidev 741 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION3_REG, minfo->values.reg.opt3); pcidev 742 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 750 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 755 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 756 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, minfo->values.reg.opt2); pcidev 761 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_MEMMISC_REG, minfo->values.reg.memmisc & ~0x80000000U); pcidev 765 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_MEMMISC_REG, minfo->values.reg.memmisc | 0x80000000U); pcidev 777 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 805 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 901 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 905 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_read_config_dword(minfo->pcidev, PCI_OPTION2_REG, ®50); pcidev 907 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, reg50); pcidev 910 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 921 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, reg50); pcidev 937 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_read_config_dword(minfo->pcidev, PCI_OPTION2_REG, ®50); pcidev 939 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, reg50); pcidev 956 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_read_config_dword(minfo->pcidev, PCI_OPTION2_REG, ®50); pcidev 959 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION2_REG, reg50); pcidev 976 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 993 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (b == minfo->pcidev->bus->number) { pcidev 1003 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 1049 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 1076 drivers/video/fbdev/matrox/matroxfb_DAC1064.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 516 drivers/video/fbdev/matrox/matroxfb_Ti3026.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, minfo->hw.MXoptionReg); pcidev 576 drivers/video/fbdev/matrox/matroxfb_Ti3026.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 695 drivers/video/fbdev/matrox/matroxfb_Ti3026.c minfo->milleniumII = (minfo->pcidev->device != PCI_DEVICE_ID_MATROX_MIL); pcidev 716 drivers/video/fbdev/matrox/matroxfb_Ti3026.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, hw->MXoptionReg); pcidev 236 drivers/video/fbdev/matrox/matroxfb_base.c if (request_irq(minfo->pcidev->irq, matrox_irq, pcidev 265 drivers/video/fbdev/matrox/matroxfb_base.c free_irq(minfo->pcidev->irq, minfo); pcidev 1094 drivers/video/fbdev/matrox/matroxfb_base.c sprintf(r.bus_info, "PCI:%s", pci_name(minfo->pcidev)); pcidev 1680 drivers/video/fbdev/matrox/matroxfb_base.c ctrlptr_phys = pci_resource_start(minfo->pcidev, 1); pcidev 1681 drivers/video/fbdev/matrox/matroxfb_base.c video_base_phys = pci_resource_start(minfo->pcidev, 0); pcidev 1684 drivers/video/fbdev/matrox/matroxfb_base.c ctrlptr_phys = pci_resource_start(minfo->pcidev, 0); pcidev 1685 drivers/video/fbdev/matrox/matroxfb_base.c video_base_phys = pci_resource_start(minfo->pcidev, 1); pcidev 1731 drivers/video/fbdev/matrox/matroxfb_base.c pci_read_config_dword(minfo->pcidev, PCI_OPTION_REG, &mga_option); pcidev 1732 drivers/video/fbdev/matrox/matroxfb_base.c pci_read_config_dword(minfo->pcidev, PCI_COMMAND, &cmd); pcidev 1744 drivers/video/fbdev/matrox/matroxfb_base.c pci_write_config_dword(minfo->pcidev, PCI_COMMAND, cmd); pcidev 1745 drivers/video/fbdev/matrox/matroxfb_base.c pci_write_config_dword(minfo->pcidev, PCI_OPTION_REG, mga_option); pcidev 1750 drivers/video/fbdev/matrox/matroxfb_base.c pci_write_config_dword(minfo->pcidev, PCI_MGA_INDEX, 0x00003C00); pcidev 1921 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.device = &minfo->pcidev->dev; pcidev 2063 drivers/video/fbdev/matrox/matroxfb_base.c minfo->pcidev = pdev; pcidev 355 drivers/video/fbdev/matrox/matroxfb_base.h struct pci_dev* pcidev; pcidev 769 drivers/video/fbdev/matrox/matroxfb_misc.c struct pci_dev *pdev = minfo->pcidev; pcidev 142 drivers/video/fbdev/savage/savagefb-i2c.c chan->adapter.dev.parent = &chan->par->pcidev->dev; pcidev 157 drivers/video/fbdev/savage/savagefb-i2c.c dev_dbg(&chan->par->pcidev->dev, pcidev 160 drivers/video/fbdev/savage/savagefb-i2c.c dev_warn(&chan->par->pcidev->dev, pcidev 185 drivers/video/fbdev/savage/savagefb-i2c.c if (par->pcidev->revision > 1 && !(VGArCR(0xa6, par) & 0x40)) pcidev 190 drivers/video/fbdev/savage/savagefb.h struct pci_dev *pcidev; pcidev 1720 drivers/video/fbdev/savage/savagefb_driver.c par->mmio.pbase = pci_resource_start(par->pcidev, 0) + pcidev 1723 drivers/video/fbdev/savage/savagefb_driver.c par->mmio.pbase = pci_resource_start(par->pcidev, 0) + pcidev 1772 drivers/video/fbdev/savage/savagefb_driver.c par->video.pbase = pci_resource_start(par->pcidev, resource); pcidev 2049 drivers/video/fbdev/savage/savagefb_driver.c par->pcidev = dev; pcidev 177 drivers/xen/xen-pciback/passthrough.c static int __xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, pcidev 182 drivers/xen/xen-pciback/passthrough.c *domain = pci_domain_nr(pcidev->bus); pcidev 183 drivers/xen/xen-pciback/passthrough.c *bus = pcidev->bus->number; pcidev 184 drivers/xen/xen-pciback/passthrough.c *devfn = pcidev->devfn; pcidev 99 drivers/xen/xen-pciback/pciback.h int (*find)(struct pci_dev *pcidev, struct xen_pcibk_device *pdev, pcidev 148 drivers/xen/xen-pciback/pciback.h static inline int xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, pcidev 155 drivers/xen/xen-pciback/pciback.h return xen_pcibk_backend->find(pcidev, pdev, domain, bus, pcidev 230 drivers/xen/xen-pciback/vpci.c static int __xen_pcibk_get_pcifront_dev(struct pci_dev *pcidev, pcidev 246 drivers/xen/xen-pciback/vpci.c if (dev && dev->bus->number == pcidev->bus->number pcidev 248 drivers/xen/xen-pciback/vpci.c pci_domain_nr(pcidev->bus) pcidev 249 drivers/xen/xen-pciback/vpci.c && dev->devfn == pcidev->devfn) { pcidev 254 drivers/xen/xen-pciback/vpci.c PCI_FUNC(pcidev->devfn)); pcidev 2275 sound/pci/maestro3.c struct pci_dev *pcidev = chip->pci; pcidev 2281 sound/pci/maestro3.c pci_read_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, &w); pcidev 2285 sound/pci/maestro3.c pci_write_config_word(pcidev, PCI_LEGACY_AUDIO_CTRL, w); pcidev 2287 sound/pci/maestro3.c pci_read_config_dword(pcidev, PCI_ALLEGRO_CONFIG, &n); pcidev 2293 sound/pci/maestro3.c pci_write_config_dword(pcidev, PCI_ALLEGRO_CONFIG, n); pcidev 2296 sound/pci/maestro3.c pci_read_config_dword(pcidev, PCI_ALLEGRO_CONFIG, &n); pcidev 2303 sound/pci/maestro3.c pci_write_config_dword(pcidev, PCI_ALLEGRO_CONFIG, n); pcidev 2306 sound/pci/maestro3.c pci_read_config_dword(pcidev, PCI_USER_CONFIG, &n); pcidev 2308 sound/pci/maestro3.c pci_write_config_dword(pcidev, PCI_USER_CONFIG, n);