pci 66 arch/alpha/kernel/core_wildfire.c wildfire_pci *pci; pci 119 arch/alpha/kernel/core_wildfire.c pci = WILDFIRE_pci(qbbno, hoseno); pci 121 arch/alpha/kernel/core_wildfire.c pci->pci_window[0].wbase.csr = hose->sg_isa->dma_base | 3; pci 122 arch/alpha/kernel/core_wildfire.c pci->pci_window[0].wmask.csr = (hose->sg_isa->size - 1) & 0xfff00000; pci 123 arch/alpha/kernel/core_wildfire.c pci->pci_window[0].tbase.csr = virt_to_phys(hose->sg_isa->ptes); pci 125 arch/alpha/kernel/core_wildfire.c pci->pci_window[1].wbase.csr = 0x40000000 | 1; pci 126 arch/alpha/kernel/core_wildfire.c pci->pci_window[1].wmask.csr = (0x40000000 -1) & 0xfff00000; pci 127 arch/alpha/kernel/core_wildfire.c pci->pci_window[1].tbase.csr = 0; pci 129 arch/alpha/kernel/core_wildfire.c pci->pci_window[2].wbase.csr = 0x80000000 | 1; pci 130 arch/alpha/kernel/core_wildfire.c pci->pci_window[2].wmask.csr = (0x40000000 -1) & 0xfff00000; pci 131 arch/alpha/kernel/core_wildfire.c pci->pci_window[2].tbase.csr = 0x40000000; pci 133 arch/alpha/kernel/core_wildfire.c pci->pci_window[3].wbase.csr = hose->sg_pci->dma_base | 3; pci 134 arch/alpha/kernel/core_wildfire.c pci->pci_window[3].wmask.csr = (hose->sg_pci->size - 1) & 0xfff00000; pci 135 arch/alpha/kernel/core_wildfire.c pci->pci_window[3].tbase.csr = virt_to_phys(hose->sg_pci->ptes); pci 351 arch/alpha/kernel/core_wildfire.c wildfire_pci *pci = WILDFIRE_pci(qbbno, hoseno); pci 354 arch/alpha/kernel/core_wildfire.c pci->pci_flush_tlb.csr; /* reading does the trick */ pci 475 arch/alpha/kernel/core_wildfire.c wildfire_pci *pci = WILDFIRE_pci(qbbno, hoseno); pci 479 arch/alpha/kernel/core_wildfire.c qbbno, hoseno, pci); pci 482 arch/alpha/kernel/core_wildfire.c pci->pci_io_addr_ext.csr); pci 483 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_CTRL: 0x%16lx\n", pci->pci_ctrl.csr); pci 484 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_ERR_SUM: 0x%16lx\n", pci->pci_err_sum.csr); pci 485 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_ERR_ADDR: 0x%16lx\n", pci->pci_err_addr.csr); pci 486 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_STALL_CNT: 0x%16lx\n", pci->pci_stall_cnt.csr); pci 487 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_PEND_INT: 0x%16lx\n", pci->pci_pend_int.csr); pci 488 arch/alpha/kernel/core_wildfire.c printk(KERN_ERR " PCI_SENT_INT: 0x%16lx\n", pci->pci_sent_int.csr); pci 491 arch/alpha/kernel/core_wildfire.c qbbno, hoseno, pci); pci 494 arch/alpha/kernel/core_wildfire.c pci->pci_window[i].wbase.csr, pci 495 arch/alpha/kernel/core_wildfire.c pci->pci_window[i].wmask.csr, pci 496 arch/alpha/kernel/core_wildfire.c pci->pci_window[i].tbase.csr); pci 100 arch/alpha/kernel/pci.c struct pci_iommu_arena *pci = hose->sg_pci; pci 101 arch/alpha/kernel/pci.c if (pci && pci->dma_base + pci->size >= 0xfff00000UL) pci 102 arch/alpha/kernel/pci.c pci->size = 0xfff00000UL - pci->dma_base; pci 341 arch/mips/include/asm/ip32/mace.h struct mace_pci pci; pci 43 arch/mips/pci/ops-mace.c u32 control = mace->pci.control; pci 46 arch/mips/pci/ops-mace.c mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT; pci 47 arch/mips/pci/ops-mace.c mace->pci.config_addr = mkaddr(bus, devfn, reg); pci 50 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.b[(reg & 3) ^ 3]; pci 53 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; pci 56 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.l; pci 60 arch/mips/pci/ops-mace.c mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT; pci 61 arch/mips/pci/ops-mace.c mace->pci.control = control; pci 79 arch/mips/pci/ops-mace.c mace->pci.config_addr = mkaddr(bus, devfn, reg); pci 82 arch/mips/pci/ops-mace.c mace->pci.config_data.b[(reg & 3) ^ 3] = val; pci 85 arch/mips/pci/ops-mace.c mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; pci 88 arch/mips/pci/ops-mace.c mace->pci.config_data.l = val; pci 28 arch/mips/pci/pci-ip32.c unsigned int flags = mace->pci.error; pci 29 arch/mips/pci/pci-ip32.c unsigned int addr = mace->pci.error_addr; pci 79 arch/mips/pci/pci-ip32.c mace->pci.error = flags; pci 129 arch/mips/pci/pci-ip32.c mace->pci.error_addr = 0; pci 130 arch/mips/pci/pci-ip32.c mace->pci.error = 0; pci 131 arch/mips/pci/pci-ip32.c mace->pci.control = 0xff008500; pci 133 arch/mips/pci/pci-ip32.c printk("MACE PCI rev %d\n", mace->pci.rev); pci 186 arch/mips/sgi-ip32/ip32-irq.c mace->pci.control = macepci_mask; pci 197 arch/mips/sgi-ip32/ip32-irq.c mace->pci.control = macepci_mask; pci 351 arch/mips/sgi-ip32/ip32-irq.c printk("MACE PCI control register: %08x\n", mace->pci.control); pci 416 arch/powerpc/kernel/legacy_serial.c struct device_node *pci, *parent = of_get_parent(np); pci 431 arch/powerpc/kernel/legacy_serial.c pci = np; pci 434 arch/powerpc/kernel/legacy_serial.c pci = parent; pci 439 arch/powerpc/kernel/legacy_serial.c index = add_legacy_pci_port(np, pci); pci 18 arch/powerpc/platforms/52xx/lite5200_pm.c static void __iomem *pci; pci 82 arch/powerpc/platforms/52xx/lite5200_pm.c pci = mbar + 0xd00; pci 107 arch/powerpc/platforms/52xx/lite5200_pm.c _memcpy_fromio(spci, pci, 0x200); pci 118 arch/powerpc/platforms/52xx/lite5200_pm.c _memcpy_toio(pci, spci, 0x200); pci 420 arch/powerpc/platforms/52xx/mpc52xx_pci.c struct device_node *pci; pci 422 arch/powerpc/platforms/52xx/mpc52xx_pci.c pci = of_find_matching_node(NULL, mpc52xx_pci_ids); pci 423 arch/powerpc/platforms/52xx/mpc52xx_pci.c if (!pci) pci 426 arch/powerpc/platforms/52xx/mpc52xx_pci.c mpc52xx_add_bridge(pci); pci 427 arch/powerpc/platforms/52xx/mpc52xx_pci.c of_node_put(pci); pci 564 arch/powerpc/platforms/pseries/iommu.c struct pci_dn *pci; pci 577 arch/powerpc/platforms/pseries/iommu.c pci = PCI_DN(dn); pci 603 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size = 0x80000000ul; /* To be divided */ pci 605 arch/powerpc/platforms/pseries/iommu.c while (pci->phb->dma_window_size * children > 0x80000000ul) pci 606 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size >>= 1; pci 608 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size); pci 609 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_base_cur = 0; pci 619 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size = 0x8000000ul; pci 620 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_base_cur = 0x8000000ul; pci 622 arch/powerpc/platforms/pseries/iommu.c pci->table_group = iommu_pseries_alloc_group(pci->phb->node); pci 623 arch/powerpc/platforms/pseries/iommu.c tbl = pci->table_group->tables[0]; pci 625 arch/powerpc/platforms/pseries/iommu.c iommu_table_setparms(pci->phb, dn, tbl); pci 627 arch/powerpc/platforms/pseries/iommu.c iommu_init_table(tbl, pci->phb->node, 0, 0); pci 630 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size = 0x80000000ul; pci 631 arch/powerpc/platforms/pseries/iommu.c while (pci->phb->dma_window_size * children > 0x70000000ul) pci 632 arch/powerpc/platforms/pseries/iommu.c pci->phb->dma_window_size >>= 1; pci 634 arch/powerpc/platforms/pseries/iommu.c pr_debug("ISA/IDE, window size is 0x%llx\n", pci->phb->dma_window_size); pci 1153 arch/powerpc/platforms/pseries/iommu.c struct pci_dn *pci; pci 1181 arch/powerpc/platforms/pseries/iommu.c pci = PCI_DN(pdn); pci 1182 arch/powerpc/platforms/pseries/iommu.c if (!pci->table_group) { pci 1183 arch/powerpc/platforms/pseries/iommu.c pci->table_group = iommu_pseries_alloc_group(pci->phb->node); pci 1184 arch/powerpc/platforms/pseries/iommu.c tbl = pci->table_group->tables[0]; pci 1185 arch/powerpc/platforms/pseries/iommu.c iommu_table_setparms_lpar(pci->phb, pdn, tbl, pci 1186 arch/powerpc/platforms/pseries/iommu.c pci->table_group, dma_window); pci 1188 arch/powerpc/platforms/pseries/iommu.c iommu_init_table(tbl, pci->phb->node, 0, 0); pci 1189 arch/powerpc/platforms/pseries/iommu.c iommu_register_group(pci->table_group, pci 1190 arch/powerpc/platforms/pseries/iommu.c pci_domain_nr(pci->phb->bus), 0); pci 1191 arch/powerpc/platforms/pseries/iommu.c pr_debug(" created table: %p\n", pci->table_group); pci 1193 arch/powerpc/platforms/pseries/iommu.c pr_debug(" found DMA window, table: %p\n", pci->table_group); pci 1196 arch/powerpc/platforms/pseries/iommu.c set_iommu_table_base(&dev->dev, pci->table_group->tables[0]); pci 1197 arch/powerpc/platforms/pseries/iommu.c iommu_add_device(pci->table_group, &dev->dev); pci 1278 arch/powerpc/platforms/pseries/iommu.c struct pci_dn *pci = PCI_DN(np); pci 1291 arch/powerpc/platforms/pseries/iommu.c if (pci && pci->table_group) pci 1292 arch/powerpc/platforms/pseries/iommu.c iommu_pseries_free_group(pci->table_group, pci 79 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci = hose->private_data; pci 81 arch/powerpc/sysdev/fsl_pci.c val = (in_be32(&pci->pex_csr0) & PEX_CSR0_LTSSM_MASK) pci 143 arch/powerpc/sysdev/fsl_pci.c static int setup_one_atmu(struct ccsr_pci __iomem *pci, pci 166 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].potar, pci_addr >> 12); pci 167 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].potear, (u64)pci_addr >> 44); pci 168 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].powbar, phys_addr >> 12); pci 169 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[index + i].powar, flags | (bits - 1)); pci 195 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci = hose->private_data; pci 229 arch/powerpc/sysdev/fsl_pci.c if (in_be32(&pci->block_rev1) >= PCIE_IP_REV_2_2) { pci 238 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[i].powar, 0); pci 242 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[i].piwar, 0); pci 255 arch/powerpc/sysdev/fsl_pci.c n = setup_one_atmu(pci, j, &hose->mem_resources[i], offset); pci 274 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[j].potar, (hose->io_resource.start >> 12)); pci 275 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[j].potear, 0); pci 276 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[j].powbar, (hose->io_base_phys >> 12)); pci 278 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pow[j].powar, 0x80088000 pci 361 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].pitar, 0x00000000); pci 362 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwbar, 0x00000000); pci 363 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwar, piwar); pci 387 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].pitar, 0x00000000); pci 388 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwbear, pci 390 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwbar, pci 392 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwar, piwar); pci 408 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].pitar, paddr >> 12); pci 409 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwbar, paddr >> 12); pci 410 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwar, pci 423 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].pitar, pci 425 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwbar, pci 427 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->piw[win_idx].piwar, piwar); pci 524 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci; pci 562 arch/powerpc/sysdev/fsl_pci.c pci = hose->private_data = ioremap(rsrc.start, resource_size(&rsrc)); pci 569 arch/powerpc/sysdev/fsl_pci.c if (in_be32(&pci->block_rev1) < PCIE_IP_REV_3_0) pci 1147 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci = hose->private_data; pci 1150 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); pci 1154 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); pci 1161 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci; pci 1193 arch/powerpc/sysdev/fsl_pci.c pci = hose->private_data; pci 1196 arch/powerpc/sysdev/fsl_pci.c clrbits32(&pci->pex_pme_mes_disr, pci 1199 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_ier, 0); pci 1200 arch/powerpc/sysdev/fsl_pci.c setbits32(&pci->pex_pme_mes_ier, pci 1213 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci = hose->private_data; pci 1218 arch/powerpc/sysdev/fsl_pci.c setbits32(&pci->pex_pmcr, PEX_PMCR_PTOMR); pci 1222 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); pci 1224 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); pci 1249 arch/powerpc/sysdev/fsl_pci.c struct ccsr_pci __iomem *pci = hose->private_data; pci 1254 arch/powerpc/sysdev/fsl_pci.c setbits32(&pci->pex_pmcr, PEX_PMCR_EXL2S); pci 1258 arch/powerpc/sysdev/fsl_pci.c dr = in_be32(&pci->pex_pme_mes_dr); pci 1260 arch/powerpc/sysdev/fsl_pci.c out_be32(&pci->pex_pme_mes_dr, dr); pci 51 arch/x86/boot/compressed/eboot.c preserve_pci_rom_image(efi_pci_io_protocol_t *pci, struct pci_setup_rom **__rom) pci 67 arch/x86/boot/compressed/eboot.c romimage, pci); pci 68 arch/x86/boot/compressed/eboot.c romsize = efi_table_attr(efi_pci_io_protocol, romsize, pci); pci 85 arch/x86/boot/compressed/eboot.c rom->pcilen = pci->romsize; pci 88 arch/x86/boot/compressed/eboot.c status = efi_call_proto(efi_pci_io_protocol, pci.read, pci, pci 97 arch/x86/boot/compressed/eboot.c status = efi_call_proto(efi_pci_io_protocol, pci.read, pci, pci 106 arch/x86/boot/compressed/eboot.c status = efi_call_proto(efi_pci_io_protocol, get_location, pci, pci 169 arch/x86/boot/compressed/eboot.c efi_pci_io_protocol_t *pci = NULL; pci 175 arch/x86/boot/compressed/eboot.c &pci_proto, (void **)&pci); pci 176 arch/x86/boot/compressed/eboot.c if (status != EFI_SUCCESS || !pci) pci 179 arch/x86/boot/compressed/eboot.c status = preserve_pci_rom_image(pci, &rom); pci 317 arch/x86/hyperv/hv_init.c x86_init.pci.arch_init = hv_pci_init; pci 161 arch/x86/include/asm/x86_init.h struct x86_init_pci pci; pci 1626 arch/x86/kernel/acpi/boot.c x86_init.pci.init = pci_acpi_init; pci 203 arch/x86/kernel/apic/apic_numachip.c x86_init.pci.arch_init = pci_numachip_init; pci 148 arch/x86/kernel/jailhouse.c x86_init.pci.arch_init = jailhouse_pci_arch_init; pci 84 arch/x86/kernel/x86_init.c .pci = { pci 411 arch/x86/pci/acpi.c x86_init.pci.init_irq = x86_init_noop; pci 20 arch/x86/pci/init.c if (x86_init.pci.arch_init && !x86_init.pci.arch_init()) pci 1158 arch/x86/pci/irq.c x86_init.pci.fixup_irqs(); pci 64 arch/x86/pci/legacy.c if (x86_init.pci.init()) { pci 72 arch/x86/pci/legacy.c x86_init.pci.init_irq(); pci 143 arch/x86/platform/ce4100/ce4100.c x86_init.pci.init = ce4100_pci_init; pci 144 arch/x86/platform/ce4100/ce4100.c x86_init.pci.init_irq = sdv_pci_init; pci 172 arch/x86/platform/intel-mid/intel-mid.c x86_init.pci.arch_init = intel_mid_pci_init; pci 173 arch/x86/platform/intel-mid/intel-mid.c x86_init.pci.fixup_irqs = x86_init_noop; pci 538 arch/x86/platform/intel/iosf_mbi.c MODULE_DEVICE_TABLE(pci, iosf_mbi_pci_ids); pci 309 arch/x86/platform/olpc/olpc.c x86_init.pci.arch_init = pci_olpc_init; pci 37 arch/x86/platform/scx200/scx200_32.c MODULE_DEVICE_TABLE(pci,scx200_tbl); pci 1355 arch/x86/xen/enlighten_pv.c x86_init.pci.arch_init = pci_xen_init; pci 466 drivers/ata/acard-ahci.c MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl); pci 1886 drivers/ata/ahci.c MODULE_DEVICE_TABLE(pci, ahci_pci_tbl); pci 255 drivers/ata/ata_generic.c MODULE_DEVICE_TABLE(pci, ata_generic); pci 452 drivers/ata/ata_piix.c MODULE_DEVICE_TABLE(pci, piix_pci_tbl); pci 280 drivers/ata/pata_acpi.c MODULE_DEVICE_TABLE(pci, pacpi_pci_tbl); pci 648 drivers/ata/pata_ali.c MODULE_DEVICE_TABLE(pci, ali); pci 641 drivers/ata/pata_amd.c MODULE_DEVICE_TABLE(pci, amd); pci 459 drivers/ata/pata_artop.c MODULE_DEVICE_TABLE(pci, artop_pci_tbl); pci 317 drivers/ata/pata_atiixp.c MODULE_DEVICE_TABLE(pci, atiixp); pci 555 drivers/ata/pata_atp867x.c MODULE_DEVICE_TABLE(pci, atp867x_pci_tbl); pci 271 drivers/ata/pata_cmd640.c MODULE_DEVICE_TABLE(pci, cmd640); pci 533 drivers/ata/pata_cmd64x.c MODULE_DEVICE_TABLE(pci, cmd64x); pci 296 drivers/ata/pata_cs5520.c MODULE_DEVICE_TABLE(pci, pata_cs5520); pci 356 drivers/ata/pata_cs5530.c MODULE_DEVICE_TABLE(pci, cs5530); pci 202 drivers/ata/pata_cs5535.c MODULE_DEVICE_TABLE(pci, cs5535); pci 300 drivers/ata/pata_cs5536.c MODULE_DEVICE_TABLE(pci, cs5536); pci 166 drivers/ata/pata_cypress.c MODULE_DEVICE_TABLE(pci, cy82c693); pci 303 drivers/ata/pata_efar.c MODULE_DEVICE_TABLE(pci, efar_pci_tbl); pci 423 drivers/ata/pata_hpt366.c MODULE_DEVICE_TABLE(pci, hpt36x); pci 1063 drivers/ata/pata_hpt37x.c MODULE_DEVICE_TABLE(pci, hpt37x); pci 629 drivers/ata/pata_hpt3x2n.c MODULE_DEVICE_TABLE(pci, hpt3x2n); pci 288 drivers/ata/pata_hpt3x3.c MODULE_DEVICE_TABLE(pci, hpt3x3); pci 298 drivers/ata/pata_it8213.c MODULE_DEVICE_TABLE(pci, it8213_pci_tbl); pci 979 drivers/ata/pata_it821x.c MODULE_DEVICE_TABLE(pci, it821x); pci 172 drivers/ata/pata_jmicron.c MODULE_DEVICE_TABLE(pci, jmicron_pci_tbl); pci 1387 drivers/ata/pata_macio.c MODULE_DEVICE_TABLE(pci, pata_macio_pci_match); pci 186 drivers/ata/pata_marvell.c MODULE_DEVICE_TABLE(pci, marvell_pci_tbl); pci 238 drivers/ata/pata_mpiix.c MODULE_DEVICE_TABLE(pci, mpiix); pci 107 drivers/ata/pata_netcell.c MODULE_DEVICE_TABLE(pci, netcell_pci_tbl); pci 194 drivers/ata/pata_ninja32.c MODULE_DEVICE_TABLE(pci, ninja32); pci 162 drivers/ata/pata_ns87410.c MODULE_DEVICE_TABLE(pci, ns87410); pci 422 drivers/ata/pata_ns87415.c MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); pci 273 drivers/ata/pata_oldpiix.c MODULE_DEVICE_TABLE(pci, oldpiix_pci_tbl); pci 199 drivers/ata/pata_opti.c MODULE_DEVICE_TABLE(pci, opti); pci 455 drivers/ata/pata_optidma.c MODULE_DEVICE_TABLE(pci, optidma); pci 174 drivers/ata/pata_pdc2027x.c MODULE_DEVICE_TABLE(pci, pdc2027x_pci_tbl); pci 392 drivers/ata/pata_pdc202xx_old.c MODULE_DEVICE_TABLE(pci, pdc202xx); pci 124 drivers/ata/pata_piccolo.c MODULE_DEVICE_TABLE(pci, ata_tosh); pci 252 drivers/ata/pata_radisys.c MODULE_DEVICE_TABLE(pci, radisys_pci_tbl); pci 384 drivers/ata/pata_rdc.c MODULE_DEVICE_TABLE(pci, rdc_pci_tbl); pci 148 drivers/ata/pata_rz1000.c MODULE_DEVICE_TABLE(pci, pata_rz1000); pci 255 drivers/ata/pata_sc1200.c MODULE_DEVICE_TABLE(pci, sc1200); pci 82 drivers/ata/pata_sch.c MODULE_DEVICE_TABLE(pci, sch_pci_tbl); pci 492 drivers/ata/pata_serverworks.c MODULE_DEVICE_TABLE(pci, serverworks); pci 440 drivers/ata/pata_sil680.c MODULE_DEVICE_TABLE(pci, sil680); pci 914 drivers/ata/pata_sis.c MODULE_DEVICE_TABLE(pci, sis_pci_tbl); pci 380 drivers/ata/pata_sl82c105.c MODULE_DEVICE_TABLE(pci, sl82c105); pci 235 drivers/ata/pata_triflex.c MODULE_DEVICE_TABLE(pci, triflex); pci 719 drivers/ata/pata_via.c MODULE_DEVICE_TABLE(pci, via); pci 635 drivers/ata/pdc_adma.c MODULE_DEVICE_TABLE(pci, adma_ata_pci_tbl); pci 903 drivers/ata/sata_inic162x.c MODULE_DEVICE_TABLE(pci, inic_pci_tbl); pci 4488 drivers/ata/sata_mv.c MODULE_DEVICE_TABLE(pci, mv_pci_tbl); pci 582 drivers/ata/sata_nv.c MODULE_DEVICE_TABLE(pci, nv_pci_tbl); pci 1248 drivers/ata/sata_promise.c MODULE_DEVICE_TABLE(pci, pdc_ata_pci_tbl); pci 605 drivers/ata/sata_qstor.c MODULE_DEVICE_TABLE(pci, qs_ata_pci_tbl); pci 243 drivers/ata/sata_sil.c MODULE_DEVICE_TABLE(pci, sil_pci_tbl); pci 1362 drivers/ata/sata_sil24.c MODULE_DEVICE_TABLE(pci, sil24_pci_tbl); pci 96 drivers/ata/sata_sis.c MODULE_DEVICE_TABLE(pci, sis_pci_tbl); pci 524 drivers/ata/sata_svw.c MODULE_DEVICE_TABLE(pci, k2_sata_pci_tbl); pci 1491 drivers/ata/sata_sx4.c MODULE_DEVICE_TABLE(pci, pdc_sata_pci_tbl); pci 84 drivers/ata/sata_uli.c MODULE_DEVICE_TABLE(pci, uli_pci_tbl); pci 182 drivers/ata/sata_via.c MODULE_DEVICE_TABLE(pci, svia_pci_tbl); pci 423 drivers/ata/sata_vsc.c MODULE_DEVICE_TABLE(pci, vsc_sata_pci_tbl); pci 2367 drivers/atm/ambassador.c MODULE_DEVICE_TABLE(pci, amb_pci_tbl); pci 2302 drivers/atm/eni.c MODULE_DEVICE_TABLE(pci,eni_pci_tbl); pci 2025 drivers/atm/firestream.c MODULE_DEVICE_TABLE(pci, firestream_pci_tbl); pci 2689 drivers/atm/fore200e.c MODULE_DEVICE_TABLE(pci, fore200e_pca_tbl); pci 2857 drivers/atm/he.c MODULE_DEVICE_TABLE(pci, he_pci_tbl); pci 2861 drivers/atm/horizon.c MODULE_DEVICE_TABLE(pci, hrz_pci_tbl); pci 3732 drivers/atm/idt77252.c MODULE_DEVICE_TABLE(pci, idt77252_pci_tbl); pci 1190 drivers/atm/iphase.c wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data, pci 1311 drivers/atm/iphase.c dma_unmap_single(&iadev->pci->dev, iadev->rx_dle_q.write->sys_pkt_addr, pci 1435 drivers/atm/iphase.c dle_addr = dma_alloc_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, pci 1636 drivers/atm/iphase.c dma_free_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, iadev->rx_dle_q.start, pci 1707 drivers/atm/iphase.c dma_unmap_single(&iadev->pci->dev, dle->sys_pkt_addr, skb->len, pci 1922 drivers/atm/iphase.c dle_addr = dma_alloc_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, pci 1996 drivers/atm/iphase.c iadev->tx_buf[i].dma_addr = dma_map_single(&iadev->pci->dev, pci 2210 drivers/atm/iphase.c dma_unmap_single(&iadev->pci->dev, desc->dma_addr, pci 2216 drivers/atm/iphase.c dma_free_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, iadev->tx_dle_q.start, pci 2294 drivers/atm/iphase.c unsigned int pci[64]; pci 2298 drivers/atm/iphase.c if ((error = pci_read_config_dword(iadev->pci, pci 2299 drivers/atm/iphase.c i*4, &pci[i])) != PCIBIOS_SUCCESSFUL) pci 2303 drivers/atm/iphase.c if ((error = pci_write_config_dword(iadev->pci, pci 2304 drivers/atm/iphase.c i*4, pci[i])) != PCIBIOS_SUCCESSFUL) pci 2328 drivers/atm/iphase.c real_base = pci_resource_start (iadev->pci, 0); pci 2329 drivers/atm/iphase.c iadev->irq = iadev->pci->irq; pci 2331 drivers/atm/iphase.c error = pci_read_config_word(iadev->pci, PCI_COMMAND, &command); pci 2338 drivers/atm/iphase.c dev->number, iadev->pci->revision, real_base, iadev->irq);) pci 2342 drivers/atm/iphase.c iadev->pci_map_size = pci_resource_len(iadev->pci, 0); pci 2360 drivers/atm/iphase.c pci_set_master(iadev->pci); pci 2377 drivers/atm/iphase.c dev->number, iadev->pci->revision, base, iadev->irq);) pci 2488 drivers/atm/iphase.c dma_unmap_single(&iadev->pci->dev, desc->dma_addr, pci 2493 drivers/atm/iphase.c dma_free_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, iadev->tx_dle_q.start, pci 2500 drivers/atm/iphase.c dma_free_coherent(&iadev->pci->dev, DLE_TOTAL_SIZE, iadev->rx_dle_q.start, pci 2520 drivers/atm/iphase.c if ((error = pci_write_config_word(iadev->pci, pci 3018 drivers/atm/iphase.c wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data, pci 3189 drivers/atm/iphase.c iadev->pci = pdev; pci 3272 drivers/atm/iphase.c MODULE_DEVICE_TABLE(pci, ia_pci_tbl); pci 1023 drivers/atm/iphase.h struct pci_dev *pci; pci 279 drivers/atm/lanai.c struct pci_dev *pci; pci 329 drivers/atm/lanai.c size_t bytes, size_t minbytes, struct pci_dev *pci) pci 345 drivers/atm/lanai.c buf->start = dma_alloc_coherent(&pci->dev, pci 369 drivers/atm/lanai.c struct pci_dev *pci) pci 372 drivers/atm/lanai.c dma_free_coherent(&pci->dev, lanai_buf_size(buf), pci 822 drivers/atm/lanai.c lanai->pci); pci 829 drivers/atm/lanai.c lanai_buf_deallocate(&lanai->aal0buf, lanai->pci); pci 1100 drivers/atm/lanai.c result = pci_read_config_word(lanai->pci, PCI_STATUS, &s); pci 1111 drivers/atm/lanai.c result = pci_write_config_word(lanai->pci, PCI_STATUS, s); pci 1487 drivers/atm/lanai.c lanai_buf_allocate(buf, size, max_sdu + 32, lanai->pci); pci 1582 drivers/atm/lanai.c lanai->pci); pci 1601 drivers/atm/lanai.c lanai_buf_deallocate(&lanai->service, lanai->pci); pci 1933 drivers/atm/lanai.c struct pci_dev *pci = lanai->pci; pci 1936 drivers/atm/lanai.c if (pci_enable_device(pci) != 0) { pci 1941 drivers/atm/lanai.c pci_set_master(pci); pci 1942 drivers/atm/lanai.c if (dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(32)) != 0) { pci 1947 drivers/atm/lanai.c result = check_board_id_and_rev("PCI", pci->subsystem_device, NULL); pci 1951 drivers/atm/lanai.c result = pci_write_config_byte(pci, PCI_LATENCY_TIMER, 0); pci 2136 drivers/atm/lanai.c raw_base = lanai->pci->resource[0].start; pci 2197 drivers/atm/lanai.c if ((result = request_irq(lanai->pci->irq, lanai_int, IRQF_SHARED, pci 2218 drivers/atm/lanai.c "(%pMF)\n", lanai->number, (int) lanai->pci->revision, pci 2219 drivers/atm/lanai.c lanai->base, lanai->pci->irq, atmdev->esi); pci 2238 drivers/atm/lanai.c pci_disable_device(lanai->pci); pci 2257 drivers/atm/lanai.c free_irq(lanai->pci->irq, lanai); pci 2263 drivers/atm/lanai.c pci_disable_device(lanai->pci); pci 2285 drivers/atm/lanai.c lanai_buf_deallocate(&lvcc->rx.buf, lanai->pci); pci 2295 drivers/atm/lanai.c lanai_buf_deallocate(&lvcc->tx.buf, lanai->pci); pci 2453 drivers/atm/lanai.c lanai->board_rev, (int) lanai->pci->revision); pci 2551 drivers/atm/lanai.c static int lanai_init_one(struct pci_dev *pci, pci 2565 drivers/atm/lanai.c atmdev = atm_dev_register(DEV_LABEL, &pci->dev, &ops, -1, NULL); pci 2574 drivers/atm/lanai.c lanai->pci = pci; pci 2591 drivers/atm/lanai.c MODULE_DEVICE_TABLE(pci, lanai_pci_tbl); pci 262 drivers/atm/nicstar.c MODULE_DEVICE_TABLE(pci, nicstar_pci_tbl); pci 1473 drivers/atm/solos-pci.c MODULE_DEVICE_TABLE(pci,fpga_pci_tbl); pci 1654 drivers/atm/zatm.c MODULE_DEVICE_TABLE(pci, zatm_pci_tbl); pci 310 drivers/bcma/host_pci.c MODULE_DEVICE_TABLE(pci, bcma_pci_bridge_tbl); pci 4367 drivers/block/mtip32xx/mtip32xx.c MODULE_DEVICE_TABLE(pci, mtip_pci_tbl); pci 1072 drivers/block/rsxx/core.c MODULE_DEVICE_TABLE(pci, rsxx_pci_ids); pci 3133 drivers/block/skd_main.c MODULE_DEVICE_TABLE(pci, skd_pci_tbl); pci 411 drivers/block/sx8.c MODULE_DEVICE_TABLE(pci, carm_pci_tbl); pci 1051 drivers/block/umem.c MODULE_DEVICE_TABLE(pci, mm_pci_ids); pci 396 drivers/char/agp/ali-agp.c MODULE_DEVICE_TABLE(pci, agp_ali_pci_table); pci 540 drivers/char/agp/amd-k7-agp.c MODULE_DEVICE_TABLE(pci, agp_amdk7_pci_table); pci 734 drivers/char/agp/amd64-agp.c MODULE_DEVICE_TABLE(pci, agp_amd64_pci_table); pci 556 drivers/char/agp/ati-agp.c MODULE_DEVICE_TABLE(pci, agp_ati_pci_table); pci 440 drivers/char/agp/efficeon-agp.c MODULE_DEVICE_TABLE(pci, agp_efficeon_pci_table); pci 634 drivers/char/agp/i460-agp.c MODULE_DEVICE_TABLE(pci, agp_intel_i460_pci_table); pci 896 drivers/char/agp/intel-agp.c MODULE_DEVICE_TABLE(pci, agp_intel_pci_table); pci 449 drivers/char/agp/nvidia-agp.c MODULE_DEVICE_TABLE(pci, agp_nvidia_pci_table); pci 420 drivers/char/agp/sis-agp.c MODULE_DEVICE_TABLE(pci, agp_sis_pci_table); pci 546 drivers/char/agp/sworks-agp.c MODULE_DEVICE_TABLE(pci, agp_serverworks_pci_table); pci 697 drivers/char/agp/uninorth-agp.c MODULE_DEVICE_TABLE(pci, agp_uninorth_pci_table); pci 568 drivers/char/agp/via-agp.c MODULE_DEVICE_TABLE(pci, agp_via_pci_table); pci 78 drivers/char/applicom.c MODULE_DEVICE_TABLE(pci, applicom_pci_tbl); pci 53 drivers/char/hw_random/amd-rng.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 84 drivers/char/hw_random/cavium-rng-vf.c MODULE_DEVICE_TABLE(pci, cavium_rng_vf_id_table); pci 83 drivers/char/hw_random/cavium-rng.c MODULE_DEVICE_TABLE(pci, cavium_rng_pf_id_table); pci 52 drivers/char/hw_random/geode-rng.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 147 drivers/char/hw_random/intel-rng.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 150 drivers/char/ipmi/ipmi_si_pci.c MODULE_DEVICE_TABLE(pci, ipmi_pci_devices); pci 208 drivers/char/xillybus/xillybus_pcie.c MODULE_DEVICE_TABLE(pci, xillyids); pci 382 drivers/cpufreq/cpufreq-nforce2.c MODULE_DEVICE_TABLE(pci, nforce2_ids); pci 171 drivers/cpufreq/gx-suspmod.c MODULE_DEVICE_TABLE(pci, gx_chipset_tbl); pci 672 drivers/crypto/cavium/cpt/cptpf_main.c MODULE_DEVICE_TABLE(pci, cpt_id_table); pci 864 drivers/crypto/cavium/cpt/cptvf_main.c MODULE_DEVICE_TABLE(pci, cptvf_id_table); pci 46 drivers/crypto/cavium/nitrox/nitrox_main.c MODULE_DEVICE_TABLE(pci, nitrox_pci_tbl); pci 702 drivers/crypto/cavium/zip/zip_main.c MODULE_DEVICE_TABLE(pci, zip_id_table); pci 324 drivers/crypto/ccp/sp-pci.c MODULE_DEVICE_TABLE(pci, sp_pci_table); pci 439 drivers/crypto/geode-aes.c MODULE_DEVICE_TABLE(pci, geode_aes_tbl); pci 2630 drivers/crypto/hifn_795x.c MODULE_DEVICE_TABLE(pci, hifn_pci_tbl); pci 275 drivers/crypto/hisilicon/zip/zip_main.c MODULE_DEVICE_TABLE(pci, hisi_zip_dev_ids); pci 1784 drivers/crypto/inside-secure/safexcel.c MODULE_DEVICE_TABLE(pci, safexcel_pci_ids); pci 72 drivers/crypto/qat/qat_c3xxx/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 72 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 72 drivers/crypto/qat/qat_c62x/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 72 drivers/crypto/qat/qat_c62xvf/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 72 drivers/crypto/qat/qat_dh895xcc/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 72 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c MODULE_DEVICE_TABLE(pci, adf_pci_tbl); pci 216 drivers/dma/dw-edma/dw-edma-pcie.c MODULE_DEVICE_TABLE(pci, dw_edma_pcie_id_table); pci 131 drivers/dma/dw/pci.c MODULE_DEVICE_TABLE(pci, dw_pci_id_table); pci 130 drivers/dma/hsu/pci.c MODULE_DEVICE_TABLE(pci, hsu_pci_id_table); pci 62 drivers/dma/ioat/dca.c static inline u16 dcaid_from_pcidev(struct pci_dev *pci) pci 64 drivers/dma/ioat/dca.c return (pci->bus->number << 8) | pci->devfn; pci 115 drivers/dma/ioat/init.c MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); pci 1013 drivers/dma/pch_dma.c MODULE_DEVICE_TABLE(pci, pch_dma_id_table); pci 346 drivers/edac/amd76x_edac.c MODULE_DEVICE_TABLE(pci, amd76x_pci_tbl); pci 537 drivers/edac/amd8111_edac.c MODULE_DEVICE_TABLE(pci, amd8111_edac_dev_tbl); pci 560 drivers/edac/amd8111_edac.c MODULE_DEVICE_TABLE(pci, amd8111_edac_pci_tbl); pci 336 drivers/edac/amd8131_edac.c MODULE_DEVICE_TABLE(pci, amd8131_edac_pci_tbl); pci 1434 drivers/edac/e752x_edac.c MODULE_DEVICE_TABLE(pci, e752x_pci_tbl); pci 574 drivers/edac/e7xxx_edac.c MODULE_DEVICE_TABLE(pci, e7xxx_pci_tbl); pci 115 drivers/edac/edac_module.h extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci); pci 116 drivers/edac/edac_module.h extern void edac_pci_handle_pe(struct edac_pci_ctl_info *pci, const char *msg); pci 117 drivers/edac/edac_module.h extern void edac_pci_handle_npe(struct edac_pci_ctl_info *pci, pci 34 drivers/edac/edac_pci.c struct edac_pci_ctl_info *pci; pci 40 drivers/edac/edac_pci.c pci = edac_align_ptr(&p, sizeof(*pci), 1); pci 45 drivers/edac/edac_pci.c pci = kzalloc(size, GFP_KERNEL); pci 46 drivers/edac/edac_pci.c if (pci == NULL) pci 50 drivers/edac/edac_pci.c pvt = sz_pvt ? ((char *)pci) + ((unsigned long)pvt) : NULL; pci 52 drivers/edac/edac_pci.c pci->pvt_info = pvt; pci 53 drivers/edac/edac_pci.c pci->op_state = OP_ALLOC; pci 55 drivers/edac/edac_pci.c snprintf(pci->name, strlen(edac_pci_name) + 1, "%s", edac_pci_name); pci 57 drivers/edac/edac_pci.c return pci; pci 61 drivers/edac/edac_pci.c void edac_pci_free_ctl_info(struct edac_pci_ctl_info *pci) pci 65 drivers/edac/edac_pci.c edac_pci_remove_sysfs(pci); pci 77 drivers/edac/edac_pci.c struct edac_pci_ctl_info *pci; pci 83 drivers/edac/edac_pci.c pci = list_entry(item, struct edac_pci_ctl_info, link); pci 85 drivers/edac/edac_pci.c if (pci->dev == dev) pci 86 drivers/edac/edac_pci.c return pci; pci 100 drivers/edac/edac_pci.c static int add_edac_pci_to_global_list(struct edac_pci_ctl_info *pci) pci 110 drivers/edac/edac_pci.c rover = find_edac_pci_by_dev(pci->dev); pci 118 drivers/edac/edac_pci.c if (rover->pci_idx >= pci->pci_idx) { pci 119 drivers/edac/edac_pci.c if (unlikely(rover->pci_idx == pci->pci_idx)) pci 127 drivers/edac/edac_pci.c list_add_tail_rcu(&pci->link, insert_before); pci 150 drivers/edac/edac_pci.c static void del_edac_pci_from_global_list(struct edac_pci_ctl_info *pci) pci 152 drivers/edac/edac_pci.c list_del_rcu(&pci->link); pci 158 drivers/edac/edac_pci.c INIT_LIST_HEAD(&pci->link); pci 170 drivers/edac/edac_pci.c struct edac_pci_ctl_info *pci = to_edac_pci_ctl_work(d_work); pci 178 drivers/edac/edac_pci.c if (pci->op_state != OP_RUNNING_POLL) { pci 184 drivers/edac/edac_pci.c pci->edac_check(pci); pci 193 drivers/edac/edac_pci.c edac_queue_work(&pci->work, delay); pci 204 drivers/edac/edac_pci.c int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx) pci 208 drivers/edac/edac_pci.c pci->pci_idx = edac_idx; pci 209 drivers/edac/edac_pci.c pci->start_time = jiffies; pci 213 drivers/edac/edac_pci.c if (add_edac_pci_to_global_list(pci)) pci 216 drivers/edac/edac_pci.c if (edac_pci_create_sysfs(pci)) { pci 217 drivers/edac/edac_pci.c edac_pci_printk(pci, KERN_WARNING, pci 222 drivers/edac/edac_pci.c if (pci->edac_check) { pci 223 drivers/edac/edac_pci.c pci->op_state = OP_RUNNING_POLL; pci 225 drivers/edac/edac_pci.c INIT_DELAYED_WORK(&pci->work, edac_pci_workq_function); pci 226 drivers/edac/edac_pci.c edac_queue_work(&pci->work, msecs_to_jiffies(edac_pci_get_poll_msec())); pci 229 drivers/edac/edac_pci.c pci->op_state = OP_RUNNING_INTERRUPT; pci 232 drivers/edac/edac_pci.c edac_pci_printk(pci, KERN_INFO, pci 234 drivers/edac/edac_pci.c pci->mod_name, pci->ctl_name, pci->dev_name, pci 235 drivers/edac/edac_pci.c edac_op_state_to_string(pci->op_state)); pci 242 drivers/edac/edac_pci.c del_edac_pci_from_global_list(pci); pci 251 drivers/edac/edac_pci.c struct edac_pci_ctl_info *pci; pci 260 drivers/edac/edac_pci.c pci = find_edac_pci_by_dev(dev); pci 261 drivers/edac/edac_pci.c if (pci == NULL) { pci 266 drivers/edac/edac_pci.c pci->op_state = OP_OFFLINE; pci 268 drivers/edac/edac_pci.c del_edac_pci_from_global_list(pci); pci 272 drivers/edac/edac_pci.c if (pci->edac_check) pci 273 drivers/edac/edac_pci.c edac_stop_work(&pci->work); pci 277 drivers/edac/edac_pci.c pci->pci_idx, pci->mod_name, pci->ctl_name, edac_dev_name(pci)); pci 279 drivers/edac/edac_pci.c return pci; pci 288 drivers/edac/edac_pci.c static void edac_pci_generic_check(struct edac_pci_ctl_info *pci) pci 305 drivers/edac/edac_pci.c struct edac_pci_ctl_info *pci; pci 308 drivers/edac/edac_pci.c pci = edac_pci_alloc_ctl_info(sizeof(*pdata), EDAC_PCI_GENCTL_NAME); pci 309 drivers/edac/edac_pci.c if (!pci) pci 312 drivers/edac/edac_pci.c pdata = pci->pvt_info; pci 313 drivers/edac/edac_pci.c pci->dev = dev; pci 314 drivers/edac/edac_pci.c dev_set_drvdata(pci->dev, pci); pci 315 drivers/edac/edac_pci.c pci->dev_name = pci_name(to_pci_dev(dev)); pci 317 drivers/edac/edac_pci.c pci->mod_name = mod_name; pci 318 drivers/edac/edac_pci.c pci->ctl_name = EDAC_PCI_GENCTL_NAME; pci 320 drivers/edac/edac_pci.c pci->edac_check = edac_pci_generic_check; pci 324 drivers/edac/edac_pci.c if (edac_pci_add_device(pci, pdata->edac_idx) > 0) { pci 326 drivers/edac/edac_pci.c edac_pci_free_ctl_info(pci); pci 330 drivers/edac/edac_pci.c return pci; pci 334 drivers/edac/edac_pci.c void edac_pci_release_generic_ctl(struct edac_pci_ctl_info *pci) pci 336 drivers/edac/edac_pci.c edac_dbg(0, "pci mod=%s\n", pci->mod_name); pci 338 drivers/edac/edac_pci.c edac_pci_del_device(pci->dev); pci 339 drivers/edac/edac_pci.c edac_pci_free_ctl_info(pci); pci 187 drivers/edac/edac_pci.h extern void edac_pci_free_ctl_info(struct edac_pci_ctl_info *pci); pci 210 drivers/edac/edac_pci.h extern int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx); pci 253 drivers/edac/edac_pci.h extern void edac_pci_release_generic_ctl(struct edac_pci_ctl_info *pci); pci 261 drivers/edac/edac_pci.h extern int edac_pci_create_sysfs(struct edac_pci_ctl_info *pci); pci 269 drivers/edac/edac_pci.h extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci); pci 59 drivers/edac/edac_pci_sysfs.c static ssize_t instance_pe_count_show(struct edac_pci_ctl_info *pci, char *data) pci 61 drivers/edac/edac_pci_sysfs.c return sprintf(data, "%u\n", atomic_read(&pci->counters.pe_count)); pci 64 drivers/edac/edac_pci_sysfs.c static ssize_t instance_npe_count_show(struct edac_pci_ctl_info *pci, pci 67 drivers/edac/edac_pci_sysfs.c return sprintf(data, "%u\n", atomic_read(&pci->counters.npe_count)); pci 76 drivers/edac/edac_pci_sysfs.c struct edac_pci_ctl_info *pci; pci 81 drivers/edac/edac_pci_sysfs.c pci = to_instance(kobj); pci 86 drivers/edac/edac_pci_sysfs.c kfree(pci); /* Free the control struct */ pci 100 drivers/edac/edac_pci_sysfs.c struct edac_pci_ctl_info *pci = to_instance(kobj); pci 104 drivers/edac/edac_pci_sysfs.c return instance_attr->show(pci, buffer); pci 113 drivers/edac/edac_pci_sysfs.c struct edac_pci_ctl_info *pci = to_instance(kobj); pci 117 drivers/edac/edac_pci_sysfs.c return instance_attr->store(pci, buffer, count); pci 156 drivers/edac/edac_pci_sysfs.c static int edac_pci_create_instance_kobj(struct edac_pci_ctl_info *pci, int idx) pci 174 drivers/edac/edac_pci_sysfs.c err = kobject_init_and_add(&pci->kobj, &ktype_pci_instance, pci 182 drivers/edac/edac_pci_sysfs.c kobject_uevent(&pci->kobj, KOBJ_ADD); pci 198 drivers/edac/edac_pci_sysfs.c struct edac_pci_ctl_info *pci) pci 206 drivers/edac/edac_pci_sysfs.c kobject_put(&pci->kobj); pci 421 drivers/edac/edac_pci_sysfs.c int edac_pci_create_sysfs(struct edac_pci_ctl_info *pci) pci 424 drivers/edac/edac_pci_sysfs.c struct kobject *edac_kobj = &pci->kobj; pci 426 drivers/edac/edac_pci_sysfs.c edac_dbg(0, "idx=%d\n", pci->pci_idx); pci 434 drivers/edac/edac_pci_sysfs.c err = edac_pci_create_instance_kobj(pci, pci->pci_idx); pci 438 drivers/edac/edac_pci_sysfs.c err = sysfs_create_link(edac_kobj, &pci->dev->kobj, EDAC_PCI_SYMLINK); pci 448 drivers/edac/edac_pci_sysfs.c edac_pci_unregister_sysfs_instance_kobj(pci); pci 456 drivers/edac/edac_pci_sysfs.c void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci) pci 458 drivers/edac/edac_pci_sysfs.c edac_dbg(0, "index=%d\n", pci->pci_idx); pci 461 drivers/edac/edac_pci_sysfs.c sysfs_remove_link(&pci->kobj, EDAC_PCI_SYMLINK); pci 464 drivers/edac/edac_pci_sysfs.c edac_pci_unregister_sysfs_instance_kobj(pci); pci 685 drivers/edac/edac_pci_sysfs.c void edac_pci_handle_pe(struct edac_pci_ctl_info *pci, const char *msg) pci 689 drivers/edac/edac_pci_sysfs.c atomic_inc(&pci->counters.pe_count); pci 692 drivers/edac/edac_pci_sysfs.c edac_pci_printk(pci, KERN_WARNING, pci 694 drivers/edac/edac_pci_sysfs.c pci->ctl_name, pci->pci_idx, msg); pci 710 drivers/edac/edac_pci_sysfs.c void edac_pci_handle_npe(struct edac_pci_ctl_info *pci, const char *msg) pci 714 drivers/edac/edac_pci_sysfs.c atomic_inc(&pci->counters.npe_count); pci 717 drivers/edac/edac_pci_sysfs.c edac_pci_printk(pci, KERN_WARNING, pci 719 drivers/edac/edac_pci_sysfs.c pci->ctl_name, pci->pci_idx, msg); pci 496 drivers/edac/i3000_edac.c MODULE_DEVICE_TABLE(pci, i3000_pci_tbl); pci 477 drivers/edac/i3200_edac.c MODULE_DEVICE_TABLE(pci, i3200_pci_tbl); pci 1532 drivers/edac/i5000_edac.c MODULE_DEVICE_TABLE(pci, i5000_pci_tbl); pci 1212 drivers/edac/i5100_edac.c MODULE_DEVICE_TABLE(pci, i5100_pci_tbl); pci 1426 drivers/edac/i5400_edac.c MODULE_DEVICE_TABLE(pci, i5400_pci_tbl); pci 1167 drivers/edac/i7300_edac.c MODULE_DEVICE_TABLE(pci, i7300_pci_tbl); pci 2336 drivers/edac/i7core_edac.c MODULE_DEVICE_TABLE(pci, i7core_pci_tbl); pci 390 drivers/edac/i82443bxgx_edac.c MODULE_DEVICE_TABLE(pci, i82443bxgx_pci_tbl); pci 298 drivers/edac/i82860_edac.c MODULE_DEVICE_TABLE(pci, i82860_pci_tbl); pci 529 drivers/edac/i82875p_edac.c MODULE_DEVICE_TABLE(pci, i82875p_pci_tbl); pci 636 drivers/edac/i82975x_edac.c MODULE_DEVICE_TABLE(pci, i82975x_pci_tbl); pci 588 drivers/edac/ie31200_edac.c MODULE_DEVICE_TABLE(pci, ie31200_pci_tbl); pci 49 drivers/edac/mpc85xx_edac.c static void mpc85xx_pci_check(struct edac_pci_ctl_info *pci) pci 51 drivers/edac/mpc85xx_edac.c struct mpc85xx_pci_pdata *pdata = pci->pvt_info; pci 80 drivers/edac/mpc85xx_edac.c edac_pci_handle_pe(pci, pci->ctl_name); pci 83 drivers/edac/mpc85xx_edac.c edac_pci_handle_npe(pci, pci->ctl_name); pci 86 drivers/edac/mpc85xx_edac.c static void mpc85xx_pcie_check(struct edac_pci_ctl_info *pci) pci 88 drivers/edac/mpc85xx_edac.c struct mpc85xx_pci_pdata *pdata = pci->pvt_info; pci 127 drivers/edac/mpc85xx_edac.c struct edac_pci_ctl_info *pci = dev_id; pci 128 drivers/edac/mpc85xx_edac.c struct mpc85xx_pci_pdata *pdata = pci->pvt_info; pci 137 drivers/edac/mpc85xx_edac.c mpc85xx_pcie_check(pci); pci 139 drivers/edac/mpc85xx_edac.c mpc85xx_pci_check(pci); pci 146 drivers/edac/mpc85xx_edac.c struct edac_pci_ctl_info *pci; pci 156 drivers/edac/mpc85xx_edac.c pci = edac_pci_alloc_ctl_info(sizeof(*pdata), "mpc85xx_pci_err"); pci 157 drivers/edac/mpc85xx_edac.c if (!pci) pci 170 drivers/edac/mpc85xx_edac.c pdata = pci->pvt_info; pci 184 drivers/edac/mpc85xx_edac.c dev_set_drvdata(&op->dev, pci); pci 185 drivers/edac/mpc85xx_edac.c pci->dev = &op->dev; pci 186 drivers/edac/mpc85xx_edac.c pci->mod_name = EDAC_MOD_STR; pci 187 drivers/edac/mpc85xx_edac.c pci->ctl_name = pdata->name; pci 188 drivers/edac/mpc85xx_edac.c pci->dev_name = dev_name(&op->dev); pci 192 drivers/edac/mpc85xx_edac.c pci->edac_check = mpc85xx_pcie_check; pci 194 drivers/edac/mpc85xx_edac.c pci->edac_check = mpc85xx_pci_check; pci 249 drivers/edac/mpc85xx_edac.c if (edac_pci_add_device(pci, pdata->edac_idx) > 0) { pci 259 drivers/edac/mpc85xx_edac.c "[EDAC] PCI err", pci); pci 297 drivers/edac/mpc85xx_edac.c edac_pci_free_ctl_info(pci); pci 304 drivers/edac/mpc85xx_edac.c struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev); pci 305 drivers/edac/mpc85xx_edac.c struct mpc85xx_pci_pdata *pdata = pci->pvt_info; pci 313 drivers/edac/mpc85xx_edac.c edac_pci_free_ctl_info(pci); pci 30 drivers/edac/mv64x60_edac.c static void mv64x60_pci_check(struct edac_pci_ctl_info *pci) pci 32 drivers/edac/mv64x60_edac.c struct mv64x60_pci_pdata *pdata = pci->pvt_info; pci 52 drivers/edac/mv64x60_edac.c edac_pci_handle_pe(pci, pci->ctl_name); pci 55 drivers/edac/mv64x60_edac.c edac_pci_handle_npe(pci, pci->ctl_name); pci 60 drivers/edac/mv64x60_edac.c struct edac_pci_ctl_info *pci = dev_id; pci 61 drivers/edac/mv64x60_edac.c struct mv64x60_pci_pdata *pdata = pci->pvt_info; pci 68 drivers/edac/mv64x60_edac.c mv64x60_pci_check(pci); pci 104 drivers/edac/mv64x60_edac.c struct edac_pci_ctl_info *pci; pci 112 drivers/edac/mv64x60_edac.c pci = edac_pci_alloc_ctl_info(sizeof(*pdata), "mv64x60_pci_err"); pci 113 drivers/edac/mv64x60_edac.c if (!pci) pci 116 drivers/edac/mv64x60_edac.c pdata = pci->pvt_info; pci 120 drivers/edac/mv64x60_edac.c platform_set_drvdata(pdev, pci); pci 121 drivers/edac/mv64x60_edac.c pci->dev = &pdev->dev; pci 122 drivers/edac/mv64x60_edac.c pci->dev_name = dev_name(&pdev->dev); pci 123 drivers/edac/mv64x60_edac.c pci->mod_name = EDAC_MOD_STR; pci 124 drivers/edac/mv64x60_edac.c pci->ctl_name = pdata->name; pci 127 drivers/edac/mv64x60_edac.c pci->edac_check = mv64x60_pci_check; pci 169 drivers/edac/mv64x60_edac.c if (edac_pci_add_device(pci, pdata->edac_idx) > 0) { pci 181 drivers/edac/mv64x60_edac.c pci); pci 202 drivers/edac/mv64x60_edac.c edac_pci_free_ctl_info(pci); pci 209 drivers/edac/mv64x60_edac.c struct edac_pci_ctl_info *pci = platform_get_drvdata(pdev); pci 215 drivers/edac/mv64x60_edac.c edac_pci_free_ctl_info(pci); pci 23 drivers/edac/octeon_edac-pci.c static void octeon_pci_poll(struct edac_pci_ctl_info *pci) pci 29 drivers/edac/octeon_edac-pci.c edac_pci_handle_pe(pci, pci->ctl_name); pci 34 drivers/edac/octeon_edac-pci.c edac_pci_handle_npe(pci, "Signaled System Error"); pci 39 drivers/edac/octeon_edac-pci.c edac_pci_handle_npe(pci, "Received Master Abort"); pci 44 drivers/edac/octeon_edac-pci.c edac_pci_handle_npe(pci, "Received Target Abort"); pci 49 drivers/edac/octeon_edac-pci.c edac_pci_handle_npe(pci, "Signaled Target Abort"); pci 54 drivers/edac/octeon_edac-pci.c edac_pci_handle_npe(pci, "Master Data Parity Error"); pci 62 drivers/edac/octeon_edac-pci.c struct edac_pci_ctl_info *pci; pci 65 drivers/edac/octeon_edac-pci.c pci = edac_pci_alloc_ctl_info(0, "octeon_pci_err"); pci 66 drivers/edac/octeon_edac-pci.c if (!pci) pci 69 drivers/edac/octeon_edac-pci.c pci->dev = &pdev->dev; pci 70 drivers/edac/octeon_edac-pci.c platform_set_drvdata(pdev, pci); pci 71 drivers/edac/octeon_edac-pci.c pci->dev_name = dev_name(&pdev->dev); pci 73 drivers/edac/octeon_edac-pci.c pci->mod_name = "octeon-pci"; pci 74 drivers/edac/octeon_edac-pci.c pci->ctl_name = "octeon_pci_err"; pci 75 drivers/edac/octeon_edac-pci.c pci->edac_check = octeon_pci_poll; pci 77 drivers/edac/octeon_edac-pci.c if (edac_pci_add_device(pci, 0) > 0) { pci 85 drivers/edac/octeon_edac-pci.c edac_pci_free_ctl_info(pci); pci 92 drivers/edac/octeon_edac-pci.c struct edac_pci_ctl_info *pci = platform_get_drvdata(pdev); pci 95 drivers/edac/octeon_edac-pci.c edac_pci_free_ctl_info(pci); pci 273 drivers/edac/pasemi_edac.c MODULE_DEVICE_TABLE(pci, pasemi_edac_pci_tbl); pci 393 drivers/edac/r82600_edac.c MODULE_DEVICE_TABLE(pci, r82600_pci_tbl); pci 814 drivers/edac/thunderx_edac.c MODULE_DEVICE_TABLE(pci, thunderx_lmc_pci_tbl); pci 1492 drivers/edac/thunderx_edac.c MODULE_DEVICE_TABLE(pci, thunderx_ocx_pci_tbl); pci 2104 drivers/edac/thunderx_edac.c MODULE_DEVICE_TABLE(pci, thunderx_l2c_pci_tbl); pci 454 drivers/edac/x38_edac.c MODULE_DEVICE_TABLE(pci, x38_pci_tbl); pci 694 drivers/firewire/nosy.c MODULE_DEVICE_TABLE(pci, pci_table); pci 3852 drivers/firewire/ohci.c MODULE_DEVICE_TABLE(pci, pci_table); pci 149 drivers/firmware/edd.c info->params.interface_path.pci.bus, pci 150 drivers/firmware/edd.c info->params.interface_path.pci.slot, pci 151 drivers/firmware/edd.c info->params.interface_path.pci.function, pci 152 drivers/firmware/edd.c info->params.interface_path.pci.channel); pci 664 drivers/firmware/edd.c info->params.interface_path.pci.bus, pci 665 drivers/firmware/edd.c PCI_DEVFN(info->params.interface_path.pci.slot, pci 666 drivers/firmware/edd.c info->params.interface_path.pci.function)); pci 82 drivers/firmware/efi/dev-path-parser.c devfn = PCI_DEVFN(node->pci.dev, node->pci.fn); pci 567 drivers/fpga/altera-cvp.c MODULE_DEVICE_TABLE(pci, altera_cvp_id_tbl); pci 60 drivers/fpga/dfl-pci.c MODULE_DEVICE_TABLE(pci, cci_pcie_id_tbl); pci 68 drivers/gpio/gpio-amd8111.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 296 drivers/gpio/gpio-bt8xx.c MODULE_DEVICE_TABLE(pci, bt8xxgpio_pci_tbl); pci 487 drivers/gpio/gpio-merrifield.c MODULE_DEVICE_TABLE(pci, mrfld_gpio_ids); pci 583 drivers/gpio/gpio-ml-ioh.c MODULE_DEVICE_TABLE(pci, ioh_gpio_pcidev_id); pci 445 drivers/gpio/gpio-pch.c MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id); pci 379 drivers/gpio/gpio-pci-idio-16.c MODULE_DEVICE_TABLE(pci, idio_16_pci_dev_id); pci 552 drivers/gpio/gpio-pcie-idio-24.c MODULE_DEVICE_TABLE(pci, idio_24_pci_dev_id); pci 609 drivers/gpio/gpio-thunderx.c MODULE_DEVICE_TABLE(pci, thunderx_gpio_id_table); pci 1031 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 67 drivers/gpu/drm/ast/ast_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 208 drivers/gpu/drm/bochs/bochs_drv.c MODULE_DEVICE_TABLE(pci, bochs_pci_tbl); pci 656 drivers/gpu/drm/cirrus/cirrus.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 99 drivers/gpu/drm/gma500/psb_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 397 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c MODULE_DEVICE_TABLE(pci, hibmc_pci_table); pci 876 drivers/gpu/drm/i915/i915_pci.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 45 drivers/gpu/drm/mgag200/mgag200_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 150 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_pci *pci; pci 186 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct nvkm_device_pci *(*pci)(struct nvkm_device *); pci 223 drivers/gpu/drm/nouveau/include/nvkm/core/device.h int (*pci )(struct nvkm_device *, int idx, struct nvkm_pci **); pci 1364 drivers/gpu/drm/nouveau/nouveau_drm.c MODULE_DEVICE_TABLE(pci, nouveau_drm_pci_table); pci 195 drivers/gpu/drm/nouveau/nouveau_ttm.c struct nvkm_pci *pci = device->pci; pci 225 drivers/gpu/drm/nouveau/nouveau_ttm.c if (pci && pci->agp.bridge) { pci 226 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.bridge = pci->agp.bridge; pci 227 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.base = pci->agp.base; pci 228 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.size = pci->agp.size; pci 229 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->agp.cma = pci->agp.cma; pci 89 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 110 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 132 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 152 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 174 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 196 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 218 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 240 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 262 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 284 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 306 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 328 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 350 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 372 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 394 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 417 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 440 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 462 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv04_pci_new, pci 485 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 511 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 537 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 563 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 589 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 615 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 641 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv46_pci_new, pci 667 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 693 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 719 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 745 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv40_pci_new, pci 771 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv4c_pci_new, pci 797 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv4c_pci_new, pci 826 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv46_pci_new, pci 852 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv4c_pci_new, pci 878 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv4c_pci_new, pci 904 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = nv4c_pci_new, pci 933 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g84_pci_new, pci 965 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g84_pci_new, pci 997 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g92_pci_new, pci 1029 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1061 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1093 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1125 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1157 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1191 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1224 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1257 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1289 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1321 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = g94_pci_new, pci 1357 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf100_pci_new, pci 1394 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf106_pci_new, pci 1430 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf106_pci_new, pci 1466 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf100_pci_new, pci 1503 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf100_pci_new, pci 1540 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf100_pci_new, pci 1577 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf106_pci_new, pci 1613 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf106_pci_new, pci 1648 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gf106_pci_new, pci 1684 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1723 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1762 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1826 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1864 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1902 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1940 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 1978 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 2012 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 2045 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 2080 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 2115 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gk104_pci_new, pci 2176 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2212 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2248 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2284 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2320 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2356 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2415 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2456 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2491 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2526 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2561 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2596 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c .pci = gp100_pci_new, pci 2659 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(PCI , device->pci , &device->pci->subdev); pci 3165 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c _(NVKM_SUBDEV_PCI , pci); pci 1611 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c .pci = nvkm_device_pci, pci 1683 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c if (pdev->device.mmu && !pdev->device.pci->agp.bridge) pci 56 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c struct pci_dev *pdev = device->func->pci(device)->pdev; pci 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c if (device->func->pci) pci 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c pdev = device->func->pci(device)->pdev; pci 99 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c if (device->func->pci) pci 100 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c pdev = device->func->pci(device)->pdev; pci 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.c nvkm_pci_rom_shadow(device->pci, true); pci 53 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowrom.c nvkm_pci_rom_shadow(device->pci, false); pci 269 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_pci *pci = subdev->device->pci; pci 281 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c nvkm_pcie_set_link(pci, pstate->pcie_speed, pstate->pcie_width); pci 44 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_agp_fini(struct nvkm_pci *pci) pci 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (pci->agp.acquired) { pci 47 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_backend_release(pci->agp.bridge); pci 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.acquired = false; pci 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_agp_preinit(struct nvkm_pci *pci) pci 58 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c struct nvkm_device *device = pci->subdev.device; pci 59 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c u32 mode = nvkm_pci_rd32(pci, 0x004c); pci 66 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) { pci 67 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW; pci 68 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_enable(pci->agp.bridge, mode); pci 72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c save[0] = nvkm_pci_rd32(pci, 0x0004); pci 73 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_pci_wr32(pci, 0x0004, save[0] & ~0x00000004); pci 74 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_pci_wr32(pci, 0x004c, 0x00000000); pci 81 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_pci_wr32(pci, 0x0004, save[0]); pci 85 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_agp_init(struct nvkm_pci *pci) pci 87 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (!agp_backend_acquire(pci->pdev)) { pci 88 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_error(&pci->subdev, "failed to acquire agp\n"); pci 92 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_enable(pci->agp.bridge, pci->agp.mode); pci 93 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.acquired = true; pci 98 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_agp_dtor(struct nvkm_pci *pci) pci 100 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c arch_phys_wc_del(pci->agp.mtrr); pci 104 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c nvkm_agp_ctor(struct nvkm_pci *pci) pci 107 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c struct nvkm_subdev *subdev = &pci->subdev; pci 125 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (!(pci->agp.bridge = agp_backend_acquire(pci->pdev))) { pci 129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_copy_info(pci->agp.bridge, &info); pci 130 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c agp_backend_release(pci->agp.bridge); pci 132 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode = info.mode; pci 133 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.base = info.aper_base; pci 134 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.size = info.aper_size * 1024 * 1024; pci 135 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.cma = info.cant_use_aperture; pci 136 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mtrr = -1; pci 143 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->pdev->vendor == quirk->chip_vendor) && pci 145 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->pdev->device == quirk->chip_device)) { pci 157 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c if (pci->agp.mode & 0x00000008) pci 159 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode &= ~0x00000007; pci 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode |= (mode & 0x7); pci 163 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.bridge = NULL; pci 171 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mode &= ~PCI_AGP_COMMAND_FW; pci 173 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.c pci->agp.mtrr = arch_phys_wc_add(pci->agp.base, pci->agp.size); pci 14 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h static inline void nvkm_agp_ctor(struct nvkm_pci *pci) {} pci 15 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h static inline void nvkm_agp_dtor(struct nvkm_pci *pci) {} pci 16 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h static inline void nvkm_agp_preinit(struct nvkm_pci *pci) {} pci 17 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h static inline int nvkm_agp_init(struct nvkm_pci *pci) { return -ENOSYS; } pci 18 drivers/gpu/drm/nouveau/nvkm/subdev/pci/agp.h static inline void nvkm_agp_fini(struct nvkm_pci *pci) {} pci 32 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) pci 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c return pci->func->rd32(pci, addr); pci 38 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) pci 40 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr08(pci, addr, data); pci 44 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) pci 46 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr32(pci, addr, data); pci 50 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_mask(struct nvkm_pci *pci, u16 addr, u32 mask, u32 value) pci 52 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c u32 data = pci->func->rd32(pci, addr); pci 53 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->wr32(pci, addr, (data & ~mask) | value); pci 58 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_rom_shadow(struct nvkm_pci *pci, bool shadow) pci 60 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c u32 data = nvkm_pci_rd32(pci, 0x0050); pci 65 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pci_wr32(pci, 0x0050, data); pci 71 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = arg; pci 72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_device *device = pci->subdev.device; pci 75 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->irq < 0) pci 79 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi) pci 80 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->msi_rearm(pci); pci 89 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = nvkm_pci(subdev); pci 91 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) pci 92 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_agp_fini(pci); pci 100 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = nvkm_pci(subdev); pci 101 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) pci 102 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_agp_preinit(pci); pci 109 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = nvkm_pci(subdev); pci 110 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct pci_dev *pdev = pci->pdev; pci 113 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci_is_pcie(pci->pdev)) { pci 114 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c ret = nvkm_pcie_oneinit(pci); pci 119 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c ret = request_irq(pdev->irq, nvkm_pci_intr, IRQF_SHARED, "nvkm", pci); pci 123 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->irq = pdev->irq; pci 130 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = nvkm_pci(subdev); pci 133 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->agp.bridge) { pci 134 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c ret = nvkm_agp_init(pci); pci 137 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c } else if (pci_is_pcie(pci->pdev)) { pci 138 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_pcie_init(pci); pci 141 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->func->init) pci 142 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->init(pci); pci 147 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi) pci 148 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func->msi_rearm(pci); pci 156 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci = nvkm_pci(subdev); pci 158 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_agp_dtor(pci); pci 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->irq >= 0) { pci 164 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c int irq = pci->irq; pci 165 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->irq = -1; pci 166 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c free_irq(irq, pci); pci 169 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi) pci 170 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci_disable_msi(pci->pdev); pci 188 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c struct nvkm_pci *pci; pci 190 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (!(pci = *ppci = kzalloc(sizeof(**ppci), GFP_KERNEL))) pci 192 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_subdev_ctor(&nvkm_pci_func, device, index, &pci->subdev); pci 193 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->func = func; pci 194 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->pdev = device->func->pci(device)->pdev; pci 195 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->irq = -1; pci 196 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->pcie.speed = -1; pci 197 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->pcie.width = -1; pci 200 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_agp_ctor(pci); pci 202 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c switch (pci->pdev->device & 0x0ff0) { pci 213 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->msi = true; pci 219 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->msi = false; pci 222 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->msi = nvkm_boolopt(device->cfgopt, "NvMSI", pci->msi); pci 223 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi && func->msi_rearm) { pci 224 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->msi = pci_enable_msi(pci->pdev) == 0; pci 225 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c if (pci->msi) pci 226 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c nvkm_debug(&pci->subdev, "MSI enabled\n"); pci 228 drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c pci->msi = false; pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_version_supported(struct nvkm_pci *pci) pci 36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_version(struct nvkm_pci *pci) pci 38 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c struct nvkm_device *device = pci->subdev.device; pci 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_version(struct nvkm_pci *pci, u8 ver) pci 45 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c struct nvkm_device *device = pci->subdev.device; pci 50 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) pci 52 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c struct nvkm_device *device = pci->subdev.device; pci 57 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_cur_speed(struct nvkm_pci *pci) pci 59 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c u32 reg_v = nvkm_pci_rd32(pci, 0x88) & 0x30000; pci 72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_max_speed(struct nvkm_pci *pci) pci 74 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c u32 reg_v = nvkm_pci_rd32(pci, 0x460) & 0x3300; pci 81 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) pci 90 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c nvkm_pci_mask(pci, 0x460, 0x30, mask_value); pci 91 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c nvkm_pci_mask(pci, 0x460, 0x1, 0x1); pci 95 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) pci 97 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_cap_speed(pci, speed == NVKM_PCIE_SPEED_5_0); pci 98 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_link_speed(pci, speed); pci 103 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pci_init(struct nvkm_pci *pci) pci 106 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c if (!pci_is_pcie(pci->pdev)) pci 119 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c if (nvkm_pci_rd32(pci, 0x007c) & 0x00000020) pci 120 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c nvkm_pci_mask(pci, 0x0080, 0x00000100, 0x00000100); pci 122 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c nvkm_pci_mask(pci, 0x041c, 0x00000060, 0x00000000); pci 126 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_init(struct nvkm_pci *pci) pci 128 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c bool full_speed = g84_pcie_cur_speed(pci) == NVKM_PCIE_SPEED_5_0; pci 129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g84.c g84_pcie_set_cap_speed(pci, full_speed); pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c g92_pcie_version_supported(struct nvkm_pci *pci) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c if ((nvkm_pci_rd32(pci, 0x460) & 0x200) == 0x200) pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pci_msi_rearm(struct nvkm_pci *pci) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c nvkm_pci_wr08(pci, 0x0704, 0xff); pci 33 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_version(struct nvkm_pci *pci, u8 ver) pci 35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c struct nvkm_device *device = pci->subdev.device; pci 40 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_version(struct nvkm_pci *pci) pci 42 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c struct nvkm_device *device = pci->subdev.device; pci 47 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_cap_speed(struct nvkm_pci *pci, bool full_speed) pci 49 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c struct nvkm_device *device = pci->subdev.device; pci 54 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_cap_speed(struct nvkm_pci *pci) pci 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c struct nvkm_device *device = pci->subdev.device; pci 64 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_init(struct nvkm_pci *pci) pci 66 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c bool full_speed = g84_pcie_cur_speed(pci) == NVKM_PCIE_SPEED_5_0; pci 67 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_cap_speed(pci, full_speed); pci 72 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) pci 74 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c gf100_pcie_set_cap_speed(pci, speed == NVKM_PCIE_SPEED_5_0); pci 75 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gf100.c g84_pcie_set_link_speed(pci, speed); pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_version_supported(struct nvkm_pci *pci) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; pci 33 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) pci 35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c struct nvkm_device *device = pci->subdev.device; pci 39 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gf100_pcie_set_cap_speed(pci, false); pci 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gf100_pcie_set_cap_speed(pci, true); pci 47 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gf100_pcie_set_cap_speed(pci, true); pci 54 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_cap_speed(struct nvkm_pci *pci) pci 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c int speed = gf100_pcie_cap_speed(pci); pci 62 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; pci 78 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) pci 92 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c nvkm_pci_mask(pci, 0xa8, 0x3, reg_v); pci 96 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_lnkctl_speed(struct nvkm_pci *pci) pci 98 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c u8 reg_v = nvkm_pci_rd32(pci, 0xa8) & 0x3; pci 112 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_max_speed(struct nvkm_pci *pci) pci 114 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000; pci 127 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) pci 129 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c struct nvkm_device *device = pci->subdev.device; pci 150 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_init(struct nvkm_pci * pci) pci 153 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c struct nvkm_subdev *subdev = &pci->subdev; pci 155 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c if (gf100_pcie_version(pci) < 2) pci 158 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c lnkctl_speed = gk104_pcie_lnkctl_speed(pci); pci 159 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c max_speed = gk104_pcie_max_speed(pci); pci 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c cap_speed = gk104_pcie_cap_speed(pci); pci 164 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_cap_speed(pci, max_speed); pci 165 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c cap_speed = gk104_pcie_cap_speed(pci); pci 172 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_lnkctl_speed(pci, max_speed); pci 173 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c lnkctl_speed = gk104_pcie_lnkctl_speed(pci); pci 182 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) pci 184 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c struct nvkm_subdev *subdev = &pci->subdev; pci 185 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c enum nvkm_pcie_speed lnk_ctl_speed = gk104_pcie_lnkctl_speed(pci); pci 186 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c enum nvkm_pcie_speed lnk_cap_speed = gk104_pcie_cap_speed(pci); pci 200 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gk104.c gk104_pcie_set_link_speed(pci, speed); pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gp100.c gp100_pci_msi_rearm(struct nvkm_pci *pci) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/gp100.c nvkm_pci_wr32(pci, 0x0704, 0x00000000); pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c nv04_pci_rd32(struct nvkm_pci *pci, u16 addr) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c struct nvkm_device *device = pci->subdev.device; pci 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c nv04_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) pci 36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c struct nvkm_device *device = pci->subdev.device; pci 41 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c nv04_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) pci 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv04.c struct nvkm_device *device = pci->subdev.device; pci 27 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nv40_pci_rd32(struct nvkm_pci *pci, u16 addr) pci 29 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c struct nvkm_device *device = pci->subdev.device; pci 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nv40_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) pci 36 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c struct nvkm_device *device = pci->subdev.device; pci 41 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nv40_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) pci 43 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c struct nvkm_device *device = pci->subdev.device; pci 48 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nv40_pci_msi_rearm(struct nvkm_pci *pci) pci 50 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv40.c nvkm_pci_wr08(pci, 0x0068, 0xff); pci 32 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c nv46_pci_msi_rearm(struct nvkm_pci *pci) pci 34 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c struct nvkm_device *device = pci->subdev.device; pci 35 drivers/gpu/drm/nouveau/nvkm/subdev/pci/nv46.c struct pci_dev *pdev = device->func->pci(device)->pdev; pci 51 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_get_version(struct nvkm_pci *pci) pci 53 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.version) pci 56 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c return pci->func->pcie.version(pci); pci 60 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_get_max_version(struct nvkm_pci *pci) pci 62 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.version_supported) pci 65 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c return pci->func->pcie.version_supported(pci); pci 69 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_set_version(struct nvkm_pci *pci, int version) pci 71 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.set_version) pci 74 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_trace(&pci->subdev, "set to version %i\n", version); pci 75 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.set_version(pci, version); pci 76 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c return nvkm_pcie_get_version(pci); pci 80 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_oneinit(struct nvkm_pci *pci) pci 82 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.max_speed) pci 83 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_debug(&pci->subdev, "pcie max speed: %s\n", pci 84 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]); pci 89 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_init(struct nvkm_pci *pci) pci 91 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c struct nvkm_subdev *subdev = &pci->subdev; pci 95 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c ret = nvkm_pcie_get_version(pci); pci 97 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c int max_version = nvkm_pcie_get_max_version(pci); pci 99 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c ret = nvkm_pcie_set_version(pci, max_version); pci 105 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.init) pci 106 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.init(pci); pci 108 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->pcie.speed != -1) pci 109 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_set_link(pci, pci->pcie.speed, pci->pcie.width); pci 115 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) pci 117 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c struct nvkm_subdev *subdev = &pci->subdev; pci 122 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci || !pci_is_pcie(pci->pdev)) pci 124 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pbus = pci->pdev->bus; pci 126 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (!pci->func->pcie.set_link) pci 131 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c if (pci->func->pcie.version(pci) < 2) { pci 136 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c cur_speed = pci->func->pcie.cur_speed(pci); pci 138 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->func->pcie.max_speed(pci)); pci 149 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->pcie.speed = speed; pci 150 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c pci->pcie.width = width; pci 160 drivers/gpu/drm/nouveau/nvkm/subdev/pci/pcie.c ret = pci->func->pcie.set_link(pci, speed, width); pci 37 drivers/gpu/drm/nouveau/nvkm/subdev/pci/priv.h void g84_pci_init(struct nvkm_pci *pci); pci 52 drivers/gpu/drm/qxl/qxl_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 319 drivers/gpu/drm/radeon/radeon_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 33 drivers/gpu/drm/vboxvideo/vbox_drv.c MODULE_DEVICE_TABLE(pci, pciidlist); pci 252 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c MODULE_DEVICE_TABLE(pci, vmw_pci_id_list); pci 42 drivers/hid/intel-ish-hid/ipc/pci-ish.c MODULE_DEVICE_TABLE(pci, ish_pci_tbl); pci 495 drivers/hwmon/fam15h_power.c MODULE_DEVICE_TABLE(pci, fam15h_power_id_table); pci 101 drivers/hwmon/i5500_temp.c MODULE_DEVICE_TABLE(pci, i5500_temp_ids); pci 491 drivers/hwmon/i5k_amb.c MODULE_DEVICE_TABLE(pci, i5k_amb_ids); pci 356 drivers/hwmon/k10temp.c MODULE_DEVICE_TABLE(pci, k10temp_id_table); pci 37 drivers/hwmon/k8temp.c MODULE_DEVICE_TABLE(pci, k8temp_ids); pci 744 drivers/hwmon/sis5595.c MODULE_DEVICE_TABLE(pci, sis5595_pci_ids); pci 815 drivers/hwmon/via686a.c MODULE_DEVICE_TABLE(pci, via686a_pci_ids); pci 767 drivers/hwmon/vt8231.c MODULE_DEVICE_TABLE(pci, vt8231_pci_ids); pci 250 drivers/hwtracing/intel_th/pci.c MODULE_DEVICE_TABLE(pci, intel_th_pci_id_table); pci 489 drivers/i2c/busses/i2c-ali1535.c MODULE_DEVICE_TABLE(pci, ali1535_ids); pci 431 drivers/i2c/busses/i2c-ali1563.c MODULE_DEVICE_TABLE(pci, ali1563_id_table); pci 472 drivers/i2c/busses/i2c-ali15x3.c MODULE_DEVICE_TABLE (pci, ali15x3_ids); pci 445 drivers/i2c/busses/i2c-amd-mp2-pci.c MODULE_DEVICE_TABLE(pci, amd_mp2_pci_tbl); pci 312 drivers/i2c/busses/i2c-amd756.c MODULE_DEVICE_TABLE (pci, amd756_ids); pci 420 drivers/i2c/busses/i2c-amd8111.c MODULE_DEVICE_TABLE (pci, amd8111_ids); pci 364 drivers/i2c/busses/i2c-designware-pcidrv.c MODULE_DEVICE_TABLE(pci, i2_designware_pci_ids); pci 100 drivers/i2c/busses/i2c-hydra.c MODULE_DEVICE_TABLE (pci, hydra_ids); pci 1072 drivers/i2c/busses/i2c-i801.c MODULE_DEVICE_TABLE(pci, i801_ids); pci 191 drivers/i2c/busses/i2c-ismt.c MODULE_DEVICE_TABLE(pci, ismt_ids); pci 315 drivers/i2c/busses/i2c-nforce2.c MODULE_DEVICE_TABLE(pci, nforce2_ids); pci 258 drivers/i2c/busses/i2c-nvidia-gpu.c MODULE_DEVICE_TABLE(pci, gpu_i2c_ids); pci 396 drivers/i2c/busses/i2c-pasemi.c MODULE_DEVICE_TABLE(pci, pasemi_smb_ids); pci 806 drivers/i2c/busses/i2c-piix4.c MODULE_DEVICE_TABLE (pci, piix4_ids); pci 365 drivers/i2c/busses/i2c-sis5595.c MODULE_DEVICE_TABLE (pci, sis5595_ids); pci 508 drivers/i2c/busses/i2c-sis630.c MODULE_DEVICE_TABLE(pci, sis630_ids); pci 240 drivers/i2c/busses/i2c-sis96x.c MODULE_DEVICE_TABLE (pci, sis96x_ids); pci 246 drivers/i2c/busses/i2c-thunderx-pcidrv.c MODULE_DEVICE_TABLE(pci, thunder_i2c_pci_id_table); pci 84 drivers/i2c/busses/i2c-via.c MODULE_DEVICE_TABLE (pci, vt586b_ids); pci 467 drivers/i2c/busses/i2c-viapro.c MODULE_DEVICE_TABLE(pci, vt596_ids); pci 305 drivers/ide/aec62xx.c MODULE_DEVICE_TABLE(pci, aec62xx_pci_tbl); pci 576 drivers/ide/alim15x3.c MODULE_DEVICE_TABLE(pci, alim15x3_pci_tbl); pci 317 drivers/ide/amd74xx.c MODULE_DEVICE_TABLE(pci, amd74xx_pci_tbl); pci 186 drivers/ide/atiixp.c MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl); pci 426 drivers/ide/cmd64x.c MODULE_DEVICE_TABLE(pci, cmd64x_pci_tbl); pci 149 drivers/ide/cs5520.c MODULE_DEVICE_TABLE(pci, cs5520_pci_tbl); pci 269 drivers/ide/cs5530.c MODULE_DEVICE_TABLE(pci, cs5530_pci_tbl); pci 190 drivers/ide/cs5535.c MODULE_DEVICE_TABLE(pci, cs5535_pci_tbl); pci 291 drivers/ide/cs5536.c MODULE_DEVICE_TABLE(pci, cs5536_pci_tbl); pci 208 drivers/ide/cy82c693.c MODULE_DEVICE_TABLE(pci, cy82c693_pci_tbl); pci 165 drivers/ide/delkin_cb.c MODULE_DEVICE_TABLE(pci, delkin_cb_pci_tbl); pci 1519 drivers/ide/hpt366.c MODULE_DEVICE_TABLE(pci, hpt366_pci_tbl); pci 177 drivers/ide/ide-pci-generic.c MODULE_DEVICE_TABLE(pci, generic_pci_tbl); pci 139 drivers/ide/it8172.c MODULE_DEVICE_TABLE(pci, it8172_pci_tbl); pci 191 drivers/ide/it8213.c MODULE_DEVICE_TABLE(pci, it8213_pci_tbl); pci 686 drivers/ide/it821x.c MODULE_DEVICE_TABLE(pci, it821x_pci_tbl); pci 150 drivers/ide/jmicron.c MODULE_DEVICE_TABLE(pci, jmicron_pci_tbl); pci 324 drivers/ide/ns87415.c MODULE_DEVICE_TABLE(pci, ns87415_pci_tbl); pci 153 drivers/ide/opti621.c MODULE_DEVICE_TABLE(pci, opti621_pci_tbl); pci 531 drivers/ide/pdc202xx_new.c MODULE_DEVICE_TABLE(pci, pdc202new_pci_tbl); pci 336 drivers/ide/pdc202xx_old.c MODULE_DEVICE_TABLE(pci, pdc202xx_pci_tbl); pci 449 drivers/ide/piix.c MODULE_DEVICE_TABLE(pci, piix_pci_tbl); pci 1417 drivers/ide/pmac.c MODULE_DEVICE_TABLE(pci, pmac_ide_pci_match); pci 75 drivers/ide/rz1000.c MODULE_DEVICE_TABLE(pci, rz1000_pci_tbl); pci 327 drivers/ide/sc1200.c MODULE_DEVICE_TABLE(pci, sc1200_pci_tbl); pci 430 drivers/ide/serverworks.c MODULE_DEVICE_TABLE(pci, svwks_pci_tbl); pci 818 drivers/ide/siimage.c MODULE_DEVICE_TABLE(pci, siimage_pci_tbl); pci 611 drivers/ide/sis5513.c MODULE_DEVICE_TABLE(pci, sis5513_pci_tbl); pci 342 drivers/ide/sl82c105.c MODULE_DEVICE_TABLE(pci, sl82c105_pci_tbl); pci 156 drivers/ide/slc90e66.c MODULE_DEVICE_TABLE(pci, slc90e66_pci_tbl); pci 246 drivers/ide/tc86c001.c MODULE_DEVICE_TABLE(pci, tc86c001_pci_tbl); pci 101 drivers/ide/triflex.c MODULE_DEVICE_TABLE(pci, triflex_pci_tbl); pci 350 drivers/ide/trm290.c MODULE_DEVICE_TABLE(pci, trm290_pci_tbl); pci 507 drivers/ide/via82cxxx.c MODULE_DEVICE_TABLE(pci, via_pci_tbl); pci 23 drivers/infiniband/hw/efa/efa_main.c MODULE_DEVICE_TABLE(pci, efa_pci_tbl); pci 1406 drivers/infiniband/hw/hfi1/init.c MODULE_DEVICE_TABLE(pci, hfi1_pci_tbl); pci 6379 drivers/infiniband/hw/hns/hns_roce_hw_v2.c MODULE_DEVICE_TABLE(pci, hns_roce_hw_v2_pci_tbl); pci 1188 drivers/infiniband/hw/mthca/mthca_main.c MODULE_DEVICE_TABLE(pci, mthca_pci_table); pci 1173 drivers/infiniband/hw/qib/qib_init.c MODULE_DEVICE_TABLE(pci, qib_pci_tbl); pci 727 drivers/infiniband/hw/usnic/usnic_ib_main.c MODULE_DEVICE_TABLE(pci, usnic_ib_pci_ids); pci 1150 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c MODULE_DEVICE_TABLE(pci, pvrdma_pci_table); pci 41 drivers/input/gameport/emu10k1-gp.c MODULE_DEVICE_TABLE(pci, emu_tbl); pci 65 drivers/input/gameport/fm801-gp.c static int fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 79 drivers/input/gameport/fm801-gp.c error = pci_enable_device(pci); pci 88 drivers/input/gameport/fm801-gp.c gameport_set_phys(port, "pci%s/gameport0", pci_name(pci)); pci 89 drivers/input/gameport/fm801-gp.c port->dev.parent = &pci->dev; pci 90 drivers/input/gameport/fm801-gp.c port->io = pci_resource_start(pci, 0); pci 101 drivers/input/gameport/fm801-gp.c pci_set_drvdata(pci, gp); pci 109 drivers/input/gameport/fm801-gp.c pci_disable_device(pci); pci 116 drivers/input/gameport/fm801-gp.c static void fm801_gp_remove(struct pci_dev *pci) pci 118 drivers/input/gameport/fm801-gp.c struct fm801_gp *gp = pci_get_drvdata(pci); pci 124 drivers/input/gameport/fm801-gp.c pci_disable_device(pci); pci 131 drivers/input/gameport/fm801-gp.c MODULE_DEVICE_TABLE(pci, fm801_gp_id_table); pci 204 drivers/input/serio/pcips2.c MODULE_DEVICE_TABLE(pci, pcips2_ids); pci 633 drivers/ipack/carriers/tpci200.c MODULE_DEVICE_TABLE(pci, tpci200_idtable); pci 1139 drivers/isdn/hardware/mISDN/avmfritz.c MODULE_DEVICE_TABLE(pci, fcpci_ids); pci 5425 drivers/isdn/hardware/mISDN/hfcmulti.c MODULE_DEVICE_TABLE(pci, hfmultipci_ids); pci 2352 drivers/isdn/hardware/mISDN/hfcpci.c MODULE_DEVICE_TABLE(pci, hfc_ids); pci 135 drivers/isdn/hardware/mISDN/mISDNinfineon.c MODULE_DEVICE_TABLE(pci, infineon_ids); pci 1131 drivers/isdn/hardware/mISDN/netjet.c MODULE_DEVICE_TABLE(pci, nj_pci_ids); pci 492 drivers/isdn/hardware/mISDN/speedfax.c MODULE_DEVICE_TABLE(pci, sfaxpci_ids); pci 1391 drivers/isdn/hardware/mISDN/w6692.c MODULE_DEVICE_TABLE(pci, w6692_ids); pci 61 drivers/leds/leds-ss4200.c MODULE_DEVICE_TABLE(pci, ich7_lpc_pci_id); pci 757 drivers/macintosh/macio_asic.c MODULE_DEVICE_TABLE (pci, pci_ids); pci 120 drivers/mcb/mcb-pci.c MODULE_DEVICE_TABLE(pci, mcb_pci_tbl); pci 16 drivers/media/common/btcx-risc.h int btcx_riscmem_alloc(struct pci_dev *pci, pci 19 drivers/media/common/btcx-risc.h void btcx_riscmem_free(struct pci_dev *pci, pci 164 drivers/media/common/saa7146/saa7146_core.c void *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa7146_pgtable *pt) pci 176 drivers/media/common/saa7146/saa7146_core.c if (saa7146_pgtable_alloc(pci, pt)) pci 180 drivers/media/common/saa7146/saa7146_core.c slen = pci_map_sg(pci,pt->slist,pt->nents,PCI_DMA_FROMDEVICE); pci 184 drivers/media/common/saa7146/saa7146_core.c if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) pci 190 drivers/media/common/saa7146/saa7146_core.c pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); pci 192 drivers/media/common/saa7146/saa7146_core.c saa7146_pgtable_free(pci, pt); pci 202 drivers/media/common/saa7146/saa7146_core.c void saa7146_vfree_destroy_pgtable(struct pci_dev *pci, void *mem, struct saa7146_pgtable *pt) pci 204 drivers/media/common/saa7146/saa7146_core.c pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); pci 205 drivers/media/common/saa7146/saa7146_core.c saa7146_pgtable_free(pci, pt); pci 211 drivers/media/common/saa7146/saa7146_core.c void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt) pci 215 drivers/media/common/saa7146/saa7146_core.c pci_free_consistent(pci, pt->size, pt->cpu, pt->dma); pci 219 drivers/media/common/saa7146/saa7146_core.c int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt) pci 224 drivers/media/common/saa7146/saa7146_core.c cpu = pci_alloc_consistent(pci, PAGE_SIZE, &dma_addr); pci 235 drivers/media/common/saa7146/saa7146_core.c int saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, pci 341 drivers/media/common/saa7146/saa7146_core.c static int saa7146_init_one(struct pci_dev *pci, const struct pci_device_id *ent) pci 358 drivers/media/common/saa7146/saa7146_core.c DEB_EE("pci:%p\n", pci); pci 360 drivers/media/common/saa7146/saa7146_core.c err = pci_enable_device(pci); pci 367 drivers/media/common/saa7146/saa7146_core.c pci_set_master(pci); pci 369 drivers/media/common/saa7146/saa7146_core.c dev->pci = pci; pci 372 drivers/media/common/saa7146/saa7146_core.c dev->revision = pci->revision; pci 376 drivers/media/common/saa7146/saa7146_core.c err = pci_request_region(pci, 0, "saa7146"); pci 380 drivers/media/common/saa7146/saa7146_core.c dev->mem = ioremap(pci_resource_start(pci, 0), pci 381 drivers/media/common/saa7146/saa7146_core.c pci_resource_len(pci, 0)); pci 405 drivers/media/common/saa7146/saa7146_core.c err = request_irq(pci->irq, interrupt_hw, IRQF_SHARED, pci 415 drivers/media/common/saa7146/saa7146_core.c dev->d_rps0.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, pci 420 drivers/media/common/saa7146/saa7146_core.c dev->d_rps1.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, pci 425 drivers/media/common/saa7146/saa7146_core.c dev->d_i2c.cpu_addr = pci_zalloc_consistent(pci, SAA7146_RPS_MEM, pci 433 drivers/media/common/saa7146/saa7146_core.c dev->mem, dev->revision, pci->irq, pci 434 drivers/media/common/saa7146/saa7146_core.c pci->subsystem_vendor, pci->subsystem_device); pci 465 drivers/media/common/saa7146/saa7146_core.c pci_set_drvdata(pci, &dev->v4l2_dev); pci 474 drivers/media/common/saa7146/saa7146_core.c pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_i2c.cpu_addr, pci 477 drivers/media/common/saa7146/saa7146_core.c pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps1.cpu_addr, pci 480 drivers/media/common/saa7146/saa7146_core.c pci_free_consistent(pci, SAA7146_RPS_MEM, dev->d_rps0.cpu_addr, pci 483 drivers/media/common/saa7146/saa7146_core.c free_irq(pci->irq, (void *)dev); pci 487 drivers/media/common/saa7146/saa7146_core.c pci_release_region(pci, 0); pci 489 drivers/media/common/saa7146/saa7146_core.c pci_disable_device(pci); pci 476 drivers/media/common/saa7146/saa7146_fops.c err = v4l2_device_register(&dev->pci->dev, &dev->v4l2_dev); pci 522 drivers/media/common/saa7146/saa7146_fops.c pci_zalloc_consistent(dev->pci, SAA7146_CLIPPING_MEM, pci 581 drivers/media/common/saa7146/saa7146_fops.c pci_free_consistent(dev->pci, SAA7146_CLIPPING_MEM, vv->d_clipping.cpu_addr, vv->d_clipping.dma_handle); pci 413 drivers/media/common/saa7146/saa7146_i2c.c i2c_adapter->dev.parent = &dev->pci->dev; pci 25 drivers/media/common/saa7146/saa7146_vbi.c cpu = pci_alloc_consistent(dev->pci, 4096, &dma_addr); pci 126 drivers/media/common/saa7146/saa7146_vbi.c pci_free_consistent(dev->pci, 4096, cpu, dma_addr); pci 131 drivers/media/common/saa7146/saa7146_vbi.c pci_free_consistent(dev->pci, 4096, cpu, dma_addr); pci 251 drivers/media/common/saa7146/saa7146_vbi.c saa7146_pgtable_free(dev->pci, &buf->pt[2]); pci 252 drivers/media/common/saa7146/saa7146_vbi.c saa7146_pgtable_alloc(dev->pci, &buf->pt[2]); pci 257 drivers/media/common/saa7146/saa7146_vbi.c err = saa7146_pgtable_build_single(dev->pci, &buf->pt[2], pci 399 drivers/media/common/saa7146/saa7146_vbi.c &dev->pci->dev, &dev->slock, pci 198 drivers/media/common/saa7146/saa7146_video.c struct pci_dev *pci = dev->pci; pci 307 drivers/media/common/saa7146/saa7146_video.c return saa7146_pgtable_build_single(pci, pt, list, length); pci 445 drivers/media/common/saa7146/saa7146_video.c sprintf((char *)cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 1033 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_free(dev->pci, &buf->pt[0]); pci 1034 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_free(dev->pci, &buf->pt[1]); pci 1035 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_free(dev->pci, &buf->pt[2]); pci 1094 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_alloc(dev->pci, &buf->pt[0]); pci 1095 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_alloc(dev->pci, &buf->pt[1]); pci 1096 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_alloc(dev->pci, &buf->pt[2]); pci 1098 drivers/media/common/saa7146/saa7146_video.c saa7146_pgtable_alloc(dev->pci, &buf->pt[0]); pci 1198 drivers/media/common/saa7146/saa7146_video.c &dev->pci->dev, &dev->slock, pci 424 drivers/media/pci/b2c2/flexcop-pci.c MODULE_DEVICE_TABLE(pci, flexcop_pci_tbl); pci 386 drivers/media/pci/bt8xx/bt878.c MODULE_DEVICE_TABLE(pci, bt878_pci_tbl); pci 41 drivers/media/pci/bt8xx/btcx-risc.c void btcx_riscmem_free(struct pci_dev *pci, pci 51 drivers/media/pci/bt8xx/btcx-risc.c pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); pci 55 drivers/media/pci/bt8xx/btcx-risc.c int btcx_riscmem_alloc(struct pci_dev *pci, pci 63 drivers/media/pci/bt8xx/btcx-risc.c btcx_riscmem_free(pci,risc); pci 65 drivers/media/pci/bt8xx/btcx-risc.c cpu = pci_alloc_consistent(pci, size, &dma); pci 14 drivers/media/pci/bt8xx/btcx-risc.h int btcx_riscmem_alloc(struct pci_dev *pci, pci 17 drivers/media/pci/bt8xx/btcx-risc.h void btcx_riscmem_free(struct pci_dev *pci, pci 2899 drivers/media/pci/bt8xx/bttv-cards.c btv->cardid = btv->c.pci->subsystem_device << 16; pci 2900 drivers/media/pci/bt8xx/bttv-cards.c btv->cardid |= btv->c.pci->subsystem_vendor; pci 3906 drivers/media/pci/bt8xx/bttv-cards.c rc = request_firmware(&fw_entry, "hcwamc.rbf", &btv->c.pci->dev); pci 4303 drivers/media/pci/bt8xx/bttv-cards.c if ((PCI_SLOT(btv->c.pci->devfn) & ~3) != 0xC) { pci 4308 drivers/media/pci/bt8xx/bttv-cards.c if (PCI_SLOT(btv->c.pci->devfn) != 0xD) pci 4935 drivers/media/pci/bt8xx/bttv-cards.c pci_read_config_byte(btv->c.pci, BT878_DEVCTRL, &command); pci 4940 drivers/media/pci/bt8xx/bttv-cards.c pci_write_config_byte(btv->c.pci, BT878_DEVCTRL, command); pci 4943 drivers/media/pci/bt8xx/bttv-cards.c pci_write_config_byte(btv->c.pci, PCI_LATENCY_TIMER, latency); pci 2447 drivers/media/pci/bt8xx/bttv-driver.c "PCI:%s", pci_name(btv->c.pci)); pci 2993 drivers/media/pci/bt8xx/bttv-driver.c &btv->c.pci->dev, &btv->s_lock, pci 2999 drivers/media/pci/bt8xx/bttv-driver.c &btv->c.pci->dev, &btv->s_lock, pci 4012 drivers/media/pci/bt8xx/bttv-driver.c btv->c.pci = dev; pci 4047 drivers/media/pci/bt8xx/bttv-driver.c btv->c.pci->irq, lat, pci 4063 drivers/media/pci/bt8xx/bttv-driver.c result = request_irq(btv->c.pci->irq, bttv_irq, pci 4067 drivers/media/pci/bt8xx/bttv-driver.c bttv_num, btv->c.pci->irq); pci 4201 drivers/media/pci/bt8xx/bttv-driver.c free_irq(btv->c.pci->irq,btv); pci 4211 drivers/media/pci/bt8xx/bttv-driver.c release_mem_region(pci_resource_start(btv->c.pci,0), pci 4212 drivers/media/pci/bt8xx/bttv-driver.c pci_resource_len(btv->c.pci,0)); pci 4213 drivers/media/pci/bt8xx/bttv-driver.c pci_disable_device(btv->c.pci); pci 4250 drivers/media/pci/bt8xx/bttv-driver.c btcx_riscmem_free(btv->c.pci,&btv->main); pci 4253 drivers/media/pci/bt8xx/bttv-driver.c free_irq(btv->c.pci->irq,btv); pci 4255 drivers/media/pci/bt8xx/bttv-driver.c release_mem_region(pci_resource_start(btv->c.pci,0), pci 4256 drivers/media/pci/bt8xx/bttv-driver.c pci_resource_len(btv->c.pci,0)); pci 4257 drivers/media/pci/bt8xx/bttv-driver.c pci_disable_device(btv->c.pci); pci 4358 drivers/media/pci/bt8xx/bttv-driver.c MODULE_DEVICE_TABLE(pci, bttv_pci_tbl); pci 82 drivers/media/pci/bt8xx/bttv-gpio.c sub->dev.parent = &core->pci->dev; pci 362 drivers/media/pci/bt8xx/bttv-i2c.c btv->c.i2c_adap.dev.parent = &btv->c.pci->dev; pci 41 drivers/media/pci/bt8xx/bttv-if.c return bttvs[card]->c.pci; pci 534 drivers/media/pci/bt8xx/bttv-input.c pci_name(btv->c.pci)); pci 540 drivers/media/pci/bt8xx/bttv-input.c if (btv->c.pci->subsystem_vendor) { pci 541 drivers/media/pci/bt8xx/bttv-input.c rc->input_id.vendor = btv->c.pci->subsystem_vendor; pci 542 drivers/media/pci/bt8xx/bttv-input.c rc->input_id.product = btv->c.pci->subsystem_device; pci 544 drivers/media/pci/bt8xx/bttv-input.c rc->input_id.vendor = btv->c.pci->vendor; pci 545 drivers/media/pci/bt8xx/bttv-input.c rc->input_id.product = btv->c.pci->device; pci 547 drivers/media/pci/bt8xx/bttv-input.c rc->dev.parent = &btv->c.pci->dev; pci 54 drivers/media/pci/bt8xx/bttv-risc.c if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) pci 137 drivers/media/pci/bt8xx/bttv-risc.c if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*4*5)) < 0) pci 256 drivers/media/pci/bt8xx/bttv-risc.c if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,dwords*4)) < 0) { pci 509 drivers/media/pci/bt8xx/bttv-risc.c if ((rc = btcx_riscmem_alloc(btv->c.pci,&btv->main,PAGE_SIZE)) < 0) pci 579 drivers/media/pci/bt8xx/bttv-risc.c btcx_riscmem_free(btv->c.pci,&buf->bottom); pci 580 drivers/media/pci/bt8xx/bttv-risc.c btcx_riscmem_free(btv->c.pci,&buf->top); pci 206 drivers/media/pci/bt8xx/bttv.h struct pci_dev *pci; pci 33 drivers/media/pci/cobalt/cobalt-driver.c MODULE_DEVICE_TABLE(pci, cobalt_pci_tbl); pci 48 drivers/media/pci/cx18/cx18-driver.c MODULE_DEVICE_TABLE(pci, cx18_pci_tbl); pci 921 drivers/media/pci/cx23885/cx23885-417.c &dev->pci->dev); pci 1326 drivers/media/pci/cx23885/cx23885-417.c sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci)); pci 1471 drivers/media/pci/cx23885/cx23885-417.c struct pci_dev *pci, pci 1523 drivers/media/pci/cx23885/cx23885-417.c dev->pci, &cx23885_mpeg_template, "mpeg"); pci 1535 drivers/media/pci/cx23885/cx23885-417.c q->dev = &dev->pci->dev; pci 115 drivers/media/pci/cx23885/cx23885-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, pci 132 drivers/media/pci/cx23885/cx23885-alsa.c dma_unmap_sg(&dev->pci->dev, buf->sglist, buf->sglen, PCI_DMA_FROMDEVICE); pci 268 drivers/media/pci/cx23885/cx23885-alsa.c pci_free_consistent(chip->pci, risc->size, risc->cpu, risc->dma); pci 392 drivers/media/pci/cx23885/cx23885-alsa.c ret = cx23885_risc_databuffer(chip->pci, &buf->risc, buf->sglist, pci 549 drivers/media/pci/cx23885/cx23885-alsa.c err = snd_card_new(&dev->pci->dev, pci 557 drivers/media/pci/cx23885/cx23885-alsa.c chip->pci = dev->pci; pci 1158 drivers/media/pci/cx23885/cx23885-cards.c if (0 == dev->pci->subsystem_vendor && pci 1159 drivers/media/pci/cx23885/cx23885-cards.c 0 == dev->pci->subsystem_device) { pci 2441 drivers/media/pci/cx23885/cx23885-cards.c ret = request_firmware(&fw, filename, &dev->pci->dev); pci 625 drivers/media/pci/cx23885/cx23885-core.c dev_info(&dev->pci->dev, pci 720 drivers/media/pci/cx23885/cx23885-core.c if (request_mem_region(pci_resource_start(dev->pci, 0), pci 721 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0), pci 726 drivers/media/pci/cx23885/cx23885-core.c dev->name, (unsigned long long)pci_resource_start(dev->pci, 0)); pci 818 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->device == 0x8880) { pci 827 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->device == 0x8880) { pci 888 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->device == 0x8880) { pci 895 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->device == 0x8852) { pci 911 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->subsystem_vendor == cx23885_subids[i].subvendor && pci 912 drivers/media/pci/cx23885/cx23885-core.c dev->pci->subsystem_device == cx23885_subids[i].subdevice) pci 919 drivers/media/pci/cx23885/cx23885-core.c if (dev->pci->device == 0x8852) { pci 932 drivers/media/pci/cx23885/cx23885-core.c dev->pci->subsystem_device == 0x7137) { pci 941 drivers/media/pci/cx23885/cx23885-core.c dev->pci_bus = dev->pci->bus->number; pci 942 drivers/media/pci/cx23885/cx23885-core.c dev->pci_slot = PCI_SLOT(dev->pci->devfn); pci 985 drivers/media/pci/cx23885/cx23885-core.c dev->name, dev->pci->subsystem_vendor, pci 986 drivers/media/pci/cx23885/cx23885-core.c dev->pci->subsystem_device); pci 993 drivers/media/pci/cx23885/cx23885-core.c dev->lmmio = ioremap(pci_resource_start(dev->pci, 0), pci 994 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0)); pci 999 drivers/media/pci/cx23885/cx23885-core.c dev->name, dev->pci->subsystem_vendor, pci 1000 drivers/media/pci/cx23885/cx23885-core.c dev->pci->subsystem_device, cx23885_boards[dev->board].name, pci 1103 drivers/media/pci/cx23885/cx23885-core.c release_mem_region(pci_resource_start(dev->pci, 0), pci 1104 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0)); pci 1198 drivers/media/pci/cx23885/cx23885-core.c int cx23885_risc_buffer(struct pci_dev *pci, struct cx23885_riscmem *risc, pci 1221 drivers/media/pci/cx23885/cx23885-core.c risc->cpu = pci_alloc_consistent(pci, risc->size, &risc->dma); pci 1240 drivers/media/pci/cx23885/cx23885-core.c int cx23885_risc_databuffer(struct pci_dev *pci, pci 1258 drivers/media/pci/cx23885/cx23885-core.c risc->cpu = pci_alloc_consistent(pci, risc->size, &risc->dma); pci 1273 drivers/media/pci/cx23885/cx23885-core.c int cx23885_risc_vbibuffer(struct pci_dev *pci, struct cx23885_riscmem *risc, pci 1296 drivers/media/pci/cx23885/cx23885-core.c risc->cpu = pci_alloc_consistent(pci, risc->size, &risc->dma); pci 1326 drivers/media/pci/cx23885/cx23885-core.c pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); pci 1550 drivers/media/pci/cx23885/cx23885-core.c dev_dbg(&dev->pci->dev, "delay=%d reg1=0x%08x reg2=0x%08x\n", pci 1585 drivers/media/pci/cx23885/cx23885-core.c cx23885_risc_databuffer(dev->pci, &buf->risc, pci 2129 drivers/media/pci/cx23885/cx23885-core.c dev->pci = pci_dev; pci 2231 drivers/media/pci/cx23885/cx23885-core.c MODULE_DEVICE_TABLE(pci, cx23885_pci_tbl); pci 2570 drivers/media/pci/cx23885/cx23885-dvb.c &dev->pci->dev, NULL, pci 2664 drivers/media/pci/cx23885/cx23885-dvb.c q->dev = &dev->pci->dev; pci 307 drivers/media/pci/cx23885/cx23885-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; pci 343 drivers/media/pci/cx23885/cx23885-input.c pci_name(dev->pci)); pci 361 drivers/media/pci/cx23885/cx23885-input.c if (dev->pci->subsystem_vendor) { pci 362 drivers/media/pci/cx23885/cx23885-input.c rc->input_id.vendor = dev->pci->subsystem_vendor; pci 363 drivers/media/pci/cx23885/cx23885-input.c rc->input_id.product = dev->pci->subsystem_device; pci 365 drivers/media/pci/cx23885/cx23885-input.c rc->input_id.vendor = dev->pci->vendor; pci 366 drivers/media/pci/cx23885/cx23885-input.c rc->input_id.product = dev->pci->device; pci 368 drivers/media/pci/cx23885/cx23885-input.c rc->dev.parent = &dev->pci->dev; pci 60 drivers/media/pci/cx23885/cx23885-ioctl.c if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) pci 92 drivers/media/pci/cx23885/cx23885-ioctl.c if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) pci 144 drivers/media/pci/cx23885/cx23885-vbi.c cx23885_risc_vbibuffer(dev->pci, &buf->risc, pci 143 drivers/media/pci/cx23885/cx23885-video.c struct pci_dev *pci, pci 358 drivers/media/pci/cx23885/cx23885-video.c cx23885_risc_buffer(dev->pci, &buf->risc, pci 363 drivers/media/pci/cx23885/cx23885-video.c cx23885_risc_buffer(dev->pci, &buf->risc, pci 391 drivers/media/pci/cx23885/cx23885-video.c cx23885_risc_buffer(dev->pci, &buf->risc, pci 398 drivers/media/pci/cx23885/cx23885-video.c cx23885_risc_buffer(dev->pci, &buf->risc, pci 405 drivers/media/pci/cx23885/cx23885-video.c cx23885_risc_buffer(dev->pci, &buf->risc, pci 634 drivers/media/pci/cx23885/cx23885-video.c sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci)); pci 1276 drivers/media/pci/cx23885/cx23885-video.c q->dev = &dev->pci->dev; pci 1293 drivers/media/pci/cx23885/cx23885-video.c q->dev = &dev->pci->dev; pci 1300 drivers/media/pci/cx23885/cx23885-video.c dev->video_dev = cx23885_vdev_init(dev, dev->pci, pci 1318 drivers/media/pci/cx23885/cx23885-video.c dev->vbi_dev = cx23885_vdev_init(dev, dev->pci, pci 335 drivers/media/pci/cx23885/cx23885.h struct pci_dev *pci; pci 358 drivers/media/pci/cx23885/cx23885.h struct pci_dev *pci; pci 516 drivers/media/pci/cx23885/cx23885.h extern int cx23885_risc_buffer(struct pci_dev *pci, struct cx23885_riscmem *risc, pci 521 drivers/media/pci/cx23885/cx23885.h extern int cx23885_risc_vbibuffer(struct pci_dev *pci, pci 621 drivers/media/pci/cx23885/cx23885.h extern int cx23885_risc_databuffer(struct pci_dev *pci, pci 65 drivers/media/pci/cx25821/cx25821-alsa.c struct pci_dev *pci; pci 179 drivers/media/pci/cx25821/cx25821-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, pci 196 drivers/media/pci/cx25821/cx25821-alsa.c dma_unmap_sg(&dev->pci->dev, buf->sglist, buf->sglen, PCI_DMA_FROMDEVICE); pci 405 drivers/media/pci/cx25821/cx25821-alsa.c pci_free_consistent(chip->pci, risc->size, risc->cpu, risc->dma); pci 534 drivers/media/pci/cx25821/cx25821-alsa.c ret = cx25821_risc_databuffer_audio(chip->pci, &buf->risc, buf->sglist, pci 688 drivers/media/pci/cx25821/cx25821-alsa.c MODULE_DEVICE_TABLE(pci, cx25821_audio_pci_tbl); pci 710 drivers/media/pci/cx25821/cx25821-alsa.c err = snd_card_new(&dev->pci->dev, index[devno], id[devno], pci 727 drivers/media/pci/cx25821/cx25821-alsa.c chip->pci = dev->pci; pci 728 drivers/media/pci/cx25821/cx25821-alsa.c chip->iobase = pci_resource_start(dev->pci, 0); pci 730 drivers/media/pci/cx25821/cx25821-alsa.c chip->irq = dev->pci->irq; pci 732 drivers/media/pci/cx25821/cx25821-alsa.c err = request_irq(dev->pci->irq, cx25821_irq, pci 737 drivers/media/pci/cx25821/cx25821-alsa.c dev->pci->irq); pci 821 drivers/media/pci/cx25821/cx25821-core.c if (request_mem_region(pci_resource_start(dev->pci, 0), pci 822 drivers/media/pci/cx25821/cx25821-core.c pci_resource_len(dev->pci, 0), dev->name)) pci 826 drivers/media/pci/cx25821/cx25821-core.c dev->name, (unsigned long long)pci_resource_start(dev->pci, 0)); pci 864 drivers/media/pci/cx25821/cx25821-core.c if (dev->pci->device != 0x8210) { pci 866 drivers/media/pci/cx25821/cx25821-core.c __func__, dev->pci->device); pci 869 drivers/media/pci/cx25821/cx25821-core.c pr_info("Athena Hardware device = 0x%02x\n", dev->pci->device); pci 883 drivers/media/pci/cx25821/cx25821-core.c dev->pci_bus = dev->pci->bus->number; pci 884 drivers/media/pci/cx25821/cx25821-core.c dev->pci_slot = PCI_SLOT(dev->pci->devfn); pci 899 drivers/media/pci/cx25821/cx25821-core.c dev->name, dev->pci->subsystem_vendor, pci 900 drivers/media/pci/cx25821/cx25821-core.c dev->pci->subsystem_device); pci 907 drivers/media/pci/cx25821/cx25821-core.c dev->base_io_addr = pci_resource_start(dev->pci, 0); pci 914 drivers/media/pci/cx25821/cx25821-core.c dev->lmmio = ioremap(dev->base_io_addr, pci_resource_len(dev->pci, 0)); pci 925 drivers/media/pci/cx25821/cx25821-core.c dev->name, dev->pci->subsystem_vendor, pci 926 drivers/media/pci/cx25821/cx25821-core.c dev->pci->subsystem_device, cx25821_boards[dev->board].name, pci 953 drivers/media/pci/cx25821/cx25821-core.c release_mem_region(dev->base_io_addr, pci_resource_len(dev->pci, 0)); pci 972 drivers/media/pci/cx25821/cx25821-core.c int cx25821_riscmem_alloc(struct pci_dev *pci, pci 980 drivers/media/pci/cx25821/cx25821-core.c pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); pci 982 drivers/media/pci/cx25821/cx25821-core.c cpu = pci_zalloc_consistent(pci, size, &dma); pci 1055 drivers/media/pci/cx25821/cx25821-core.c int cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc, pci 1079 drivers/media/pci/cx25821/cx25821-core.c rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); pci 1165 drivers/media/pci/cx25821/cx25821-core.c int cx25821_risc_databuffer_audio(struct pci_dev *pci, pci 1183 drivers/media/pci/cx25821/cx25821-core.c rc = cx25821_riscmem_alloc(pci, risc, instructions * 12); pci 1204 drivers/media/pci/cx25821/cx25821-core.c pci_free_consistent(dev->pci, pci 1261 drivers/media/pci/cx25821/cx25821-core.c struct cx25821_dev *cx25821_dev_get(struct pci_dev *pci) pci 1263 drivers/media/pci/cx25821/cx25821-core.c struct cx25821_dev *dev = pci_get_drvdata(pci); pci 1283 drivers/media/pci/cx25821/cx25821-core.c dev->pci = pci_dev; pci 1370 drivers/media/pci/cx25821/cx25821-core.c MODULE_DEVICE_TABLE(pci, cx25821_pci_tbl); pci 297 drivers/media/pci/cx25821/cx25821-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; pci 179 drivers/media/pci/cx25821/cx25821-video.c ret = cx25821_risc_buffer(dev->pci, &buf->risc, pci 184 drivers/media/pci/cx25821/cx25821-video.c ret = cx25821_risc_buffer(dev->pci, &buf->risc, pci 193 drivers/media/pci/cx25821/cx25821-video.c ret = cx25821_risc_buffer(dev->pci, &buf->risc, pci 199 drivers/media/pci/cx25821/cx25821-video.c ret = cx25821_risc_buffer(dev->pci, &buf->risc, pci 205 drivers/media/pci/cx25821/cx25821-video.c ret = cx25821_risc_buffer(dev->pci, &buf->risc, pci 429 drivers/media/pci/cx25821/cx25821-video.c sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci)); pci 740 drivers/media/pci/cx25821/cx25821-video.c q->dev = &dev->pci->dev; pci 225 drivers/media/pci/cx25821/cx25821.h struct pci_dev *pci; pci 395 drivers/media/pci/cx25821/cx25821.h extern int cx25821_riscmem_alloc(struct pci_dev *pci, pci 398 drivers/media/pci/cx25821/cx25821.h extern int cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc, pci 404 drivers/media/pci/cx25821/cx25821.h extern int cx25821_risc_databuffer_audio(struct pci_dev *pci, pci 416 drivers/media/pci/cx25821/cx25821.h extern struct cx25821_dev *cx25821_dev_get(struct pci_dev *pci); pci 58 drivers/media/pci/cx88/cx88-alsa.c struct pci_dev *pci; pci 318 drivers/media/pci/cx88/cx88-alsa.c buf->sglen = dma_map_sg(&dev->pci->dev, buf->sglist, pci 335 drivers/media/pci/cx88/cx88-alsa.c dma_unmap_sg(&dev->pci->dev, buf->sglist, buf->sglen, pci 360 drivers/media/pci/cx88/cx88-alsa.c pci_free_consistent(chip->pci, risc->size, pci 484 drivers/media/pci/cx88/cx88-alsa.c ret = cx88_risc_databuffer(chip->pci, &buf->risc, buf->sglist, pci 815 drivers/media/pci/cx88/cx88-alsa.c MODULE_DEVICE_TABLE(pci, cx88_audio_pci_tbl); pci 826 drivers/media/pci/cx88/cx88-alsa.c cx88_core_put(chip->core, chip->pci); pci 828 drivers/media/pci/cx88/cx88-alsa.c pci_disable_device(chip->pci); pci 847 drivers/media/pci/cx88/cx88-alsa.c static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci, pci 858 drivers/media/pci/cx88/cx88-alsa.c err = pci_enable_device(pci); pci 862 drivers/media/pci/cx88/cx88-alsa.c pci_set_master(pci); pci 866 drivers/media/pci/cx88/cx88-alsa.c core = cx88_core_get(pci); pci 872 drivers/media/pci/cx88/cx88-alsa.c err = pci_set_dma_mask(pci, DMA_BIT_MASK(32)); pci 875 drivers/media/pci/cx88/cx88-alsa.c cx88_core_put(core, pci); pci 881 drivers/media/pci/cx88/cx88-alsa.c chip->pci = pci; pci 888 drivers/media/pci/cx88/cx88-alsa.c err = request_irq(chip->pci->irq, cx8801_irq, pci 892 drivers/media/pci/cx88/cx88-alsa.c chip->core->name, chip->pci->irq); pci 897 drivers/media/pci/cx88/cx88-alsa.c pci_read_config_byte(pci, PCI_LATENCY_TIMER, &pci_lat); pci 902 drivers/media/pci/cx88/cx88-alsa.c pci_name(pci), pci->revision, pci->irq, pci 903 drivers/media/pci/cx88/cx88-alsa.c pci_lat, (unsigned long long)pci_resource_start(pci, 0)); pci 905 drivers/media/pci/cx88/cx88-alsa.c chip->irq = pci->irq; pci 914 drivers/media/pci/cx88/cx88-alsa.c static int cx88_audio_initdev(struct pci_dev *pci, pci 930 drivers/media/pci/cx88/cx88-alsa.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, pci 937 drivers/media/pci/cx88/cx88-alsa.c err = snd_cx88_create(card, pci, &chip, &core); pci 963 drivers/media/pci/cx88/cx88-alsa.c sprintf(card->shortname, "Conexant CX%x", pci->device); pci 966 drivers/media/pci/cx88/cx88-alsa.c (unsigned long long)pci_resource_start(pci, 0)); pci 975 drivers/media/pci/cx88/cx88-alsa.c pci_set_drvdata(pci, card); pci 988 drivers/media/pci/cx88/cx88-alsa.c static void cx88_audio_finidev(struct pci_dev *pci) pci 990 drivers/media/pci/cx88/cx88-alsa.c struct snd_card *card = pci_get_drvdata(pci); pci 463 drivers/media/pci/cx88/cx88-blackbird.c &dev->pci->dev); pci 688 drivers/media/pci/cx88/cx88-blackbird.c pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); pci 798 drivers/media/pci/cx88/cx88-blackbird.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 1132 drivers/media/pci/cx88/cx88-blackbird.c cx88_vdev_init(dev->core, dev->pci, &dev->mpeg_dev, pci 1205 drivers/media/pci/cx88/cx88-blackbird.c q->dev = &dev->pci->dev; pci 3257 drivers/media/pci/cx88/cx88-cards.c static void cx88_card_list(struct cx88_core *core, struct pci_dev *pci) pci 3261 drivers/media/pci/cx88/cx88-cards.c if (!pci->subsystem_vendor && !pci->subsystem_device) { pci 3591 drivers/media/pci/cx88/cx88-cards.c static int cx88_pci_quirks(const char *name, struct pci_dev *pci) pci 3627 drivers/media/pci/cx88/cx88-cards.c pci_read_config_byte(pci, CX88X_DEVCTRL, &value); pci 3629 drivers/media/pci/cx88/cx88-cards.c pci_write_config_byte(pci, CX88X_DEVCTRL, value); pci 3633 drivers/media/pci/cx88/cx88-cards.c pci_write_config_byte(pci, PCI_LATENCY_TIMER, latency); pci 3638 drivers/media/pci/cx88/cx88-cards.c int cx88_get_resources(const struct cx88_core *core, struct pci_dev *pci) pci 3640 drivers/media/pci/cx88/cx88-cards.c if (request_mem_region(pci_resource_start(pci, 0), pci 3641 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0), pci 3645 drivers/media/pci/cx88/cx88-cards.c PCI_FUNC(pci->devfn), pci 3646 drivers/media/pci/cx88/cx88-cards.c (unsigned long long)pci_resource_start(pci, 0), pci 3647 drivers/media/pci/cx88/cx88-cards.c pci->subsystem_vendor, pci->subsystem_device); pci 3655 drivers/media/pci/cx88/cx88-cards.c struct cx88_core *cx88_core_create(struct pci_dev *pci, int nr) pci 3665 drivers/media/pci/cx88/cx88-cards.c core->pci_bus = pci->bus->number; pci 3666 drivers/media/pci/cx88/cx88-cards.c core->pci_slot = PCI_SLOT(pci->devfn); pci 3706 drivers/media/pci/cx88/cx88-cards.c if (cx88_get_resources(core, pci) != 0) { pci 3715 drivers/media/pci/cx88/cx88-cards.c cx88_pci_quirks(core->name, pci); pci 3716 drivers/media/pci/cx88/cx88-cards.c core->lmmio = ioremap(pci_resource_start(pci, 0), pci 3717 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0)); pci 3721 drivers/media/pci/cx88/cx88-cards.c release_mem_region(pci_resource_start(pci, 0), pci 3722 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0)); pci 3735 drivers/media/pci/cx88/cx88-cards.c if (pci->subsystem_vendor == cx88_subids[i].subvendor && pci 3736 drivers/media/pci/cx88/cx88-cards.c pci->subsystem_device == cx88_subids[i].subdevice) pci 3740 drivers/media/pci/cx88/cx88-cards.c cx88_card_list(core, pci); pci 3749 drivers/media/pci/cx88/cx88-cards.c pci->subsystem_vendor, pci->subsystem_device, core->board.name, pci 3765 drivers/media/pci/cx88/cx88-cards.c cx88_i2c_init(core, pci); pci 3809 drivers/media/pci/cx88/cx88-cards.c cx88_ir_init(core, pci); pci 130 drivers/media/pci/cx88/cx88-core.c int cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, pci 155 drivers/media/pci/cx88/cx88-core.c risc->cpu = pci_zalloc_consistent(pci, risc->size, &risc->dma); pci 176 drivers/media/pci/cx88/cx88-core.c int cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, pci 193 drivers/media/pci/cx88/cx88-core.c risc->cpu = pci_zalloc_consistent(pci, risc->size, &risc->dma); pci 1009 drivers/media/pci/cx88/cx88-core.c struct pci_dev *pci, pci 1023 drivers/media/pci/cx88/cx88-core.c vfd->dev_parent = &pci->dev; pci 1031 drivers/media/pci/cx88/cx88-core.c struct cx88_core *cx88_core_get(struct pci_dev *pci) pci 1037 drivers/media/pci/cx88/cx88-core.c if (pci->bus->number != core->pci_bus) pci 1039 drivers/media/pci/cx88/cx88-core.c if (PCI_SLOT(pci->devfn) != core->pci_slot) pci 1042 drivers/media/pci/cx88/cx88-core.c if (cx88_get_resources(core, pci) != 0) { pci 1051 drivers/media/pci/cx88/cx88-core.c core = cx88_core_create(pci, cx88_devcount); pci 1062 drivers/media/pci/cx88/cx88-core.c void cx88_core_put(struct cx88_core *core, struct pci_dev *pci) pci 1064 drivers/media/pci/cx88/cx88-core.c release_mem_region(pci_resource_start(pci, 0), pci 1065 drivers/media/pci/cx88/cx88-core.c pci_resource_len(pci, 0)); pci 106 drivers/media/pci/cx88/cx88-dvb.c pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); pci 1631 drivers/media/pci/cx88/cx88-dvb.c &dev->pci->dev, NULL, adapter_nr, pci 1784 drivers/media/pci/cx88/cx88-dvb.c q->dev = &dev->pci->dev; pci 124 drivers/media/pci/cx88/cx88-i2c.c int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci) pci 132 drivers/media/pci/cx88/cx88-i2c.c core->i2c_adap.dev.parent = &pci->dev; pci 260 drivers/media/pci/cx88/cx88-input.c int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci) pci 460 drivers/media/pci/cx88/cx88-input.c snprintf(ir->phys, sizeof(ir->phys), "pci-%s/ir0", pci_name(pci)); pci 466 drivers/media/pci/cx88/cx88-input.c if (pci->subsystem_vendor) { pci 467 drivers/media/pci/cx88/cx88-input.c dev->input_id.vendor = pci->subsystem_vendor; pci 468 drivers/media/pci/cx88/cx88-input.c dev->input_id.product = pci->subsystem_device; pci 470 drivers/media/pci/cx88/cx88-input.c dev->input_id.vendor = pci->vendor; pci 471 drivers/media/pci/cx88/cx88-input.c dev->input_id.product = pci->device; pci 473 drivers/media/pci/cx88/cx88-input.c dev->dev.parent = &pci->dev; pci 225 drivers/media/pci/cx88/cx88-mpeg.c rc = cx88_risc_databuffer(dev->pci, risc, sgt->sgl, pci 229 drivers/media/pci/cx88/cx88-mpeg.c pci_free_consistent(dev->pci, risc->size, pci 386 drivers/media/pci/cx88/cx88-mpeg.c if (pci_enable_device(dev->pci)) pci 388 drivers/media/pci/cx88/cx88-mpeg.c pci_set_master(dev->pci); pci 389 drivers/media/pci/cx88/cx88-mpeg.c err = pci_set_dma_mask(dev->pci, DMA_BIT_MASK(32)); pci 395 drivers/media/pci/cx88/cx88-mpeg.c dev->pci_rev = dev->pci->revision; pci 396 drivers/media/pci/cx88/cx88-mpeg.c pci_read_config_byte(dev->pci, PCI_LATENCY_TIMER, &dev->pci_lat); pci 398 drivers/media/pci/cx88/cx88-mpeg.c pci_name(dev->pci), dev->pci_rev, dev->pci->irq, pci 400 drivers/media/pci/cx88/cx88-mpeg.c (unsigned long long)pci_resource_start(dev->pci, 0)); pci 409 drivers/media/pci/cx88/cx88-mpeg.c err = request_irq(dev->pci->irq, cx8802_irq, pci 412 drivers/media/pci/cx88/cx88-mpeg.c pr_err("can't get IRQ %d\n", dev->pci->irq); pci 418 drivers/media/pci/cx88/cx88-mpeg.c pci_set_drvdata(dev->pci, dev); pci 426 drivers/media/pci/cx88/cx88-mpeg.c pci_disable_device(dev->pci); pci 429 drivers/media/pci/cx88/cx88-mpeg.c free_irq(dev->pci->irq, dev); pci 615 drivers/media/pci/cx88/cx88-mpeg.c dev->pci->subsystem_vendor, pci 616 drivers/media/pci/cx88/cx88-mpeg.c dev->pci->subsystem_device, dev->core->board.name, pci 667 drivers/media/pci/cx88/cx88-mpeg.c dev->pci->subsystem_vendor, pci 668 drivers/media/pci/cx88/cx88-mpeg.c dev->pci->subsystem_device, dev->core->board.name, pci 719 drivers/media/pci/cx88/cx88-mpeg.c dev->pci = pci_dev; pci 782 drivers/media/pci/cx88/cx88-mpeg.c cx88_core_put(dev->core, dev->pci); pci 796 drivers/media/pci/cx88/cx88-mpeg.c MODULE_DEVICE_TABLE(pci, cx8802_pci_tbl); pci 147 drivers/media/pci/cx88/cx88-vbi.c cx88_risc_buffer(dev->pci, &buf->risc, sgt->sgl, pci 162 drivers/media/pci/cx88/cx88-vbi.c pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); pci 450 drivers/media/pci/cx88/cx88-video.c cx88_risc_buffer(dev->pci, &buf->risc, pci 455 drivers/media/pci/cx88/cx88-video.c cx88_risc_buffer(dev->pci, &buf->risc, pci 460 drivers/media/pci/cx88/cx88-video.c cx88_risc_buffer(dev->pci, &buf->risc, pci 467 drivers/media/pci/cx88/cx88-video.c cx88_risc_buffer(dev->pci, &buf->risc, pci 475 drivers/media/pci/cx88/cx88-video.c cx88_risc_buffer(dev->pci, &buf->risc, pci 497 drivers/media/pci/cx88/cx88-video.c pci_free_consistent(dev->pci, risc->size, risc->cpu, risc->dma); pci 812 drivers/media/pci/cx88/cx88-video.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 1272 drivers/media/pci/cx88/cx88-video.c dev->pci = pci_dev; pci 1277 drivers/media/pci/cx88/cx88-video.c core = cx88_core_get(dev->pci); pci 1421 drivers/media/pci/cx88/cx88-video.c q->dev = &dev->pci->dev; pci 1438 drivers/media/pci/cx88/cx88-video.c q->dev = &dev->pci->dev; pci 1445 drivers/media/pci/cx88/cx88-video.c cx88_vdev_init(core, dev->pci, &dev->video_dev, pci 1463 drivers/media/pci/cx88/cx88-video.c cx88_vdev_init(core, dev->pci, &dev->vbi_dev, pci 1481 drivers/media/pci/cx88/cx88-video.c cx88_vdev_init(core, dev->pci, &dev->radio_dev, pci 1517 drivers/media/pci/cx88/cx88-video.c cx88_core_put(core, dev->pci); pci 1550 drivers/media/pci/cx88/cx88-video.c cx88_core_put(core, dev->pci); pci 1648 drivers/media/pci/cx88/cx88-video.c MODULE_DEVICE_TABLE(pci, cx8800_pci_tbl); pci 107 drivers/media/pci/cx88/cx88-vp3054-i2c.c vp3054_i2c->adap.dev.parent = &dev->pci->dev; pci 478 drivers/media/pci/cx88/cx88.h struct pci_dev *pci; pci 540 drivers/media/pci/cx88/cx88.h struct pci_dev *pci; pci 621 drivers/media/pci/cx88/cx88.h cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, pci 626 drivers/media/pci/cx88/cx88.h cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, pci 643 drivers/media/pci/cx88/cx88.h struct pci_dev *pci, pci 647 drivers/media/pci/cx88/cx88.h struct cx88_core *cx88_core_get(struct pci_dev *pci); pci 649 drivers/media/pci/cx88/cx88.h struct pci_dev *pci); pci 669 drivers/media/pci/cx88/cx88.h int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci); pci 676 drivers/media/pci/cx88/cx88.h struct pci_dev *pci); pci 677 drivers/media/pci/cx88/cx88.h struct cx88_core *cx88_core_create(struct pci_dev *pci, int nr); pci 704 drivers/media/pci/cx88/cx88.h int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci); pci 284 drivers/media/pci/ddbridge/ddbridge-main.c MODULE_DEVICE_TABLE(pci, ddb_id_table); pci 283 drivers/media/pci/dm1105/dm1105.c static void dm1105_card_list(struct pci_dev *pci) pci 287 drivers/media/pci/dm1105/dm1105.c if (0 == pci->subsystem_vendor && pci 288 drivers/media/pci/dm1105/dm1105.c 0 == pci->subsystem_device) { pci 1221 drivers/media/pci/dm1105/dm1105.c MODULE_DEVICE_TABLE(pci, dm1105_id_table); pci 591 drivers/media/pci/dt3155/dt3155.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 2046 drivers/media/pci/intel/ipu3/ipu3-cio2.c MODULE_DEVICE_TABLE(pci, cio2_pci_id_table); pci 84 drivers/media/pci/ivtv/ivtv-driver.c MODULE_DEVICE_TABLE(pci,ivtv_pci_tbl); pci 251 drivers/media/pci/mantis/hopper_cards.c MODULE_DEVICE_TABLE(pci, hopper_pci_table); pci 295 drivers/media/pci/mantis/mantis_cards.c MODULE_DEVICE_TABLE(pci, mantis_pci_table); pci 1789 drivers/media/pci/meye/meye.c MODULE_DEVICE_TABLE(pci, meye_pci_tbl); pci 1012 drivers/media/pci/netup_unidvb/netup_unidvb_core.c MODULE_DEVICE_TABLE(pci, netup_unidvb_pci_tbl); pci 1182 drivers/media/pci/ngene/ngene-cards.c MODULE_DEVICE_TABLE(pci, ngene_id_tbl); pci 586 drivers/media/pci/ngene/ngene.h struct pci_dev *pci; pci 774 drivers/media/pci/pluto2/pluto2.c MODULE_DEVICE_TABLE(pci, pluto2_id_table); pci 1468 drivers/media/pci/pt1/pt1.c MODULE_DEVICE_TABLE(pci, pt1_id_table); pci 823 drivers/media/pci/pt3/pt3.c MODULE_DEVICE_TABLE(pci, pt3_id_table); pci 54 drivers/media/pci/saa7134/saa7134-alsa.c struct pci_dev *pci; pci 299 drivers/media/pci/saa7134/saa7134-alsa.c dma->sglen = dma_map_sg(&dev->pci->dev, dma->sglist, pci 316 drivers/media/pci/saa7134/saa7134-alsa.c dma_unmap_sg(&dev->pci->dev, dma->sglist, dma->sglen, PCI_DMA_FROMDEVICE); pci 408 drivers/media/pci/saa7134/saa7134-alsa.c switch (dev->pci->device) { pci 524 drivers/media/pci/saa7134/saa7134-alsa.c switch (dev->pci->device) { pci 686 drivers/media/pci/saa7134/saa7134-alsa.c saa7134_pgtable_free(dev->pci, &dev->dmasound.pt); pci 708 drivers/media/pci/saa7134/saa7134-alsa.c err = saa7134_pgtable_alloc(dev->pci, &dev->dmasound.pt); pci 714 drivers/media/pci/saa7134/saa7134-alsa.c err = saa7134_pgtable_build(dev->pci, &dev->dmasound.pt, pci 717 drivers/media/pci/saa7134/saa7134-alsa.c saa7134_pgtable_free(dev->pci, &dev->dmasound.pt); pci 753 drivers/media/pci/saa7134/saa7134-alsa.c saa7134_pgtable_free(dev->pci, &dev->dmasound.pt); pci 956 drivers/media/pci/saa7134/saa7134-alsa.c switch (dev->pci->device) { pci 1127 drivers/media/pci/saa7134/saa7134-alsa.c err = snd_card_new(&dev->pci->dev, index[devnum], id[devnum], pci 1146 drivers/media/pci/saa7134/saa7134-alsa.c chip->pci = dev->pci; pci 1147 drivers/media/pci/saa7134/saa7134-alsa.c chip->iobase = pci_resource_start(dev->pci, 0); pci 1150 drivers/media/pci/saa7134/saa7134-alsa.c err = request_irq(dev->pci->irq, saa7134_alsa_irq, pci 1156 drivers/media/pci/saa7134/saa7134-alsa.c dev->name, dev->pci->irq); pci 1160 drivers/media/pci/saa7134/saa7134-alsa.c chip->irq = dev->pci->irq; pci 1227 drivers/media/pci/saa7134/saa7134-alsa.c if (dev->pci->device == PCI_DEVICE_ID_PHILIPS_SAA7130) pci 7085 drivers/media/pci/saa7134/saa7134-cards.c MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl); pci 159 drivers/media/pci/saa7134/saa7134-core.c if (dev->pci->device != PCI_DEVICE_ID_PHILIPS_SAA7130) pci 221 drivers/media/pci/saa7134/saa7134-core.c int saa7134_pgtable_alloc(struct pci_dev *pci, struct saa7134_pgtable *pt) pci 226 drivers/media/pci/saa7134/saa7134-core.c cpu = pci_alloc_consistent(pci, SAA7134_PGTABLE_SIZE, &dma_addr); pci 235 drivers/media/pci/saa7134/saa7134-core.c int saa7134_pgtable_build(struct pci_dev *pci, struct saa7134_pgtable *pt, pci 253 drivers/media/pci/saa7134/saa7134-core.c void saa7134_pgtable_free(struct pci_dev *pci, struct saa7134_pgtable *pt) pci 257 drivers/media/pci/saa7134/saa7134-core.c pci_free_consistent(pci, pt->size, pt->cpu, pt->dma); pci 1047 drivers/media/pci/saa7134/saa7134-core.c dev->pci = pci_dev; pci 260 drivers/media/pci/saa7134/saa7134-dvb.c return request_firmware(fw, name, &dev->pci->dev); pci 1228 drivers/media/pci/saa7134/saa7134-dvb.c q->dev = &dev->pci->dev; pci 1890 drivers/media/pci/saa7134/saa7134-dvb.c &dev->pci->dev, NULL, pci 1894 drivers/media/pci/saa7134/saa7134-dvb.c &dev->pci->dev, dev->media_dev, pci 283 drivers/media/pci/saa7134/saa7134-empress.c q->dev = &dev->pci->dev; pci 236 drivers/media/pci/saa7134/saa7134-go7007.c dma_sync_single_for_cpu(&dev->pci->dev, pci 241 drivers/media/pci/saa7134/saa7134-go7007.c dma_sync_single_for_cpu(&dev->pci->dev, pci 253 drivers/media/pci/saa7134/saa7134-go7007.c saa->top_dma = dma_map_page(&dev->pci->dev, virt_to_page(saa->top), pci 255 drivers/media/pci/saa7134/saa7134-go7007.c if (dma_mapping_error(&dev->pci->dev, saa->top_dma)) pci 257 drivers/media/pci/saa7134/saa7134-go7007.c saa->bottom_dma = dma_map_page(&dev->pci->dev, pci 260 drivers/media/pci/saa7134/saa7134-go7007.c if (dma_mapping_error(&dev->pci->dev, saa->bottom_dma)) { pci 261 drivers/media/pci/saa7134/saa7134-go7007.c dma_unmap_page(&dev->pci->dev, saa->top_dma, PAGE_SIZE, pci 327 drivers/media/pci/saa7134/saa7134-go7007.c dma_unmap_page(&dev->pci->dev, saa->top_dma, PAGE_SIZE, pci 329 drivers/media/pci/saa7134/saa7134-go7007.c dma_unmap_page(&dev->pci->dev, saa->bottom_dma, PAGE_SIZE, pci 418 drivers/media/pci/saa7134/saa7134-go7007.c go = go7007_alloc(&board_voyager, &dev->pci->dev); pci 429 drivers/media/pci/saa7134/saa7134-go7007.c snprintf(go->bus_info, sizeof(go->bus_info), "PCI:%s", pci_name(dev->pci)); pci 434 drivers/media/pci/saa7134/saa7134-i2c.c dev->i2c_adap.dev.parent = &dev->pci->dev; pci 790 drivers/media/pci/saa7134/saa7134-input.c pci_name(dev->pci)); pci 804 drivers/media/pci/saa7134/saa7134-input.c if (dev->pci->subsystem_vendor) { pci 805 drivers/media/pci/saa7134/saa7134-input.c rc->input_id.vendor = dev->pci->subsystem_vendor; pci 806 drivers/media/pci/saa7134/saa7134-input.c rc->input_id.product = dev->pci->subsystem_device; pci 808 drivers/media/pci/saa7134/saa7134-input.c rc->input_id.vendor = dev->pci->vendor; pci 809 drivers/media/pci/saa7134/saa7134-input.c rc->input_id.product = dev->pci->device; pci 811 drivers/media/pci/saa7134/saa7134-input.c rc->dev.parent = &dev->pci->dev; pci 101 drivers/media/pci/saa7134/saa7134-ts.c return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, pci 221 drivers/media/pci/saa7134/saa7134-ts.c saa7134_pgtable_alloc(dev->pci, &dev->ts_q.pt); pci 303 drivers/media/pci/saa7134/saa7134-ts.c saa7134_pgtable_free(dev->pci, &dev->ts_q.pt); pci 205 drivers/media/pci/saa7134/saa7134-tvaudio.c if (PCI_DEVICE_ID_PHILIPS_SAA7134 == dev->pci->device) pci 864 drivers/media/pci/saa7134/saa7134-tvaudio.c if (dev->pci->device == PCI_DEVICE_ID_PHILIPS_SAA7130) pci 870 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 909 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 925 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 940 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 953 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 973 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 1002 drivers/media/pci/saa7134/saa7134-tvaudio.c switch (dev->pci->device) { pci 124 drivers/media/pci/saa7134/saa7134-vbi.c return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, pci 933 drivers/media/pci/saa7134/saa7134-video.c return saa7134_pgtable_build(dev->pci, &dmaq->pt, dma->sgl, dma->nents, pci 1482 drivers/media/pci/saa7134/saa7134-video.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 2127 drivers/media/pci/saa7134/saa7134-video.c q->dev = &dev->pci->dev; pci 2131 drivers/media/pci/saa7134/saa7134-video.c saa7134_pgtable_alloc(dev->pci, &dev->video_q.pt); pci 2146 drivers/media/pci/saa7134/saa7134-video.c q->dev = &dev->pci->dev; pci 2150 drivers/media/pci/saa7134/saa7134-video.c saa7134_pgtable_alloc(dev->pci, &dev->vbi_q.pt); pci 2159 drivers/media/pci/saa7134/saa7134-video.c saa7134_pgtable_free(dev->pci, &dev->video_q.pt); pci 2161 drivers/media/pci/saa7134/saa7134-video.c saa7134_pgtable_free(dev->pci, &dev->vbi_q.pt); pci 570 drivers/media/pci/saa7134/saa7134.h struct pci_dev *pci; pci 755 drivers/media/pci/saa7134/saa7134.h int saa7134_pgtable_alloc(struct pci_dev *pci, struct saa7134_pgtable *pt); pci 756 drivers/media/pci/saa7134/saa7134.h int saa7134_pgtable_build(struct pci_dev *pci, struct saa7134_pgtable *pt, pci 759 drivers/media/pci/saa7134/saa7134.h void saa7134_pgtable_free(struct pci_dev *pci, struct saa7134_pgtable *pt); pci 376 drivers/media/pci/saa7146/hexium_gemini.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 239 drivers/media/pci/saa7146/hexium_orion.c if (0x17c8 == dev->pci->subsystem_vendor && 0x0101 == dev->pci->subsystem_device) { pci 247 drivers/media/pci/saa7146/hexium_orion.c if (0x17c8 == dev->pci->subsystem_vendor && 0x2101 == dev->pci->subsystem_device) { pci 445 drivers/media/pci/saa7146/hexium_orion.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 661 drivers/media/pci/saa7146/mxb.c if (reg->reg > pci_resource_len(dev->pci, 0) - 4) pci 672 drivers/media/pci/saa7146/mxb.c if (reg->reg > pci_resource_len(dev->pci, 0) - 4) pci 823 drivers/media/pci/saa7146/mxb.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 106 drivers/media/pci/saa7164/saa7164-buffer.c buf->cpu = pci_alloc_consistent(port->dev->pci, buf->pci_size, pci 111 drivers/media/pci/saa7164/saa7164-buffer.c buf->pt_cpu = pci_alloc_consistent(port->dev->pci, buf->pt_size, pci 140 drivers/media/pci/saa7164/saa7164-buffer.c pci_free_consistent(port->dev->pci, buf->pci_size, buf->cpu, buf->dma); pci 163 drivers/media/pci/saa7164/saa7164-buffer.c pci_free_consistent(dev->pci, buf->pci_size, buf->cpu, buf->dma); pci 164 drivers/media/pci/saa7164/saa7164-buffer.c pci_free_consistent(dev->pci, buf->pt_size, buf->pt_cpu, buf->pt_dma); pci 697 drivers/media/pci/saa7164/saa7164-cards.c if (0 == dev->pci->subsystem_vendor && pci 698 drivers/media/pci/saa7164/saa7164-cards.c 0 == dev->pci->subsystem_device) { pci 879 drivers/media/pci/saa7164/saa7164-core.c if (request_mem_region(pci_resource_start(dev->pci, 0), pci 880 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0), dev->name)) { pci 882 drivers/media/pci/saa7164/saa7164-core.c if (request_mem_region(pci_resource_start(dev->pci, 2), pci 883 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2), dev->name)) pci 889 drivers/media/pci/saa7164/saa7164-core.c (u64)pci_resource_start(dev->pci, 0), pci 890 drivers/media/pci/saa7164/saa7164-core.c (u64)pci_resource_start(dev->pci, 2)); pci 965 drivers/media/pci/saa7164/saa7164-core.c if (dev->pci->subsystem_vendor == saa7164_subids[i].subvendor && pci 966 drivers/media/pci/saa7164/saa7164-core.c dev->pci->subsystem_device == pci 975 drivers/media/pci/saa7164/saa7164-core.c dev->pci_bus = dev->pci->bus->number; pci 976 drivers/media/pci/saa7164/saa7164-core.c dev->pci_slot = PCI_SLOT(dev->pci->devfn); pci 996 drivers/media/pci/saa7164/saa7164-core.c dev->name, dev->pci->subsystem_vendor, pci 997 drivers/media/pci/saa7164/saa7164-core.c dev->pci->subsystem_device); pci 1004 drivers/media/pci/saa7164/saa7164-core.c dev->lmmio = ioremap(pci_resource_start(dev->pci, 0), pci 1005 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0)); pci 1007 drivers/media/pci/saa7164/saa7164-core.c dev->lmmio2 = ioremap(pci_resource_start(dev->pci, 2), pci 1008 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2)); pci 1019 drivers/media/pci/saa7164/saa7164-core.c dev->name, dev->pci->subsystem_vendor, pci 1020 drivers/media/pci/saa7164/saa7164-core.c dev->pci->subsystem_device, saa7164_boards[dev->board].name, pci 1033 drivers/media/pci/saa7164/saa7164-core.c release_mem_region(pci_resource_start(dev->pci, 0), pci 1034 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0)); pci 1036 drivers/media/pci/saa7164/saa7164-core.c release_mem_region(pci_resource_start(dev->pci, 2), pci 1037 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2)); pci 1222 drivers/media/pci/saa7164/saa7164-core.c dev->pci = pci_dev; pci 1491 drivers/media/pci/saa7164/saa7164-core.c MODULE_DEVICE_TABLE(pci, saa7164_pci_tbl); pci 386 drivers/media/pci/saa7164/saa7164-dvb.c &dev->pci->dev, adapter_nr); pci 493 drivers/media/pci/saa7164/saa7164-encoder.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 974 drivers/media/pci/saa7164/saa7164-encoder.c struct pci_dev *pci, pci 1077 drivers/media/pci/saa7164/saa7164-encoder.c dev->pci, &saa7164_mpeg_template, "mpeg"); pci 408 drivers/media/pci/saa7164/saa7164-fw.c ret = request_firmware(&fw, fwname, &dev->pci->dev); pci 90 drivers/media/pci/saa7164/saa7164-i2c.c bus->i2c_adap.dev.parent = &dev->pci->dev; pci 204 drivers/media/pci/saa7164/saa7164-vbi.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 677 drivers/media/pci/saa7164/saa7164-vbi.c struct pci_dev *pci, pci 721 drivers/media/pci/saa7164/saa7164-vbi.c dev->pci, &saa7164_vbi_template, "vbi"); pci 427 drivers/media/pci/saa7164/saa7164.h struct pci_dev *pci; pci 1107 drivers/media/pci/smipcie/smipcie-main.c MODULE_DEVICE_TABLE(pci, smi_id_table); pci 669 drivers/media/pci/solo6x10/solo6x10-core.c MODULE_DEVICE_TABLE(pci, solo_id_table); pci 1309 drivers/media/pci/sta2x11/sta2x11_vip.c MODULE_DEVICE_TABLE(pci, sta2x11_vip_pci_tbl); pci 152 drivers/media/pci/ttpci/av7110.c if (dev->pci->subsystem_vendor == 0x13c2 && dev->pci->subsystem_device == 0x000a) pci 169 drivers/media/pci/ttpci/av7110.c else if (dev->pci->subsystem_vendor == 0x110a) { pci 189 drivers/media/pci/ttpci/av7110.c ((av7110->dev->pci->subsystem_vendor == 0x110a) || pci 190 drivers/media/pci/ttpci/av7110.c (av7110->dev->pci->subsystem_vendor == 0x13c2)) && pci 191 drivers/media/pci/ttpci/av7110.c (av7110->dev->pci->subsystem_device == 0x0000)) { pci 197 drivers/media/pci/ttpci/av7110.c if (dev->pci->subsystem_vendor == 0x13c2 && dev->pci->subsystem_device == 0x000e) pci 1252 drivers/media/pci/ttpci/av7110.c pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); pci 1501 drivers/media/pci/ttpci/av7110.c ret = request_firmware(&fw, "dvb-ttpci-01.fw", &av7110->dev->pci->dev); pci 1702 drivers/media/pci/ttpci/av7110.c return request_firmware(fw, name, &av7110->dev->pci->dev); pci 2093 drivers/media/pci/ttpci/av7110.c if (av7110->dev->pci->subsystem_vendor == 0x110a) { pci 2094 drivers/media/pci/ttpci/av7110.c switch(av7110->dev->pci->subsystem_device) { pci 2104 drivers/media/pci/ttpci/av7110.c } else if (av7110->dev->pci->subsystem_vendor == 0x13c2) { pci 2105 drivers/media/pci/ttpci/av7110.c switch(av7110->dev->pci->subsystem_device) { pci 2146 drivers/media/pci/ttpci/av7110.c switch(av7110->dev->pci->subsystem_device) { pci 2260 drivers/media/pci/ttpci/av7110.c av7110->dev->pci->vendor, pci 2261 drivers/media/pci/ttpci/av7110.c av7110->dev->pci->device, pci 2262 drivers/media/pci/ttpci/av7110.c av7110->dev->pci->subsystem_vendor, pci 2263 drivers/media/pci/ttpci/av7110.c av7110->dev->pci->subsystem_device); pci 2349 drivers/media/pci/ttpci/av7110.c struct pci_dev *pdev = dev->pci; pci 2461 drivers/media/pci/ttpci/av7110.c THIS_MODULE, &dev->pci->dev, adapter_nr); pci 2763 drivers/media/pci/ttpci/av7110.c saa7146_vfree_destroy_pgtable(saa->pci, av7110->grabbing, &av7110->pt); pci 2781 drivers/media/pci/ttpci/av7110.c pci_free_consistent(saa->pci, 8192, av7110->debi_virt, pci 2882 drivers/media/pci/ttpci/av7110.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 237 drivers/media/pci/ttpci/av7110_hw.c ret = request_firmware(&fw, fw_name, &dev->pci->dev); pci 108 drivers/media/pci/ttpci/av7110_ir.c struct pci_dev *pci; pci 115 drivers/media/pci/ttpci/av7110_ir.c pci = av7110->dev->pci; pci 118 drivers/media/pci/ttpci/av7110_ir.c "pci-%s/ir0", pci_name(pci)); pci 125 drivers/media/pci/ttpci/av7110_ir.c if (pci->subsystem_vendor) { pci 126 drivers/media/pci/ttpci/av7110_ir.c rcdev->input_id.vendor = pci->subsystem_vendor; pci 127 drivers/media/pci/ttpci/av7110_ir.c rcdev->input_id.product = pci->subsystem_device; pci 129 drivers/media/pci/ttpci/av7110_ir.c rcdev->input_id.vendor = pci->vendor; pci 130 drivers/media/pci/ttpci/av7110_ir.c rcdev->input_id.product = pci->device; pci 133 drivers/media/pci/ttpci/av7110_ir.c rcdev->dev.parent = &pci->dev; pci 729 drivers/media/pci/ttpci/av7110_v4l.c if ((av7110->dev->pci->subsystem_vendor == 0x110a) && (av7110->dev->pci->subsystem_device == 0x0000)) { pci 732 drivers/media/pci/ttpci/av7110_v4l.c } else if ((av7110->dev->pci->subsystem_vendor == 0x13c2) && (av7110->dev->pci->subsystem_device == 0x0002)) { pci 735 drivers/media/pci/ttpci/av7110_v4l.c } else if ((av7110->dev->pci->subsystem_vendor == 0x13c2) && (av7110->dev->pci->subsystem_device == 0x000A)) { pci 773 drivers/media/pci/ttpci/budget-av.c return request_firmware(fw, name, &budget->dev->pci->dev); pci 1208 drivers/media/pci/ttpci/budget-av.c switch (saa->pci->subsystem_device) { pci 1221 drivers/media/pci/ttpci/budget-av.c switch (saa->pci->subsystem_device) { pci 1232 drivers/media/pci/ttpci/budget-av.c if (saa->pci->subsystem_vendor == 0x1894) { pci 1335 drivers/media/pci/ttpci/budget-av.c saa->pci->vendor, pci 1336 drivers/media/pci/ttpci/budget-av.c saa->pci->device, pci 1337 drivers/media/pci/ttpci/budget-av.c saa->pci->subsystem_vendor, pci 1338 drivers/media/pci/ttpci/budget-av.c saa->pci->subsystem_device); pci 1591 drivers/media/pci/ttpci/budget-av.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 173 drivers/media/pci/ttpci/budget-ci.c "pci-%s/ir0", pci_name(saa->pci)); pci 180 drivers/media/pci/ttpci/budget-ci.c if (saa->pci->subsystem_vendor) { pci 181 drivers/media/pci/ttpci/budget-ci.c dev->input_id.vendor = saa->pci->subsystem_vendor; pci 182 drivers/media/pci/ttpci/budget-ci.c dev->input_id.product = saa->pci->subsystem_device; pci 184 drivers/media/pci/ttpci/budget-ci.c dev->input_id.vendor = saa->pci->vendor; pci 185 drivers/media/pci/ttpci/budget-ci.c dev->input_id.product = saa->pci->device; pci 187 drivers/media/pci/ttpci/budget-ci.c dev->dev.parent = &saa->pci->dev; pci 195 drivers/media/pci/ttpci/budget-ci.c switch (budget_ci->budget.dev->pci->subsystem_device) { pci 819 drivers/media/pci/ttpci/budget-ci.c return request_firmware(fw, name, &budget_ci->budget.dev->pci->dev); pci 1301 drivers/media/pci/ttpci/budget-ci.c switch (budget_ci->budget.dev->pci->subsystem_device) { pci 1439 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dev->pci->vendor, pci 1440 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dev->pci->device, pci 1441 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dev->pci->subsystem_vendor, pci 1442 drivers/media/pci/ttpci/budget-ci.c budget_ci->budget.dev->pci->subsystem_device); pci 1543 drivers/media/pci/ttpci/budget-ci.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 183 drivers/media/pci/ttpci/budget-core.c pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); pci 470 drivers/media/pci/ttpci/budget-core.c owner, &budget->dev->pci->dev, adapter_nums); pci 507 drivers/media/pci/ttpci/budget-core.c budget->grabbing = saa7146_vmalloc_build_pgtable(dev->pci, budget->buffer_size, &budget->pt); pci 527 drivers/media/pci/ttpci/budget-core.c saa7146_vfree_destroy_pgtable(dev->pci, budget->grabbing, &budget->pt); pci 556 drivers/media/pci/ttpci/budget-core.c saa7146_vfree_destroy_pgtable(dev->pci, budget->grabbing, &budget->pt); pci 319 drivers/media/pci/ttpci/budget-patch.c switch(budget->dev->pci->subsystem_device) { pci 359 drivers/media/pci/ttpci/budget-patch.c budget->dev->pci->vendor, pci 360 drivers/media/pci/ttpci/budget-patch.c budget->dev->pci->device, pci 361 drivers/media/pci/ttpci/budget-patch.c budget->dev->pci->subsystem_vendor, pci 362 drivers/media/pci/ttpci/budget-patch.c budget->dev->pci->subsystem_device); pci 410 drivers/media/pci/ttpci/budget.c return request_firmware(fw, name, &budget->dev->pci->dev); pci 481 drivers/media/pci/ttpci/budget.c switch(budget->dev->pci->subsystem_device) { pci 499 drivers/media/pci/ttpci/budget.c if (budget->dev->pci->subsystem_device == 0x1003 && diseqc_method == 0) { pci 755 drivers/media/pci/ttpci/budget.c budget->dev->pci->vendor, pci 756 drivers/media/pci/ttpci/budget.c budget->dev->pci->device, pci 757 drivers/media/pci/ttpci/budget.c budget->dev->pci->subsystem_vendor, pci 758 drivers/media/pci/ttpci/budget.c budget->dev->pci->subsystem_device); pci 853 drivers/media/pci/ttpci/budget.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 116 drivers/media/pci/tw5864/tw5864-core.c dev_dbg(&dev->pci->dev, "Unknown interrupt, status 0x%08X\n", pci 158 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, pci 256 drivers/media/pci/tw5864/tw5864-core.c dev->pci = pci_dev; pci 259 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, "pci_enable_device() failed\n"); pci 267 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, "32 bit PCI DMA is not supported\n"); pci 274 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, "Cannot request regions for MMIO\n"); pci 280 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, "can't ioremap() MMIO memory\n"); pci 300 drivers/media/pci/tw5864/tw5864-core.c dev_err(&dev->pci->dev, "can't get IRQ %d\n", pci_dev->irq); pci 11 drivers/media/pci/tw5864/tw5864-util.c dev_err(&dev->pci->dev, pci 25 drivers/media/pci/tw5864/tw5864-util.c dev_err(&dev->pci->dev, pci 34 drivers/media/pci/tw5864/tw5864-util.c dev_err(&dev->pci->dev, pci 217 drivers/media/pci/tw5864/tw5864-video.c dev_dbg(&dev->pci->dev, pci 238 drivers/media/pci/tw5864/tw5864-video.c dev_dbg(&dev->pci->dev, "Enabling channel %d\n", nr); pci 419 drivers/media/pci/tw5864/tw5864-video.c dev_dbg(&dev->pci->dev, "Disabling channel %d\n", input->nr); pci 607 drivers/media/pci/tw5864/tw5864-video.c sprintf(cap->bus_info, "PCI:%s", pci_name(input->root->pci)); pci 724 drivers/media/pci/tw5864/tw5864-video.c dev_warn(&dev->pci->dev, "tw5864_frameinterval_get requested for unknown std %d\n", pci 953 drivers/media/pci/tw5864/tw5864-video.c frame->vlc.addr = dma_alloc_coherent(&dev->pci->dev, pci 958 drivers/media/pci/tw5864/tw5864-video.c dev_err(&dev->pci->dev, "dma alloc fail\n"); pci 962 drivers/media/pci/tw5864/tw5864-video.c frame->mv.addr = dma_alloc_coherent(&dev->pci->dev, pci 967 drivers/media/pci/tw5864/tw5864-video.c dev_err(&dev->pci->dev, "dma alloc fail\n"); pci 969 drivers/media/pci/tw5864/tw5864-video.c dma_free_coherent(&dev->pci->dev, H264_VLC_BUF_SIZE, pci 1082 drivers/media/pci/tw5864/tw5864-video.c dma_free_coherent(&dev->pci->dev, H264_VLC_BUF_SIZE, pci 1085 drivers/media/pci/tw5864/tw5864-video.c dma_free_coherent(&dev->pci->dev, H264_MV_BUF_SIZE, pci 1114 drivers/media/pci/tw5864/tw5864-video.c input->vidq.dev = &input->root->pci->dev; pci 1163 drivers/media/pci/tw5864/tw5864-video.c dev_info(&input->root->pci->dev, "Registered video device %s\n", pci 1205 drivers/media/pci/tw5864/tw5864-video.c dma_free_coherent(&dev->pci->dev, H264_VLC_BUF_SIZE, pci 1208 drivers/media/pci/tw5864/tw5864-video.c dma_free_coherent(&dev->pci->dev, H264_MV_BUF_SIZE, pci 1328 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_cpu(&dev->pci->dev, frame->vlc.dma_addr, pci 1330 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_cpu(&dev->pci->dev, frame->mv.dma_addr, pci 1333 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_device(&dev->pci->dev, frame->vlc.dma_addr, pci 1335 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_device(&dev->pci->dev, frame->mv.dma_addr, pci 1380 drivers/media/pci/tw5864/tw5864-video.c dev_err(&dev->pci->dev, pci 1390 drivers/media/pci/tw5864/tw5864-video.c dev_dbg(&dev->pci->dev, "vb is empty, dropping frame\n"); pci 1401 drivers/media/pci/tw5864/tw5864-video.c dev_err_once(&dev->pci->dev, pci 161 drivers/media/pci/tw5864/tw5864.h struct pci_dev *pci; pci 203 drivers/media/pci/tw68/tw68-core.c dev_dbg(&dev->pci->dev, "%s: **** INTERRUPT NOT HANDLED - clearing mask (orig 0x%08x, cur 0x%08x)", pci 205 drivers/media/pci/tw68/tw68-core.c dev_dbg(&dev->pci->dev, "%s: pci_irqmask 0x%08x; board_virqmask 0x%08x ****\n", pci 230 drivers/media/pci/tw68/tw68-core.c dev->pci = pci_dev; pci 128 drivers/media/pci/tw68/tw68-risc.c int tw68_risc_buffer(struct pci_dev *pci, pci 154 drivers/media/pci/tw68/tw68-risc.c buf->cpu = pci_alloc_consistent(pci, buf->size, &buf->dma); pci 455 drivers/media/pci/tw68/tw68-video.c tw68_risc_buffer(dev->pci, buf, dma->sgl, pci 459 drivers/media/pci/tw68/tw68-video.c tw68_risc_buffer(dev->pci, buf, dma->sgl, pci 463 drivers/media/pci/tw68/tw68-video.c tw68_risc_buffer(dev->pci, buf, dma->sgl, pci 468 drivers/media/pci/tw68/tw68-video.c tw68_risc_buffer(dev->pci, buf, dma->sgl, pci 474 drivers/media/pci/tw68/tw68-video.c tw68_risc_buffer(dev->pci, buf, dma->sgl, pci 488 drivers/media/pci/tw68/tw68-video.c pci_free_consistent(dev->pci, buf->size, buf->cpu, buf->dma); pci 720 drivers/media/pci/tw68/tw68-video.c sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); pci 956 drivers/media/pci/tw68/tw68-video.c dev->vidq.dev = &dev->pci->dev; pci 999 drivers/media/pci/tw68/tw68-video.c dev_dbg(&dev->pci->dev, "Lost sync\n"); pci 1001 drivers/media/pci/tw68/tw68-video.c dev_err(&dev->pci->dev, "PABORT interrupt\n"); pci 1003 drivers/media/pci/tw68/tw68-video.c dev_err(&dev->pci->dev, "DMAPERR interrupt\n"); pci 1009 drivers/media/pci/tw68/tw68-video.c dev_dbg(&dev->pci->dev, "FDMIS interrupt\n"); pci 1014 drivers/media/pci/tw68/tw68-video.c dev_dbg(&dev->pci->dev, "FFOF interrupt\n"); pci 1018 drivers/media/pci/tw68/tw68-video.c dev_dbg(&dev->pci->dev, "FFERR interrupt\n"); pci 143 drivers/media/pci/tw68/tw68.h struct pci_dev *pci; pci 202 drivers/media/pci/tw68/tw68.h int tw68_risc_buffer(struct pci_dev *pci, struct tw68_buf *buf, pci 438 drivers/media/pci/tw686x/tw686x-core.c MODULE_DEVICE_TABLE(pci, tw686x_pci_tbl); pci 651 drivers/media/platform/marvell-ccic/cafe-driver.c MODULE_DEVICE_TABLE(pci, cafe_ids); pci 196 drivers/media/radio/radio-maxiradio.c MODULE_DEVICE_TABLE(pci, maxiradio_pci_tbl); pci 1047 drivers/memstick/host/jmb38x_ms.c MODULE_DEVICE_TABLE(pci, jmb38x_ms_id_tbl); pci 872 drivers/memstick/host/r592.c MODULE_DEVICE_TABLE(pci, r592_pci_id_tbl); pci 160 drivers/message/fusion/mptfc.c MODULE_DEVICE_TABLE(pci, mptfc_pci_table); pci 5370 drivers/message/fusion/mptsas.c MODULE_DEVICE_TABLE(pci, mptsas_pci_table); pci 1249 drivers/message/fusion/mptspi.c MODULE_DEVICE_TABLE(pci, mptspi_pci_table); pci 161 drivers/mfd/cs5535-mfd.c MODULE_DEVICE_TABLE(pci, cs5535_mfd_pci_tbl); pci 339 drivers/mfd/intel-lpss-pci.c MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids); pci 121 drivers/mfd/intel_quark_i2c_gpio.c MODULE_DEVICE_TABLE(pci, intel_quark_mfd_ids); pci 68 drivers/mfd/janz-cmodio.c struct pci_dev *pci; pci 70 drivers/mfd/janz-cmodio.c pci = priv->pdev; pci 89 drivers/mfd/janz-cmodio.c res->parent = &pci->resource[3]; pci 90 drivers/mfd/janz-cmodio.c res->start = pci->resource[3].start + (CMODIO_MODULBUS_SIZE * modno); pci 96 drivers/mfd/janz-cmodio.c res->parent = &pci->resource[4]; pci 97 drivers/mfd/janz-cmodio.c res->start = pci->resource[4].start; pci 98 drivers/mfd/janz-cmodio.c res->end = pci->resource[4].end; pci 270 drivers/mfd/janz-cmodio.c MODULE_DEVICE_TABLE(pci, cmodio_pci_ids); pci 806 drivers/mfd/lpc_ich.c MODULE_DEVICE_TABLE(pci, lpc_ich_ids); pci 81 drivers/mfd/lpc_sch.c MODULE_DEVICE_TABLE(pci, lpc_sch_ids); pci 84 drivers/mfd/rdc321x-southbridge.c MODULE_DEVICE_TABLE(pci, rdc321x_sb_table); pci 1700 drivers/mfd/sm501.c MODULE_DEVICE_TABLE(pci, sm501_pci_tbl); pci 845 drivers/mfd/timberdale.c MODULE_DEVICE_TABLE(pci, timberdale_pci_tbl); pci 110 drivers/mfd/vx855.c MODULE_DEVICE_TABLE(pci, vx855_pci_tbl); pci 48 drivers/misc/cardreader/alcor_pci.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 93 drivers/misc/cardreader/alcor_pci.c struct pci_dev *pci) pci 100 drivers/misc/cardreader/alcor_pci.c pci_read_config_byte(pci, where, &val8); pci 106 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); pci 131 drivers/misc/cardreader/alcor_pci.c struct pci_dev *pci; pci 146 drivers/misc/cardreader/alcor_pci.c pci = priv->pdev; pci 148 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); pci 151 drivers/misc/cardreader/alcor_pci.c pci = priv->parent_pdev; pci 153 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); pci 173 drivers/misc/cardreader/alcor_pci.c struct pci_dev *pci; pci 200 drivers/misc/cardreader/alcor_pci.c pci = priv->parent_pdev; pci 204 drivers/misc/cardreader/alcor_pci.c pci = priv->pdev; pci 209 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); pci 212 drivers/misc/cardreader/alcor_pci.c pci_write_config_byte(pci, where, (u8)val32); pci 108 drivers/misc/cardreader/rts5227.c pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); pci 121 drivers/misc/cardreader/rts5249.c pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &val); pci 522 drivers/misc/cardreader/rts5260.c pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &val); pci 57 drivers/misc/cardreader/rtsx_pcr.c MODULE_DEVICE_TABLE(pci, rtsx_pci_ids); pci 480 drivers/misc/cardreader/rtsx_pcr.c return dma_map_sg(&(pcr->pci->dev), sglist, num_sg, dir); pci 489 drivers/misc/cardreader/rtsx_pcr.c dma_unmap_sg(&(pcr->pci->dev), sglist, num_sg, dir); pci 1058 drivers/misc/cardreader/rtsx_pcr.c __func__, pcr->msi_en, pcr->pci->irq); pci 1060 drivers/misc/cardreader/rtsx_pcr.c if (request_irq(pcr->pci->irq, rtsx_pci_isr, pci 1063 drivers/misc/cardreader/rtsx_pcr.c dev_err(&(pcr->pci->dev), pci 1065 drivers/misc/cardreader/rtsx_pcr.c pcr->pci->irq); pci 1069 drivers/misc/cardreader/rtsx_pcr.c pcr->irq = pcr->pci->irq; pci 1070 drivers/misc/cardreader/rtsx_pcr.c pci_intx(pcr->pci, !pcr->msi_en); pci 1253 drivers/misc/cardreader/rtsx_pcr.c pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP); pci 1482 drivers/misc/cardreader/rtsx_pcr.c pcr->pci = pcidev; pci 1547 drivers/misc/cardreader/rtsx_pcr.c pci_disable_msi(pcr->pci); pci 1548 drivers/misc/cardreader/rtsx_pcr.c dma_free_coherent(&(pcr->pci->dev), RTSX_RESV_BUF_LEN, pci 1582 drivers/misc/cardreader/rtsx_pcr.c dma_free_coherent(&(pcr->pci->dev), RTSX_RESV_BUF_LEN, pci 1586 drivers/misc/cardreader/rtsx_pcr.c pci_disable_msi(pcr->pci); pci 1682 drivers/misc/cardreader/rtsx_pcr.c pci_disable_msi(pcr->pci); pci 343 drivers/misc/cb710/core.c MODULE_DEVICE_TABLE(pci, cb710_pci_tbl); pci 124 drivers/misc/cxl/pci.c MODULE_DEVICE_TABLE(pci, cxl_pci_tbl); pci 106 drivers/misc/genwqe/card_base.c MODULE_DEVICE_TABLE(pci, genwqe_device_table); pci 48 drivers/misc/habanalabs/habanalabs_drv.c MODULE_DEVICE_TABLE(pci, ids); pci 870 drivers/misc/hpilo.c MODULE_DEVICE_TABLE(pci, ilo_devices); pci 222 drivers/misc/ibmasm/module.c MODULE_DEVICE_TABLE(pci, ibmasm_pci_table); pci 118 drivers/misc/mei/pci-me.c MODULE_DEVICE_TABLE(pci, mei_me_pci_tbl); pci 35 drivers/misc/mei/pci-txe.c MODULE_DEVICE_TABLE(pci, mei_txe_pci_tbl); pci 43 drivers/misc/mic/host/mic_main.c MODULE_DEVICE_TABLE(pci, mic_pci_tbl); pci 15 drivers/misc/ocxl/pci.c MODULE_DEVICE_TABLE(pci, ocxl_pci_tbl); pci 889 drivers/misc/pch_phub.c MODULE_DEVICE_TABLE(pci, pch_phub_pcidev_id); pci 808 drivers/misc/pci_endpoint_test.c MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl); pci 492 drivers/misc/phantom.c MODULE_DEVICE_TABLE(pci, phantom_pci_tbl); pci 440 drivers/misc/tifm_7xx1.c MODULE_DEVICE_TABLE(pci, tifm_7xx1_pci_tbl); pci 736 drivers/misc/vmw_vmci/vmci_guest.c MODULE_DEVICE_TABLE(pci, vmci_ids); pci 197 drivers/mmc/host/cavium-thunderx.c MODULE_DEVICE_TABLE(pci, thunder_mmc_id_table); pci 89 drivers/mmc/host/dw_mmc-pci.c MODULE_DEVICE_TABLE(pci, dw_mci_pci_id); pci 1758 drivers/mmc/host/sdhci-pci-core.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 33 drivers/mmc/host/toshsd.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 328 drivers/mmc/host/via-sdmmc.c MODULE_DEVICE_TABLE(pci, via_ids); pci 309 drivers/mtd/maps/amd76xrom.c MODULE_DEVICE_TABLE(pci, amd76xrom_pci_tbl); pci 344 drivers/mtd/maps/ck804xrom.c MODULE_DEVICE_TABLE(pci, ck804xrom_pci_tbl); pci 405 drivers/mtd/maps/esb2rom.c MODULE_DEVICE_TABLE(pci, esb2rom_pci_tbl); pci 342 drivers/mtd/maps/ichxrom.c MODULE_DEVICE_TABLE(pci, ichxrom_pci_tbl); pci 265 drivers/mtd/maps/intel_vr_nor.c MODULE_DEVICE_TABLE(pci, vr_nor_pci_ids); pci 330 drivers/mtd/maps/pci.c MODULE_DEVICE_TABLE(pci, mtd_pci_ids); pci 239 drivers/mtd/maps/scb2_flash.c MODULE_DEVICE_TABLE(pci, scb2_flash_pci_ids); pci 834 drivers/mtd/nand/raw/cafe_nand.c MODULE_DEVICE_TABLE(pci, cafe_nand_tbl); pci 26 drivers/mtd/nand/raw/denali_pci.c MODULE_DEVICE_TABLE(pci, denali_pci_ids); pci 1059 drivers/mtd/nand/raw/r852.c MODULE_DEVICE_TABLE(pci, r852_pci_id_tbl); pci 73 drivers/mtd/spi-nor/intel-spi-pci.c MODULE_DEVICE_TABLE(pci, intel_spi_pci_ids); pci 586 drivers/net/arcnet/com20020-pci.c MODULE_DEVICE_TABLE(pci, com20020pci_id_table); pci 293 drivers/net/can/c_can/c_can_pci.c MODULE_DEVICE_TABLE(pci, c_can_pci_tbl); pci 267 drivers/net/can/kvaser_pciefd.c struct pci_dev *pci; pci 321 drivers/net/can/kvaser_pciefd.c MODULE_DEVICE_TABLE(pci, kvaser_pciefd_id_table); pci 376 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "Flash SPI transfer failed\n"); pci 405 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 411 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 418 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 452 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 467 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "Unexpected WIP bit set in flash\n"); pci 954 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 982 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 994 drivers/net/can/kvaser_pciefd.c SET_NETDEV_DEV(netdev, &pcie->pci->dev); pci 1056 drivers/net/can/kvaser_pciefd.c dmam_alloc_coherent(&pcie->pci->dev, pci 1062 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "Rx dma_alloc(%u) failure\n", pci 1077 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "DMA not idle before enabling\n"); pci 1101 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 1112 drivers/net/can/kvaser_pciefd.c dev_dbg(&pcie->pci->dev, "Version %u.%u.%u\n", pci 1119 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 1632 drivers/net/can/kvaser_pciefd.c dev_info(&pcie->pci->dev, pci 1637 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "Unknown packet type 0x%08X\n", type); pci 1692 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, "DMA IRQ error 0x%08X\n", irq); pci 1744 drivers/net/can/kvaser_pciefd.c dev_err(&pcie->pci->dev, pci 1785 drivers/net/can/kvaser_pciefd.c pcie->pci = pdev; pci 1835 drivers/net/can/kvaser_pciefd.c err = request_irq(pcie->pci->irq, kvaser_pciefd_irq_handler, pci 1847 drivers/net/can/kvaser_pciefd.c free_irq(pcie->pci->irq, pcie); pci 1896 drivers/net/can/kvaser_pciefd.c free_irq(pcie->pci->irq, pcie); pci 190 drivers/net/can/pch_can.c MODULE_DEVICE_TABLE(pci, pch_pci_tbl); pci 212 drivers/net/can/peak_canfd/peak_pciefd_main.c MODULE_DEVICE_TABLE(pci, peak_pciefd_tbl); pci 102 drivers/net/can/sja1000/ems_pci.c MODULE_DEVICE_TABLE(pci, ems_pci_tbl); pci 46 drivers/net/can/sja1000/f81601.c MODULE_DEVICE_TABLE(pci, f81601_pci_tbl); pci 105 drivers/net/can/sja1000/kvaser_pci.c MODULE_DEVICE_TABLE(pci, kvaser_pci_tbl); pci 90 drivers/net/can/sja1000/peak_pci.c MODULE_DEVICE_TABLE(pci, peak_pci_tbl); pci 407 drivers/net/can/sja1000/plx_pci.c MODULE_DEVICE_TABLE(pci, plx_pci_tbl); pci 428 drivers/net/ethernet/3com/3c59x.c MODULE_DEVICE_TABLE(pci, vortex_pci_tbl); pci 235 drivers/net/ethernet/3com/typhoon.c MODULE_DEVICE_TABLE(pci, typhoon_pci_tbl); pci 152 drivers/net/ethernet/8390/ne2k-pci.c MODULE_DEVICE_TABLE(pci, ne2k_pci_tbl); pci 292 drivers/net/ethernet/adaptec/starfire.c MODULE_DEVICE_TABLE(pci, starfire_pci_tbl); pci 4067 drivers/net/ethernet/agere/et131x.c MODULE_DEVICE_TABLE(pci, et131x_pci_table); pci 153 drivers/net/ethernet/alteon/acenic.c MODULE_DEVICE_TABLE(pci, acenic_pci_tbl); pci 74 drivers/net/ethernet/amazon/ena/ena_netdev.c MODULE_DEVICE_TABLE(pci, ena_pci_tbl); pci 1922 drivers/net/ethernet/amd/amd8111e.c MODULE_DEVICE_TABLE(pci, amd8111e_pci_tbl); pci 78 drivers/net/ethernet/amd/pcnet32.c MODULE_DEVICE_TABLE(pci, pcnet32_pci_tbl); pci 503 drivers/net/ethernet/amd/xgbe/xgbe-pci.c MODULE_DEVICE_TABLE(pci, xgbe_pci_table); pci 74 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c MODULE_DEVICE_TABLE(pci, aq_pci_tbl); pci 2016 drivers/net/ethernet/atheros/alx/main.c MODULE_DEVICE_TABLE(pci, alx_pci_tbl); pci 34 drivers/net/ethernet/atheros/atl1c/atl1c_main.c MODULE_DEVICE_TABLE(pci, atl1c_pci_tbl); pci 31 drivers/net/ethernet/atheros/atl1e/atl1e_main.c MODULE_DEVICE_TABLE(pci, atl1e_pci_tbl); pci 226 drivers/net/ethernet/atheros/atlx/atl1.c MODULE_DEVICE_TABLE(pci, atl1_pci_tbl); pci 60 drivers/net/ethernet/atheros/atlx/atl2.c MODULE_DEVICE_TABLE(pci, atl2_pci_tbl); pci 114 drivers/net/ethernet/broadcom/b44.c MODULE_DEVICE_TABLE(pci, b44_pci_tbl); pci 248 drivers/net/ethernet/broadcom/bnx2.c MODULE_DEVICE_TABLE(pci, bnx2_pci_tbl); pci 282 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c MODULE_DEVICE_TABLE(pci, bnx2x_pci_tbl); pci 242 drivers/net/ethernet/broadcom/bnxt/bnxt.c MODULE_DEVICE_TABLE(pci, bnxt_pci_tbl); pci 362 drivers/net/ethernet/broadcom/tg3.c MODULE_DEVICE_TABLE(pci, tg3_pci_tbl); pci 3836 drivers/net/ethernet/brocade/bna/bnad.c MODULE_DEVICE_TABLE(pci, bnad_pci_id_table); pci 133 drivers/net/ethernet/cadence/macb_pci.c MODULE_DEVICE_TABLE(pci, dev_id_table); pci 340 drivers/net/ethernet/cavium/common/cavium_ptp.c MODULE_DEVICE_TABLE(pci, cavium_ptp_id_table); pci 453 drivers/net/ethernet/cavium/liquidio/lio_main.c MODULE_DEVICE_TABLE(pci, liquidio_pci_tbl); pci 249 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c MODULE_DEVICE_TABLE(pci, liquidio_vf_pci_tbl); pci 76 drivers/net/ethernet/cavium/thunder/nic_main.c MODULE_DEVICE_TABLE(pci, nic_id_table); pci 64 drivers/net/ethernet/cavium/thunder/nicvf_main.c MODULE_DEVICE_TABLE(pci, nicvf_id_table); pci 95 drivers/net/ethernet/cavium/thunder/thunder_bgx.c MODULE_DEVICE_TABLE(pci, bgx_id_table); pci 63 drivers/net/ethernet/cavium/thunder/thunder_xcv.c MODULE_DEVICE_TABLE(pci, xcv_id_table); pci 193 drivers/net/ethernet/chelsio/cxgb/common.h struct chelsio_pci_params pci; pci 1161 drivers/net/ethernet/chelsio/cxgb/cxgb2.c adapter->params.pci.is_pcix ? "PCIX" : "PCI", pci 1162 drivers/net/ethernet/chelsio/cxgb/cxgb2.c adapter->params.pci.speed, adapter->params.pci.width); pci 536 drivers/net/ethernet/chelsio/cxgb/subr.c MODULE_DEVICE_TABLE(pci, t1_pci_tbl); pci 1121 drivers/net/ethernet/chelsio/cxgb/subr.c get_pci_mode(adapter, &adapter->params.pci); pci 386 drivers/net/ethernet/chelsio/cxgb3/common.h struct pci_params pci; pci 639 drivers/net/ethernet/chelsio/cxgb3/common.h return adap->params.pci.variant == PCI_VARIANT_PCIE; pci 109 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c MODULE_DEVICE_TABLE(pci, cxgb3_pci_tbl); pci 3150 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c pci_variant[adap->params.pci.variant], pci 3151 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->params.pci.width); pci 3154 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c pci_variant[adap->params.pci.variant], pci 3155 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c adap->params.pci.speed, adap->params.pci.width); pci 618 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int base = adapter->params.pci.vpd_cap_addr; pci 651 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int base = adapter->params.pci.vpd_cap_addr; pci 3342 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c log2_width = fls(adap->params.pci.width) - 1; pci 3661 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c get_pci_mode(adapter, &adapter->params.pci); pci 3678 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c adapter->params.pci.vpd_cap_addr = pci 368 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct pci_params pci; pci 138 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c MODULE_DEVICE_TABLE(pci, cxgb4_pci_tbl); pci 2768 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c adap->params.pci.vpd_cap_addr = pci_find_capability(adap->pdev, pci 9112 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c get_pci_mode(adapter, &adapter->params.pci); pci 3458 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c MODULE_DEVICE_TABLE(pci, cxgb4vf_pci_tbl); pci 84 drivers/net/ethernet/cisco/enic/enic_main.c MODULE_DEVICE_TABLE(pci, enic_id_table); pci 348 drivers/net/ethernet/dec/tulip/de2104x.c MODULE_DEVICE_TABLE(pci, de_pci_tbl); pci 2092 drivers/net/ethernet/dec/tulip/dmfe.c MODULE_DEVICE_TABLE(pci, dmfe_pci_tbl); pci 251 drivers/net/ethernet/dec/tulip/tulip_core.c MODULE_DEVICE_TABLE(pci, tulip_pci_tbl); pci 1772 drivers/net/ethernet/dec/tulip/uli526x.c MODULE_DEVICE_TABLE(pci, uli526x_pci_tbl); pci 228 drivers/net/ethernet/dec/tulip/winbond-840.c MODULE_DEVICE_TABLE(pci, w840_pci_tbl); pci 144 drivers/net/ethernet/dec/tulip/xircom_cb.c MODULE_DEVICE_TABLE(pci, xircom_pci_table); pci 425 drivers/net/ethernet/dlink/dl2k.h MODULE_DEVICE_TABLE (pci, rio_pci_tbl); pci 212 drivers/net/ethernet/dlink/sundance.c MODULE_DEVICE_TABLE(pci, sundance_pci_tbl); pci 71 drivers/net/ethernet/ec_bhf.c MODULE_DEVICE_TABLE(pci, ids); pci 64 drivers/net/ethernet/emulex/benet/be_main.c MODULE_DEVICE_TABLE(pci, be_dev_ids); pci 1941 drivers/net/ethernet/fealnx.c MODULE_DEVICE_TABLE(pci, fealnx_pci_tbl); pci 90 drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c MODULE_DEVICE_TABLE(pci, enetc_pci_mdio_id_table); pci 933 drivers/net/ethernet/freescale/enetc/enetc_pf.c MODULE_DEVICE_TABLE(pci, enetc_pf_id_table); pci 141 drivers/net/ethernet/freescale/enetc/enetc_ptp.c MODULE_DEVICE_TABLE(pci, enetc_ptp_id_table); pci 245 drivers/net/ethernet/freescale/enetc/enetc_vf.c MODULE_DEVICE_TABLE(pci, enetc_vf_id_table); pci 1228 drivers/net/ethernet/google/gve/gve_main.c MODULE_DEVICE_TABLE(pci, gve_id_table); pci 85 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c MODULE_DEVICE_TABLE(pci, hns3_pci_tbl); pci 85 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c MODULE_DEVICE_TABLE(pci, ae_algo_pci_tbl); pci 34 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c MODULE_DEVICE_TABLE(pci, ae_algovf_pci_tbl); pci 206 drivers/net/ethernet/hp/hp100.c MODULE_DEVICE_TABLE(pci, hp100_pci_tbl); pci 1157 drivers/net/ethernet/huawei/hinic/hinic_main.c MODULE_DEVICE_TABLE(pci, hinic_pci_table); pci 231 drivers/net/ethernet/intel/e100.c MODULE_DEVICE_TABLE(pci, e100_id_table); pci 66 drivers/net/ethernet/intel/e1000/e1000_main.c MODULE_DEVICE_TABLE(pci, e1000_pci_tbl); pci 7566 drivers/net/ethernet/intel/e1000e/netdev.c MODULE_DEVICE_TABLE(pci, e1000_pci_tbl); pci 32 drivers/net/ethernet/intel/fm10k/fm10k_pci.c MODULE_DEVICE_TABLE(pci, fm10k_pci_tbl); pci 94 drivers/net/ethernet/intel/i40e/i40e_main.c MODULE_DEVICE_TABLE(pci, i40e_pci_tbl); pci 54 drivers/net/ethernet/intel/iavf/iavf_main.c MODULE_DEVICE_TABLE(pci, iavf_pci_tbl); pci 3184 drivers/net/ethernet/intel/ice/ice_main.c MODULE_DEVICE_TABLE(pci, ice_pci_tbl); pci 108 drivers/net/ethernet/intel/igb/igb_main.c MODULE_DEVICE_TABLE(pci, igb_pci_tbl); pci 2963 drivers/net/ethernet/intel/igbvf/netdev.c MODULE_DEVICE_TABLE(pci, igbvf_pci_tbl); pci 51 drivers/net/ethernet/intel/igc/igc_main.c MODULE_DEVICE_TABLE(pci, igc_pci_tbl); pci 45 drivers/net/ethernet/intel/ixgb/ixgb_main.c MODULE_DEVICE_TABLE(pci, ixgb_pci_tbl); pci 136 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c MODULE_DEVICE_TABLE(pci, ixgbe_pci_tbl); pci 79 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c MODULE_DEVICE_TABLE(pci, ixgbevf_pci_tbl); pci 3304 drivers/net/ethernet/jme.c MODULE_DEVICE_TABLE(pci, jme_pci_tbl); pci 82 drivers/net/ethernet/marvell/octeontx2/af/cgx.c MODULE_DEVICE_TABLE(pci, cgx_id_table); pci 53 drivers/net/ethernet/marvell/octeontx2/af/rvu.c MODULE_DEVICE_TABLE(pci, rvu_id_table); pci 90 drivers/net/ethernet/marvell/skge.c MODULE_DEVICE_TABLE(pci, skge_id_table); pci 139 drivers/net/ethernet/marvell/sky2.c MODULE_DEVICE_TABLE(pci, sky2_id_table); pci 4279 drivers/net/ethernet/mellanox/mlx4/main.c MODULE_DEVICE_TABLE(pci, mlx4_pci_table); pci 1601 drivers/net/ethernet/mellanox/mlx5/core/main.c MODULE_DEVICE_TABLE(pci, mlx5_core_pci_table); pci 82 drivers/net/ethernet/mellanox/mlxsw/pci.c struct mlxsw_pci *pci; pci 610 drivers/net/ethernet/mellanox/mlxsw/pci.c struct mlxsw_pci *mlxsw_pci = q->pci; pci 723 drivers/net/ethernet/mellanox/mlxsw/pci.c struct mlxsw_pci *mlxsw_pci = q->pci; pci 839 drivers/net/ethernet/mellanox/mlxsw/pci.c q->pci = mlxsw_pci; pci 74 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, wqe, c, 0x00, 31, 1); pci 86 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, wqe, lp, 0x00, 30, 1); pci 91 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, wqe, type, 0x00, 23, 4); pci 96 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM16_INDEXED(pci, wqe, byte_count, 0x02, 0, 14, 0x02, 0x00, false); pci 102 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM64_INDEXED(pci, wqe, address, 0x08, 0, 64, 0x8, 0x0, false); pci 143 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, lag, 0x00, 23, 1); pci 144 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, lag, 0x00, 24, 1); pci 153 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe, system_port, 0x00, 0, 16); pci 154 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, lag_id, 0x00, 4, 12); pci 155 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, lag_id, 0x00, 0, 16); pci 157 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, lag_subport, 0x00, 0, 4); pci 158 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, lag_subport, 0x00, 16, 8); pci 164 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe, wqe_counter, 0x04, 16, 16); pci 171 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe, byte_count, 0x04, 0, 14); pci 176 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe, trap_id, 0x08, 0, 9); pci 182 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, crc, 0x0C, 8, 1); pci 183 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, crc, 0x0C, 9, 1); pci 189 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, e, 0x0C, 7, 1); pci 190 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, e, 0x00, 27, 1); pci 197 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, sr, 0x0C, 6, 1); pci 198 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, sr, 0x00, 26, 1); pci 204 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe0, dqn, 0x0C, 1, 5); pci 205 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe12, dqn, 0x0C, 1, 6); pci 211 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe01, owner, 0x0C, 0, 1); pci 212 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, cqe2, owner, 0x1C, 0, 1); pci 218 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, event_type, 0x0C, 24, 8); pci 225 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, event_sub_type, 0x0C, 16, 8); pci 230 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, cqn, 0x0C, 8, 7); pci 235 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, owner, 0x0C, 0, 1); pci 240 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, cmd_token, 0x00, 16, 16); pci 245 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, cmd_status, 0x00, 0, 8); pci 250 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, cmd_out_param_h, 0x04, 0, 32); pci 255 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h MLXSW_ITEM32(pci, eqe, cmd_out_param_l, 0x08, 0, 32); pci 6586 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MODULE_DEVICE_TABLE(pci, mlxsw_sp1_pci_id_table); pci 6587 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MODULE_DEVICE_TABLE(pci, mlxsw_sp2_pci_id_table); pci 6588 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MODULE_DEVICE_TABLE(pci, mlxsw_sp3_pci_id_table); pci 593 drivers/net/ethernet/mellanox/mlxsw/switchib.c MODULE_DEVICE_TABLE(pci, mlxsw_sib_pci_id_table); pci 594 drivers/net/ethernet/mellanox/mlxsw/switchib.c MODULE_DEVICE_TABLE(pci, mlxsw_sib2_pci_id_table); pci 1705 drivers/net/ethernet/mellanox/mlxsw/switchx2.c MODULE_DEVICE_TABLE(pci, mlxsw_sx_pci_id_table); pci 7227 drivers/net/ethernet/micrel/ksz884x.c MODULE_DEVICE_TABLE(pci, pcidev_table); pci 4031 drivers/net/ethernet/myricom/myri10ge/myri10ge.c MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl); pci 255 drivers/net/ethernet/natsemi/natsemi.c MODULE_DEVICE_TABLE(pci, natsemi_pci_tbl); pci 2248 drivers/net/ethernet/natsemi/ns83820.c MODULE_DEVICE_TABLE(pci, ns83820_pci_tbl); pci 478 drivers/net/ethernet/neterion/s2io.c MODULE_DEVICE_TABLE(pci, s2io_tbl); pci 74 drivers/net/ethernet/neterion/vxge/vxge-main.c MODULE_DEVICE_TABLE(pci, vxge_id_table); pci 51 drivers/net/ethernet/netronome/nfp/nfp_main.c MODULE_DEVICE_TABLE(pci, nfp_pci_device_ids); pci 47 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c MODULE_DEVICE_TABLE(pci, nfp_netvf_pci_device_ids); pci 6463 drivers/net/ethernet/nvidia/forcedeth.c MODULE_DEVICE_TABLE(pci, pci_tbl); pci 2729 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c MODULE_DEVICE_TABLE(pci, pch_gbe_pcidev_id); pci 1917 drivers/net/ethernet/packetengines/hamachi.c MODULE_DEVICE_TABLE(pci, hamachi_pci_tbl); pci 225 drivers/net/ethernet/packetengines/yellowfin.c int pci, pci_mask, subsystem, subsystem_mask; pci 244 drivers/net/ethernet/packetengines/yellowfin.c MODULE_DEVICE_TABLE (pci, yellowfin_pci_tbl); pci 1816 drivers/net/ethernet/pasemi/pasemi_mac.c MODULE_DEVICE_TABLE(pci, pasemi_mac_pci_tbl); pci 20 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c MODULE_DEVICE_TABLE(pci, ionic_id_table); pci 95 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c MODULE_DEVICE_TABLE(pci, netxen_pci_tbl); pci 124 drivers/net/ethernet/qlogic/qede/qede_main.c MODULE_DEVICE_TABLE(pci, qede_pci_tbl); pci 75 drivers/net/ethernet/qlogic/qla3xxx.c MODULE_DEVICE_TABLE(pci, ql3xxx_pci_tbl); pci 116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c MODULE_DEVICE_TABLE(pci, qlcnic_pci_tbl); pci 1199 drivers/net/ethernet/rdc/r6040.c MODULE_DEVICE_TABLE(pci, r6040_pci_tbl); pci 2121 drivers/net/ethernet/realtek/8139cp.c MODULE_DEVICE_TABLE(pci, cp_pci_tbl); pci 281 drivers/net/ethernet/realtek/8139too.c MODULE_DEVICE_TABLE (pci, rtl8139_pci_tbl); pci 232 drivers/net/ethernet/realtek/r8169_main.c MODULE_DEVICE_TABLE(pci, rtl8169_pci_tbl); pci 3241 drivers/net/ethernet/rocker/rocker_main.c MODULE_DEVICE_TABLE(pci, rocker_pci_id_table); pci 3947 drivers/net/ethernet/sfc/efx.c MODULE_DEVICE_TABLE(pci, efx_pci_table); pci 3273 drivers/net/ethernet/sfc/falcon/efx.c MODULE_DEVICE_TABLE(pci, ef4_pci_table); pci 1358 drivers/net/ethernet/sgi/ioc3-eth.c MODULE_DEVICE_TABLE(pci, ioc3_pci_tbl); pci 1566 drivers/net/ethernet/silan/sc92031.c MODULE_DEVICE_TABLE(pci, sc92031_pci_device_id_table); pci 339 drivers/net/ethernet/sis/sis190.c MODULE_DEVICE_TABLE(pci, sis190_pci_tbl); pci 117 drivers/net/ethernet/sis/sis900.c MODULE_DEVICE_TABLE (pci, sis900_pci_tbl); pci 183 drivers/net/ethernet/smsc/epic100.c MODULE_DEVICE_TABLE (pci, epic_pci_tbl); pci 77 drivers/net/ethernet/smsc/smsc9420.c MODULE_DEVICE_TABLE(pci, smsc9420_id_table); pci 608 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c MODULE_DEVICE_TABLE(pci, stmmac_id_table); pci 228 drivers/net/ethernet/sun/cassini.c MODULE_DEVICE_TABLE(pci, cas_pci_tbl); pci 68 drivers/net/ethernet/sun/niu.c MODULE_DEVICE_TABLE(pci, niu_pci_tbl); pci 9756 drivers/net/ethernet/sun/niu.c parent_id.pci.domain = pci_domain_nr(pdev->bus); pci 9757 drivers/net/ethernet/sun/niu.c parent_id.pci.bus = pdev->bus->number; pci 9758 drivers/net/ethernet/sun/niu.c parent_id.pci.device = PCI_SLOT(pdev->devfn); pci 3061 drivers/net/ethernet/sun/niu.h } pci; pci 115 drivers/net/ethernet/sun/sungem.c MODULE_DEVICE_TABLE(pci, gem_pci_tbl); pci 3236 drivers/net/ethernet/sun/sunhme.c MODULE_DEVICE_TABLE(pci, happymeal_pci_ids); pci 64 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c MODULE_DEVICE_TABLE(pci, xlgmac_pci_tbl); pci 72 drivers/net/ethernet/tehuti/tehuti.c MODULE_DEVICE_TABLE(pci, bdx_pci_tbl); pci 150 drivers/net/ethernet/ti/tlan.c MODULE_DEVICE_TABLE(pci, tlan_pci_tbl); pci 68 drivers/net/ethernet/toshiba/spider_net.c MODULE_DEVICE_TABLE(pci, spider_net_pci_tbl); pci 74 drivers/net/ethernet/toshiba/tc35815.c MODULE_DEVICE_TABLE(pci, tc35815_pci_tbl); pci 284 drivers/net/ethernet/via/via-rhine.c MODULE_DEVICE_TABLE(pci, rhine_pci_tbl); pci 372 drivers/net/ethernet/via/via-velocity.c MODULE_DEVICE_TABLE(pci, velocity_pci_id_table); pci 3748 drivers/net/fddi/defxx.c MODULE_DEVICE_TABLE(pci, dfx_pci_table); pci 152 drivers/net/fddi/skfp/skfddi.c MODULE_DEVICE_TABLE(pci, skfddi_pci_tbl); pci 1665 drivers/net/hippi/rrunner.c MODULE_DEVICE_TABLE(pci, rr_pci_tbl); pci 139 drivers/net/phy/mdio-thunder.c MODULE_DEVICE_TABLE(pci, thunder_mdiobus_id_table); pci 44 drivers/net/vmxnet3/vmxnet3_drv.c MODULE_DEVICE_TABLE(pci, vmxnet3_pciid_table); pci 554 drivers/net/wan/farsync.c MODULE_DEVICE_TABLE(pci, fst_pci_dev_id); pci 84 drivers/net/wan/lmc/lmc_main.c MODULE_DEVICE_TABLE(pci, lmc_pci_tbl); pci 524 drivers/net/wan/pc300too.c MODULE_DEVICE_TABLE(pci, pc300_pci_tbl); pci 446 drivers/net/wan/pci200syn.c MODULE_DEVICE_TABLE(pci, pci200_pci_tbl); pci 842 drivers/net/wan/wanxl.c MODULE_DEVICE_TABLE(pci, wanxl_pci_tbl); pci 1998 drivers/net/wireless/admtek/adm8211.c MODULE_DEVICE_TABLE(pci, adm8211_pci_id_table); pci 3723 drivers/net/wireless/ath/ath10k/pci.c MODULE_DEVICE_TABLE(pci, ath10k_pci_id_table); pci 52 drivers/net/wireless/ath/ath5k/pci.c MODULE_DEVICE_TABLE(pci, ath5k_pci_id_table); pci 204 drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c MODULE_DEVICE_TABLE(pci, owl_pci_table); pci 1081 drivers/net/wireless/ath/ath9k/pci.c MODULE_DEVICE_TABLE(pci, ath_pci_id_table); pci 505 drivers/net/wireless/ath/wil6210/pcie_bus.c MODULE_DEVICE_TABLE(pci, wil6210_pcie_ids); pci 26 drivers/net/wireless/atmel/atmel_pci.c MODULE_DEVICE_TABLE(pci, card_ids); pci 2122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c MODULE_DEVICE_TABLE(pci, brcmf_pcie_devid_table); pci 73 drivers/net/wireless/cisco/airo.c MODULE_DEVICE_TABLE(pci, card_ids); pci 1134 drivers/net/wireless/cisco/airo.c static void mpi_unmap_card(struct pci_dev *pci); pci 1230 drivers/net/wireless/cisco/airo.c struct pci_dev *pci; pci 2347 drivers/net/wireless/cisco/airo.c if (!ai->pci) pci 2353 drivers/net/wireless/cisco/airo.c if (!ai->pci) pci 2417 drivers/net/wireless/cisco/airo.c if (ai->pci) pci 2418 drivers/net/wireless/cisco/airo.c mpi_unmap_card(ai->pci); pci 2423 drivers/net/wireless/cisco/airo.c pci_free_consistent(ai->pci, PCI_SHARED_LEN, pci 2440 drivers/net/wireless/cisco/airo.c static void mpi_unmap_card(struct pci_dev *pci) pci 2442 drivers/net/wireless/cisco/airo.c unsigned long mem_start = pci_resource_start(pci, 1); pci 2443 drivers/net/wireless/cisco/airo.c unsigned long mem_len = pci_resource_len(pci, 1); pci 2444 drivers/net/wireless/cisco/airo.c unsigned long aux_start = pci_resource_start(pci, 2); pci 2535 drivers/net/wireless/cisco/airo.c static int mpi_map_card(struct airo_info *ai, struct pci_dev *pci) pci 2544 drivers/net/wireless/cisco/airo.c mem_start = pci_resource_start(pci, 1); pci 2545 drivers/net/wireless/cisco/airo.c mem_len = pci_resource_len(pci, 1); pci 2546 drivers/net/wireless/cisco/airo.c aux_start = pci_resource_start(pci, 2); pci 2574 drivers/net/wireless/cisco/airo.c ai->shared = pci_alloc_consistent(pci, PCI_SHARED_LEN, &ai->shared_dma); pci 2636 drivers/net/wireless/cisco/airo.c pci_free_consistent(pci, PCI_SHARED_LEN, ai->shared, ai->shared_dma); pci 2775 drivers/net/wireless/cisco/airo.c int is_pcmcia, struct pci_dev *pci, pci 2795 drivers/net/wireless/cisco/airo.c if (pci && (pci->device == 0x5000 || pci->device == 0xa504)) { pci 2802 drivers/net/wireless/cisco/airo.c ai->pci = pci; pci 2841 drivers/net/wireless/cisco/airo.c if (mpi_map_card(ai, pci)) { pci 2921 drivers/net/wireless/cisco/airo.c if (test_bit(FLAG_MPI,&ai->flags) && pci) { pci 2922 drivers/net/wireless/cisco/airo.c pci_free_consistent(pci, PCI_SHARED_LEN, ai->shared, ai->shared_dma); pci 2925 drivers/net/wireless/cisco/airo.c mpi_unmap_card(ai->pci); pci 3529 drivers/net/wireless/intel/ipw2x00/ipw2100.c static DEVICE_ATTR(pci, 0444, show_pci, NULL); pci 6540 drivers/net/wireless/intel/ipw2x00/ipw2100.c MODULE_DEVICE_TABLE(pci, ipw2100_pci_id_table); pci 11450 drivers/net/wireless/intel/ipw2x00/ipw2200.c MODULE_DEVICE_TABLE(pci, card_ids); pci 2725 drivers/net/wireless/intel/iwlegacy/3945.c MODULE_DEVICE_TABLE(pci, il3945_hw_card_ids); pci 6790 drivers/net/wireless/intel/iwlegacy/4965-mac.c MODULE_DEVICE_TABLE(pci, il4965_hw_card_ids); pci 988 drivers/net/wireless/intel/iwlwifi/pcie/drv.c MODULE_DEVICE_TABLE(pci, iwl_hw_card_ids); pci 447 drivers/net/wireless/intersil/hostap/hostap_pci.c MODULE_DEVICE_TABLE(pci, prism2_pci_id_table); pci 609 drivers/net/wireless/intersil/hostap/hostap_plx.c MODULE_DEVICE_TABLE(pci, prism2_plx_id_table); pci 286 drivers/net/wireless/intersil/orinoco/orinoco_nortel.c MODULE_DEVICE_TABLE(pci, orinoco_nortel_id_table); pci 226 drivers/net/wireless/intersil/orinoco/orinoco_pci.c MODULE_DEVICE_TABLE(pci, orinoco_pci_id_table); pci 332 drivers/net/wireless/intersil/orinoco/orinoco_plx.c MODULE_DEVICE_TABLE(pci, orinoco_plx_id_table); pci 209 drivers/net/wireless/intersil/orinoco/orinoco_tmd.c MODULE_DEVICE_TABLE(pci, orinoco_tmd_id_table); pci 46 drivers/net/wireless/intersil/p54/p54pci.c MODULE_DEVICE_TABLE(pci, p54p_table); pci 62 drivers/net/wireless/intersil/prism54/islpci_hotplug.c MODULE_DEVICE_TABLE(pci, prism54_id_tbl); pci 356 drivers/net/wireless/marvell/mwifiex/pcie.c MODULE_DEVICE_TABLE(pci, mwifiex_ids); pci 5709 drivers/net/wireless/marvell/mwl8k.c MODULE_DEVICE_TABLE(pci, mwl8k_pci_id_table); pci 71 drivers/net/wireless/mediatek/mt76/mt7603/pci.c MODULE_DEVICE_TABLE(pci, mt76pci_device_table); pci 148 drivers/net/wireless/mediatek/mt76/mt7615/pci.c MODULE_DEVICE_TABLE(pci, mt7615_pci_device_table); pci 242 drivers/net/wireless/mediatek/mt76/mt76x0/pci.c MODULE_DEVICE_TABLE(pci, mt76x0e_device_table); pci 104 drivers/net/wireless/mediatek/mt76/mt76x2/pci.c MODULE_DEVICE_TABLE(pci, mt76pci_device_table); pci 471 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c MODULE_DEVICE_TABLE(pci, qtnf_pcie_devid_table); pci 1823 drivers/net/wireless/ralink/rt2x00/rt2400pci.c MODULE_DEVICE_TABLE(pci, rt2400pci_device_table); pci 2121 drivers/net/wireless/ralink/rt2x00/rt2500pci.c MODULE_DEVICE_TABLE(pci, rt2500pci_device_table); pci 443 drivers/net/wireless/ralink/rt2x00/rt2800pci.c MODULE_DEVICE_TABLE(pci, rt2800pci_device_table); pci 2995 drivers/net/wireless/ralink/rt2x00/rt61pci.c MODULE_DEVICE_TABLE(pci, rt61pci_device_table); pci 87 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c MODULE_DEVICE_TABLE(pci, rtl8180_table); pci 356 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c MODULE_DEVICE_TABLE(pci, rtl88ee_pci_ids); pci 339 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c MODULE_DEVICE_TABLE(pci, rtl92ce_pci_ids); pci 339 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c MODULE_DEVICE_TABLE(pci, rtl92de_pci_ids); pci 344 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c MODULE_DEVICE_TABLE(pci, rtl92ee_pci_ids); pci 388 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c MODULE_DEVICE_TABLE(pci, rtl92se_pci_ids); pci 352 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c MODULE_DEVICE_TABLE(pci, rtl8723e_pci_ids); pci 357 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c MODULE_DEVICE_TABLE(pci, rtl8723be_pci_ids); pci 408 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c MODULE_DEVICE_TABLE(pci, rtl8821ae_pci_ids); pci 1300 drivers/net/wireless/realtek/rtw88/pci.c MODULE_DEVICE_TABLE(pci, rtw_pci_id_table); pci 1144 drivers/ntb/hw/amd/ntb_hw_amd.c MODULE_DEVICE_TABLE(pci, amd_ntb_pci_tbl); pci 2897 drivers/ntb/hw/idt/ntb_hw_idt.c MODULE_DEVICE_TABLE(pci, idt_pci_tbl); pci 2057 drivers/ntb/hw/intel/ntb_hw_gen1.c MODULE_DEVICE_TABLE(pci, intel_ntb_pci_tbl); pci 3138 drivers/nvme/host/pci.c MODULE_DEVICE_TABLE(pci, nvme_id_table); pci 2807 drivers/parport/parport_pc.c MODULE_DEVICE_TABLE(pci, parport_pc_pci_tbl); pci 282 drivers/parport/parport_serial.c MODULE_DEVICE_TABLE(pci,parport_serial_pci_tbl); pci 90 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci; pci 117 drivers/pci/controller/dwc/pci-dra7xx.c static u64 dra7xx_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr) pci 122 drivers/pci/controller/dwc/pci-dra7xx.c static int dra7xx_pcie_link_up(struct dw_pcie *pci) pci 124 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 130 drivers/pci/controller/dwc/pci-dra7xx.c static void dra7xx_pcie_stop_link(struct dw_pcie *pci) pci 132 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 140 drivers/pci/controller/dwc/pci-dra7xx.c static int dra7xx_pcie_establish_link(struct dw_pcie *pci) pci 142 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 143 drivers/pci/controller/dwc/pci-dra7xx.c struct device *dev = pci->dev; pci 147 drivers/pci/controller/dwc/pci-dra7xx.c if (dw_pcie_link_up(pci)) { pci 153 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_read(pci->dbi_base + exp_cap_off + PCI_EXP_LNKCAP, pci 158 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_write(pci->dbi_base + exp_cap_off + pci 162 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_read(pci->dbi_base + exp_cap_off + PCI_EXP_LNKCTL2, pci 167 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_write(pci->dbi_base + exp_cap_off + pci 205 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 206 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 210 drivers/pci/controller/dwc/pci-dra7xx.c dra7xx_pcie_establish_link(pci); pci 211 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_wait_for_link(pci); pci 238 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 239 drivers/pci/controller/dwc/pci-dra7xx.c struct device *dev = pci->dev; pci 240 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 263 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 264 drivers/pci/controller/dwc/pci-dra7xx.c struct pcie_port *pp = &pci->pp; pci 294 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 295 drivers/pci/controller/dwc/pci-dra7xx.c struct device *dev = pci->dev; pci 296 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie_ep *ep = &pci->ep; pci 352 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 353 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 357 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_ep_reset_bar(pci, bar); pci 382 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 383 drivers/pci/controller/dwc/pci-dra7xx.c struct dra7xx_pcie *dra7xx = to_dra7xx_pcie(pci); pci 393 drivers/pci/controller/dwc/pci-dra7xx.c dev_err(pci->dev, "UNKNOWN IRQ type\n"); pci 424 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 426 drivers/pci/controller/dwc/pci-dra7xx.c ep = &pci->ep; pci 430 drivers/pci/controller/dwc/pci-dra7xx.c pci->dbi_base = devm_ioremap_resource(dev, res); pci 431 drivers/pci/controller/dwc/pci-dra7xx.c if (IS_ERR(pci->dbi_base)) pci 432 drivers/pci/controller/dwc/pci-dra7xx.c return PTR_ERR(pci->dbi_base); pci 435 drivers/pci/controller/dwc/pci-dra7xx.c pci->dbi_base2 = devm_ioremap_resource(dev, res); pci 436 drivers/pci/controller/dwc/pci-dra7xx.c if (IS_ERR(pci->dbi_base2)) pci 437 drivers/pci/controller/dwc/pci-dra7xx.c return PTR_ERR(pci->dbi_base2); pci 459 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 460 drivers/pci/controller/dwc/pci-dra7xx.c struct pcie_port *pp = &pci->pp; pci 461 drivers/pci/controller/dwc/pci-dra7xx.c struct device *dev = pci->dev; pci 483 drivers/pci/controller/dwc/pci-dra7xx.c pci->dbi_base = devm_ioremap_resource(dev, res); pci 484 drivers/pci/controller/dwc/pci-dra7xx.c if (IS_ERR(pci->dbi_base)) pci 485 drivers/pci/controller/dwc/pci-dra7xx.c return PTR_ERR(pci->dbi_base); pci 685 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci; pci 708 drivers/pci/controller/dwc/pci-dra7xx.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 709 drivers/pci/controller/dwc/pci-dra7xx.c if (!pci) pci 712 drivers/pci/controller/dwc/pci-dra7xx.c pci->dev = dev; pci 713 drivers/pci/controller/dwc/pci-dra7xx.c pci->ops = &dw_pcie_ops; pci 755 drivers/pci/controller/dwc/pci-dra7xx.c dra7xx->pci = pci; pci 861 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 868 drivers/pci/controller/dwc/pci-dra7xx.c val = dw_pcie_readl_dbi(pci, PCI_COMMAND); pci 870 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_writel_dbi(pci, PCI_COMMAND, val); pci 878 drivers/pci/controller/dwc/pci-dra7xx.c struct dw_pcie *pci = dra7xx->pci; pci 885 drivers/pci/controller/dwc/pci-dra7xx.c val = dw_pcie_readl_dbi(pci, PCI_COMMAND); pci 887 drivers/pci/controller/dwc/pci-dra7xx.c dw_pcie_writel_dbi(pci, PCI_COMMAND, val); pci 922 drivers/pci/controller/dwc/pci-dra7xx.c dra7xx_pcie_stop_link(dra7xx->pci); pci 65 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci; pci 85 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 86 drivers/pci/controller/dwc/pci-exynos.c struct device *dev = pci->dev; pci 103 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 104 drivers/pci/controller/dwc/pci-exynos.c struct device *dev = pci->dev; pci 127 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 128 drivers/pci/controller/dwc/pci-exynos.c struct device *dev = pci->dev; pci 226 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 227 drivers/pci/controller/dwc/pci-exynos.c struct device *dev = pci->dev; pci 236 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 237 drivers/pci/controller/dwc/pci-exynos.c struct pcie_port *pp = &pci->pp; pci 238 drivers/pci/controller/dwc/pci-exynos.c struct device *dev = pci->dev; pci 240 drivers/pci/controller/dwc/pci-exynos.c if (dw_pcie_link_up(pci)) { pci 264 drivers/pci/controller/dwc/pci-exynos.c if (!dw_pcie_wait_for_link(pci)) pci 299 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 300 drivers/pci/controller/dwc/pci-exynos.c struct pcie_port *pp = &pci->pp; pci 319 drivers/pci/controller/dwc/pci-exynos.c static u32 exynos_pcie_read_dbi(struct dw_pcie *pci, void __iomem *base, pci 322 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 331 drivers/pci/controller/dwc/pci-exynos.c static void exynos_pcie_write_dbi(struct dw_pcie *pci, void __iomem *base, pci 334 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 344 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 345 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 349 drivers/pci/controller/dwc/pci-exynos.c ret = dw_pcie_read(pci->dbi_base + where, size, val); pci 357 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 358 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 362 drivers/pci/controller/dwc/pci-exynos.c ret = dw_pcie_write(pci->dbi_base + where, size, val); pci 367 drivers/pci/controller/dwc/pci-exynos.c static int exynos_pcie_link_up(struct dw_pcie *pci) pci 369 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 381 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 382 drivers/pci/controller/dwc/pci-exynos.c struct exynos_pcie *ep = to_exynos_pcie(pci); pci 399 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci = ep->pci; pci 400 drivers/pci/controller/dwc/pci-exynos.c struct pcie_port *pp = &pci->pp; pci 444 drivers/pci/controller/dwc/pci-exynos.c struct dw_pcie *pci; pci 453 drivers/pci/controller/dwc/pci-exynos.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 454 drivers/pci/controller/dwc/pci-exynos.c if (!pci) pci 457 drivers/pci/controller/dwc/pci-exynos.c pci->dev = dev; pci 458 drivers/pci/controller/dwc/pci-exynos.c pci->ops = &dw_pcie_ops; pci 460 drivers/pci/controller/dwc/pci-exynos.c ep->pci = pci; pci 64 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci; pci 158 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 164 drivers/pci/controller/dwc/pci-imx6.c val = dw_pcie_readl_dbi(pci, PCIE_PHY_STAT) & pci 179 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 184 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, val); pci 187 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, val); pci 194 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, val); pci 202 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 212 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, phy_ctl); pci 218 drivers/pci/controller/dwc/pci-imx6.c *data = dw_pcie_readl_dbi(pci, PCIE_PHY_STAT); pci 221 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, 0x00); pci 228 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 239 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, var); pci 243 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, var); pci 251 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, var); pci 260 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, var); pci 269 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, var); pci 276 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_PHY_CTRL, 0x0); pci 379 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = imx6_pcie->pci->dev; pci 426 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 427 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = pci->dev; pci 486 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = imx6_pcie->pci->dev; pci 498 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 499 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = pci->dev; pci 700 drivers/pci/controller/dwc/pci-imx6.c dev_err(imx6_pcie->pci->dev, pci 724 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 725 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = pci->dev; pci 730 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); pci 762 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 763 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = pci->dev; pci 772 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCR); pci 775 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_RC_LCR, tmp); pci 780 drivers/pci/controller/dwc/pci-imx6.c ret = dw_pcie_wait_for_link(pci); pci 786 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCR); pci 789 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_RC_LCR, tmp); pci 795 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); pci 797 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writel_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL, tmp); pci 818 drivers/pci/controller/dwc/pci-imx6.c ret = dw_pcie_wait_for_link(pci); pci 827 drivers/pci/controller/dwc/pci-imx6.c tmp = dw_pcie_readl_dbi(pci, PCIE_RC_LCSR); pci 833 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_readl_dbi(pci, PCIE_PORT_DEBUG0), pci 834 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_readl_dbi(pci, PCIE_PORT_DEBUG1)); pci 841 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 842 drivers/pci/controller/dwc/pci-imx6.c struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); pci 864 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = imx6_pcie->pci; pci 865 drivers/pci/controller/dwc/pci-imx6.c struct pcie_port *pp = &pci->pp; pci 913 drivers/pci/controller/dwc/pci-imx6.c struct device *dev = imx6_pcie->pci->dev; pci 988 drivers/pci/controller/dwc/pci-imx6.c struct pcie_port *pp = &imx6_pcie->pci->pp; pci 1014 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci; pci 1026 drivers/pci/controller/dwc/pci-imx6.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 1027 drivers/pci/controller/dwc/pci-imx6.c if (!pci) pci 1030 drivers/pci/controller/dwc/pci-imx6.c pci->dev = dev; pci 1031 drivers/pci/controller/dwc/pci-imx6.c pci->ops = &dw_pcie_ops; pci 1033 drivers/pci/controller/dwc/pci-imx6.c imx6_pcie->pci = pci; pci 1054 drivers/pci/controller/dwc/pci-imx6.c pci->dbi_base = devm_ioremap_resource(dev, dbi_base); pci 1055 drivers/pci/controller/dwc/pci-imx6.c if (IS_ERR(pci->dbi_base)) pci 1056 drivers/pci/controller/dwc/pci-imx6.c return PTR_ERR(pci->dbi_base); pci 1193 drivers/pci/controller/dwc/pci-imx6.c val = dw_pcie_readw_dbi(pci, PCIE_RC_IMX6_MSI_CAP + pci 1196 drivers/pci/controller/dwc/pci-imx6.c dw_pcie_writew_dbi(pci, PCIE_RC_IMX6_MSI_CAP + PCI_MSI_FLAGS, pci 1273 drivers/pci/controller/dwc/pci-imx6.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 1274 drivers/pci/controller/dwc/pci-imx6.c struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); pci 118 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 155 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 159 drivers/pci/controller/dwc/pci-keystone.c pci = to_dw_pcie_from_pp(pp); pci 160 drivers/pci/controller/dwc/pci-keystone.c ks_pcie = to_keystone_pcie(pci); pci 174 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 177 drivers/pci/controller/dwc/pci-keystone.c pci = to_dw_pcie_from_pp(pp); pci 178 drivers/pci/controller/dwc/pci-keystone.c ks_pcie = to_keystone_pcie(pci); pci 185 drivers/pci/controller/dwc/pci-keystone.c dev_dbg(pci->dev, "msi#%d address_hi %#x address_lo %#x\n", pci 200 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 207 drivers/pci/controller/dwc/pci-keystone.c pci = to_dw_pcie_from_pp(pp); pci 208 drivers/pci/controller/dwc/pci-keystone.c ks_pcie = to_keystone_pcie(pci); pci 224 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 231 drivers/pci/controller/dwc/pci-keystone.c pci = to_dw_pcie_from_pp(pp); pci 232 drivers/pci/controller/dwc/pci-keystone.c ks_pcie = to_keystone_pcie(pci); pci 261 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 262 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = pci->dev; pci 294 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = ks_pcie->pci->dev; pci 401 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 402 drivers/pci/controller/dwc/pci-keystone.c struct pcie_port *pp = &pci->pp; pci 409 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 0); pci 410 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_1, 0); pci 437 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 438 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 454 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 455 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 474 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 475 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 481 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 1); pci 482 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, SZ_4K - 1); pci 490 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, ks_pcie->app.start); pci 496 drivers/pci/controller/dwc/pci-keystone.c static int ks_pcie_link_up(struct dw_pcie *pci) pci 500 drivers/pci/controller/dwc/pci-keystone.c val = dw_pcie_readl_dbi(pci, PCIE_PORT_DEBUG0); pci 505 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_stop_link(struct dw_pcie *pci) pci 507 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 516 drivers/pci/controller/dwc/pci-keystone.c static int ks_pcie_start_link(struct dw_pcie *pci) pci 518 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 519 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = pci->dev; pci 522 drivers/pci/controller/dwc/pci-keystone.c if (dw_pcie_link_up(pci)) { pci 582 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 583 drivers/pci/controller/dwc/pci-keystone.c struct pcie_port *pp = &pci->pp; pci 584 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = pci->dev; pci 628 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 629 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = pci->dev; pci 647 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = ks_pcie->pci->dev; pci 701 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = ks_pcie->pci->dev; pci 784 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 785 drivers/pci/controller/dwc/pci-keystone.c struct device *dev = pci->dev; pci 796 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_dbi_ro_wr_en(pci); pci 797 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writew_dbi(pci, PCI_VENDOR_ID, id & PCIE_VENDORID_MASK); pci 798 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writew_dbi(pci, PCI_DEVICE_ID, id >> PCIE_DEVICEID_SHIFT); pci 799 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_dbi_ro_wr_dis(pci); pci 806 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 807 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 820 drivers/pci/controller/dwc/pci-keystone.c ks_pcie_stop_link(pci); pci 823 drivers/pci/controller/dwc/pci-keystone.c pci->dbi_base + PCI_IO_BASE); pci 838 drivers/pci/controller/dwc/pci-keystone.c ks_pcie_start_link(pci); pci 839 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_wait_for_link(pci); pci 867 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 868 drivers/pci/controller/dwc/pci-keystone.c struct pcie_port *pp = &pci->pp; pci 889 drivers/pci/controller/dwc/pci-keystone.c static u32 ks_pcie_am654_read_dbi2(struct dw_pcie *pci, void __iomem *base, pci 892 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 901 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_am654_write_dbi2(struct dw_pcie *pci, void __iomem *base, pci 904 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 921 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 926 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi2(pci, PCI_BASE_ADDRESS_0, APP_ADDR_SPACE_0 - 1); pci 927 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, flags); pci 932 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 935 drivers/pci/controller/dwc/pci-keystone.c int_pin = dw_pcie_readb_dbi(pci, PCI_INTERRUPT_PIN); pci 952 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 953 drivers/pci/controller/dwc/pci-keystone.c struct keystone_pcie *ks_pcie = to_keystone_pcie(pci); pci 963 drivers/pci/controller/dwc/pci-keystone.c dev_err(pci->dev, "UNKNOWN IRQ type\n"); pci 1002 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci = ks_pcie->pci; pci 1004 drivers/pci/controller/dwc/pci-keystone.c ep = &pci->ep; pci 1125 drivers/pci/controller/dwc/pci-keystone.c static void ks_pcie_set_link_speed(struct dw_pcie *pci, int link_speed) pci 1129 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_dbi_ro_wr_en(pci); pci 1131 drivers/pci/controller/dwc/pci-keystone.c val = dw_pcie_readl_dbi(pci, EXP_CAP_ID_OFFSET + PCI_EXP_LNKCAP); pci 1135 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, EXP_CAP_ID_OFFSET + PCI_EXP_LNKCAP, pci 1139 drivers/pci/controller/dwc/pci-keystone.c val = dw_pcie_readl_dbi(pci, EXP_CAP_ID_OFFSET + PCI_EXP_LNKCTL2); pci 1143 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_writel_dbi(pci, EXP_CAP_ID_OFFSET + PCI_EXP_LNKCTL2, pci 1147 drivers/pci/controller/dwc/pci-keystone.c dw_pcie_dbi_ro_wr_dis(pci); pci 1193 drivers/pci/controller/dwc/pci-keystone.c struct dw_pcie *pci; pci 1224 drivers/pci/controller/dwc/pci-keystone.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 1225 drivers/pci/controller/dwc/pci-keystone.c if (!pci) pci 1243 drivers/pci/controller/dwc/pci-keystone.c pci->dbi_base = base; pci 1244 drivers/pci/controller/dwc/pci-keystone.c pci->dbi_base2 = base; pci 1245 drivers/pci/controller/dwc/pci-keystone.c pci->dev = dev; pci 1246 drivers/pci/controller/dwc/pci-keystone.c pci->ops = &ks_pcie_dw_pcie_ops; pci 1247 drivers/pci/controller/dwc/pci-keystone.c pci->version = version; pci 1294 drivers/pci/controller/dwc/pci-keystone.c ks_pcie->pci = pci; pci 1322 drivers/pci/controller/dwc/pci-keystone.c if (pci->version >= 0x480A) { pci 1330 drivers/pci/controller/dwc/pci-keystone.c pci->atu_base = atu_base; pci 1345 drivers/pci/controller/dwc/pci-keystone.c ks_pcie_set_link_speed(pci, link_speed); pci 1374 drivers/pci/controller/dwc/pci-keystone.c pci->pp.ops = host_ops; pci 1385 drivers/pci/controller/dwc/pci-keystone.c pci->ep.ops = ep_ops; pci 24 drivers/pci/controller/dwc/pci-layerscape-ep.c struct dw_pcie *pci; pci 29 drivers/pci/controller/dwc/pci-layerscape-ep.c static int ls_pcie_establish_link(struct dw_pcie *pci) pci 58 drivers/pci/controller/dwc/pci-layerscape-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 62 drivers/pci/controller/dwc/pci-layerscape-ep.c dw_pcie_ep_reset_bar(pci, bar); pci 68 drivers/pci/controller/dwc/pci-layerscape-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 78 drivers/pci/controller/dwc/pci-layerscape-ep.c dev_err(pci->dev, "UNKNOWN IRQ type\n"); pci 92 drivers/pci/controller/dwc/pci-layerscape-ep.c struct dw_pcie *pci = pcie->pci; pci 93 drivers/pci/controller/dwc/pci-layerscape-ep.c struct device *dev = pci->dev; pci 98 drivers/pci/controller/dwc/pci-layerscape-ep.c ep = &pci->ep; pci 120 drivers/pci/controller/dwc/pci-layerscape-ep.c struct dw_pcie *pci; pci 129 drivers/pci/controller/dwc/pci-layerscape-ep.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 130 drivers/pci/controller/dwc/pci-layerscape-ep.c if (!pci) pci 134 drivers/pci/controller/dwc/pci-layerscape-ep.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, dbi_base); pci 135 drivers/pci/controller/dwc/pci-layerscape-ep.c if (IS_ERR(pci->dbi_base)) pci 136 drivers/pci/controller/dwc/pci-layerscape-ep.c return PTR_ERR(pci->dbi_base); pci 138 drivers/pci/controller/dwc/pci-layerscape-ep.c pci->dbi_base2 = pci->dbi_base + PCIE_DBI2_OFFSET; pci 139 drivers/pci/controller/dwc/pci-layerscape-ep.c pci->dev = dev; pci 140 drivers/pci/controller/dwc/pci-layerscape-ep.c pci->ops = &ls_pcie_ep_ops; pci 141 drivers/pci/controller/dwc/pci-layerscape-ep.c pcie->pci = pci; pci 47 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci; pci 58 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = pcie->pci; pci 61 drivers/pci/controller/dwc/pci-layerscape.c header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); pci 70 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = pcie->pci; pci 72 drivers/pci/controller/dwc/pci-layerscape.c iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); pci 79 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = pcie->pci; pci 81 drivers/pci/controller/dwc/pci-layerscape.c val = ioread32(pci->dbi_base + PCIE_STRFMR1); pci 83 drivers/pci/controller/dwc/pci-layerscape.c iowrite32(val, pci->dbi_base + PCIE_STRFMR1); pci 91 drivers/pci/controller/dwc/pci-layerscape.c dw_pcie_disable_atu(pcie->pci, i, DW_PCIE_REGION_OUTBOUND); pci 94 drivers/pci/controller/dwc/pci-layerscape.c static int ls1021_pcie_link_up(struct dw_pcie *pci) pci 97 drivers/pci/controller/dwc/pci-layerscape.c struct ls_pcie *pcie = to_ls_pcie(pci); pci 111 drivers/pci/controller/dwc/pci-layerscape.c static int ls_pcie_link_up(struct dw_pcie *pci) pci 113 drivers/pci/controller/dwc/pci-layerscape.c struct ls_pcie *pcie = to_ls_pcie(pci); pci 129 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = pcie->pci; pci 131 drivers/pci/controller/dwc/pci-layerscape.c iowrite32(PCIE_ABSERR_SETTING, pci->dbi_base + PCIE_ABSERR); pci 136 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 137 drivers/pci/controller/dwc/pci-layerscape.c struct ls_pcie *pcie = to_ls_pcie(pci); pci 147 drivers/pci/controller/dwc/pci-layerscape.c dw_pcie_dbi_ro_wr_en(pci); pci 149 drivers/pci/controller/dwc/pci-layerscape.c dw_pcie_dbi_ro_wr_dis(pci); pci 160 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 161 drivers/pci/controller/dwc/pci-layerscape.c struct ls_pcie *pcie = to_ls_pcie(pci); pci 162 drivers/pci/controller/dwc/pci-layerscape.c struct device *dev = pci->dev; pci 187 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 188 drivers/pci/controller/dwc/pci-layerscape.c struct device *dev = pci->dev; pci 277 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci = pcie->pci; pci 278 drivers/pci/controller/dwc/pci-layerscape.c struct pcie_port *pp = &pci->pp; pci 279 drivers/pci/controller/dwc/pci-layerscape.c struct device *dev = pci->dev; pci 296 drivers/pci/controller/dwc/pci-layerscape.c struct dw_pcie *pci; pci 305 drivers/pci/controller/dwc/pci-layerscape.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 306 drivers/pci/controller/dwc/pci-layerscape.c if (!pci) pci 311 drivers/pci/controller/dwc/pci-layerscape.c pci->dev = dev; pci 312 drivers/pci/controller/dwc/pci-layerscape.c pci->ops = pcie->drvdata->dw_pcie_ops; pci 314 drivers/pci/controller/dwc/pci-layerscape.c pcie->pci = pci; pci 317 drivers/pci/controller/dwc/pci-layerscape.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, dbi_base); pci 318 drivers/pci/controller/dwc/pci-layerscape.c if (IS_ERR(pci->dbi_base)) pci 319 drivers/pci/controller/dwc/pci-layerscape.c return PTR_ERR(pci->dbi_base); pci 321 drivers/pci/controller/dwc/pci-layerscape.c pcie->lut = pci->dbi_base + pcie->drvdata->lut_offset; pci 100 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie pci; pci 111 drivers/pci/controller/dwc/pci-meson.c struct device *dev = mp->pci.dev; pci 148 drivers/pci/controller/dwc/pci-meson.c struct device *dev = mp->pci.dev; pci 160 drivers/pci/controller/dwc/pci-meson.c struct device *dev = mp->pci.dev; pci 246 drivers/pci/controller/dwc/pci-meson.c struct device *dev = mp->pci.dev; pci 325 drivers/pci/controller/dwc/pci-meson.c struct device *dev = mp->pci.dev; pci 377 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci = &mp->pci; pci 378 drivers/pci/controller/dwc/pci-meson.c struct pcie_port *pp = &pci->pp; pci 389 drivers/pci/controller/dwc/pci-meson.c return dw_pcie_wait_for_link(pci); pci 395 drivers/pci/controller/dwc/pci-meson.c dw_pcie_msi_init(&mp->pci.pp); pci 401 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 404 drivers/pci/controller/dwc/pci-meson.c ret = dw_pcie_read(pci->dbi_base + where, size, val); pci 428 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 430 drivers/pci/controller/dwc/pci-meson.c return dw_pcie_write(pci->dbi_base + where, size, val); pci 433 drivers/pci/controller/dwc/pci-meson.c static int meson_pcie_link_up(struct dw_pcie *pci) pci 435 drivers/pci/controller/dwc/pci-meson.c struct meson_pcie *mp = to_meson_pcie(pci); pci 436 drivers/pci/controller/dwc/pci-meson.c struct device *dev = pci->dev; pci 474 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 475 drivers/pci/controller/dwc/pci-meson.c struct meson_pcie *mp = to_meson_pcie(pci); pci 496 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci = &mp->pci; pci 497 drivers/pci/controller/dwc/pci-meson.c struct pcie_port *pp = &pci->pp; pci 510 drivers/pci/controller/dwc/pci-meson.c pci->dbi_base = mp->mem_res.elbi_base; pci 528 drivers/pci/controller/dwc/pci-meson.c struct dw_pcie *pci; pci 536 drivers/pci/controller/dwc/pci-meson.c pci = &mp->pci; pci 537 drivers/pci/controller/dwc/pci-meson.c pci->dev = dev; pci 538 drivers/pci/controller/dwc/pci-meson.c pci->ops = &dw_pcie_ops; pci 137 drivers/pci/controller/dwc/pcie-al.c struct dw_pcie *pci; pci 232 drivers/pci/controller/dwc/pcie-al.c struct pcie_port *pp = &pcie->pci->pp; pci 240 drivers/pci/controller/dwc/pcie-al.c dev_dbg(pcie->pci->dev, "Changing target bus busnum val from 0x%x to 0x%x\n", pci 255 drivers/pci/controller/dwc/pcie-al.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 256 drivers/pci/controller/dwc/pcie-al.c struct al_pcie *pcie = to_al_pcie(pci); pci 265 drivers/pci/controller/dwc/pcie-al.c dev_dbg(pci->dev, "%d-byte config read from %04x:%02x:%02x.%d offset 0x%x (pci_addr: 0x%px) - val:0x%x\n", pci 277 drivers/pci/controller/dwc/pcie-al.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 278 drivers/pci/controller/dwc/pcie-al.c struct al_pcie *pcie = to_al_pcie(pci); pci 287 drivers/pci/controller/dwc/pcie-al.c dev_dbg(pci->dev, "%d-byte config write to %04x:%02x:%02x.%d offset 0x%x (pci_addr: 0x%px) - val:0x%x\n", pci 298 drivers/pci/controller/dwc/pcie-al.c struct pcie_port *pp = &pcie->pci->pp; pci 343 drivers/pci/controller/dwc/pcie-al.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 344 drivers/pci/controller/dwc/pcie-al.c struct al_pcie *pcie = to_al_pcie(pci); pci 393 drivers/pci/controller/dwc/pcie-al.c struct dw_pcie *pci; pci 399 drivers/pci/controller/dwc/pcie-al.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 400 drivers/pci/controller/dwc/pcie-al.c if (!pci) pci 403 drivers/pci/controller/dwc/pcie-al.c pci->dev = dev; pci 404 drivers/pci/controller/dwc/pcie-al.c pci->ops = &dw_pcie_ops; pci 406 drivers/pci/controller/dwc/pcie-al.c al_pcie->pci = pci; pci 410 drivers/pci/controller/dwc/pcie-al.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, dbi_res); pci 411 drivers/pci/controller/dwc/pcie-al.c if (IS_ERR(pci->dbi_base)) { pci 413 drivers/pci/controller/dwc/pcie-al.c return PTR_ERR(pci->dbi_base); pci 437 drivers/pci/controller/dwc/pcie-al.c return al_add_pcie_port(&pci->pp, pdev); pci 31 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci; pci 113 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci = pcie->pci; pci 114 drivers/pci/controller/dwc/pcie-armada8k.c struct device *dev = pci->dev; pci 143 drivers/pci/controller/dwc/pcie-armada8k.c static int armada8k_pcie_link_up(struct dw_pcie *pci) pci 148 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_STATUS_REG); pci 153 drivers/pci/controller/dwc/pcie-armada8k.c dev_dbg(pci->dev, "No link detected (Global-Status: 0x%08x).\n", reg); pci 159 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci = pcie->pci; pci 162 drivers/pci/controller/dwc/pcie-armada8k.c if (!dw_pcie_link_up(pci)) { pci 164 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); pci 166 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); pci 170 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); pci 173 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); pci 176 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_ARCACHE_TRC_REG, ARCACHE_DEFAULT_VALUE); pci 177 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_AWCACHE_TRC_REG, AWCACHE_DEFAULT_VALUE); pci 180 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_ARUSER_REG); pci 183 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_ARUSER_REG, reg); pci 185 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_AWUSER_REG); pci 188 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_AWUSER_REG, reg); pci 191 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_INT_MASK1_REG); pci 194 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_GLOBAL_INT_MASK1_REG, reg); pci 196 drivers/pci/controller/dwc/pcie-armada8k.c if (!dw_pcie_link_up(pci)) { pci 198 drivers/pci/controller/dwc/pcie-armada8k.c reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); pci 200 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); pci 204 drivers/pci/controller/dwc/pcie-armada8k.c if (dw_pcie_wait_for_link(pci)) pci 205 drivers/pci/controller/dwc/pcie-armada8k.c dev_err(pci->dev, "Link not up after reconfiguration\n"); pci 210 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 211 drivers/pci/controller/dwc/pcie-armada8k.c struct armada8k_pcie *pcie = to_armada8k_pcie(pci); pci 222 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci = pcie->pci; pci 230 drivers/pci/controller/dwc/pcie-armada8k.c val = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_INT_CAUSE1_REG); pci 231 drivers/pci/controller/dwc/pcie-armada8k.c dw_pcie_writel_dbi(pci, PCIE_GLOBAL_INT_CAUSE1_REG, val); pci 243 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci = pcie->pci; pci 244 drivers/pci/controller/dwc/pcie-armada8k.c struct pcie_port *pp = &pci->pp; pci 278 drivers/pci/controller/dwc/pcie-armada8k.c struct dw_pcie *pci; pci 288 drivers/pci/controller/dwc/pcie-armada8k.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 289 drivers/pci/controller/dwc/pcie-armada8k.c if (!pci) pci 292 drivers/pci/controller/dwc/pcie-armada8k.c pci->dev = dev; pci 293 drivers/pci/controller/dwc/pcie-armada8k.c pci->ops = &dw_pcie_ops; pci 295 drivers/pci/controller/dwc/pcie-armada8k.c pcie->pci = pci; pci 318 drivers/pci/controller/dwc/pcie-armada8k.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, base); pci 319 drivers/pci/controller/dwc/pcie-armada8k.c if (IS_ERR(pci->dbi_base)) { pci 321 drivers/pci/controller/dwc/pcie-armada8k.c ret = PTR_ERR(pci->dbi_base); pci 33 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci; pci 107 drivers/pci/controller/dwc/pcie-artpec6.c static u64 artpec6_pcie_cpu_addr_fixup(struct dw_pcie *pci, u64 pci_addr) pci 109 drivers/pci/controller/dwc/pcie-artpec6.c struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); pci 110 drivers/pci/controller/dwc/pcie-artpec6.c struct pcie_port *pp = &pci->pp; pci 111 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie_ep *ep = &pci->ep; pci 119 drivers/pci/controller/dwc/pcie-artpec6.c dev_err(pci->dev, "UNKNOWN device type\n"); pci 124 drivers/pci/controller/dwc/pcie-artpec6.c static int artpec6_pcie_establish_link(struct dw_pcie *pci) pci 126 drivers/pci/controller/dwc/pcie-artpec6.c struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); pci 136 drivers/pci/controller/dwc/pcie-artpec6.c static void artpec6_pcie_stop_link(struct dw_pcie *pci) pci 138 drivers/pci/controller/dwc/pcie-artpec6.c struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); pci 154 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 155 drivers/pci/controller/dwc/pcie-artpec6.c struct device *dev = pci->dev; pci 181 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 182 drivers/pci/controller/dwc/pcie-artpec6.c struct device *dev = pci->dev; pci 253 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 260 drivers/pci/controller/dwc/pcie-artpec6.c dev_dbg(pci->dev, "Using reference clock: %s\n", pci 297 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 307 drivers/pci/controller/dwc/pcie-artpec6.c val = dw_pcie_readl_dbi(pci, ACK_F_ASPM_CTRL_OFF); pci 310 drivers/pci/controller/dwc/pcie-artpec6.c dw_pcie_writel_dbi(pci, ACK_F_ASPM_CTRL_OFF, val); pci 316 drivers/pci/controller/dwc/pcie-artpec6.c val = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); pci 319 drivers/pci/controller/dwc/pcie-artpec6.c dw_pcie_writel_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL, val); pci 357 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 358 drivers/pci/controller/dwc/pcie-artpec6.c struct pcie_port *pp = &pci->pp; pci 366 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 367 drivers/pci/controller/dwc/pcie-artpec6.c struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); pci 375 drivers/pci/controller/dwc/pcie-artpec6.c artpec6_pcie_establish_link(pci); pci 376 drivers/pci/controller/dwc/pcie-artpec6.c dw_pcie_wait_for_link(pci); pci 389 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 390 drivers/pci/controller/dwc/pcie-artpec6.c struct pcie_port *pp = &pci->pp; pci 391 drivers/pci/controller/dwc/pcie-artpec6.c struct device *dev = pci->dev; pci 415 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 416 drivers/pci/controller/dwc/pcie-artpec6.c struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); pci 426 drivers/pci/controller/dwc/pcie-artpec6.c dw_pcie_ep_reset_bar(pci, bar); pci 432 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 436 drivers/pci/controller/dwc/pcie-artpec6.c dev_err(pci->dev, "EP cannot trigger legacy IRQs\n"); pci 441 drivers/pci/controller/dwc/pcie-artpec6.c dev_err(pci->dev, "UNKNOWN IRQ type\n"); pci 459 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci = artpec6_pcie->pci; pci 461 drivers/pci/controller/dwc/pcie-artpec6.c ep = &pci->ep; pci 465 drivers/pci/controller/dwc/pcie-artpec6.c pci->dbi_base2 = devm_ioremap_resource(dev, res); pci 466 drivers/pci/controller/dwc/pcie-artpec6.c if (IS_ERR(pci->dbi_base2)) pci 467 drivers/pci/controller/dwc/pcie-artpec6.c return PTR_ERR(pci->dbi_base2); pci 488 drivers/pci/controller/dwc/pcie-artpec6.c struct dw_pcie *pci; pci 510 drivers/pci/controller/dwc/pcie-artpec6.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 511 drivers/pci/controller/dwc/pcie-artpec6.c if (!pci) pci 514 drivers/pci/controller/dwc/pcie-artpec6.c pci->dev = dev; pci 515 drivers/pci/controller/dwc/pcie-artpec6.c pci->ops = &dw_pcie_ops; pci 517 drivers/pci/controller/dwc/pcie-artpec6.c artpec6_pcie->pci = pci; pci 522 drivers/pci/controller/dwc/pcie-artpec6.c pci->dbi_base = devm_ioremap_resource(dev, dbi_base); pci 523 drivers/pci/controller/dwc/pcie-artpec6.c if (IS_ERR(pci->dbi_base)) pci 524 drivers/pci/controller/dwc/pcie-artpec6.c return PTR_ERR(pci->dbi_base); pci 22 drivers/pci/controller/dwc/pcie-designware-ep.c static void __dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar, pci 28 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 29 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi2(pci, reg, 0x0); pci 30 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi(pci, reg, 0x0); pci 32 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi2(pci, reg + 4, 0x0); pci 33 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi(pci, reg + 4, 0x0); pci 35 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 38 drivers/pci/controller/dwc/pcie-designware-ep.c void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) pci 40 drivers/pci/controller/dwc/pcie-designware-ep.c __dw_pcie_ep_reset_bar(pci, bar, 0); pci 47 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 49 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 50 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, PCI_VENDOR_ID, hdr->vendorid); pci 51 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, PCI_DEVICE_ID, hdr->deviceid); pci 52 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writeb_dbi(pci, PCI_REVISION_ID, hdr->revid); pci 53 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writeb_dbi(pci, PCI_CLASS_PROG, hdr->progif_code); pci 54 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, PCI_CLASS_DEVICE, pci 56 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writeb_dbi(pci, PCI_CACHE_LINE_SIZE, pci 58 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, PCI_SUBSYSTEM_VENDOR_ID, pci 60 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, PCI_SUBSYSTEM_ID, hdr->subsys_id); pci 61 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writeb_dbi(pci, PCI_INTERRUPT_PIN, pci 63 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 74 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 78 drivers/pci/controller/dwc/pcie-designware-ep.c dev_err(pci->dev, "No free inbound window\n"); pci 82 drivers/pci/controller/dwc/pcie-designware-ep.c ret = dw_pcie_prog_inbound_atu(pci, free_win, bar, cpu_addr, pci 85 drivers/pci/controller/dwc/pcie-designware-ep.c dev_err(pci->dev, "Failed to program IB window\n"); pci 99 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 103 drivers/pci/controller/dwc/pcie-designware-ep.c dev_err(pci->dev, "No free outbound window\n"); pci 107 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_prog_outbound_atu(pci, free_win, PCIE_ATU_TYPE_MEM, pci 120 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 124 drivers/pci/controller/dwc/pcie-designware-ep.c __dw_pcie_ep_reset_bar(pci, bar, epf_bar->flags); pci 126 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_disable_atu(pci, atu_index, DW_PCIE_REGION_INBOUND); pci 135 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 151 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 153 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi2(pci, reg, lower_32_bits(size - 1)); pci 154 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi(pci, reg, flags); pci 157 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi2(pci, reg + 4, upper_32_bits(size - 1)); pci 158 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi(pci, reg + 4, 0); pci 161 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 187 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 193 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_disable_atu(pci, atu_index, DW_PCIE_REGION_OUTBOUND); pci 203 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 207 drivers/pci/controller/dwc/pcie-designware-ep.c dev_err(pci->dev, "Failed to enable address\n"); pci 217 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 224 drivers/pci/controller/dwc/pcie-designware-ep.c val = dw_pcie_readw_dbi(pci, reg); pci 236 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 243 drivers/pci/controller/dwc/pcie-designware-ep.c val = dw_pcie_readw_dbi(pci, reg); pci 246 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 247 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, reg, val); pci 248 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 256 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 263 drivers/pci/controller/dwc/pcie-designware-ep.c val = dw_pcie_readw_dbi(pci, reg); pci 275 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 282 drivers/pci/controller/dwc/pcie-designware-ep.c val = dw_pcie_readw_dbi(pci, reg); pci 285 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 286 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writew_dbi(pci, reg, val); pci 287 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 306 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 308 drivers/pci/controller/dwc/pcie-designware-ep.c if (!pci->ops->stop_link) pci 311 drivers/pci/controller/dwc/pcie-designware-ep.c pci->ops->stop_link(pci); pci 317 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 319 drivers/pci/controller/dwc/pcie-designware-ep.c if (!pci->ops->start_link) pci 322 drivers/pci/controller/dwc/pcie-designware-ep.c return pci->ops->start_link(pci); pci 354 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 355 drivers/pci/controller/dwc/pcie-designware-ep.c struct device *dev = pci->dev; pci 365 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 379 drivers/pci/controller/dwc/pcie-designware-ep.c msg_ctrl = dw_pcie_readw_dbi(pci, reg); pci 382 drivers/pci/controller/dwc/pcie-designware-ep.c msg_addr_lower = dw_pcie_readl_dbi(pci, reg); pci 385 drivers/pci/controller/dwc/pcie-designware-ep.c msg_addr_upper = dw_pcie_readl_dbi(pci, reg); pci 387 drivers/pci/controller/dwc/pcie-designware-ep.c msg_data = dw_pcie_readw_dbi(pci, reg); pci 391 drivers/pci/controller/dwc/pcie-designware-ep.c msg_data = dw_pcie_readw_dbi(pci, reg); pci 411 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 422 drivers/pci/controller/dwc/pcie-designware-ep.c tbl_offset = dw_pcie_readl_dbi(pci, reg); pci 428 drivers/pci/controller/dwc/pcie-designware-ep.c bar_addr_lower = dw_pcie_readl_dbi(pci, reg); pci 431 drivers/pci/controller/dwc/pcie-designware-ep.c bar_addr_upper = dw_pcie_readl_dbi(pci, reg + 4); pci 451 drivers/pci/controller/dwc/pcie-designware-ep.c dev_dbg(pci->dev, "MSI-X entry ctrl set\n"); pci 477 drivers/pci/controller/dwc/pcie-designware-ep.c static unsigned int dw_pcie_ep_find_ext_capability(struct dw_pcie *pci, int cap) pci 483 drivers/pci/controller/dwc/pcie-designware-ep.c header = dw_pcie_readl_dbi(pci, pos); pci 505 drivers/pci/controller/dwc/pcie-designware-ep.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 506 drivers/pci/controller/dwc/pcie-designware-ep.c struct device *dev = pci->dev; pci 509 drivers/pci/controller/dwc/pcie-designware-ep.c if (!pci->dbi_base || !pci->dbi_base2) { pci 566 drivers/pci/controller/dwc/pcie-designware-ep.c hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE); pci 568 drivers/pci/controller/dwc/pcie-designware-ep.c dev_err(pci->dev, "PCIe controller is not set to EP mode (hdr_type:0x%x)!\n", pci 590 drivers/pci/controller/dwc/pcie-designware-ep.c ep->msi_cap = dw_pcie_find_capability(pci, PCI_CAP_ID_MSI); pci 592 drivers/pci/controller/dwc/pcie-designware-ep.c ep->msix_cap = dw_pcie_find_capability(pci, PCI_CAP_ID_MSIX); pci 594 drivers/pci/controller/dwc/pcie-designware-ep.c offset = dw_pcie_ep_find_ext_capability(pci, PCI_EXT_CAP_ID_REBAR); pci 596 drivers/pci/controller/dwc/pcie-designware-ep.c reg = dw_pcie_readl_dbi(pci, offset + PCI_REBAR_CTRL); pci 600 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_en(pci); pci 602 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_writel_dbi(pci, offset + PCI_REBAR_CAP, 0x0); pci 603 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_dbi_ro_wr_dis(pci); pci 606 drivers/pci/controller/dwc/pcie-designware-ep.c dw_pcie_setup(pci); pci 26 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci; pci 31 drivers/pci/controller/dwc/pcie-designware-host.c pci = to_dw_pcie_from_pp(pp); pci 32 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_read(pci->dbi_base + where, size, val); pci 38 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci; pci 43 drivers/pci/controller/dwc/pcie-designware-host.c pci = to_dw_pcie_from_pp(pp); pci 44 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_write(pci->dbi_base + where, size, val); pci 127 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 137 drivers/pci/controller/dwc/pcie-designware-host.c dev_dbg(pci->dev, "msi#%d address_hi %#x address_lo %#x\n", pci 256 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 257 drivers/pci/controller/dwc/pcie-designware-host.c struct fwnode_handle *fwnode = of_node_to_fwnode(pci->dev->of_node); pci 262 drivers/pci/controller/dwc/pcie-designware-host.c dev_err(pci->dev, "Failed to create IRQ domain\n"); pci 270 drivers/pci/controller/dwc/pcie-designware-host.c dev_err(pci->dev, "Failed to create MSI domain\n"); pci 294 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 295 drivers/pci/controller/dwc/pcie-designware-host.c struct device *dev = pci->dev; pci 319 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 320 drivers/pci/controller/dwc/pcie-designware-host.c struct device *dev = pci->dev; pci 330 drivers/pci/controller/dwc/pcie-designware-host.c raw_spin_lock_init(&pci->pp.lock); pci 391 drivers/pci/controller/dwc/pcie-designware-host.c if (!pci->dbi_base) { pci 392 drivers/pci/controller/dwc/pcie-designware-host.c pci->dbi_base = devm_pci_remap_cfgspace(dev, pci 395 drivers/pci/controller/dwc/pcie-designware-host.c if (!pci->dbi_base) { pci 422 drivers/pci/controller/dwc/pcie-designware-host.c ret = of_property_read_u32(np, "num-viewport", &pci->num_viewport); pci 424 drivers/pci/controller/dwc/pcie-designware-host.c pci->num_viewport = 2; pci 471 drivers/pci/controller/dwc/pcie-designware-host.c dev_err(pci->dev, "Failed reading PCI_HEADER_TYPE cfg space reg (ret: 0x%x)\n", pci 477 drivers/pci/controller/dwc/pcie-designware-host.c dev_err(pci->dev, pci 535 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 552 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_prog_outbound_atu(pci, PCIE_ATU_REGION_INDEX1, pci 560 drivers/pci/controller/dwc/pcie-designware-host.c if (pci->num_viewport <= 2) pci 561 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_prog_outbound_atu(pci, PCIE_ATU_REGION_INDEX1, pci 593 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 597 drivers/pci/controller/dwc/pcie-designware-host.c if (!dw_pcie_link_up(pci)) pci 646 drivers/pci/controller/dwc/pcie-designware-host.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 652 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_dbi_ro_wr_en(pci); pci 654 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_setup(pci); pci 672 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 0x00000004); pci 673 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_1, 0x00000000); pci 676 drivers/pci/controller/dwc/pcie-designware-host.c val = dw_pcie_readl_dbi(pci, PCI_INTERRUPT_LINE); pci 679 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_writel_dbi(pci, PCI_INTERRUPT_LINE, val); pci 682 drivers/pci/controller/dwc/pcie-designware-host.c val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS); pci 685 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val); pci 688 drivers/pci/controller/dwc/pcie-designware-host.c val = dw_pcie_readl_dbi(pci, PCI_COMMAND); pci 692 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_writel_dbi(pci, PCI_COMMAND, val); pci 700 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_prog_outbound_atu(pci, PCIE_ATU_REGION_INDEX0, pci 703 drivers/pci/controller/dwc/pcie-designware-host.c if (pci->num_viewport > 2) pci 704 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_prog_outbound_atu(pci, PCIE_ATU_REGION_INDEX2, pci 718 drivers/pci/controller/dwc/pcie-designware-host.c dw_pcie_dbi_ro_wr_dis(pci); pci 25 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci; pci 38 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 41 drivers/pci/controller/dwc/pcie-designware-plat.c dw_pcie_wait_for_link(pci); pci 59 drivers/pci/controller/dwc/pcie-designware-plat.c static int dw_plat_pcie_establish_link(struct dw_pcie *pci) pci 70 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 74 drivers/pci/controller/dwc/pcie-designware-plat.c dw_pcie_ep_reset_bar(pci, bar); pci 81 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci = to_dw_pcie_from_ep(ep); pci 91 drivers/pci/controller/dwc/pcie-designware-plat.c dev_err(pci->dev, "UNKNOWN IRQ type\n"); pci 118 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci = dw_plat_pcie->pci; pci 119 drivers/pci/controller/dwc/pcie-designware-plat.c struct pcie_port *pp = &pci->pp; pci 151 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci = dw_plat_pcie->pci; pci 153 drivers/pci/controller/dwc/pcie-designware-plat.c ep = &pci->ep; pci 157 drivers/pci/controller/dwc/pcie-designware-plat.c pci->dbi_base2 = devm_ioremap_resource(dev, res); pci 158 drivers/pci/controller/dwc/pcie-designware-plat.c if (IS_ERR(pci->dbi_base2)) pci 159 drivers/pci/controller/dwc/pcie-designware-plat.c return PTR_ERR(pci->dbi_base2); pci 180 drivers/pci/controller/dwc/pcie-designware-plat.c struct dw_pcie *pci; pci 198 drivers/pci/controller/dwc/pcie-designware-plat.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 199 drivers/pci/controller/dwc/pcie-designware-plat.c if (!pci) pci 202 drivers/pci/controller/dwc/pcie-designware-plat.c pci->dev = dev; pci 203 drivers/pci/controller/dwc/pcie-designware-plat.c pci->ops = &dw_pcie_ops; pci 205 drivers/pci/controller/dwc/pcie-designware-plat.c dw_plat_pcie->pci = pci; pci 212 drivers/pci/controller/dwc/pcie-designware-plat.c pci->dbi_base = devm_ioremap_resource(dev, res); pci 213 drivers/pci/controller/dwc/pcie-designware-plat.c if (IS_ERR(pci->dbi_base)) pci 214 drivers/pci/controller/dwc/pcie-designware-plat.c return PTR_ERR(pci->dbi_base); pci 22 drivers/pci/controller/dwc/pcie-designware.c static u8 __dw_pcie_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, pci 31 drivers/pci/controller/dwc/pcie-designware.c reg = dw_pcie_readw_dbi(pci, cap_ptr); pci 41 drivers/pci/controller/dwc/pcie-designware.c return __dw_pcie_find_next_cap(pci, next_cap_ptr, cap); pci 44 drivers/pci/controller/dwc/pcie-designware.c u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap) pci 49 drivers/pci/controller/dwc/pcie-designware.c reg = dw_pcie_readw_dbi(pci, PCI_CAPABILITY_LIST); pci 52 drivers/pci/controller/dwc/pcie-designware.c return __dw_pcie_find_next_cap(pci, next_cap_ptr, cap); pci 56 drivers/pci/controller/dwc/pcie-designware.c static u16 dw_pcie_find_next_ext_capability(struct dw_pcie *pci, u16 start, pci 69 drivers/pci/controller/dwc/pcie-designware.c header = dw_pcie_readl_dbi(pci, pos); pci 85 drivers/pci/controller/dwc/pcie-designware.c header = dw_pcie_readl_dbi(pci, pos); pci 91 drivers/pci/controller/dwc/pcie-designware.c u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap) pci 93 drivers/pci/controller/dwc/pcie-designware.c return dw_pcie_find_next_ext_capability(pci, 0, cap); pci 137 drivers/pci/controller/dwc/pcie-designware.c u32 dw_pcie_read_dbi(struct dw_pcie *pci, u32 reg, size_t size) pci 142 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->read_dbi) pci 143 drivers/pci/controller/dwc/pcie-designware.c return pci->ops->read_dbi(pci, pci->dbi_base, reg, size); pci 145 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_read(pci->dbi_base + reg, size, &val); pci 147 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Read DBI address failed\n"); pci 153 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_write_dbi(struct dw_pcie *pci, u32 reg, size_t size, u32 val) pci 157 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->write_dbi) { pci 158 drivers/pci/controller/dwc/pcie-designware.c pci->ops->write_dbi(pci, pci->dbi_base, reg, size, val); pci 162 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_write(pci->dbi_base + reg, size, val); pci 164 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Write DBI address failed\n"); pci 168 drivers/pci/controller/dwc/pcie-designware.c u32 dw_pcie_read_dbi2(struct dw_pcie *pci, u32 reg, size_t size) pci 173 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->read_dbi2) pci 174 drivers/pci/controller/dwc/pcie-designware.c return pci->ops->read_dbi2(pci, pci->dbi_base2, reg, size); pci 176 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_read(pci->dbi_base2 + reg, size, &val); pci 178 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "read DBI address failed\n"); pci 183 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_write_dbi2(struct dw_pcie *pci, u32 reg, size_t size, u32 val) pci 187 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->write_dbi2) { pci 188 drivers/pci/controller/dwc/pcie-designware.c pci->ops->write_dbi2(pci, pci->dbi_base2, reg, size, val); pci 192 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_write(pci->dbi_base2 + reg, size, val); pci 194 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "write DBI address failed\n"); pci 197 drivers/pci/controller/dwc/pcie-designware.c u32 dw_pcie_read_atu(struct dw_pcie *pci, u32 reg, size_t size) pci 202 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->read_dbi) pci 203 drivers/pci/controller/dwc/pcie-designware.c return pci->ops->read_dbi(pci, pci->atu_base, reg, size); pci 205 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_read(pci->atu_base + reg, size, &val); pci 207 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Read ATU address failed\n"); pci 212 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_write_atu(struct dw_pcie *pci, u32 reg, size_t size, u32 val) pci 216 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->write_dbi) { pci 217 drivers/pci/controller/dwc/pcie-designware.c pci->ops->write_dbi(pci, pci->atu_base, reg, size, val); pci 221 drivers/pci/controller/dwc/pcie-designware.c ret = dw_pcie_write(pci->atu_base + reg, size, val); pci 223 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Write ATU address failed\n"); pci 226 drivers/pci/controller/dwc/pcie-designware.c static u32 dw_pcie_readl_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg) pci 230 drivers/pci/controller/dwc/pcie-designware.c return dw_pcie_readl_atu(pci, offset + reg); pci 233 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_writel_ob_unroll(struct dw_pcie *pci, u32 index, u32 reg, pci 238 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_atu(pci, offset + reg, val); pci 241 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_prog_outbound_atu_unroll(struct dw_pcie *pci, int index, pci 247 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LOWER_BASE, pci 249 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_UPPER_BASE, pci 251 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LIMIT, pci 253 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_LOWER_TARGET, pci 255 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_UPPER_TARGET, pci 257 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL1, pci 259 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ob_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL2, pci 267 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_ob_unroll(pci, index, pci 274 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Outbound iATU is not being enabled\n"); pci 277 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, int index, int type, pci 282 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->cpu_addr_fixup) pci 283 drivers/pci/controller/dwc/pcie-designware.c cpu_addr = pci->ops->cpu_addr_fixup(pci, cpu_addr); pci 285 drivers/pci/controller/dwc/pcie-designware.c if (pci->iatu_unroll_enabled) { pci 286 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_prog_outbound_atu_unroll(pci, index, type, cpu_addr, pci 291 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_VIEWPORT, pci 293 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_LOWER_BASE, pci 295 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_UPPER_BASE, pci 297 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_LIMIT, pci 299 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_LOWER_TARGET, pci 301 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_UPPER_TARGET, pci 303 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_CR1, type); pci 304 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_CR2, PCIE_ATU_ENABLE); pci 311 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_ATU_CR2); pci 317 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Outbound iATU is not being enabled\n"); pci 320 drivers/pci/controller/dwc/pcie-designware.c static u32 dw_pcie_readl_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg) pci 324 drivers/pci/controller/dwc/pcie-designware.c return dw_pcie_readl_atu(pci, offset + reg); pci 327 drivers/pci/controller/dwc/pcie-designware.c static void dw_pcie_writel_ib_unroll(struct dw_pcie *pci, u32 index, u32 reg, pci 332 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_atu(pci, offset + reg, val); pci 335 drivers/pci/controller/dwc/pcie-designware.c static int dw_pcie_prog_inbound_atu_unroll(struct dw_pcie *pci, int index, pci 342 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_LOWER_TARGET, pci 344 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_UPPER_TARGET, pci 358 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL1, type); pci 359 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_ib_unroll(pci, index, PCIE_ATU_UNR_REGION_CTRL2, pci 368 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_ib_unroll(pci, index, pci 375 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Inbound iATU is not being enabled\n"); pci 380 drivers/pci/controller/dwc/pcie-designware.c int dw_pcie_prog_inbound_atu(struct dw_pcie *pci, int index, int bar, pci 386 drivers/pci/controller/dwc/pcie-designware.c if (pci->iatu_unroll_enabled) pci 387 drivers/pci/controller/dwc/pcie-designware.c return dw_pcie_prog_inbound_atu_unroll(pci, index, bar, pci 390 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_VIEWPORT, PCIE_ATU_REGION_INBOUND | pci 392 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_LOWER_TARGET, lower_32_bits(cpu_addr)); pci 393 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_UPPER_TARGET, upper_32_bits(cpu_addr)); pci 406 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_CR1, type); pci 407 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_CR2, PCIE_ATU_ENABLE pci 415 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_ATU_CR2); pci 421 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "Inbound iATU is not being enabled\n"); pci 426 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_disable_atu(struct dw_pcie *pci, int index, pci 442 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_VIEWPORT, region | index); pci 443 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_CR2, (u32)~PCIE_ATU_ENABLE); pci 446 drivers/pci/controller/dwc/pcie-designware.c int dw_pcie_wait_for_link(struct dw_pcie *pci) pci 452 drivers/pci/controller/dwc/pcie-designware.c if (dw_pcie_link_up(pci)) { pci 453 drivers/pci/controller/dwc/pcie-designware.c dev_info(pci->dev, "Link up\n"); pci 459 drivers/pci/controller/dwc/pcie-designware.c dev_info(pci->dev, "Phy link never came up\n"); pci 465 drivers/pci/controller/dwc/pcie-designware.c int dw_pcie_link_up(struct dw_pcie *pci) pci 469 drivers/pci/controller/dwc/pcie-designware.c if (pci->ops->link_up) pci 470 drivers/pci/controller/dwc/pcie-designware.c return pci->ops->link_up(pci); pci 472 drivers/pci/controller/dwc/pcie-designware.c val = readl(pci->dbi_base + PCIE_PORT_DEBUG1); pci 477 drivers/pci/controller/dwc/pcie-designware.c static u8 dw_pcie_iatu_unroll_enabled(struct dw_pcie *pci) pci 481 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_ATU_VIEWPORT); pci 488 drivers/pci/controller/dwc/pcie-designware.c void dw_pcie_setup(struct dw_pcie *pci) pci 493 drivers/pci/controller/dwc/pcie-designware.c struct device *dev = pci->dev; pci 496 drivers/pci/controller/dwc/pcie-designware.c if (pci->version >= 0x480A || (!pci->version && pci 497 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_iatu_unroll_enabled(pci))) { pci 498 drivers/pci/controller/dwc/pcie-designware.c pci->iatu_unroll_enabled = true; pci 499 drivers/pci/controller/dwc/pcie-designware.c if (!pci->atu_base) pci 500 drivers/pci/controller/dwc/pcie-designware.c pci->atu_base = pci->dbi_base + DEFAULT_DBI_ATU_OFFSET; pci 502 drivers/pci/controller/dwc/pcie-designware.c dev_dbg(pci->dev, "iATU unroll: %s\n", pci->iatu_unroll_enabled ? pci 508 drivers/pci/controller/dwc/pcie-designware.c dev_dbg(pci->dev, "property num-lanes isn't found\n"); pci 513 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_PORT_LINK_CONTROL); pci 529 drivers/pci/controller/dwc/pcie-designware.c dev_err(pci->dev, "num-lanes %u: invalid value\n", lanes); pci 532 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_PORT_LINK_CONTROL, val); pci 535 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL); pci 551 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_LINK_WIDTH_SPEED_CONTROL, val); pci 554 drivers/pci/controller/dwc/pcie-designware.c val = dw_pcie_readl_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS); pci 557 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS, val); pci 263 drivers/pci/controller/dwc/pcie-designware.h u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap); pci 264 drivers/pci/controller/dwc/pcie-designware.h u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap); pci 269 drivers/pci/controller/dwc/pcie-designware.h u32 dw_pcie_read_dbi(struct dw_pcie *pci, u32 reg, size_t size); pci 270 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_write_dbi(struct dw_pcie *pci, u32 reg, size_t size, u32 val); pci 271 drivers/pci/controller/dwc/pcie-designware.h u32 dw_pcie_read_dbi2(struct dw_pcie *pci, u32 reg, size_t size); pci 272 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_write_dbi2(struct dw_pcie *pci, u32 reg, size_t size, u32 val); pci 273 drivers/pci/controller/dwc/pcie-designware.h u32 dw_pcie_read_atu(struct dw_pcie *pci, u32 reg, size_t size); pci 274 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_write_atu(struct dw_pcie *pci, u32 reg, size_t size, u32 val); pci 275 drivers/pci/controller/dwc/pcie-designware.h int dw_pcie_link_up(struct dw_pcie *pci); pci 276 drivers/pci/controller/dwc/pcie-designware.h int dw_pcie_wait_for_link(struct dw_pcie *pci); pci 277 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_prog_outbound_atu(struct dw_pcie *pci, int index, pci 280 drivers/pci/controller/dwc/pcie-designware.h int dw_pcie_prog_inbound_atu(struct dw_pcie *pci, int index, int bar, pci 282 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_disable_atu(struct dw_pcie *pci, int index, pci 284 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_setup(struct dw_pcie *pci); pci 286 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_writel_dbi(struct dw_pcie *pci, u32 reg, u32 val) pci 288 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_write_dbi(pci, reg, 0x4, val); pci 291 drivers/pci/controller/dwc/pcie-designware.h static inline u32 dw_pcie_readl_dbi(struct dw_pcie *pci, u32 reg) pci 293 drivers/pci/controller/dwc/pcie-designware.h return dw_pcie_read_dbi(pci, reg, 0x4); pci 296 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_writew_dbi(struct dw_pcie *pci, u32 reg, u16 val) pci 298 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_write_dbi(pci, reg, 0x2, val); pci 301 drivers/pci/controller/dwc/pcie-designware.h static inline u16 dw_pcie_readw_dbi(struct dw_pcie *pci, u32 reg) pci 303 drivers/pci/controller/dwc/pcie-designware.h return dw_pcie_read_dbi(pci, reg, 0x2); pci 306 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_writeb_dbi(struct dw_pcie *pci, u32 reg, u8 val) pci 308 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_write_dbi(pci, reg, 0x1, val); pci 311 drivers/pci/controller/dwc/pcie-designware.h static inline u8 dw_pcie_readb_dbi(struct dw_pcie *pci, u32 reg) pci 313 drivers/pci/controller/dwc/pcie-designware.h return dw_pcie_read_dbi(pci, reg, 0x1); pci 316 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_writel_dbi2(struct dw_pcie *pci, u32 reg, u32 val) pci 318 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_write_dbi2(pci, reg, 0x4, val); pci 321 drivers/pci/controller/dwc/pcie-designware.h static inline u32 dw_pcie_readl_dbi2(struct dw_pcie *pci, u32 reg) pci 323 drivers/pci/controller/dwc/pcie-designware.h return dw_pcie_read_dbi2(pci, reg, 0x4); pci 326 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_writel_atu(struct dw_pcie *pci, u32 reg, u32 val) pci 328 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_write_atu(pci, reg, 0x4, val); pci 331 drivers/pci/controller/dwc/pcie-designware.h static inline u32 dw_pcie_readl_atu(struct dw_pcie *pci, u32 reg) pci 333 drivers/pci/controller/dwc/pcie-designware.h return dw_pcie_read_atu(pci, reg, 0x4); pci 336 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_dbi_ro_wr_en(struct dw_pcie *pci) pci 342 drivers/pci/controller/dwc/pcie-designware.h val = dw_pcie_readl_dbi(pci, reg); pci 344 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_writel_dbi(pci, reg, val); pci 347 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_dbi_ro_wr_dis(struct dw_pcie *pci) pci 353 drivers/pci/controller/dwc/pcie-designware.h val = dw_pcie_readl_dbi(pci, reg); pci 355 drivers/pci/controller/dwc/pcie-designware.h dw_pcie_writel_dbi(pci, reg, val); pci 408 drivers/pci/controller/dwc/pcie-designware.h void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar); pci 440 drivers/pci/controller/dwc/pcie-designware.h static inline void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) pci 138 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci; pci 151 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 155 drivers/pci/controller/dwc/pcie-hisi.c reg_val = dw_pcie_readl_dbi(pci, reg); pci 176 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 181 drivers/pci/controller/dwc/pcie-hisi.c dw_pcie_writel_dbi(pci, reg, val); pci 183 drivers/pci/controller/dwc/pcie-hisi.c reg_val = dw_pcie_readl_dbi(pci, reg); pci 185 drivers/pci/controller/dwc/pcie-hisi.c dw_pcie_writel_dbi(pci, reg, reg_val); pci 187 drivers/pci/controller/dwc/pcie-hisi.c reg_val = dw_pcie_readl_dbi(pci, reg); pci 189 drivers/pci/controller/dwc/pcie-hisi.c dw_pcie_writel_dbi(pci, reg, reg_val); pci 208 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci = hisi_pcie->pci; pci 211 drivers/pci/controller/dwc/pcie-hisi.c val = dw_pcie_readl_dbi(pci, PCIE_SYS_STATE4); pci 216 drivers/pci/controller/dwc/pcie-hisi.c static int hisi_pcie_link_up(struct dw_pcie *pci) pci 218 drivers/pci/controller/dwc/pcie-hisi.c struct hisi_pcie *hisi_pcie = to_hisi_pcie(pci); pci 231 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci = hisi_pcie->pci; pci 232 drivers/pci/controller/dwc/pcie-hisi.c struct pcie_port *pp = &pci->pp; pci 265 drivers/pci/controller/dwc/pcie-hisi.c struct dw_pcie *pci; pci 274 drivers/pci/controller/dwc/pcie-hisi.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 275 drivers/pci/controller/dwc/pcie-hisi.c if (!pci) pci 278 drivers/pci/controller/dwc/pcie-hisi.c pci->dev = dev; pci 279 drivers/pci/controller/dwc/pcie-hisi.c pci->ops = &dw_pcie_ops; pci 281 drivers/pci/controller/dwc/pcie-hisi.c hisi_pcie->pci = pci; pci 293 drivers/pci/controller/dwc/pcie-hisi.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, reg); pci 294 drivers/pci/controller/dwc/pcie-hisi.c if (IS_ERR(pci->dbi_base)) pci 295 drivers/pci/controller/dwc/pcie-hisi.c return PTR_ERR(pci->dbi_base); pci 53 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci; pci 79 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 80 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); pci 93 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 94 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); pci 105 drivers/pci/controller/dwc/pcie-histb.c static u32 histb_pcie_read_dbi(struct dw_pcie *pci, void __iomem *base, pci 110 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_dbi_r_mode(&pci->pp, true); pci 112 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_dbi_r_mode(&pci->pp, false); pci 117 drivers/pci/controller/dwc/pcie-histb.c static void histb_pcie_write_dbi(struct dw_pcie *pci, void __iomem *base, pci 120 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_dbi_w_mode(&pci->pp, true); pci 122 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_dbi_w_mode(&pci->pp, false); pci 128 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 132 drivers/pci/controller/dwc/pcie-histb.c ret = dw_pcie_read(pci->dbi_base + where, size, val); pci 141 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 145 drivers/pci/controller/dwc/pcie-histb.c ret = dw_pcie_write(pci->dbi_base + where, size, val); pci 151 drivers/pci/controller/dwc/pcie-histb.c static int histb_pcie_link_up(struct dw_pcie *pci) pci 153 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); pci 169 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 170 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); pci 173 drivers/pci/controller/dwc/pcie-histb.c if (dw_pcie_link_up(pci)) { pci 174 drivers/pci/controller/dwc/pcie-histb.c dev_info(pci->dev, "Link already up\n"); pci 192 drivers/pci/controller/dwc/pcie-histb.c return dw_pcie_wait_for_link(pci); pci 231 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 232 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); pci 233 drivers/pci/controller/dwc/pcie-histb.c struct device *dev = pci->dev; pci 305 drivers/pci/controller/dwc/pcie-histb.c struct dw_pcie *pci; pci 318 drivers/pci/controller/dwc/pcie-histb.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 319 drivers/pci/controller/dwc/pcie-histb.c if (!pci) pci 322 drivers/pci/controller/dwc/pcie-histb.c hipcie->pci = pci; pci 323 drivers/pci/controller/dwc/pcie-histb.c pp = &pci->pp; pci 324 drivers/pci/controller/dwc/pcie-histb.c pci->dev = dev; pci 325 drivers/pci/controller/dwc/pcie-histb.c pci->ops = &dw_pcie_ops; pci 335 drivers/pci/controller/dwc/pcie-histb.c pci->dbi_base = devm_ioremap_resource(dev, res); pci 336 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(pci->dbi_base)) { pci 338 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(pci->dbi_base); pci 82 drivers/pci/controller/dwc/pcie-kirin.c struct dw_pcie *pci; pci 166 drivers/pci/controller/dwc/pcie-kirin.c kirin_pcie->pci->dbi_base = devm_ioremap_resource(dev, dbi); pci 167 drivers/pci/controller/dwc/pcie-kirin.c if (IS_ERR(kirin_pcie->pci->dbi_base)) pci 168 drivers/pci/controller/dwc/pcie-kirin.c return PTR_ERR(kirin_pcie->pci->dbi_base); pci 185 drivers/pci/controller/dwc/pcie-kirin.c struct device *dev = kirin_pcie->pci->dev; pci 341 drivers/pci/controller/dwc/pcie-kirin.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 342 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 346 drivers/pci/controller/dwc/pcie-kirin.c ret = dw_pcie_read(pci->dbi_base + where, size, val); pci 355 drivers/pci/controller/dwc/pcie-kirin.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 356 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 360 drivers/pci/controller/dwc/pcie-kirin.c ret = dw_pcie_write(pci->dbi_base + where, size, val); pci 366 drivers/pci/controller/dwc/pcie-kirin.c static u32 kirin_pcie_read_dbi(struct dw_pcie *pci, void __iomem *base, pci 369 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 379 drivers/pci/controller/dwc/pcie-kirin.c static void kirin_pcie_write_dbi(struct dw_pcie *pci, void __iomem *base, pci 382 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 389 drivers/pci/controller/dwc/pcie-kirin.c static int kirin_pcie_link_up(struct dw_pcie *pci) pci 391 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 402 drivers/pci/controller/dwc/pcie-kirin.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 403 drivers/pci/controller/dwc/pcie-kirin.c struct kirin_pcie *kirin_pcie = to_kirin_pcie(pci); pci 404 drivers/pci/controller/dwc/pcie-kirin.c struct device *dev = kirin_pcie->pci->dev; pci 407 drivers/pci/controller/dwc/pcie-kirin.c if (kirin_pcie_link_up(pci)) pci 417 drivers/pci/controller/dwc/pcie-kirin.c while (!kirin_pcie_link_up(pci)) { pci 451 drivers/pci/controller/dwc/pcie-kirin.c static int kirin_pcie_add_msi(struct dw_pcie *pci, pci 464 drivers/pci/controller/dwc/pcie-kirin.c pci->pp.msi_irq = irq; pci 470 drivers/pci/controller/dwc/pcie-kirin.c static int kirin_add_pcie_port(struct dw_pcie *pci, pci 475 drivers/pci/controller/dwc/pcie-kirin.c ret = kirin_pcie_add_msi(pci, pdev); pci 479 drivers/pci/controller/dwc/pcie-kirin.c pci->pp.ops = &kirin_pcie_host_ops; pci 481 drivers/pci/controller/dwc/pcie-kirin.c return dw_pcie_host_init(&pci->pp); pci 488 drivers/pci/controller/dwc/pcie-kirin.c struct dw_pcie *pci; pci 500 drivers/pci/controller/dwc/pcie-kirin.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 501 drivers/pci/controller/dwc/pcie-kirin.c if (!pci) pci 504 drivers/pci/controller/dwc/pcie-kirin.c pci->dev = dev; pci 505 drivers/pci/controller/dwc/pcie-kirin.c pci->ops = &kirin_dw_pcie_ops; pci 506 drivers/pci/controller/dwc/pcie-kirin.c kirin_pcie->pci = pci; pci 527 drivers/pci/controller/dwc/pcie-kirin.c return kirin_add_pcie_port(pci, pdev); pci 162 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci; pci 189 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 191 drivers/pci/controller/dwc/pcie-qcom.c if (dw_pcie_link_up(pci)) pci 198 drivers/pci/controller/dwc/pcie-qcom.c return dw_pcie_wait_for_link(pci); pci 214 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 215 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 276 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 277 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 357 drivers/pci/controller/dwc/pcie-qcom.c pci->dbi_base + PCIE20_AXI_MSTR_RESP_COMP_CTRL0); pci 359 drivers/pci/controller/dwc/pcie-qcom.c pci->dbi_base + PCIE20_AXI_MSTR_RESP_COMP_CTRL1); pci 378 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 379 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 420 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 421 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 498 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 499 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 551 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 552 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 625 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 626 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 641 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 642 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 740 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 741 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 914 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 915 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 964 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = pcie->pci; pci 965 drivers/pci/controller/dwc/pcie-qcom.c struct device *dev = pci->dev; pci 1039 drivers/pci/controller/dwc/pcie-qcom.c writel(CMD_BME_VAL, pci->dbi_base + PCIE20_COMMAND_STATUS); pci 1040 drivers/pci/controller/dwc/pcie-qcom.c writel(DBI_RO_WR_EN, pci->dbi_base + PCIE20_MISC_CONTROL_1_REG); pci 1041 drivers/pci/controller/dwc/pcie-qcom.c writel(PCIE_CAP_LINK1_VAL, pci->dbi_base + PCIE20_CAP_LINK_1); pci 1043 drivers/pci/controller/dwc/pcie-qcom.c val = readl(pci->dbi_base + PCIE20_CAP_LINK_CAPABILITIES); pci 1045 drivers/pci/controller/dwc/pcie-qcom.c writel(val, pci->dbi_base + PCIE20_CAP_LINK_CAPABILITIES); pci 1047 drivers/pci/controller/dwc/pcie-qcom.c writel(PCIE_CAP_CPL_TIMEOUT_DISABLE, pci->dbi_base + pci 1071 drivers/pci/controller/dwc/pcie-qcom.c static int qcom_pcie_link_up(struct dw_pcie *pci) pci 1073 drivers/pci/controller/dwc/pcie-qcom.c u16 val = readw(pci->dbi_base + PCIE20_CAP + PCI_EXP_LNKSTA); pci 1080 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 1081 drivers/pci/controller/dwc/pcie-qcom.c struct qcom_pcie *pcie = to_qcom_pcie(pci); pci 1179 drivers/pci/controller/dwc/pcie-qcom.c struct dw_pcie *pci; pci 1187 drivers/pci/controller/dwc/pcie-qcom.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 1188 drivers/pci/controller/dwc/pcie-qcom.c if (!pci) pci 1198 drivers/pci/controller/dwc/pcie-qcom.c pci->dev = dev; pci 1199 drivers/pci/controller/dwc/pcie-qcom.c pci->ops = &dw_pcie_ops; pci 1200 drivers/pci/controller/dwc/pcie-qcom.c pp = &pci->pp; pci 1202 drivers/pci/controller/dwc/pcie-qcom.c pcie->pci = pci; pci 1220 drivers/pci/controller/dwc/pcie-qcom.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, res); pci 1221 drivers/pci/controller/dwc/pcie-qcom.c if (IS_ERR(pci->dbi_base)) { pci 1222 drivers/pci/controller/dwc/pcie-qcom.c ret = PTR_ERR(pci->dbi_base); pci 25 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci; pci 74 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; pci 75 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_port *pp = &pci->pp; pci 80 drivers/pci/controller/dwc/pcie-spear13xx.c if (dw_pcie_link_up(pci)) { pci 81 drivers/pci/controller/dwc/pcie-spear13xx.c dev_err(pci->dev, "link already up\n"); pci 92 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_read(pci->dbi_base + exp_cap_off + PCI_EXP_DEVCTL, 2, &val); pci 94 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_write(pci->dbi_base + exp_cap_off + PCI_EXP_DEVCTL, 2, val); pci 96 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_write(pci->dbi_base + PCI_VENDOR_ID, 2, 0x104A); pci 97 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_write(pci->dbi_base + PCI_DEVICE_ID, 2, 0xCD80); pci 104 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_read(pci->dbi_base + exp_cap_off + PCI_EXP_LNKCAP, pci 109 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_write(pci->dbi_base + exp_cap_off + pci 113 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_read(pci->dbi_base + exp_cap_off + PCI_EXP_LNKCTL2, pci 118 drivers/pci/controller/dwc/pcie-spear13xx.c dw_pcie_write(pci->dbi_base + exp_cap_off + pci 129 drivers/pci/controller/dwc/pcie-spear13xx.c return dw_pcie_wait_for_link(pci); pci 136 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; pci 137 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_port *pp = &pci->pp; pci 154 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; pci 155 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_port *pp = &pci->pp; pci 166 drivers/pci/controller/dwc/pcie-spear13xx.c static int spear13xx_pcie_link_up(struct dw_pcie *pci) pci 168 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); pci 179 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 180 drivers/pci/controller/dwc/pcie-spear13xx.c struct spear13xx_pcie *spear13xx_pcie = to_spear13xx_pcie(pci); pci 195 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci = spear13xx_pcie->pci; pci 196 drivers/pci/controller/dwc/pcie-spear13xx.c struct pcie_port *pp = &pci->pp; pci 231 drivers/pci/controller/dwc/pcie-spear13xx.c struct dw_pcie *pci; pci 241 drivers/pci/controller/dwc/pcie-spear13xx.c pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); pci 242 drivers/pci/controller/dwc/pcie-spear13xx.c if (!pci) pci 245 drivers/pci/controller/dwc/pcie-spear13xx.c pci->dev = dev; pci 246 drivers/pci/controller/dwc/pcie-spear13xx.c pci->ops = &dw_pcie_ops; pci 248 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->pci = pci; pci 274 drivers/pci/controller/dwc/pcie-spear13xx.c pci->dbi_base = devm_pci_remap_cfg_resource(dev, dbi_base); pci 275 drivers/pci/controller/dwc/pcie-spear13xx.c if (IS_ERR(pci->dbi_base)) { pci 277 drivers/pci/controller/dwc/pcie-spear13xx.c ret = PTR_ERR(pci->dbi_base); pci 280 drivers/pci/controller/dwc/pcie-spear13xx.c spear13xx_pcie->app_base = pci->dbi_base + 0x2000; pci 262 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie pci; pci 290 drivers/pci/controller/dwc/pcie-tegra194.c static inline struct tegra_pcie_dw *to_tegra_pcie(struct dw_pcie *pci) pci 292 drivers/pci/controller/dwc/pcie-tegra194.c return container_of(pci, struct tegra_pcie_dw, pci); pci 312 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 313 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 322 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA); pci 327 drivers/pci/controller/dwc/pcie-tegra194.c dev_warn(pci->dev, "PCIe link is bad, width reduced\n"); pci 328 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + pci 332 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + pci 335 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + pci 338 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writew_dbi(pci, pcie->pcie_cap_base + pci 346 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = &pcie->pci; pci 347 drivers/pci/controller/dwc/pcie-tegra194.c struct pcie_port *pp = &pci->pp; pci 366 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PORT_LOGIC_GEN2_CTRL); pci 368 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PORT_LOGIC_GEN2_CTRL, val); pci 385 drivers/pci/controller/dwc/pcie-tegra194.c val_w = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + pci 387 drivers/pci/controller/dwc/pcie-tegra194.c dev_dbg(pci->dev, "Link Speed : Gen-%u\n", val_w & pci 395 drivers/pci/controller/dwc/pcie-tegra194.c tmp = dw_pcie_readl_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS); pci 397 drivers/pci/controller/dwc/pcie-tegra194.c dev_info(pci->dev, "CDM check complete\n"); pci 401 drivers/pci/controller/dwc/pcie-tegra194.c dev_err(pci->dev, "CDM comparison mismatch\n"); pci 405 drivers/pci/controller/dwc/pcie-tegra194.c dev_err(pci->dev, "CDM Logic error\n"); pci 408 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PCIE_PL_CHK_REG_CONTROL_STATUS, tmp); pci 409 drivers/pci/controller/dwc/pcie-tegra194.c tmp = dw_pcie_readl_dbi(pci, PCIE_PL_CHK_REG_ERR_ADDR); pci 410 drivers/pci/controller/dwc/pcie-tegra194.c dev_err(pci->dev, "CDM Error Address Offset = 0x%08X\n", tmp); pci 426 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 439 drivers/pci/controller/dwc/pcie-tegra194.c return dw_pcie_read(pci->dbi_base + where, size, val); pci 445 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 456 drivers/pci/controller/dwc/pcie-tegra194.c return dw_pcie_write(pci->dbi_base + where, size, val); pci 464 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(&pcie->pci, pcie->cfg_link_cap_l1sub); pci 466 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, pcie->cfg_link_cap_l1sub, val); pci 473 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(&pcie->pci, pcie->cfg_link_cap_l1sub); pci 475 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, pcie->cfg_link_cap_l1sub, val); pci 482 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(&pcie->pci, event_cntr_ctrl_offset[pcie->cid]); pci 487 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, event_cntr_ctrl_offset[pcie->cid], val); pci 488 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(&pcie->pci, event_cntr_data_offset[pcie->cid]); pci 515 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, event_cntr_ctrl_offset[pcie->cid], pci 521 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, event_cntr_ctrl_offset[pcie->cid], val); pci 528 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = &pcie->pci; pci 531 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_find_ext_capability(pci, PCI_EXT_CAP_ID_L1SS); pci 537 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, event_cntr_ctrl_offset[pcie->cid], val); pci 540 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, pcie->cfg_link_cap_l1sub); pci 544 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, pcie->cfg_link_cap_l1sub, val); pci 547 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PORT_LOGIC_ACK_F_ASPM_CTRL); pci 551 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PORT_LOGIC_ACK_F_ASPM_CTRL, val); pci 575 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 576 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 599 drivers/pci/controller/dwc/pcie-tegra194.c val_w = dw_pcie_readw_dbi(&pcie->pci, pcie->pcie_cap_base + pci 604 drivers/pci/controller/dwc/pcie-tegra194.c val_w = dw_pcie_readw_dbi(&pcie->pci, pcie->pcie_cap_base + pci 607 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writew_dbi(&pcie->pci, pcie->pcie_cap_base + PCI_EXP_LNKCTL, pci 613 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 614 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 634 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 635 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 649 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 650 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 677 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = &pcie->pci; pci 682 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_read(pci->dbi_base + CAP_SPCIE_CAP_OFF pci 689 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_write(pci->dbi_base + CAP_SPCIE_CAP_OFF pci 692 drivers/pci/controller/dwc/pcie-tegra194.c offset = dw_pcie_find_ext_capability(pci, pci 695 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_read(pci->dbi_base + offset + i, 1, &val); pci 701 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_write(pci->dbi_base + offset + i, 1, val); pci 704 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_RELATED_OFF); pci 706 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_RELATED_OFF, val); pci 708 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_EQ_CONTROL_OFF); pci 712 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_EQ_CONTROL_OFF, val); pci 714 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_RELATED_OFF); pci 717 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_RELATED_OFF, val); pci 719 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_EQ_CONTROL_OFF); pci 723 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_EQ_CONTROL_OFF, val); pci 725 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_RELATED_OFF); pci 727 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_RELATED_OFF, val); pci 732 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 733 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 736 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PCI_IO_BASE); pci 738 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PCI_IO_BASE, val); pci 740 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PCI_PREF_MEMORY_BASE); pci 743 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PCI_PREF_MEMORY_BASE, val); pci 745 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PCI_BASE_ADDRESS_0, 0); pci 748 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PORT_LOGIC_ACK_F_ASPM_CTRL); pci 751 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PORT_LOGIC_ACK_F_ASPM_CTRL, val); pci 753 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PORT_LOGIC_GEN2_CTRL); pci 756 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PORT_LOGIC_GEN2_CTRL, val); pci 759 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, PORT_LOGIC_AMBA_ERROR_RESPONSE_DEFAULT); pci 763 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, PORT_LOGIC_AMBA_ERROR_RESPONSE_DEFAULT, val); pci 767 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, pcie->pcie_cap_base + pci 771 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP, pci 776 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP); pci 779 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKCAP, val); pci 785 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, GEN3_RELATED_OFF); pci 787 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, GEN3_RELATED_OFF, val); pci 790 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, CFG_TIMER_CTRL_MAX_FUNC_NUM_OFF); pci 792 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, CFG_TIMER_CTRL_MAX_FUNC_NUM_OFF, val); pci 821 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 822 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 827 drivers/pci/controller/dwc/pcie-tegra194.c if (dw_pcie_wait_for_link(pci)) { pci 846 drivers/pci/controller/dwc/pcie-tegra194.c dev_info(pci->dev, "Link is down in DLL"); pci 847 drivers/pci/controller/dwc/pcie-tegra194.c dev_info(pci->dev, "Trying again with DLFE disabled\n"); pci 856 drivers/pci/controller/dwc/pcie-tegra194.c offset = dw_pcie_find_ext_capability(pci, PCI_EXT_CAP_ID_DLF); pci 857 drivers/pci/controller/dwc/pcie-tegra194.c val = dw_pcie_readl_dbi(pci, offset + PCI_DLF_CAP); pci 859 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(pci, offset, val); pci 863 drivers/pci/controller/dwc/pcie-tegra194.c if (dw_pcie_wait_for_link(pci)) pci 867 drivers/pci/controller/dwc/pcie-tegra194.c speed = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA) & pci 876 drivers/pci/controller/dwc/pcie-tegra194.c static int tegra_pcie_dw_link_up(struct dw_pcie *pci) pci 878 drivers/pci/controller/dwc/pcie-tegra194.c struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); pci 879 drivers/pci/controller/dwc/pcie-tegra194.c u32 val = dw_pcie_readw_dbi(pci, pcie->pcie_cap_base + PCI_EXP_LNKSTA); pci 1024 drivers/pci/controller/dwc/pcie-tegra194.c struct pcie_port *pp = &pcie->pci.pp; pci 1208 drivers/pci/controller/dwc/pcie-tegra194.c pcie->pcie_cap_base = dw_pcie_find_capability(&pcie->pci, pci 1274 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci = &pcie->pci; pci 1275 drivers/pci/controller/dwc/pcie-tegra194.c struct pcie_port *pp = &pci->pp; pci 1300 drivers/pci/controller/dwc/pcie-tegra194.c if (!tegra_pcie_dw_link_up(&pcie->pci)) pci 1317 drivers/pci/controller/dwc/pcie-tegra194.c if (!tegra_pcie_dw_link_up(&pcie->pci)) { pci 1365 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_host_deinit(&pcie->pci.pp); pci 1373 drivers/pci/controller/dwc/pcie-tegra194.c struct pcie_port *pp = &pcie->pci.pp; pci 1403 drivers/pci/controller/dwc/pcie-tegra194.c pcie->link_state = tegra_pcie_dw_link_up(&pcie->pci); pci 1439 drivers/pci/controller/dwc/pcie-tegra194.c struct dw_pcie *pci; pci 1449 drivers/pci/controller/dwc/pcie-tegra194.c pci = &pcie->pci; pci 1450 drivers/pci/controller/dwc/pcie-tegra194.c pci->dev = &pdev->dev; pci 1451 drivers/pci/controller/dwc/pcie-tegra194.c pci->ops = &tegra_dw_pcie_ops; pci 1452 drivers/pci/controller/dwc/pcie-tegra194.c pp = &pci->pp; pci 1530 drivers/pci/controller/dwc/pcie-tegra194.c pci->dbi_base = devm_ioremap_resource(dev, dbi_res); pci 1531 drivers/pci/controller/dwc/pcie-tegra194.c if (IS_ERR(pci->dbi_base)) pci 1532 drivers/pci/controller/dwc/pcie-tegra194.c return PTR_ERR(pci->dbi_base); pci 1535 drivers/pci/controller/dwc/pcie-tegra194.c pci->dbi_base2 = pci->dbi_base + 0x1000; pci 1545 drivers/pci/controller/dwc/pcie-tegra194.c pci->atu_base = devm_ioremap_resource(dev, atu_dma_res); pci 1546 drivers/pci/controller/dwc/pcie-tegra194.c if (IS_ERR(pci->atu_base)) pci 1547 drivers/pci/controller/dwc/pcie-tegra194.c return PTR_ERR(pci->atu_base); pci 1628 drivers/pci/controller/dwc/pcie-tegra194.c pcie->msi_ctrl_int = dw_pcie_readl_dbi(&pcie->pci, pci 1648 drivers/pci/controller/dwc/pcie-tegra194.c ret = tegra_pcie_dw_host_init(&pcie->pci.pp); pci 1655 drivers/pci/controller/dwc/pcie-tegra194.c dw_pcie_writel_dbi(&pcie->pci, PORT_LOGIC_MSI_CTRL_INT_0_EN, pci 1694 drivers/pci/controller/dwc/pcie-tegra194.c disable_irq(pcie->pci.pp.irq); pci 1696 drivers/pci/controller/dwc/pcie-tegra194.c disable_irq(pcie->pci.pp.msi_irq); pci 62 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie pci; pci 120 drivers/pci/controller/dwc/pcie-uniphier.c dev_err(priv->pci.dev, pci 128 drivers/pci/controller/dwc/pcie-uniphier.c static int uniphier_pcie_link_up(struct dw_pcie *pci) pci 130 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 139 drivers/pci/controller/dwc/pcie-uniphier.c static int uniphier_pcie_establish_link(struct dw_pcie *pci) pci 141 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 143 drivers/pci/controller/dwc/pcie-uniphier.c if (dw_pcie_link_up(pci)) pci 148 drivers/pci/controller/dwc/pcie-uniphier.c return dw_pcie_wait_for_link(pci); pci 151 drivers/pci/controller/dwc/pcie-uniphier.c static void uniphier_pcie_stop_link(struct dw_pcie *pci) pci 153 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 173 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 174 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 186 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 187 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 199 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 200 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 233 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 234 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 243 drivers/pci/controller/dwc/pcie-uniphier.c dev_dbg(pci->dev, "Link Bandwidth Management Event\n"); pci 245 drivers/pci/controller/dwc/pcie-uniphier.c dev_dbg(pci->dev, "Link Autonomous Bandwidth Event\n"); pci 247 drivers/pci/controller/dwc/pcie-uniphier.c dev_dbg(pci->dev, "Root Error\n"); pci 249 drivers/pci/controller/dwc/pcie-uniphier.c dev_dbg(pci->dev, "PME Interrupt\n"); pci 269 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 270 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 271 drivers/pci/controller/dwc/pcie-uniphier.c struct device_node *np = pci->dev->of_node; pci 277 drivers/pci/controller/dwc/pcie-uniphier.c dev_err(pci->dev, "Failed to get legacy-interrupt-controller node\n"); pci 283 drivers/pci/controller/dwc/pcie-uniphier.c dev_err(pci->dev, "Failed to get an IRQ entry in legacy-interrupt-controller\n"); pci 291 drivers/pci/controller/dwc/pcie-uniphier.c dev_err(pci->dev, "Failed to get INTx domain\n"); pci 306 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = to_dw_pcie_from_pp(pp); pci 307 drivers/pci/controller/dwc/pcie-uniphier.c struct uniphier_pcie_priv *priv = to_uniphier_pcie(pci); pci 317 drivers/pci/controller/dwc/pcie-uniphier.c ret = uniphier_pcie_establish_link(pci); pci 334 drivers/pci/controller/dwc/pcie-uniphier.c struct dw_pcie *pci = &priv->pci; pci 335 drivers/pci/controller/dwc/pcie-uniphier.c struct pcie_port *pp = &pci->pp; pci 415 drivers/pci/controller/dwc/pcie-uniphier.c priv->pci.dev = dev; pci 416 drivers/pci/controller/dwc/pcie-uniphier.c priv->pci.ops = &dw_pcie_ops; pci 419 drivers/pci/controller/dwc/pcie-uniphier.c priv->pci.dbi_base = devm_pci_remap_cfg_resource(dev, res); pci 420 drivers/pci/controller/dwc/pcie-uniphier.c if (IS_ERR(priv->pci.dbi_base)) pci 421 drivers/pci/controller/dwc/pcie-uniphier.c return PTR_ERR(priv->pci.dbi_base); pci 294 drivers/pci/controller/pci-rcar-gen2.c static int rcar_pci_parse_map_dma_ranges(struct rcar_pci_priv *pci, pci 297 drivers/pci/controller/pci-rcar-gen2.c struct device *dev = pci->dev; pci 312 drivers/pci/controller/pci-rcar-gen2.c pci->window_addr = (unsigned long)range.cpu_addr; pci 313 drivers/pci/controller/pci-rcar-gen2.c pci->window_pci = (unsigned long)range.pci_addr; pci 314 drivers/pci/controller/pci-rcar-gen2.c pci->window_size = (unsigned long)range.size; pci 321 drivers/pci/controller/pci-rcar-gen2.c if (pci->window_addr) { pci 322 drivers/pci/controller/pci-rcar-gen2.c u32 lowaddr = 1 << (ffs(pci->window_addr) - 1); pci 324 drivers/pci/controller/pci-rcar-gen2.c if (lowaddr < pci->window_size) { pci 372 drivers/pci/controller/pcie-rcar.c static int rcar_pcie_setup(struct list_head *resource, struct rcar_pcie *pci) pci 378 drivers/pci/controller/pcie-rcar.c resource_list_for_each_entry(win, &pci->resources) { pci 387 drivers/pci/controller/pcie-rcar.c rcar_pcie_setup_window(i, pci, res); pci 391 drivers/pci/controller/pcie-rcar.c pci->root_bus_nr = res->start; pci 859 drivers/pci/controller/vmd.c MODULE_DEVICE_TABLE(pci, vmd_ids); pci 268 drivers/pci/hotplug/cpcihp_zt5550.c MODULE_DEVICE_TABLE(pci, zt5550_hc_pci_tbl); pci 1373 drivers/pci/hotplug/cpqphp_core.c MODULE_DEVICE_TABLE(pci, hpcd_pci_tbl); pci 1082 drivers/pci/hotplug/ibmphp_ebda.c MODULE_DEVICE_TABLE(pci, id_table); pci 318 drivers/pci/hotplug/shpchp_core.c MODULE_DEVICE_TABLE(pci, shpcd_pci_tbl); pci 25 drivers/pci/pci-pf-stub.c MODULE_DEVICE_TABLE(pci, pci_pf_stub_whitelist); pci 219 drivers/pci/pcie/aer.c struct pci_dev *pci) pci 221 drivers/pci/pcie/aer.c return ACPI_HEST_SEGMENT(p->bus) == pci_domain_nr(pci->bus) && pci 222 drivers/pci/pcie/aer.c ACPI_HEST_BUS(p->bus) == pci->bus->number && pci 223 drivers/pci/pcie/aer.c p->device == PCI_SLOT(pci->devfn) && pci 224 drivers/pci/pcie/aer.c p->function == PCI_FUNC(pci->devfn); pci 1521 drivers/pci/switch/switchtec.c MODULE_DEVICE_TABLE(pci, switchtec_pci_tbl); pci 500 drivers/pcmcia/bcm63xx_pcmcia.c MODULE_DEVICE_TABLE(pci, bcm63xx_cb_table); pci 33 drivers/pcmcia/i82092.c MODULE_DEVICE_TABLE(pci, i82092aa_pci_ids); pci 768 drivers/pcmcia/pd6729.c MODULE_DEVICE_TABLE(pci, pd6729_pci_ids); pci 591 drivers/pcmcia/vrc4173_cardu.c MODULE_DEVICE_TABLE(pci, vrc4173_cardu_id_table); pci 1434 drivers/pcmcia/yenta_socket.c MODULE_DEVICE_TABLE(pci, yenta_table); pci 573 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_get_pin_mux(struct palmas_pctrl_chip_info *pci) pci 580 drivers/pinctrl/pinctrl-palmas.c for (i = 0; i < pci->num_pin_groups; ++i) { pci 581 drivers/pinctrl/pinctrl-palmas.c g = &pci->pin_groups[i]; pci 583 drivers/pinctrl/pinctrl-palmas.c pci->pins_current_opt[i] = 0; pci 586 drivers/pinctrl/pinctrl-palmas.c ret = palmas_read(pci->palmas, g->mux_reg_base, pci 589 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "mux_reg 0x%02x read failed: %d\n", pci 594 drivers/pinctrl/pinctrl-palmas.c pci->pins_current_opt[i] = val >> g->mux_bit_shift; pci 599 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_set_dvfs1(struct palmas_pctrl_chip_info *pci, pci 606 drivers/pinctrl/pinctrl-palmas.c ret = palmas_update_bits(pci->palmas, PALMAS_PU_PD_OD_BASE, pci 610 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "SECONDARY_PAD3 update failed %d\n", ret); pci 614 drivers/pinctrl/pinctrl-palmas.c static int palmas_pinctrl_set_dvfs2(struct palmas_pctrl_chip_info *pci, pci 621 drivers/pinctrl/pinctrl-palmas.c ret = palmas_update_bits(pci->palmas, PALMAS_PU_PD_OD_BASE, pci 625 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "SECONDARY_PAD3 update failed %d\n", ret); pci 631 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 633 drivers/pinctrl/pinctrl-palmas.c return pci->num_pin_groups; pci 639 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 641 drivers/pinctrl/pinctrl-palmas.c return pci->pin_groups[group].name; pci 647 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 649 drivers/pinctrl/pinctrl-palmas.c *pins = pci->pin_groups[group].pins; pci 650 drivers/pinctrl/pinctrl-palmas.c *num_pins = pci->pin_groups[group].npins; pci 664 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 666 drivers/pinctrl/pinctrl-palmas.c return pci->num_functions; pci 672 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 674 drivers/pinctrl/pinctrl-palmas.c return pci->functions[function].name; pci 681 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 683 drivers/pinctrl/pinctrl-palmas.c *groups = pci->functions[function].groups; pci 684 drivers/pinctrl/pinctrl-palmas.c *num_groups = pci->functions[function].ngroups; pci 692 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 697 drivers/pinctrl/pinctrl-palmas.c g = &pci->pin_groups[group]; pci 702 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Pin %s does not support option %d\n", pci 715 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Pin %s does not support option %d\n", pci 727 drivers/pinctrl/pinctrl-palmas.c dev_dbg(pci->dev, "%s(): Base0x%02x:0x%02x:0x%02x:0x%02x\n", pci 731 drivers/pinctrl/pinctrl-palmas.c ret = palmas_update_bits(pci->palmas, g->mux_reg_base, g->mux_reg_add, pci 734 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Reg 0x%02x update failed: %d\n", pci 738 drivers/pinctrl/pinctrl-palmas.c pci->pins_current_opt[group] = i; pci 752 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 763 drivers/pinctrl/pinctrl-palmas.c for (group_nr = 0; group_nr < pci->num_pin_groups; ++group_nr) { pci 764 drivers/pinctrl/pinctrl-palmas.c if (pci->pin_groups[group_nr].pins[0] == pin) pci 768 drivers/pinctrl/pinctrl-palmas.c if (group_nr == pci->num_pin_groups) { pci 769 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 774 drivers/pinctrl/pinctrl-palmas.c g = &pci->pin_groups[group_nr]; pci 775 drivers/pinctrl/pinctrl-palmas.c opt = g->opt[pci->pins_current_opt[group_nr]]; pci 777 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 787 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 794 drivers/pinctrl/pinctrl-palmas.c ret = palmas_read(pci->palmas, base, add, &val); pci 796 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Reg 0x%02x read failed: %d\n", pci 819 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 826 drivers/pinctrl/pinctrl-palmas.c ret = palmas_read(pci->palmas, base, add, &val); pci 828 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Reg 0x%02x read failed: %d\n", pci 841 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 849 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Properties not supported\n"); pci 861 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 872 drivers/pinctrl/pinctrl-palmas.c for (group_nr = 0; group_nr < pci->num_pin_groups; ++group_nr) { pci 873 drivers/pinctrl/pinctrl-palmas.c if (pci->pin_groups[group_nr].pins[0] == pin) pci 877 drivers/pinctrl/pinctrl-palmas.c if (group_nr == pci->num_pin_groups) { pci 878 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 883 drivers/pinctrl/pinctrl-palmas.c g = &pci->pin_groups[group_nr]; pci 884 drivers/pinctrl/pinctrl-palmas.c opt = g->opt[pci->pins_current_opt[group_nr]]; pci 886 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 900 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 917 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 926 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 939 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, pci 946 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Properties not supported\n"); pci 950 drivers/pinctrl/pinctrl-palmas.c dev_dbg(pci->dev, "%s(): Add0x%02x:0x%02x:0x%02x:0x%02x\n", pci 952 drivers/pinctrl/pinctrl-palmas.c ret = palmas_update_bits(pci->palmas, base, add, mask, rval); pci 954 drivers/pinctrl/pinctrl-palmas.c dev_err(pci->dev, "Reg 0x%02x update failed: %d\n", pci 1000 drivers/pinctrl/pinctrl-palmas.c struct palmas_pctrl_chip_info *pci; pci 1014 drivers/pinctrl/pinctrl-palmas.c pci = devm_kzalloc(&pdev->dev, sizeof(*pci), GFP_KERNEL); pci 1015 drivers/pinctrl/pinctrl-palmas.c if (!pci) pci 1018 drivers/pinctrl/pinctrl-palmas.c pci->dev = &pdev->dev; pci 1019 drivers/pinctrl/pinctrl-palmas.c pci->palmas = dev_get_drvdata(pdev->dev.parent); pci 1021 drivers/pinctrl/pinctrl-palmas.c pci->pins = palmas_pins_desc; pci 1022 drivers/pinctrl/pinctrl-palmas.c pci->num_pins = ARRAY_SIZE(palmas_pins_desc); pci 1023 drivers/pinctrl/pinctrl-palmas.c pci->functions = palmas_pin_function; pci 1024 drivers/pinctrl/pinctrl-palmas.c pci->num_functions = ARRAY_SIZE(palmas_pin_function); pci 1025 drivers/pinctrl/pinctrl-palmas.c pci->pin_groups = pinctrl_data->pin_groups; pci 1026 drivers/pinctrl/pinctrl-palmas.c pci->num_pin_groups = pinctrl_data->num_pin_groups; pci 1028 drivers/pinctrl/pinctrl-palmas.c platform_set_drvdata(pdev, pci); pci 1030 drivers/pinctrl/pinctrl-palmas.c palmas_pinctrl_set_dvfs1(pci, enable_dvfs1); pci 1031 drivers/pinctrl/pinctrl-palmas.c palmas_pinctrl_set_dvfs2(pci, enable_dvfs2); pci 1032 drivers/pinctrl/pinctrl-palmas.c ret = palmas_pinctrl_get_pin_mux(pci); pci 1042 drivers/pinctrl/pinctrl-palmas.c pci->pctl = devm_pinctrl_register(&pdev->dev, &palmas_pinctrl_desc, pci 1043 drivers/pinctrl/pinctrl-palmas.c pci); pci 1044 drivers/pinctrl/pinctrl-palmas.c if (IS_ERR(pci->pctl)) { pci 1046 drivers/pinctrl/pinctrl-palmas.c return PTR_ERR(pci->pctl); pci 138 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = gpiochip_get_data(chip); pci 141 drivers/pinctrl/pinctrl-rk805.c ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); pci 143 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "get gpio%d value failed\n", offset); pci 147 drivers/pinctrl/pinctrl-rk805.c return !!(val & pci->pin_cfg[offset].val_msk); pci 154 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = gpiochip_get_data(chip); pci 157 drivers/pinctrl/pinctrl-rk805.c ret = regmap_update_bits(pci->rk808->regmap, pci 158 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pci 159 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].val_msk, pci 160 drivers/pinctrl/pinctrl-rk805.c value ? pci->pin_cfg[offset].val_msk : 0); pci 162 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "set gpio%d value %d failed\n", pci 181 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = gpiochip_get_data(chip); pci 186 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].dir_msk) pci 189 drivers/pinctrl/pinctrl-rk805.c ret = regmap_read(pci->rk808->regmap, pci 190 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pci 193 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "get gpio%d direction failed\n", offset); pci 197 drivers/pinctrl/pinctrl-rk805.c return !(val & pci->pin_cfg[offset].dir_msk); pci 217 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 219 drivers/pinctrl/pinctrl-rk805.c return pci->num_pin_groups; pci 225 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 227 drivers/pinctrl/pinctrl-rk805.c return pci->groups[group].name; pci 235 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 237 drivers/pinctrl/pinctrl-rk805.c *pins = pci->groups[group].pins; pci 238 drivers/pinctrl/pinctrl-rk805.c *num_pins = pci->groups[group].npins; pci 253 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 255 drivers/pinctrl/pinctrl-rk805.c return pci->num_functions; pci 261 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 263 drivers/pinctrl/pinctrl-rk805.c return pci->functions[function].name; pci 271 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 273 drivers/pinctrl/pinctrl-rk805.c *groups = pci->functions[function].groups; pci 274 drivers/pinctrl/pinctrl-rk805.c *num_groups = pci->functions[function].ngroups; pci 283 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 286 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].fun_msk) pci 290 drivers/pinctrl/pinctrl-rk805.c ret = regmap_update_bits(pci->rk808->regmap, pci 291 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pci 292 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].fun_msk, pci 293 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].fun_msk); pci 295 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "set gpio%d GPIO failed\n", offset); pci 299 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "Couldn't find function mux %d\n", mux); pci 310 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 311 drivers/pinctrl/pinctrl-rk805.c int mux = pci->functions[function].mux_option; pci 321 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 327 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "set gpio%d mux failed\n", offset); pci 332 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].dir_msk) pci 335 drivers/pinctrl/pinctrl-rk805.c ret = regmap_update_bits(pci->rk808->regmap, pci 336 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pci 337 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].dir_msk, pci 338 drivers/pinctrl/pinctrl-rk805.c input ? 0 : pci->pin_cfg[offset].dir_msk); pci 340 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "set gpio%d direction failed\n", offset); pci 358 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 364 drivers/pinctrl/pinctrl-rk805.c arg = rk805_gpio_get(&pci->gpio_chip, pin); pci 367 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "Properties not supported\n"); pci 380 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); pci 390 drivers/pinctrl/pinctrl-rk805.c rk805_gpio_set(&pci->gpio_chip, pin, arg); pci 394 drivers/pinctrl/pinctrl-rk805.c dev_err(pci->dev, "Properties not supported\n"); pci 417 drivers/pinctrl/pinctrl-rk805.c struct rk805_pctrl_info *pci; pci 420 drivers/pinctrl/pinctrl-rk805.c pci = devm_kzalloc(&pdev->dev, sizeof(*pci), GFP_KERNEL); pci 421 drivers/pinctrl/pinctrl-rk805.c if (!pci) pci 424 drivers/pinctrl/pinctrl-rk805.c pci->dev = &pdev->dev; pci 425 drivers/pinctrl/pinctrl-rk805.c pci->dev->of_node = pdev->dev.parent->of_node; pci 426 drivers/pinctrl/pinctrl-rk805.c pci->rk808 = dev_get_drvdata(pdev->dev.parent); pci 428 drivers/pinctrl/pinctrl-rk805.c pci->pinctrl_desc = rk805_pinctrl_desc; pci 429 drivers/pinctrl/pinctrl-rk805.c pci->gpio_chip = rk805_gpio_chip; pci 430 drivers/pinctrl/pinctrl-rk805.c pci->gpio_chip.parent = &pdev->dev; pci 431 drivers/pinctrl/pinctrl-rk805.c pci->gpio_chip.of_node = pdev->dev.parent->of_node; pci 433 drivers/pinctrl/pinctrl-rk805.c platform_set_drvdata(pdev, pci); pci 435 drivers/pinctrl/pinctrl-rk805.c switch (pci->rk808->variant) { pci 437 drivers/pinctrl/pinctrl-rk805.c pci->pins = rk805_pins_desc; pci 438 drivers/pinctrl/pinctrl-rk805.c pci->num_pins = ARRAY_SIZE(rk805_pins_desc); pci 439 drivers/pinctrl/pinctrl-rk805.c pci->functions = rk805_pin_functions; pci 440 drivers/pinctrl/pinctrl-rk805.c pci->num_functions = ARRAY_SIZE(rk805_pin_functions); pci 441 drivers/pinctrl/pinctrl-rk805.c pci->groups = rk805_pin_groups; pci 442 drivers/pinctrl/pinctrl-rk805.c pci->num_pin_groups = ARRAY_SIZE(rk805_pin_groups); pci 443 drivers/pinctrl/pinctrl-rk805.c pci->pinctrl_desc.pins = rk805_pins_desc; pci 444 drivers/pinctrl/pinctrl-rk805.c pci->pinctrl_desc.npins = ARRAY_SIZE(rk805_pins_desc); pci 445 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg = rk805_gpio_cfgs; pci 446 drivers/pinctrl/pinctrl-rk805.c pci->gpio_chip.ngpio = ARRAY_SIZE(rk805_gpio_cfgs); pci 450 drivers/pinctrl/pinctrl-rk805.c pci->rk808->variant); pci 455 drivers/pinctrl/pinctrl-rk805.c ret = devm_gpiochip_add_data(&pdev->dev, &pci->gpio_chip, pci); pci 462 drivers/pinctrl/pinctrl-rk805.c pci->pctl = devm_pinctrl_register(&pdev->dev, &pci->pinctrl_desc, pci); pci 463 drivers/pinctrl/pinctrl-rk805.c if (IS_ERR(pci->pctl)) { pci 465 drivers/pinctrl/pinctrl-rk805.c return PTR_ERR(pci->pctl); pci 469 drivers/pinctrl/pinctrl-rk805.c ret = gpiochip_add_pin_range(&pci->gpio_chip, dev_name(&pdev->dev), pci 470 drivers/pinctrl/pinctrl-rk805.c 0, 0, pci->gpio_chip.ngpio); pci 845 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("pcie-0", 0x134, 16, 0x3, 1, pci), pci 846 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("pcie-1", 0x134, 18, 0x3, 2, pci), pci 847 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("pcie-2", 0x134, 20, 0x3, 3, pci), pci 848 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("pcie-3", 0x134, 22, 0x3, 4, pci), pci 849 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("pcie-4", 0x134, 24, 0x3, 5, pci), pci 850 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c TEGRA124_LANE("sata-0", 0x134, 26, 0x3, 6, pci), pci 134 drivers/platform/x86/intel_atomisp2_pm.c MODULE_DEVICE_TABLE(pci, isp_id_table); pci 1418 drivers/platform/x86/intel_ips.c MODULE_DEVICE_TABLE(pci, ips_id_table); pci 553 drivers/platform/x86/intel_pmc_ipc.c MODULE_DEVICE_TABLE(pci, ipc_pci_ids); pci 153 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c MODULE_DEVICE_TABLE(pci, isst_if_mbox_ids); pci 77 drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c MODULE_DEVICE_TABLE(pci, isst_if_ids); pci 298 drivers/pnp/resource.c static int pci_dev_uses_irq(struct pnp_dev *pnp, struct pci_dev *pci, pci 304 drivers/pnp/resource.c if (pci->irq == irq) { pci 306 drivers/pnp/resource.c pci_name(pci), irq); pci 314 drivers/pnp/resource.c pci_read_config_dword(pci, PCI_CLASS_REVISION, &class); pci 325 drivers/pnp/resource.c if (pci_get_legacy_ide_irq(pci, 0) == irq || pci 326 drivers/pnp/resource.c pci_get_legacy_ide_irq(pci, 1) == irq) { pci 328 drivers/pnp/resource.c "using irq %d\n", pci_name(pci), irq); pci 340 drivers/pnp/resource.c struct pci_dev *pci = NULL; pci 342 drivers/pnp/resource.c for_each_pci_dev(pci) { pci 343 drivers/pnp/resource.c if (pci_dev_uses_irq(pnp, pci, irq)) { pci 344 drivers/pnp/resource.c pci_dev_put(pci); pci 113 drivers/pwm/pwm-lpss-pci.c MODULE_DEVICE_TABLE(pci, pwm_lpss_pci_ids); pci 2988 drivers/rapidio/devices/tsi721.c MODULE_DEVICE_TABLE(pci, tsi721_pci_tbl); pci 159 drivers/s390/block/dasd_eckd.h unsigned char pci:1; /* PCI Fetch mode */ pci 32 drivers/s390/net/ism_drv.c MODULE_DEVICE_TABLE(pci, ism_device_table); pci 2298 drivers/scsi/3w-9xxx.c MODULE_DEVICE_TABLE(pci, twa_pci_tbl); pci 1856 drivers/scsi/3w-sas.c MODULE_DEVICE_TABLE(pci, twl_pci_tbl); pci 2406 drivers/scsi/3w-xxxx.c MODULE_DEVICE_TABLE(pci, tw_pci_tbl); pci 3906 drivers/scsi/BusLogic.c MODULE_DEVICE_TABLE(pci, blogic_pci_tbl); pci 1221 drivers/scsi/a100u2w.c MODULE_DEVICE_TABLE(pci, inia100_pci_tbl); pci 152 drivers/scsi/aacraid/linit.c MODULE_DEVICE_TABLE(pci, aac_pci_tbl); pci 11719 drivers/scsi/advansys.c MODULE_DEVICE_TABLE(pci, advansys_pci_tbl); pci 482 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_pci_read_config(ahd_dev_softc_t pci, int reg, int width) pci 489 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_byte(pci, reg, &retval); pci 495 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_word(pci, reg, &retval); pci 501 drivers/scsi/aic7xxx/aic79xx_osm.c pci_read_config_dword(pci, reg, &retval); pci 512 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_pci_write_config(ahd_dev_softc_t pci, int reg, uint32_t value, int width) pci 516 drivers/scsi/aic7xxx/aic79xx_osm.c pci_write_config_byte(pci, reg, value); pci 519 drivers/scsi/aic7xxx/aic79xx_osm.c pci_write_config_word(pci, reg, value); pci 522 drivers/scsi/aic7xxx/aic79xx_osm.c pci_write_config_dword(pci, reg, value); pci 460 drivers/scsi/aic7xxx/aic79xx_osm.h uint32_t ahd_pci_read_config(ahd_dev_softc_t pci, pci 462 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_pci_write_config(ahd_dev_softc_t pci, pci 468 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_get_pci_function(ahd_dev_softc_t pci) pci 470 drivers/scsi/aic7xxx/aic79xx_osm.h return (PCI_FUNC(pci->devfn)); pci 475 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_get_pci_slot(ahd_dev_softc_t pci) pci 477 drivers/scsi/aic7xxx/aic79xx_osm.h return (PCI_SLOT(pci->devfn)); pci 482 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_get_pci_bus(ahd_dev_softc_t pci) pci 484 drivers/scsi/aic7xxx/aic79xx_osm.h return (pci->bus->number); pci 75 drivers/scsi/aic7xxx/aic79xx_osm_pci.c MODULE_DEVICE_TABLE(pci, ahd_linux_pci_id_table); pci 161 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_dev_softc_t pci; pci 167 drivers/scsi/aic7xxx/aic79xx_osm_pci.c pci = pdev; pci 168 drivers/scsi/aic7xxx/aic79xx_osm_pci.c entry = ahd_find_pci_device(pci); pci 178 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_get_pci_bus(pci), pci 179 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_get_pci_slot(pci), pci 180 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_get_pci_function(pci)); pci 207 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd->dev_softc = pci; pci 251 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_find_pci_device(ahd_dev_softc_t pci) pci 261 drivers/scsi/aic7xxx/aic79xx_pci.c vendor = ahd_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2); pci 262 drivers/scsi/aic7xxx/aic79xx_pci.c device = ahd_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); pci 263 drivers/scsi/aic7xxx/aic79xx_pci.c subvendor = ahd_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2); pci 264 drivers/scsi/aic7xxx/aic79xx_pci.c subdevice = ahd_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); pci 931 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_dev_softc_t pci; pci 934 drivers/scsi/aic7xxx/aic79xx_pci.c pci = ahd->dev_softc; pci 935 drivers/scsi/aic7xxx/aic79xx_pci.c rev = ahd_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 939 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_write_config(pci, PCIR_COMMAND, 0, /*bytes*/2); pci 942 drivers/scsi/aic7xxx/aic79xx_pci.c ahd->channel = ahd_get_pci_function(pci) + 'A'; pci 999 drivers/scsi/aic7xxx/aic79xx_pci.c devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1); pci 1000 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_write_config(pci, DEVCONFIG1, pci 1002 drivers/scsi/aic7xxx/aic79xx_pci.c devconfig1 = ahd_pci_read_config(pci, DEVCONFIG1, /*bytes*/1); pci 469 drivers/scsi/aic7xxx/aic7xxx_osm.h uint32_t ahc_pci_read_config(ahc_dev_softc_t pci, pci 472 drivers/scsi/aic7xxx/aic7xxx_osm.h void ahc_pci_write_config(ahc_dev_softc_t pci, pci 478 drivers/scsi/aic7xxx/aic7xxx_osm.h ahc_get_pci_function(ahc_dev_softc_t pci) pci 480 drivers/scsi/aic7xxx/aic7xxx_osm.h return (PCI_FUNC(pci->devfn)); pci 485 drivers/scsi/aic7xxx/aic7xxx_osm.h ahc_get_pci_slot(ahc_dev_softc_t pci) pci 487 drivers/scsi/aic7xxx/aic7xxx_osm.h return (PCI_SLOT(pci->devfn)); pci 492 drivers/scsi/aic7xxx/aic7xxx_osm.h ahc_get_pci_bus(ahc_dev_softc_t pci) pci 494 drivers/scsi/aic7xxx/aic7xxx_osm.h return (pci->bus->number); pci 122 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c MODULE_DEVICE_TABLE(pci, ahc_linux_pci_id_table); pci 208 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_dev_softc_t pci; pci 214 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci = pdev; pci 215 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c entry = ahc_find_pci_device(pci); pci 225 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_get_pci_bus(pci), pci 226 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_get_pci_slot(pci), pci 227 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_get_pci_function(pci)); pci 252 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc->dev_softc = pci; pci 253 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc->dev = &pci->dev; pci 274 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_pci_read_config(ahc_dev_softc_t pci, int reg, int width) pci 281 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_byte(pci, reg, &retval); pci 287 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_word(pci, reg, &retval); pci 293 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_read_config_dword(pci, reg, &retval); pci 304 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c ahc_pci_write_config(ahc_dev_softc_t pci, int reg, uint32_t value, int width) pci 308 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_write_config_byte(pci, reg, value); pci 311 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_write_config_word(pci, reg, value); pci 314 drivers/scsi/aic7xxx/aic7xxx_osm_pci.c pci_write_config_dword(pci, reg, value); pci 664 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_find_pci_device(ahc_dev_softc_t pci) pci 674 drivers/scsi/aic7xxx/aic7xxx_pci.c vendor = ahc_pci_read_config(pci, PCIR_DEVVENDOR, /*bytes*/2); pci 675 drivers/scsi/aic7xxx/aic7xxx_pci.c device = ahc_pci_read_config(pci, PCIR_DEVICE, /*bytes*/2); pci 676 drivers/scsi/aic7xxx/aic7xxx_pci.c subvendor = ahc_pci_read_config(pci, PCIR_SUBVEND_0, /*bytes*/2); pci 677 drivers/scsi/aic7xxx/aic7xxx_pci.c subdevice = ahc_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); pci 687 drivers/scsi/aic7xxx/aic7xxx_pci.c if (ahc_get_pci_function(pci) > 0 pci 2048 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2051 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2056 drivers/scsi/aic7xxx/aic7xxx_pci.c rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 2066 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2069 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2074 drivers/scsi/aic7xxx/aic7xxx_pci.c rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 2171 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2174 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2179 drivers/scsi/aic7xxx/aic7xxx_pci.c rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 2243 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2246 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2251 drivers/scsi/aic7xxx/aic7xxx_pci.c rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 2274 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2277 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2278 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; pci 2282 drivers/scsi/aic7xxx/aic7xxx_pci.c rev = ahc_pci_read_config(pci, PCIR_REVID, /*bytes*/1); pci 2298 drivers/scsi/aic7xxx/aic7xxx_pci.c command = ahc_pci_read_config(pci, PCIR_COMMAND, /*bytes*/1); pci 2300 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_pci_write_config(pci, PCIR_COMMAND, command, /*bytes*/1); pci 2317 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_pci_write_config(pci, CSIZE_LATTIME, 0, /*bytes*/1); pci 2318 drivers/scsi/aic7xxx/aic7xxx_pci.c devconfig = ahc_pci_read_config(pci, DEVCONFIG, /*bytes*/1); pci 2320 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1); pci 2340 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2342 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2343 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; pci 2355 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2357 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2358 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc->channel = ahc_get_pci_function(pci) == 1 ? 'B' : 'A'; pci 2389 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2391 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2392 drivers/scsi/aic7xxx/aic7xxx_pci.c switch (ahc_get_pci_slot(pci)) { pci 2402 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_get_pci_slot(pci)); pci 2411 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2413 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2414 drivers/scsi/aic7xxx/aic7xxx_pci.c switch (ahc_get_pci_slot(pci)) { pci 2427 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_get_pci_slot(pci)); pci 2438 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_dev_softc_t pci; pci 2440 drivers/scsi/aic7xxx/aic7xxx_pci.c pci = ahc->dev_softc; pci 2441 drivers/scsi/aic7xxx/aic7xxx_pci.c switch (ahc_get_pci_slot(pci)) { pci 2457 drivers/scsi/aic7xxx/aic7xxx_pci.c ahc_get_pci_slot(pci)); pci 985 drivers/scsi/aic94xx/aic94xx_init.c MODULE_DEVICE_TABLE(pci, aic94xx_pci_table); pci 521 drivers/scsi/am53c974.c MODULE_DEVICE_TABLE(pci, am53c974_pci_tbl); pci 214 drivers/scsi/arcmsr/arcmsr_hba.c MODULE_DEVICE_TABLE(pci, arcmsr_device_id_table); pci 1701 drivers/scsi/atp870u.c MODULE_DEVICE_TABLE(pci, atp870u_id_table); pci 381 drivers/scsi/be2iscsi/be_main.c MODULE_DEVICE_TABLE(pci, beiscsi_pci_id_table); pci 1672 drivers/scsi/bfa/bfad.c MODULE_DEVICE_TABLE(pci, bfad_id_table); pci 216 drivers/scsi/csiostor/csio_hw.c uint32_t base = hw->params.pci.vpd_cap_addr; pci 315 drivers/scsi/csiostor/csio_hw.c &hw->params.pci.vpd_cap_addr); pci 4295 drivers/scsi/csiostor/csio_hw.c &hw->params.pci.vendor_id); pci 4297 drivers/scsi/csiostor/csio_hw.c &hw->params.pci.device_id); pci 4300 drivers/scsi/csiostor/csio_hw.c hw->chip_id = (hw->params.pci.device_id & CSIO_HW_CHIP_MASK); pci 4361 drivers/scsi/csiostor/csio_hw.c ven_id = hw->params.pci.vendor_id; pci 4362 drivers/scsi/csiostor/csio_hw.c dev_id = hw->params.pci.device_id; pci 258 drivers/scsi/csiostor/csio_hw.h struct pci_params pci; pci 1256 drivers/scsi/csiostor/csio_init.c MODULE_DEVICE_TABLE(pci, csio_pci_tbl); pci 3209 drivers/scsi/cxlflash/main.c MODULE_DEVICE_TABLE(pci, cxlflash_pci_table); pci 4755 drivers/scsi/dc395x.c MODULE_DEVICE_TABLE(pci, dc395x_pci_table); pci 135 drivers/scsi/dmx3191d.c MODULE_DEVICE_TABLE(pci, dmx3191d_pci_tbl); pci 188 drivers/scsi/dpt_i2o.c MODULE_DEVICE_TABLE(pci,dptids); pci 709 drivers/scsi/esas2r/atioctl.h } pci; pci 774 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.vendor_id = a->pcid->vendor; pci 775 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.device_id = a->pcid->device; pci 776 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.ss_vendor_id = a->pcid->subsystem_vendor; pci 777 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.ss_device_id = a->pcid->subsystem_device; pci 778 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[0] = class_code[0]; pci 779 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[1] = class_code[1]; pci 780 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[2] = class_code[2]; pci 781 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.rev_id = a->pcid->revision; pci 782 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.bus_num = a->pcid->bus->number; pci 783 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.dev_num = PCI_SLOT(a->pcid->devfn); pci 784 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.func_num = PCI_FUNC(a->pcid->devfn); pci 795 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.link_speed_curr = pci 797 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.link_speed_max = pci 799 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.link_width_curr = pci 802 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.link_width_max = pci 807 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.msi_vector_cnt = 1; pci 810 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.interrupt_mode = ATTO_GAI_PCIIM_MSIX; pci 812 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.interrupt_mode = ATTO_GAI_PCIIM_MSI; pci 814 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.interrupt_mode = ATTO_GAI_PCIIM_LEGACY; pci 335 drivers/scsi/esas2r/esas2r_main.c MODULE_DEVICE_TABLE(pci, esas2r_pci_table); pci 54 drivers/scsi/fdomain_pci.c MODULE_DEVICE_TABLE(pci, fdomain_pci_table); pci 66 drivers/scsi/fnic/fnic_main.c MODULE_DEVICE_TABLE(pci, fnic_id_table); pci 432 drivers/scsi/gdth.c MODULE_DEVICE_TABLE(pci, gdthtable); pci 3439 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c MODULE_DEVICE_TABLE(pci, sas_v3_pci_table); pci 154 drivers/scsi/hpsa.c MODULE_DEVICE_TABLE(pci, hpsa_pci_device_id); pci 1678 drivers/scsi/hptiop.c MODULE_DEVICE_TABLE(pci, hptiop_id_table); pci 2957 drivers/scsi/initio.c MODULE_DEVICE_TABLE(pci, initio_pci_tbl); pci 10767 drivers/scsi/ipr.c MODULE_DEVICE_TABLE(pci, ipr_pci_table); pci 380 drivers/scsi/ips.c MODULE_DEVICE_TABLE( pci, ips_pci_table ); pci 94 drivers/scsi/isci/init.c MODULE_DEVICE_TABLE(pci, isci_id_table); pci 13561 drivers/scsi/lpfc/lpfc_init.c MODULE_DEVICE_TABLE(pci, lpfc_id_table); pci 4597 drivers/scsi/megaraid.c MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl); pci 289 drivers/scsi/megaraid/megaraid_mbox.c MODULE_DEVICE_TABLE(pci, pci_id_table_g); pci 934 drivers/scsi/megaraid/megaraid_sas.h } __attribute__ ((packed)) pci; pci 2174 drivers/scsi/megaraid/megaraid_sas.h } __attribute__ ((packed)) pci; pci 186 drivers/scsi/megaraid/megaraid_sas_base.c MODULE_DEVICE_TABLE(pci, megasas_pci_table); pci 6305 drivers/scsi/megaraid/megaraid_sas_base.c le16_to_cpu(ctrl_info->pci.vendor_id), pci 6306 drivers/scsi/megaraid/megaraid_sas_base.c le16_to_cpu(ctrl_info->pci.device_id), pci 6307 drivers/scsi/megaraid/megaraid_sas_base.c le16_to_cpu(ctrl_info->pci.sub_vendor_id), pci 6308 drivers/scsi/megaraid/megaraid_sas_base.c le16_to_cpu(ctrl_info->pci.sub_device_id)); pci 10986 drivers/scsi/mpt3sas/mpt3sas_scsih.c MODULE_DEVICE_TABLE(pci, mpt3sas_pci_table); pci 799 drivers/scsi/mvsas/mv_init.c MODULE_DEVICE_TABLE(pci, mvs_pci_table); pci 42 drivers/scsi/mvumi.c MODULE_DEVICE_TABLE(pci, mvumi_pci_table); pci 3625 drivers/scsi/myrb.c MODULE_DEVICE_TABLE(pci, myrb_id_table); pci 3236 drivers/scsi/myrs.c MODULE_DEVICE_TABLE(pci, myrs_id_table); pci 128 drivers/scsi/nsp32.c MODULE_DEVICE_TABLE(pci, nsp32_pci_table); pci 1391 drivers/scsi/pm8001/pm8001_init.c MODULE_DEVICE_TABLE(pci, pm8001_pci_table); pci 121 drivers/scsi/pmcraid.c MODULE_DEVICE_TABLE(pci, pmcraid_pci_table); pci 3142 drivers/scsi/qedf/qedf_main.c MODULE_DEVICE_TABLE(pci, qedf_pci_tbl); pci 2691 drivers/scsi/qedi/qedi_main.c MODULE_DEVICE_TABLE(pci, qedi_pci_tbl); pci 527 drivers/scsi/qla1280.c MODULE_DEVICE_TABLE(pci, qla1280_pci_tbl); pci 7203 drivers/scsi/qla2xxx/qla_os.c MODULE_DEVICE_TABLE(pci, qla2xxx_pci_tbl); pci 9865 drivers/scsi/qla4xxx/ql4_os.c MODULE_DEVICE_TABLE(pci, qla4xxx_pci_tbl); pci 8439 drivers/scsi/smartpqi/smartpqi_init.c MODULE_DEVICE_TABLE(pci, pqi_pci_id_table); pci 1010 drivers/scsi/snic/snic_main.c MODULE_DEVICE_TABLE(pci, snic_id_table); pci 2001 drivers/scsi/stex.c MODULE_DEVICE_TABLE(pci, stex_pci_tbl); pci 2025 drivers/scsi/sym53c8xx_2/sym_glue.c MODULE_DEVICE_TABLE(pci, sym2_id_table); pci 159 drivers/scsi/ufs/tc-dwc-g210-pci.c MODULE_DEVICE_TABLE(pci, tc_dwc_g210_pci_tbl); pci 208 drivers/scsi/ufs/ufshcd-pci.c MODULE_DEVICE_TABLE(pci, ufshcd_pci_tbl); pci 148 drivers/scsi/vmw_pvscsi.c MODULE_DEVICE_TABLE(pci, pvscsi_pci_tbl); pci 977 drivers/scsi/wd719x.c MODULE_DEVICE_TABLE(pci, wd719x_pci_table); pci 110 drivers/spi/spi-cavium-thunderx.c MODULE_DEVICE_TABLE(pci, thunderx_spi_pci_id_table); pci 141 drivers/spi/spi-dw-pci.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 291 drivers/spi/spi-pxa2xx-pci.c MODULE_DEVICE_TABLE(pci, pxa2xx_spi_pci_devices); pci 1729 drivers/spi/spi-topcliff-pch.c MODULE_DEVICE_TABLE(pci, pch_spi_pcidev_id); pci 44 drivers/ssb/b43_pci_bridge.c MODULE_DEVICE_TABLE(pci, b43_pci_bridge_tbl); pci 239 drivers/staging/android/vsoc.c MODULE_DEVICE_TABLE(pci, vsoc_id_table); pci 283 drivers/staging/comedi/drivers/8255_pci.c MODULE_DEVICE_TABLE(pci, pci_8255_pci_table); pci 374 drivers/staging/comedi/drivers/addi_apci_1032.c MODULE_DEVICE_TABLE(pci, apci1032_pci_table); pci 857 drivers/staging/comedi/drivers/addi_apci_1500.c MODULE_DEVICE_TABLE(pci, apci1500_pci_table); pci 204 drivers/staging/comedi/drivers/addi_apci_1516.c MODULE_DEVICE_TABLE(pci, apci1516_pci_table); pci 800 drivers/staging/comedi/drivers/addi_apci_1564.c MODULE_DEVICE_TABLE(pci, apci1564_pci_table); pci 166 drivers/staging/comedi/drivers/addi_apci_16xx.c MODULE_DEVICE_TABLE(pci, apci16xx_pci_table); pci 318 drivers/staging/comedi/drivers/addi_apci_2032.c MODULE_DEVICE_TABLE(pci, apci2032_pci_table); pci 131 drivers/staging/comedi/drivers/addi_apci_2200.c MODULE_DEVICE_TABLE(pci, apci2200_pci_table); pci 1105 drivers/staging/comedi/drivers/addi_apci_3120.c MODULE_DEVICE_TABLE(pci, apci3120_pci_table); pci 405 drivers/staging/comedi/drivers/addi_apci_3501.c MODULE_DEVICE_TABLE(pci, apci3501_pci_table); pci 949 drivers/staging/comedi/drivers/addi_apci_3xxx.c MODULE_DEVICE_TABLE(pci, apci3xxx_pci_table); pci 189 drivers/staging/comedi/drivers/adl_pci6208.c MODULE_DEVICE_TABLE(pci, adl_pci6208_pci_table); pci 266 drivers/staging/comedi/drivers/adl_pci7x3x.c MODULE_DEVICE_TABLE(pci, adl_pci7x3x_pci_table); pci 142 drivers/staging/comedi/drivers/adl_pci8164.c MODULE_DEVICE_TABLE(pci, adl_pci8164_pci_table); pci 735 drivers/staging/comedi/drivers/adl_pci9111.c MODULE_DEVICE_TABLE(pci, pci9111_pci_table); pci 1724 drivers/staging/comedi/drivers/adl_pci9118.c MODULE_DEVICE_TABLE(pci, adl_pci9118_pci_table); pci 951 drivers/staging/comedi/drivers/adv_pci1710.c MODULE_DEVICE_TABLE(pci, adv_pci1710_pci_table); pci 174 drivers/staging/comedi/drivers/adv_pci1720.c MODULE_DEVICE_TABLE(pci, adv_pci1720_pci_table); pci 215 drivers/staging/comedi/drivers/adv_pci1723.c MODULE_DEVICE_TABLE(pci, adv_pci1723_pci_table); pci 196 drivers/staging/comedi/drivers/adv_pci1724.c MODULE_DEVICE_TABLE(pci, adv_pci1724_pci_table); pci 412 drivers/staging/comedi/drivers/adv_pci1760.c MODULE_DEVICE_TABLE(pci, pci1760_pci_table); pci 525 drivers/staging/comedi/drivers/adv_pci_dio.c MODULE_DEVICE_TABLE(pci, adv_pci_dio_pci_table); pci 397 drivers/staging/comedi/drivers/amplc_dio200_pci.c MODULE_DEVICE_TABLE(pci, dio200_pci_table); pci 1131 drivers/staging/comedi/drivers/amplc_pci224.c MODULE_DEVICE_TABLE(pci, amplc_pci224_pci_table); pci 2563 drivers/staging/comedi/drivers/amplc_pci230.c MODULE_DEVICE_TABLE(pci, amplc_pci230_pci_table); pci 124 drivers/staging/comedi/drivers/amplc_pci236.c MODULE_DEVICE_TABLE(pci, pci236_pci_table); pci 92 drivers/staging/comedi/drivers/amplc_pci263.c MODULE_DEVICE_TABLE(pci, pci263_pci_table); pci 1486 drivers/staging/comedi/drivers/cb_pcidas.c MODULE_DEVICE_TABLE(pci, cb_pcidas_pci_table); pci 4112 drivers/staging/comedi/drivers/cb_pcidas64.c MODULE_DEVICE_TABLE(pci, cb_pcidas64_pci_table); pci 409 drivers/staging/comedi/drivers/cb_pcidda.c MODULE_DEVICE_TABLE(pci, cb_pcidda_pci_table); pci 463 drivers/staging/comedi/drivers/cb_pcimdas.c MODULE_DEVICE_TABLE(pci, cb_pcimdas_pci_table); pci 180 drivers/staging/comedi/drivers/cb_pcimdda.c MODULE_DEVICE_TABLE(pci, cb_pcimdda_pci_table); pci 105 drivers/staging/comedi/drivers/contec_pci_dio.c MODULE_DEVICE_TABLE(pci, contec_pci_dio_pci_table); pci 774 drivers/staging/comedi/drivers/daqboard2000.c MODULE_DEVICE_TABLE(pci, db2k_pci_table); pci 84 drivers/staging/comedi/drivers/das08_pci.c MODULE_DEVICE_TABLE(pci, das08_pci_table); pci 730 drivers/staging/comedi/drivers/dt3000.c MODULE_DEVICE_TABLE(pci, dt3000_pci_table); pci 253 drivers/staging/comedi/drivers/dyna_pci10xx.c MODULE_DEVICE_TABLE(pci, dyna_pci10xx_pci_table); pci 711 drivers/staging/comedi/drivers/gsc_hpdi.c MODULE_DEVICE_TABLE(pci, gsc_hpdi_pci_table); pci 324 drivers/staging/comedi/drivers/icp_multi.c MODULE_DEVICE_TABLE(pci, icp_multi_pci_table); pci 803 drivers/staging/comedi/drivers/jr3_pci.c MODULE_DEVICE_TABLE(pci, jr3_pci_pci_table); pci 220 drivers/staging/comedi/drivers/ke_counter.c MODULE_DEVICE_TABLE(pci, ke_counter_pci_table); pci 1265 drivers/staging/comedi/drivers/me4000.c MODULE_DEVICE_TABLE(pci, me4000_pci_table); pci 543 drivers/staging/comedi/drivers/me_daq.c MODULE_DEVICE_TABLE(pci, me_daq_pci_table); pci 297 drivers/staging/comedi/drivers/mf6x4.c MODULE_DEVICE_TABLE(pci, mf6x4_pci_table); pci 479 drivers/staging/comedi/drivers/ni_6527.c MODULE_DEVICE_TABLE(pci, ni6527_pci_table); pci 810 drivers/staging/comedi/drivers/ni_65xx.c MODULE_DEVICE_TABLE(pci, ni_65xx_pci_table); pci 1243 drivers/staging/comedi/drivers/ni_660x.c MODULE_DEVICE_TABLE(pci, ni_660x_pci_table); pci 270 drivers/staging/comedi/drivers/ni_670x.c MODULE_DEVICE_TABLE(pci, ni_670x_pci_table); pci 113 drivers/staging/comedi/drivers/ni_labpc_pci.c MODULE_DEVICE_TABLE(pci, labpc_pci_table); pci 998 drivers/staging/comedi/drivers/ni_pcidio.c MODULE_DEVICE_TABLE(pci, ni_pcidio_pci_table); pci 1463 drivers/staging/comedi/drivers/ni_pcimio.c MODULE_DEVICE_TABLE(pci, ni_pcimio_pci_table); pci 1354 drivers/staging/comedi/drivers/rtd520.c MODULE_DEVICE_TABLE(pci, rtd520_pci_table); pci 2592 drivers/staging/comedi/drivers/s626.c MODULE_DEVICE_TABLE(pci, s626_pci_table); pci 724 drivers/staging/gasket/apex_driver.c MODULE_DEVICE_TABLE(pci, apex_pci_ids); pci 39 drivers/staging/isdn/avm/b1pci.c MODULE_DEVICE_TABLE(pci, b1pci_pci_tbl); pci 51 drivers/staging/isdn/avm/c4.c MODULE_DEVICE_TABLE(pci, c4_pci_tbl); pci 40 drivers/staging/isdn/avm/t1pci.c MODULE_DEVICE_TABLE(pci, t1pci_pci_tbl); pci 34 drivers/staging/isdn/hysdn/hysdn_init.c MODULE_DEVICE_TABLE(pci, hysdn_pci_tbl); pci 534 drivers/staging/kpc2000/kpc2000/core.c MODULE_DEVICE_TABLE(pci, kp2000_pci_device_ids); pci 837 drivers/staging/media/ipu3/ipu3.c MODULE_DEVICE_TABLE(pci, imgu_pci_tbl); pci 96 drivers/staging/qlge/qlge_main.c MODULE_DEVICE_TABLE(pci, qlge_pci_tbl); pci 59 drivers/staging/rtl8192e/rtl8192e/rtl_core.c MODULE_DEVICE_TABLE(pci, rtl8192_pci_id_tbl); pci 129 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, "Error: chip->srb = %p\n", pci 136 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "Fail command during disconnect\n"); pci 163 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "%s called\n", __func__); pci 170 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "-- nothing to abort\n"); pci 192 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "%s called\n", __func__); pci 243 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "%s: chip->msi_en = %d, pci->irq = %d\n", pci 244 drivers/staging/rts5208/rtsx.c __func__, chip->msi_en, dev->pci->irq); pci 246 drivers/staging/rts5208/rtsx.c if (request_irq(dev->pci->irq, rtsx_interrupt, pci 249 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, pci 251 drivers/staging/rts5208/rtsx.c dev->pci->irq); pci 255 drivers/staging/rts5208/rtsx.c dev->irq = dev->pci->irq; pci 256 drivers/staging/rts5208/rtsx.c pci_intx(dev->pci, !chip->msi_en); pci 265 drivers/staging/rts5208/rtsx.c static int rtsx_suspend(struct pci_dev *pci, pm_message_t state) pci 267 drivers/staging/rts5208/rtsx.c struct rtsx_dev *dev = pci_get_drvdata(pci); pci 286 drivers/staging/rts5208/rtsx.c pci_disable_msi(pci); pci 288 drivers/staging/rts5208/rtsx.c pci_save_state(pci); pci 289 drivers/staging/rts5208/rtsx.c pci_enable_wake(pci, pci_choose_state(pci, state), 1); pci 290 drivers/staging/rts5208/rtsx.c pci_disable_device(pci); pci 291 drivers/staging/rts5208/rtsx.c pci_set_power_state(pci, pci_choose_state(pci, state)); pci 299 drivers/staging/rts5208/rtsx.c static int rtsx_resume(struct pci_dev *pci) pci 301 drivers/staging/rts5208/rtsx.c struct rtsx_dev *dev = pci_get_drvdata(pci); pci 312 drivers/staging/rts5208/rtsx.c pci_set_power_state(pci, PCI_D0); pci 313 drivers/staging/rts5208/rtsx.c pci_restore_state(pci); pci 314 drivers/staging/rts5208/rtsx.c if (pci_enable_device(pci) < 0) { pci 315 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, pci 322 drivers/staging/rts5208/rtsx.c pci_set_master(pci); pci 325 drivers/staging/rts5208/rtsx.c if (pci_enable_msi(pci) < 0) pci 345 drivers/staging/rts5208/rtsx.c static void rtsx_shutdown(struct pci_dev *pci) pci 347 drivers/staging/rts5208/rtsx.c struct rtsx_dev *dev = pci_get_drvdata(pci); pci 363 drivers/staging/rts5208/rtsx.c pci_disable_msi(pci); pci 365 drivers/staging/rts5208/rtsx.c pci_disable_device(pci); pci 383 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "-- rtsx-control exiting\n"); pci 403 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, "UNKNOWN data direction\n"); pci 411 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, "Bad target number (%d:%d)\n", pci 418 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, "Bad LUN (%d:%d)\n", pci 442 drivers/staging/rts5208/rtsx.c dev_err(&dev->pci->dev, "scsi command aborted\n"); pci 500 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "-- rtsx-polling exiting\n"); pci 587 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "-- %s\n", __func__); pci 593 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "-- sending exit command to thread\n"); pci 610 drivers/staging/rts5208/rtsx.c pci_disable_msi(dev->pci); pci 681 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, pci 693 drivers/staging/rts5208/rtsx.c dev_info(&dev->pci->dev, "%s: device scan complete\n", pci 704 drivers/staging/rts5208/rtsx.c chip->vendor_id = chip->rtsx->pci->vendor; pci 705 drivers/staging/rts5208/rtsx.c chip->product_id = chip->rtsx->pci->device; pci 804 drivers/staging/rts5208/rtsx.c static int rtsx_probe(struct pci_dev *pci, pci 812 drivers/staging/rts5208/rtsx.c dev_dbg(&pci->dev, "Realtek PCI-E card reader detected\n"); pci 814 drivers/staging/rts5208/rtsx.c err = pcim_enable_device(pci); pci 816 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "PCI enable device failed!\n"); pci 820 drivers/staging/rts5208/rtsx.c err = pci_request_regions(pci, CR_DRIVER_NAME); pci 822 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "PCI request regions for %s failed!\n", pci 833 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "Unable to allocate the scsi host\n"); pci 855 drivers/staging/rts5208/rtsx.c dev->pci = pci; pci 858 drivers/staging/rts5208/rtsx.c dev_info(&pci->dev, "Resource length: 0x%x\n", pci 859 drivers/staging/rts5208/rtsx.c (unsigned int)pci_resource_len(pci, 0)); pci 860 drivers/staging/rts5208/rtsx.c dev->addr = pci_resource_start(pci, 0); pci 861 drivers/staging/rts5208/rtsx.c dev->remap_addr = ioremap_nocache(dev->addr, pci_resource_len(pci, 0)); pci 863 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "ioremap error\n"); pci 872 drivers/staging/rts5208/rtsx.c dev_info(&pci->dev, "Original address: 0x%lx, remapped address: 0x%lx\n", pci 875 drivers/staging/rts5208/rtsx.c dev->rtsx_resv_buf = dmam_alloc_coherent(&pci->dev, RTSX_RESV_BUF_LEN, pci 878 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "alloc dma buffer fail\n"); pci 892 drivers/staging/rts5208/rtsx.c dev_info(&pci->dev, "pci->irq = %d\n", pci->irq); pci 895 drivers/staging/rts5208/rtsx.c if (pci_enable_msi(pci) < 0) pci 904 drivers/staging/rts5208/rtsx.c pci_set_master(pci); pci 919 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "Unable to start control thread\n"); pci 925 drivers/staging/rts5208/rtsx.c err = scsi_add_host(host, &pci->dev); pci 927 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "Unable to add the scsi host\n"); pci 934 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "Unable to start the device-scanning thread\n"); pci 943 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "Unable to start the device-polling thread\n"); pci 949 drivers/staging/rts5208/rtsx.c pci_set_drvdata(pci, dev); pci 966 drivers/staging/rts5208/rtsx.c pci_disable_msi(dev->pci); pci 972 drivers/staging/rts5208/rtsx.c dev_err(&pci->dev, "%s failed\n", __func__); pci 977 drivers/staging/rts5208/rtsx.c static void rtsx_remove(struct pci_dev *pci) pci 979 drivers/staging/rts5208/rtsx.c struct rtsx_dev *dev = pci_get_drvdata(pci); pci 981 drivers/staging/rts5208/rtsx.c dev_info(&pci->dev, "%s called\n", __func__); pci 996 drivers/staging/rts5208/rtsx.c MODULE_DEVICE_TABLE(pci, rtsx_ids); pci 56 drivers/staging/rts5208/rtsx.h pci_read_config_byte((chip)->rtsx->pci, where, val) pci 59 drivers/staging/rts5208/rtsx.h pci_write_config_byte((chip)->rtsx->pci, where, val) pci 82 drivers/staging/rts5208/rtsx.h struct pci_dev *pci; pci 924 drivers/staging/rts5208/rtsx_chip.h return &chip->rtsx->pci->dev; pci 358 drivers/staging/rts5208/rtsx_transport.c sg_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); pci 471 drivers/staging/rts5208/rtsx_transport.c dma_unmap_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); pci 521 drivers/staging/rts5208/rtsx_transport.c buf_cnt = dma_map_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); pci 618 drivers/staging/rts5208/rtsx_transport.c dma_unmap_sg(&rtsx->pci->dev, sg, num_sg, dma_dir); pci 648 drivers/staging/rts5208/rtsx_transport.c addr = dma_map_single(&rtsx->pci->dev, buf, len, dma_dir); pci 649 drivers/staging/rts5208/rtsx_transport.c if (dma_mapping_error(&rtsx->pci->dev, addr)) pci 702 drivers/staging/rts5208/rtsx_transport.c dma_unmap_single(&rtsx->pci->dev, addr, len, dma_dir); pci 1223 drivers/staging/sm750fb/sm750.c MODULE_DEVICE_TABLE(pci, smi_pci_table); pci 85 drivers/staging/uwb/umc-bus.c struct pci_dev *pci; pci 90 drivers/staging/uwb/umc-bus.c pci = to_pci_dev(umc->dev.parent); pci 91 drivers/staging/uwb/umc-bus.c return pci_match_id(id_table, pci) != NULL; pci 442 drivers/staging/uwb/whc-rc.c MODULE_DEVICE_TABLE(pci, whcrc_id_table); pci 17 drivers/staging/uwb/whci.c struct pci_dev *pci; pci 29 drivers/staging/uwb/whci.c struct pci_dev *pci_dev = card->pci; pci 97 drivers/staging/uwb/whci.c umc = umc_device_create(&card->pci->dev, n); pci 111 drivers/staging/uwb/whci.c umc->resource.start = pci_resource_start(card->pci, bar) pci 116 drivers/staging/uwb/whci.c umc->resource.flags = card->pci->resource[bar].flags; pci 117 drivers/staging/uwb/whci.c umc->resource.parent = &card->pci->resource[bar]; pci 118 drivers/staging/uwb/whci.c umc->irq = card->pci->irq; pci 138 drivers/staging/uwb/whci.c static int whci_n_caps(struct pci_dev *pci) pci 143 drivers/staging/uwb/whci.c uwbbase = pci_iomap(pci, 0, 8); pci 147 drivers/staging/uwb/whci.c pci_iounmap(pci, uwbbase); pci 152 drivers/staging/uwb/whci.c static int whci_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 157 drivers/staging/uwb/whci.c err = pci_enable_device(pci); pci 160 drivers/staging/uwb/whci.c pci_enable_msi(pci); pci 161 drivers/staging/uwb/whci.c pci_set_master(pci); pci 163 drivers/staging/uwb/whci.c if (!pci_set_dma_mask(pci, DMA_BIT_MASK(64))) pci 164 drivers/staging/uwb/whci.c pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(64)); pci 165 drivers/staging/uwb/whci.c else if (!pci_set_dma_mask(pci, DMA_BIT_MASK(32))) pci 166 drivers/staging/uwb/whci.c pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)); pci 170 drivers/staging/uwb/whci.c err = n_caps = whci_n_caps(pci); pci 180 drivers/staging/uwb/whci.c card->pci = pci; pci 184 drivers/staging/uwb/whci.c if (!request_mem_region(pci_resource_start(pci, 0), pci 189 drivers/staging/uwb/whci.c card->uwbbase = pci_iomap(pci, 0, UWBCAPDATA_SIZE(card->n_caps)); pci 197 drivers/staging/uwb/whci.c dev_err(&pci->dev, "cannot bind UWB radio controller:" pci 202 drivers/staging/uwb/whci.c dev_warn(&pci->dev, "warning: cannot bind capability " pci 205 drivers/staging/uwb/whci.c pci_set_drvdata(pci, card); pci 209 drivers/staging/uwb/whci.c pci_iounmap(pci, card->uwbbase); pci 211 drivers/staging/uwb/whci.c release_mem_region(pci_resource_start(pci, 0), UWBCAPDATA_SIZE(card->n_caps)); pci 217 drivers/staging/uwb/whci.c pci_disable_msi(pci); pci 218 drivers/staging/uwb/whci.c pci_disable_device(pci); pci 223 drivers/staging/uwb/whci.c static void whci_remove(struct pci_dev *pci) pci 225 drivers/staging/uwb/whci.c struct whci_card *card = pci_get_drvdata(pci); pci 228 drivers/staging/uwb/whci.c pci_set_drvdata(pci, NULL); pci 233 drivers/staging/uwb/whci.c pci_iounmap(pci, card->uwbbase); pci 234 drivers/staging/uwb/whci.c release_mem_region(pci_resource_start(pci, 0), UWBCAPDATA_SIZE(card->n_caps)); pci 236 drivers/staging/uwb/whci.c pci_disable_msi(pci); pci 237 drivers/staging/uwb/whci.c pci_disable_device(pci); pci 244 drivers/staging/uwb/whci.c MODULE_DEVICE_TABLE(pci, whci_id_table); pci 1795 drivers/staging/vt6655/device_main.c MODULE_DEVICE_TABLE(pci, vt6655_pci_id_table); pci 352 drivers/staging/wusbcore/host/whci/hcd.c MODULE_DEVICE_TABLE(pci, whci_hcd_id_table); pci 730 drivers/thermal/intel/int340x_thermal/processor_thermal_device.c MODULE_DEVICE_TABLE(pci, proc_thermal_pci_ids); pci 403 drivers/thermal/intel/intel_pch_thermal.c MODULE_DEVICE_TABLE(pci, intel_pch_thermal_id); pci 1277 drivers/thunderbolt/nhi.c MODULE_DEVICE_TABLE(pci, nhi_ids); pci 271 drivers/tty/cyclades.c MODULE_DEVICE_TABLE(pci, cy_pci_dev_id); pci 161 drivers/tty/isicom.c MODULE_DEVICE_TABLE(pci, isicom_pci_tbl); pci 96 drivers/tty/moxa.c MODULE_DEVICE_TABLE(pci, moxa_pcibrds); pci 173 drivers/tty/mxser.c MODULE_DEVICE_TABLE(pci, mxser_pcibrds); pci 374 drivers/tty/nozomi.c MODULE_DEVICE_TABLE(pci, nozomi_pci_tbl); pci 1734 drivers/tty/rocket.c MODULE_DEVICE_TABLE(pci, rocket_pci_ids); pci 798 drivers/tty/serial/8250/8250_exar.c MODULE_DEVICE_TABLE(pci, exar_pci_tbl); pci 387 drivers/tty/serial/8250/8250_lpss.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 382 drivers/tty/serial/8250/8250_mid.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 5678 drivers/tty/serial/8250/8250_pci.c MODULE_DEVICE_TABLE(pci, serial_pci_tbl); pci 116 drivers/tty/serial/icom.c MODULE_DEVICE_TABLE(pci, icom_pci_table); pci 319 drivers/tty/serial/jsm/jsm_driver.c MODULE_DEVICE_TABLE(pci, jsm_pci_tbl); pci 1990 drivers/tty/serial/pch_uart.c MODULE_DEVICE_TABLE(pci, pch_uart_pci_id); pci 846 drivers/tty/serial/rp2.c MODULE_DEVICE_TABLE(pci, rp2_pci_tbl); pci 1252 drivers/tty/serial/serial_txx9.c MODULE_DEVICE_TABLE(pci, serial_txx9_pci_tbl); pci 891 drivers/tty/synclink.c MODULE_DEVICE_TABLE(pci, synclink_pci_tbl); pci 104 drivers/tty/synclink_gt.c MODULE_DEVICE_TABLE(pci, pci_table); pci 486 drivers/tty/synclinkmp.c MODULE_DEVICE_TABLE(pci, synclinkmp_pci_tbl); pci 40 drivers/uio/uio_aec.c MODULE_DEVICE_TABLE(pci, ids); pci 136 drivers/uio/uio_cif.c MODULE_DEVICE_TABLE(pci, hilscher_pci_ids); pci 225 drivers/uio/uio_mf624.c MODULE_DEVICE_TABLE(pci, mf624_pci_id); pci 176 drivers/uio/uio_netx.c MODULE_DEVICE_TABLE(pci, netx_pci_ids); pci 200 drivers/usb/cdns3/cdns3-pci-wrap.c MODULE_DEVICE_TABLE(pci, cdns3_pci_ids); pci 156 drivers/usb/chipidea/ci_hdrc_pci.c MODULE_DEVICE_TABLE(pci, ci_hdrc_pci_id_table); pci 86 drivers/usb/dwc2/pci.c static void dwc2_pci_remove(struct pci_dev *pci) pci 88 drivers/usb/dwc2/pci.c struct dwc2_pci_glue *glue = pci_get_drvdata(pci); pci 92 drivers/usb/dwc2/pci.c pci_set_drvdata(pci, NULL); pci 95 drivers/usb/dwc2/pci.c static int dwc2_pci_probe(struct pci_dev *pci, pci 102 drivers/usb/dwc2/pci.c struct device *dev = &pci->dev; pci 105 drivers/usb/dwc2/pci.c ret = pcim_enable_device(pci); pci 111 drivers/usb/dwc2/pci.c pci_set_master(pci); pci 129 drivers/usb/dwc2/pci.c res[0].start = pci_resource_start(pci, 0); pci 130 drivers/usb/dwc2/pci.c res[0].end = pci_resource_end(pci, 0); pci 134 drivers/usb/dwc2/pci.c res[1].start = pci->irq; pci 146 drivers/usb/dwc2/pci.c ret = dwc2_pci_quirks(pci, dwc2); pci 164 drivers/usb/dwc2/pci.c pci_set_drvdata(pci, glue); pci 183 drivers/usb/dwc2/pci.c MODULE_DEVICE_TABLE(pci, dwc2_pci_ids); pci 25 drivers/usb/dwc3/dwc3-haps.c struct pci_dev *pci; pci 36 drivers/usb/dwc3/dwc3-haps.c static int dwc3_haps_probe(struct pci_dev *pci, pci 40 drivers/usb/dwc3/dwc3-haps.c struct device *dev = &pci->dev; pci 44 drivers/usb/dwc3/dwc3-haps.c ret = pcim_enable_device(pci); pci 50 drivers/usb/dwc3/dwc3-haps.c pci_set_master(pci); pci 62 drivers/usb/dwc3/dwc3-haps.c res[0].start = pci_resource_start(pci, 0); pci 63 drivers/usb/dwc3/dwc3-haps.c res[0].end = pci_resource_end(pci, 0); pci 67 drivers/usb/dwc3/dwc3-haps.c res[1].start = pci->irq; pci 77 drivers/usb/dwc3/dwc3-haps.c dwc->pci = pci; pci 90 drivers/usb/dwc3/dwc3-haps.c pci_set_drvdata(pci, dwc); pci 98 drivers/usb/dwc3/dwc3-haps.c static void dwc3_haps_remove(struct pci_dev *pci) pci 100 drivers/usb/dwc3/dwc3-haps.c struct dwc3_haps *dwc = pci_get_drvdata(pci); pci 129 drivers/usb/dwc3/dwc3-haps.c MODULE_DEVICE_TABLE(pci, dwc3_haps_id_table); pci 61 drivers/usb/dwc3/dwc3-pci.c struct pci_dev *pci; pci 87 drivers/usb/dwc3/dwc3-pci.c static int dwc3_byt_enable_ulpi_refclock(struct pci_dev *pci) pci 92 drivers/usb/dwc3/dwc3-pci.c reg = pcim_iomap(pci, GP_RWBAR, 0); pci 105 drivers/usb/dwc3/dwc3-pci.c pcim_iounmap(pci, reg); pci 144 drivers/usb/dwc3/dwc3-pci.c struct pci_dev *pdev = dwc->pci; pci 217 drivers/usb/dwc3/dwc3-pci.c static int dwc3_pci_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 223 drivers/usb/dwc3/dwc3-pci.c struct device *dev = &pci->dev; pci 225 drivers/usb/dwc3/dwc3-pci.c ret = pcim_enable_device(pci); pci 231 drivers/usb/dwc3/dwc3-pci.c pci_set_master(pci); pci 243 drivers/usb/dwc3/dwc3-pci.c res[0].start = pci_resource_start(pci, 0); pci 244 drivers/usb/dwc3/dwc3-pci.c res[0].end = pci_resource_end(pci, 0); pci 248 drivers/usb/dwc3/dwc3-pci.c res[1].start = pci->irq; pci 258 drivers/usb/dwc3/dwc3-pci.c dwc->pci = pci; pci 277 drivers/usb/dwc3/dwc3-pci.c pci_set_drvdata(pci, dwc); pci 289 drivers/usb/dwc3/dwc3-pci.c static void dwc3_pci_remove(struct pci_dev *pci) pci 291 drivers/usb/dwc3/dwc3-pci.c struct dwc3_pci *dwc = pci_get_drvdata(pci); pci 292 drivers/usb/dwc3/dwc3-pci.c struct pci_dev *pdev = dwc->pci; pci 299 drivers/usb/dwc3/dwc3-pci.c device_init_wakeup(&pci->dev, false); pci 300 drivers/usb/dwc3/dwc3-pci.c pm_runtime_get(&pci->dev); pci 363 drivers/usb/dwc3/dwc3-pci.c MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); pci 378 drivers/usb/dwc3/dwc3-pci.c obj = acpi_evaluate_dsm(ACPI_HANDLE(&dwc->pci->dev), &dwc->guid, pci 381 drivers/usb/dwc3/dwc3-pci.c dev_err(&dwc->pci->dev, "failed to evaluate _DSM\n"); pci 201 drivers/usb/gadget/udc/amd5536udc_pci.c MODULE_DEVICE_TABLE(pci, pci_id); pci 28 drivers/usb/gadget/udc/bdc/bdc_pci.c static int bdc_setup_msi(struct pci_dev *pci) pci 32 drivers/usb/gadget/udc/bdc/bdc_pci.c ret = pci_enable_msi(pci); pci 41 drivers/usb/gadget/udc/bdc/bdc_pci.c static int bdc_pci_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 48 drivers/usb/gadget/udc/bdc/bdc_pci.c glue = devm_kzalloc(&pci->dev, sizeof(*glue), GFP_KERNEL); pci 52 drivers/usb/gadget/udc/bdc/bdc_pci.c glue->dev = &pci->dev; pci 53 drivers/usb/gadget/udc/bdc/bdc_pci.c ret = pci_enable_device(pci); pci 55 drivers/usb/gadget/udc/bdc/bdc_pci.c dev_err(&pci->dev, "failed to enable pci device\n"); pci 58 drivers/usb/gadget/udc/bdc/bdc_pci.c pci_set_master(pci); pci 65 drivers/usb/gadget/udc/bdc/bdc_pci.c bdc_setup_msi(pci); pci 67 drivers/usb/gadget/udc/bdc/bdc_pci.c res[0].start = pci_resource_start(pci, 0); pci 68 drivers/usb/gadget/udc/bdc/bdc_pci.c res[0].end = pci_resource_end(pci, 0); pci 72 drivers/usb/gadget/udc/bdc/bdc_pci.c res[1].start = pci->irq; pci 78 drivers/usb/gadget/udc/bdc/bdc_pci.c dev_err(&pci->dev, pci 84 drivers/usb/gadget/udc/bdc/bdc_pci.c pci_set_drvdata(pci, glue); pci 86 drivers/usb/gadget/udc/bdc/bdc_pci.c dma_set_coherent_mask(&bdc->dev, pci->dev.coherent_dma_mask); pci 88 drivers/usb/gadget/udc/bdc/bdc_pci.c bdc->dev.dma_mask = pci->dev.dma_mask; pci 89 drivers/usb/gadget/udc/bdc/bdc_pci.c bdc->dev.dma_parms = pci->dev.dma_parms; pci 90 drivers/usb/gadget/udc/bdc/bdc_pci.c bdc->dev.parent = &pci->dev; pci 95 drivers/usb/gadget/udc/bdc/bdc_pci.c dev_err(&pci->dev, "failed to register bdc device\n"); pci 103 drivers/usb/gadget/udc/bdc/bdc_pci.c static void bdc_pci_remove(struct pci_dev *pci) pci 105 drivers/usb/gadget/udc/bdc/bdc_pci.c struct bdc_pci *glue = pci_get_drvdata(pci); pci 108 drivers/usb/gadget/udc/bdc/bdc_pci.c pci_disable_msi(pci); pci 116 drivers/usb/gadget/udc/bdc/bdc_pci.c MODULE_DEVICE_TABLE(pci, bdc_pci_id_table); pci 1844 drivers/usb/gadget/udc/goku_udc.c MODULE_DEVICE_TABLE (pci, pci_ids); pci 2560 drivers/usb/gadget/udc/net2272.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 865 drivers/usb/gadget/udc/net2280.c (void) readl(&ep->dev->pci->pcimstctl); pci 3670 drivers/usb/gadget/udc/net2280.c dev->pci = (struct net2280_pci_regs __iomem *) (base + 0x0100); pci 3760 drivers/usb/gadget/udc/net2280.c &dev->pci->pcimstctl); pci 3856 drivers/usb/gadget/udc/net2280.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 176 drivers/usb/gadget/udc/net2280.h struct net2280_pci_regs __iomem *pci; pci 3165 drivers/usb/gadget/udc/pch_udc.c MODULE_DEVICE_TABLE(pci, pch_udc_pcidev_id); pci 383 drivers/usb/host/ehci-pci.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 287 drivers/usb/host/ohci-pci.c MODULE_DEVICE_TABLE (pci, pci_ids); pci 294 drivers/usb/host/uhci-pci.c MODULE_DEVICE_TABLE(pci, uhci_pci_ids); pci 33 drivers/usb/host/xhci-ext-caps.c struct pci_dev *pci = to_pci_dev(dev); pci 56 drivers/usb/host/xhci-ext-caps.c if (pci->device == PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI) { pci 549 drivers/usb/host/xhci-pci.c MODULE_DEVICE_TABLE(pci, pci_ids); pci 177 drivers/usb/isp1760/isp1760-if.c MODULE_DEVICE_TABLE(pci, isp1760_plx); pci 93 drivers/vfio/pci/trace.h #define TRACE_INCLUDE_PATH ../../drivers/vfio/pci pci 1025 drivers/video/console/sticore.c MODULE_DEVICE_TABLE(pci, sti_pci_tbl); pci 1164 drivers/video/fbdev/arkfb.c MODULE_DEVICE_TABLE(pci, ark_devices); pci 600 drivers/video/fbdev/asiliantfb.c MODULE_DEVICE_TABLE(pci, asiliantfb_pci_tbl); pci 268 drivers/video/fbdev/aty/aty128fb.c MODULE_DEVICE_TABLE(pci, aty128_pci_tbl); pci 3787 drivers/video/fbdev/aty/atyfb_base.c MODULE_DEVICE_TABLE(pci, atyfb_pci_tbl); pci 230 drivers/video/fbdev/aty/radeon_base.c MODULE_DEVICE_TABLE(pci, radeonfb_pci_table); pci 760 drivers/video/fbdev/carminefb.c MODULE_DEVICE_TABLE(pci, carmine_devices); pci 488 drivers/video/fbdev/chipsfb.c MODULE_DEVICE_TABLE(pci, chipsfb_pci_tbl); pci 272 drivers/video/fbdev/cirrusfb.c MODULE_DEVICE_TABLE(pci, cirrusfb_pci_table); pci 1846 drivers/video/fbdev/cyber2000fb.c MODULE_DEVICE_TABLE(pci, cyberpro_pci_table); pci 431 drivers/video/fbdev/geode/gx1fb_core.c MODULE_DEVICE_TABLE(pci, gx1fb_id_table); pci 468 drivers/video/fbdev/geode/gxfb_core.c MODULE_DEVICE_TABLE(pci, gxfb_id_table); pci 601 drivers/video/fbdev/geode/lxfb_core.c MODULE_DEVICE_TABLE(pci, lxfb_id_table); pci 766 drivers/video/fbdev/gxt4500.c MODULE_DEVICE_TABLE(pci, gxt4500_pci_tbl); pci 896 drivers/video/fbdev/hyperv_fb.c MODULE_DEVICE_TABLE(pci, pci_stub_id_table); pci 1247 drivers/video/fbdev/i740fb.c MODULE_DEVICE_TABLE(pci, i740fb_id_table); pci 1327 drivers/video/fbdev/imsttfb.c MODULE_DEVICE_TABLE(pci, imsttfb_pci_tbl); pci 227 drivers/video/fbdev/intelfb/intelfbdrv.c MODULE_DEVICE_TABLE(pci, intelfb_pci_table); pci 642 drivers/video/fbdev/kyro/fbdev.c MODULE_DEVICE_TABLE(pci, kyrofb_pci_tbl); pci 2150 drivers/video/fbdev/matrox/matroxfb_base.c MODULE_DEVICE_TABLE(pci, matroxfb_devices); pci 988 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c MODULE_DEVICE_TABLE(pci, mb862xx_pci_tbl); pci 2165 drivers/video/fbdev/neofb.c MODULE_DEVICE_TABLE(pci, neofb_devices); pci 63 drivers/video/fbdev/nvidia/nvidia.c MODULE_DEVICE_TABLE(pci, nvidiafb_pci_tbl); pci 1754 drivers/video/fbdev/pm2fb.c MODULE_DEVICE_TABLE(pci, pm2fb_id_table); pci 1496 drivers/video/fbdev/pm3fb.c MODULE_DEVICE_TABLE(pci, pm3fb_id_table); pci 979 drivers/video/fbdev/pvr2fb.c MODULE_DEVICE_TABLE(pci, pvr2fb_pci_tbl); pci 192 drivers/video/fbdev/riva/fbdev.c MODULE_DEVICE_TABLE(pci, rivafb_pci_tbl); pci 1506 drivers/video/fbdev/s3fb.c MODULE_DEVICE_TABLE(pci, s3_devices); pci 2498 drivers/video/fbdev/savage/savagefb_driver.c MODULE_DEVICE_TABLE(pci, savagefb_devices); pci 123 drivers/video/fbdev/sis/sis_main.h MODULE_DEVICE_TABLE(pci, sisfb_pci_table); pci 886 drivers/video/fbdev/skeletonfb.c MODULE_DEVICE_TABLE(pci, xxxfb_id_table); pci 1680 drivers/video/fbdev/sm712fb.c MODULE_DEVICE_TABLE(pci, smtcfb_pci_table); pci 144 drivers/video/fbdev/tdfxfb.c MODULE_DEVICE_TABLE(pci, tdfxfb_id_table); pci 97 drivers/video/fbdev/tgafb.c MODULE_DEVICE_TABLE(pci, tgafb_pci_table); pci 1763 drivers/video/fbdev/tridentfb.c MODULE_DEVICE_TABLE(pci, trident_devices); pci 713 drivers/video/fbdev/via/via-core.c MODULE_DEVICE_TABLE(pci, via_pci_table); pci 894 drivers/video/fbdev/vt8623fb.c MODULE_DEVICE_TABLE(pci, vt8623_devices); pci 282 drivers/virt/vboxguest/vboxguest_linux.c static int vbg_pci_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 284 drivers/virt/vboxguest/vboxguest_linux.c struct device *dev = &pci->dev; pci 294 drivers/virt/vboxguest/vboxguest_linux.c ret = pci_enable_device(pci); pci 302 drivers/virt/vboxguest/vboxguest_linux.c io = pci_resource_start(pci, 0); pci 303 drivers/virt/vboxguest/vboxguest_linux.c io_len = pci_resource_len(pci, 0); pci 314 drivers/virt/vboxguest/vboxguest_linux.c mmio = pci_resource_start(pci, 1); pci 315 drivers/virt/vboxguest/vboxguest_linux.c mmio_len = pci_resource_len(pci, 1); pci 363 drivers/virt/vboxguest/vboxguest_linux.c ret = devm_request_irq(dev, pci->irq, vbg_core_isr, IRQF_SHARED, pci 396 drivers/virt/vboxguest/vboxguest_linux.c pci_set_drvdata(pci, gdev); pci 401 drivers/virt/vboxguest/vboxguest_linux.c gdev->misc_device.minor, pci->irq, gdev->io_port, pci 413 drivers/virt/vboxguest/vboxguest_linux.c pci_disable_device(pci); pci 418 drivers/virt/vboxguest/vboxguest_linux.c static void vbg_pci_remove(struct pci_dev *pci) pci 420 drivers/virt/vboxguest/vboxguest_linux.c struct vbg_dev *gdev = pci_get_drvdata(pci); pci 431 drivers/virt/vboxguest/vboxguest_linux.c pci_disable_device(pci); pci 488 drivers/virt/vboxguest/vboxguest_linux.c MODULE_DEVICE_TABLE(pci, vbg_pci_ids); pci 499 drivers/virtio/virtio_pci_common.c MODULE_DEVICE_TABLE(pci, virtio_pci_id_table); pci 46 drivers/vme/bridges/vme_ca91cx42.c MODULE_DEVICE_TABLE(pci, ca91cx42_ids); pci 49 drivers/vme/bridges/vme_tsi148.c MODULE_DEVICE_TABLE(pci, tsi148_ids); pci 196 drivers/w1/masters/matrox_w1.c MODULE_DEVICE_TABLE(pci, matrox_w1_tbl); pci 305 drivers/watchdog/alim1535_wdt.c MODULE_DEVICE_TABLE(pci, ali_pci_tbl); pci 446 drivers/watchdog/alim7101_wdt.c MODULE_DEVICE_TABLE(pci, alim7101_pci_tbl); pci 49 drivers/watchdog/hpwdt.c MODULE_DEVICE_TABLE(pci, hpwdt_devices); pci 211 drivers/watchdog/i6300esb.c MODULE_DEVICE_TABLE(pci, esb_pci_tbl); pci 299 drivers/watchdog/nv_tco.c MODULE_DEVICE_TABLE(pci, tco_pci_tbl); pci 805 drivers/watchdog/pcwd_pci.c MODULE_DEVICE_TABLE(pci, pcipcwd_pci_tbl); pci 439 drivers/watchdog/sp5100_tco.c MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl); pci 727 drivers/watchdog/wdt_pci.c MODULE_DEVICE_TABLE(pci, wdtpci_pci_tbl); pci 26 drivers/xen/dbgp.c dbgp.u.pci.seg = pci_domain_nr(pdev->bus); pci 27 drivers/xen/dbgp.c dbgp.u.pci.bus = pdev->bus->number; pci 28 drivers/xen/dbgp.c dbgp.u.pci.devfn = pdev->devfn; pci 400 include/linux/efi.h efi_pci_io_protocol_access_32_t pci; pci 420 include/linux/efi.h efi_pci_io_protocol_access_64_t pci; pci 440 include/linux/efi.h efi_pci_io_protocol_access_t pci; pci 1319 include/linux/efi.h } pci; pci 103 include/linux/rtsx_pci.h pci_read_config_byte((pcr)->pci, where, val) pci 106 include/linux/rtsx_pci.h pci_write_config_byte((pcr)->pci, where, val) pci 109 include/linux/rtsx_pci.h pci_read_config_dword((pcr)->pci, where, val) pci 112 include/linux/rtsx_pci.h pci_write_config_dword((pcr)->pci, where, val) pci 1172 include/linux/rtsx_pci.h struct pci_dev *pci; pci 1266 include/linux/rtsx_pci.h #define CHK_PCI_PID(pcr, pid) ((pcr)->pci->device == (pid)) pci 1267 include/linux/rtsx_pci.h #define PCI_VID(pcr) ((pcr)->pci->vendor) pci 1268 include/linux/rtsx_pci.h #define PCI_PID(pcr) ((pcr)->pci->device) pci 1272 include/linux/rtsx_pci.h dev_dbg(&(pcr)->pci->dev, fmt, ##arg) pci 1328 include/linux/rtsx_pci.h err = pci_read_config_byte(pcr->pci, addr, &val); pci 1331 include/linux/rtsx_pci.h return pci_write_config_byte(pcr->pci, addr, (val & mask) | append); pci 133 include/media/drv-intf/saa7146.h struct pci_dev *pci; pci 171 include/media/drv-intf/saa7146.h int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt); pci 172 include/media/drv-intf/saa7146.h void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt); pci 173 include/media/drv-intf/saa7146.h int saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int length ); pci 174 include/media/drv-intf/saa7146.h void *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa7146_pgtable *pt); pci 175 include/media/drv-intf/saa7146.h void saa7146_vfree_destroy_pgtable(struct pci_dev *pci, void *mem, struct saa7146_pgtable *pt); pci 227 include/sound/ac97_codec.h struct pci_dev *pci; /* assigned PCI device - used for quirks */ pci 241 include/sound/ac97_codec.h struct pci_dev *pci; /* assigned PCI device - used for quirks */ pci 423 include/sound/core.h snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list); pci 430 include/sound/core.h snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) pci 1723 include/sound/emu10k1.h struct pci_dev *pci; pci 1794 include/sound/emu10k1.h struct pci_dev *pci, pci 21 include/sound/hda_codec.h #define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98) pci 22 include/sound/hda_codec.h #define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348) pci 45 include/sound/hda_codec.h struct pci_dev *pci; pci 24 include/sound/memalloc.h #define snd_dma_pci_data(pci) (&(pci)->dev) pci 61 include/sound/sb.h struct pci_dev *pci; /* ALS4000 */ pci 99 include/uapi/linux/edd.h } __attribute__ ((packed)) pci; pci 296 include/xen/interface/physdev.h struct physdev_pci_device pci; pci 97 samples/v4l/v4l2-pci-skeleton.c MODULE_DEVICE_TABLE(pci, skeleton_pci_tbl); pci 231 samples/vfio-mdev/mdpy-fb.c MODULE_DEVICE_TABLE(pci, mdpy_fb_pci_table); pci 138 sound/core/misc.c snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) pci 140 sound/core/misc.c if (!pci) pci 142 sound/core/misc.c return snd_pci_quirk_lookup_id(pci->subsystem_vendor, pci 143 sound/core/misc.c pci->subsystem_device, pci 16 sound/hda/hdac_i915.c #define CONTROLLER_IN_GPU(pci) (((pci)->device == 0x0a0c) || \ pci 17 sound/hda/hdac_i915.c ((pci)->device == 0x0c0c) || \ pci 18 sound/hda/hdac_i915.c ((pci)->device == 0x0d0c) || \ pci 19 sound/hda/hdac_i915.c ((pci)->device == 0x160c)) pci 38 sound/hda/hdac_i915.c struct pci_dev *pci = to_pci_dev(bus->dev); pci 44 sound/hda/hdac_i915.c if (!CONTROLLER_IN_GPU(pci)) pci 2024 sound/pci/ac97/ac97_codec.c ac97->pci = template->pci; pci 2037 sound/pci/ac97/ac97_codec.c if (ac97->pci) { pci 2038 sound/pci/ac97/ac97_codec.c pci_read_config_word(ac97->pci, PCI_SUBSYSTEM_VENDOR_ID, &ac97->subsystem_vendor); pci 2039 sound/pci/ac97/ac97_codec.c pci_read_config_word(ac97->pci, PCI_SUBSYSTEM_ID, &ac97->subsystem_device); pci 1236 sound/pci/ac97/ac97_patch.c if (ac97->pci && pci 3098 sound/pci/ac97/ac97_patch.c if (ac97->pci && pci 76 sound/pci/ad1889.c struct pci_dev *pci; pci 636 sound/pci/ad1889.c snd_dma_pci_data(chip->pci), pci 802 sound/pci/ad1889.c ac97.pci = chip->pci; pci 837 sound/pci/ad1889.c pci_release_regions(chip->pci); pci 838 sound/pci/ad1889.c pci_disable_device(chip->pci); pci 866 sound/pci/ad1889.c struct pci_dev *pci, pci 878 sound/pci/ad1889.c if ((err = pci_enable_device(pci)) < 0) pci 882 sound/pci/ad1889.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0 || pci 883 sound/pci/ad1889.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 885 sound/pci/ad1889.c pci_disable_device(pci); pci 891 sound/pci/ad1889.c pci_disable_device(pci); pci 897 sound/pci/ad1889.c chip->pci = pci; pci 901 sound/pci/ad1889.c if ((err = pci_request_regions(pci, card->driver)) < 0) pci 904 sound/pci/ad1889.c chip->bar = pci_resource_start(pci, 0); pci 905 sound/pci/ad1889.c chip->iobase = pci_ioremap_bar(pci, 0); pci 912 sound/pci/ad1889.c pci_set_master(pci); pci 916 sound/pci/ad1889.c if (request_irq(pci->irq, snd_ad1889_interrupt, pci 918 sound/pci/ad1889.c dev_err(card->dev, "cannot obtain IRQ %d\n", pci->irq); pci 923 sound/pci/ad1889.c chip->irq = pci->irq; pci 943 sound/pci/ad1889.c pci_disable_device(pci); pci 949 sound/pci/ad1889.c snd_ad1889_probe(struct pci_dev *pci, pci 966 sound/pci/ad1889.c err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, pci 976 sound/pci/ad1889.c err = snd_ad1889_create(card, pci, &chip); pci 1003 sound/pci/ad1889.c pci_set_drvdata(pci, card); pci 1014 sound/pci/ad1889.c snd_ad1889_remove(struct pci_dev *pci) pci 1016 sound/pci/ad1889.c snd_card_free(pci_get_drvdata(pci)); pci 1023 sound/pci/ad1889.c MODULE_DEVICE_TABLE(pci, snd_ad1889_ids); pci 222 sound/pci/ali5451/ali5451.c struct pci_dev *pci; pci 256 sound/pci/ali5451/ali5451.c MODULE_DEVICE_TABLE(pci, snd_ali_ids); pci 436 sound/pci/ali5451/ali5451.c pci_dev = codec->pci; pci 1675 sound/pci/ali5451/ali5451.c snd_dma_pci_data(codec->pci), pci 1955 sound/pci/ali5451/ali5451.c pci_release_regions(codec->pci); pci 1956 sound/pci/ali5451/ali5451.c pci_disable_device(codec->pci); pci 1991 sound/pci/ali5451/ali5451.c pci_read_config_dword(codec->pci, 0x44, &legacy); pci 1994 sound/pci/ali5451/ali5451.c pci_write_config_dword(codec->pci, 0x44, legacy); pci 2046 sound/pci/ali5451/ali5451.c err = pci_request_regions(codec->pci, "ALI 5451"); pci 2049 sound/pci/ali5451/ali5451.c codec->port = pci_resource_start(codec->pci, 0); pci 2051 sound/pci/ali5451/ali5451.c if (request_irq(codec->pci->irq, snd_ali_card_interrupt, pci 2056 sound/pci/ali5451/ali5451.c codec->irq = codec->pci->irq; pci 2068 sound/pci/ali5451/ali5451.c struct pci_dev *pci, pci 2085 sound/pci/ali5451/ali5451.c err = pci_enable_device(pci); pci 2089 sound/pci/ali5451/ali5451.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(31)) < 0 || pci 2090 sound/pci/ali5451/ali5451.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(31)) < 0) { pci 2093 sound/pci/ali5451/ali5451.c pci_disable_device(pci); pci 2099 sound/pci/ali5451/ali5451.c pci_disable_device(pci); pci 2107 sound/pci/ali5451/ali5451.c codec->pci = pci; pci 2109 sound/pci/ali5451/ali5451.c codec->revision = pci->revision; pci 2117 sound/pci/ali5451/ali5451.c pci_set_master(pci); pci 2118 sound/pci/ali5451/ali5451.c pci_read_config_word(pci, PCI_COMMAND, &cmdw); pci 2121 sound/pci/ali5451/ali5451.c pci_write_config_word(pci, PCI_COMMAND, cmdw); pci 2123 sound/pci/ali5451/ali5451.c pci_set_master(pci); pci 2130 sound/pci/ali5451/ali5451.c synchronize_irq(pci->irq); pci 2199 sound/pci/ali5451/ali5451.c static int snd_ali_probe(struct pci_dev *pci, pci 2206 sound/pci/ali5451/ali5451.c dev_dbg(&pci->dev, "probe ...\n"); pci 2208 sound/pci/ali5451/ali5451.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 2212 sound/pci/ali5451/ali5451.c err = snd_ali_create(card, pci, pcm_channels, spdif, &codec); pci 2217 sound/pci/ali5451/ali5451.c dev_dbg(&pci->dev, "mixer building ...\n"); pci 2222 sound/pci/ali5451/ali5451.c dev_dbg(&pci->dev, "pcm building ...\n"); pci 2235 sound/pci/ali5451/ali5451.c dev_dbg(&pci->dev, "register card.\n"); pci 2240 sound/pci/ali5451/ali5451.c pci_set_drvdata(pci, card); pci 2248 sound/pci/ali5451/ali5451.c static void snd_ali_remove(struct pci_dev *pci) pci 2250 sound/pci/ali5451/ali5451.c snd_card_free(pci_get_drvdata(pci)); pci 106 sound/pci/als300.c struct pci_dev *pci; pci 136 sound/pci/als300.c MODULE_DEVICE_TABLE(pci, snd_als300_ids); pci 172 sound/pci/als300.c pci_release_regions(chip->pci); pci 173 sound/pci/als300.c pci_disable_device(chip->pci); pci 252 sound/pci/als300.c static void snd_als300_remove(struct pci_dev *pci) pci 254 sound/pci/als300.c snd_card_free(pci_get_drvdata(pci)); pci 595 sound/pci/als300.c snd_dma_pci_data(chip->pci), 64*1024, 64*1024); pci 633 sound/pci/als300.c struct pci_dev *pci, int chip_type, pci 645 sound/pci/als300.c if ((err = pci_enable_device(pci)) < 0) pci 648 sound/pci/als300.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || pci 649 sound/pci/als300.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { pci 651 sound/pci/als300.c pci_disable_device(pci); pci 654 sound/pci/als300.c pci_set_master(pci); pci 658 sound/pci/als300.c pci_disable_device(pci); pci 663 sound/pci/als300.c chip->pci = pci; pci 668 sound/pci/als300.c if ((err = pci_request_regions(pci, "ALS300")) < 0) { pci 670 sound/pci/als300.c pci_disable_device(pci); pci 673 sound/pci/als300.c chip->port = pci_resource_start(pci, 0); pci 680 sound/pci/als300.c if (request_irq(pci->irq, irq_handler, IRQF_SHARED, pci 682 sound/pci/als300.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 686 sound/pci/als300.c chip->irq = pci->irq; pci 743 sound/pci/als300.c static int snd_als300_probe(struct pci_dev *pci, pci 758 sound/pci/als300.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 766 sound/pci/als300.c if ((err = snd_als300_create(card, pci, chip_type, &chip)) < 0) { pci 787 sound/pci/als300.c pci_set_drvdata(pci, card); pci 98 sound/pci/als4000.c struct pci_dev *pci; pci 110 sound/pci/als4000.c MODULE_DEVICE_TABLE(pci, snd_als4000_ids); pci 696 sound/pci/als4000.c snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 780 sound/pci/als4000.c dev_warn(&acard->pci->dev, "cannot reserve joystick ports\n"); pci 786 sound/pci/als4000.c dev_err(&acard->pci->dev, "cannot allocate memory for gameport\n"); pci 792 sound/pci/als4000.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(acard->pci)); pci 793 sound/pci/als4000.c gameport_set_dev_parent(gp, &acard->pci->dev); pci 832 sound/pci/als4000.c pci_release_regions(acard->pci); pci 833 sound/pci/als4000.c pci_disable_device(acard->pci); pci 836 sound/pci/als4000.c static int snd_card_als4000_probe(struct pci_dev *pci, pci 856 sound/pci/als4000.c if ((err = pci_enable_device(pci)) < 0) { pci 860 sound/pci/als4000.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(24)) < 0 || pci 861 sound/pci/als4000.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(24)) < 0) { pci 862 sound/pci/als4000.c dev_err(&pci->dev, "architecture does not support 24bit PCI busmaster DMA\n"); pci 863 sound/pci/als4000.c pci_disable_device(pci); pci 867 sound/pci/als4000.c if ((err = pci_request_regions(pci, "ALS4000")) < 0) { pci 868 sound/pci/als4000.c pci_disable_device(pci); pci 871 sound/pci/als4000.c iobase = pci_resource_start(pci, 0); pci 873 sound/pci/als4000.c pci_read_config_word(pci, PCI_COMMAND, &word); pci 874 sound/pci/als4000.c pci_write_config_word(pci, PCI_COMMAND, word | PCI_COMMAND_IO); pci 875 sound/pci/als4000.c pci_set_master(pci); pci 877 sound/pci/als4000.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 881 sound/pci/als4000.c pci_release_regions(pci); pci 882 sound/pci/als4000.c pci_disable_device(pci); pci 887 sound/pci/als4000.c acard->pci = pci; pci 896 sound/pci/als4000.c pci->irq, pci 907 sound/pci/als4000.c chip->pci = pci; pci 922 sound/pci/als4000.c dev_err(&pci->dev, "no MPU-401 device at 0x%lx?\n", pci 943 sound/pci/als4000.c dev_err(&pci->dev, "no OPL device at 0x%lx-0x%lx?\n", pci 957 sound/pci/als4000.c pci_set_drvdata(pci, card); pci 969 sound/pci/als4000.c static void snd_card_als4000_remove(struct pci_dev *pci) pci 971 sound/pci/als4000.c snd_card_free(pci_get_drvdata(pci)); pci 111 sound/pci/asihpi/asihpi.c struct pci_dev *pci; pci 372 sound/pci/asihpi/asihpi.c dev_err(&asihpi->pci->dev, pci 1328 sound/pci/asihpi/asihpi.c snd_dma_pci_data(asihpi->pci), pci 1418 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, "added %s(%d)\n", ctl->name, ctl->index); pci 2629 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, pci 2694 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, pci 2710 sound/pci/asihpi/asihpi.c dev_info(&asihpi->pci->dev, "%d mixer controls found\n", idx); pci 2872 sound/pci/asihpi/asihpi.c asihpi->pci = pci_dev; pci 3011 sound/pci/asihpi/asihpi.c MODULE_DEVICE_TABLE(pci, asihpi_pci_tbl); pci 417 sound/pci/asihpi/hpi6000.c ao.pci = *phm->u.s.resource.r.pci; pci 472 sound/pci/asihpi/hpi6000.c phw->dw2040_HPICSR = pao->pci.ap_mem_base[0]; pci 473 sound/pci/asihpi/hpi6000.c phw->dw2040_HPIDSP = pao->pci.ap_mem_base[1]; pci 649 sound/pci/asihpi/hpi6000.c switch (pao->pci.pci_dev->subsystem_device) { pci 936 sound/pci/asihpi/hpi6000.c error = hpi_dsp_code_open(boot_load_family, pao->pci.pci_dev, pci 1089 sound/pci/asihpi/hpi6000.c if (HPI_ADAPTER_FAMILY_ASI(pao->pci.pci_dev-> pci 1095 sound/pci/asihpi/hpi6000.c if (HPI_ADAPTER_FAMILY_ASI(pao->pci.pci_dev-> pci 471 sound/pci/asihpi/hpi6205.c ao.pci = *phm->u.s.resource.r.pci; pci 532 sound/pci/asihpi/hpi6205.c pao->pci.ap_mem_base[1] + pci 533 sound/pci/asihpi/hpi6205.c C6205_BAR1_HSR / sizeof(*pao->pci.ap_mem_base[1]); pci 535 sound/pci/asihpi/hpi6205.c pao->pci.ap_mem_base[1] + pci 536 sound/pci/asihpi/hpi6205.c C6205_BAR1_HDCR / sizeof(*pao->pci.ap_mem_base[1]); pci 538 sound/pci/asihpi/hpi6205.c pao->pci.ap_mem_base[1] + pci 539 sound/pci/asihpi/hpi6205.c C6205_BAR1_DSPP / sizeof(*pao->pci.ap_mem_base[1]); pci 545 sound/pci/asihpi/hpi6205.c pao->pci.pci_dev)) pci 589 sound/pci/asihpi/hpi6205.c pao->pci.pci_dev); pci 766 sound/pci/asihpi/hpi6205.c pao->pci.pci_dev); pci 1048 sound/pci/asihpi/hpi6205.c pao->pci.pci_dev); pci 1268 sound/pci/asihpi/hpi6205.c boot_code_id[1] = pao->pci.pci_dev->subsystem_device; pci 1381 sound/pci/asihpi/hpi6205.c err = hpi_dsp_code_open(boot_code_id[dsp], pao->pci.pci_dev, pci 1523 sound/pci/asihpi/hpi6205.c p_data = pao->pci.ap_mem_base[1] + pci 1525 sound/pci/asihpi/hpi6205.c sizeof(*pao->pci.ap_mem_base[1]); pci 1538 sound/pci/asihpi/hpi6205.c p_data = pao->pci.ap_mem_base[0] + pci 1566 sound/pci/asihpi/hpi6205.c p_data = pao->pci.ap_mem_base[1] + pci 1568 sound/pci/asihpi/hpi6205.c sizeof(*pao->pci.ap_mem_base[1]); pci 1580 sound/pci/asihpi/hpi6205.c p_data = pao->pci.ap_mem_base[0] + pci 1931 sound/pci/asihpi/hpi6205.c if (pao->pci.pci_dev->subsystem_device == 0x5000) { pci 1956 sound/pci/asihpi/hpi6205.c if (pao->pci.pci_dev->subsystem_device == 0x5000) { pci 1969 sound/pci/asihpi/hpi6205.c if (pao->pci.pci_dev->subsystem_device == 0x8700) { pci 554 sound/pci/asihpi/hpi_internal.h const struct hpi_pci *pci; pci 20 sound/pci/asihpi/hpicmn.h struct hpi_pci pci; /* PCI info - bus#,dev#,address etc */ pci 707 sound/pci/asihpi/hpimsgx.c hpi_lookup_entry_point_function(phm->u.s.resource.r.pci); pci 346 sound/pci/asihpi/hpioctl.c struct hpi_pci pci; pci 378 sound/pci/asihpi/hpioctl.c pci.ap_mem_base[idx] = pci 381 sound/pci/asihpi/hpioctl.c if (!pci.ap_mem_base[idx]) { pci 390 sound/pci/asihpi/hpioctl.c pci.pci_dev = pci_dev; pci 392 sound/pci/asihpi/hpioctl.c hm.u.s.resource.r.pci = &pci; pci 503 sound/pci/asihpi/hpioctl.c if (pci.ap_mem_base[idx]) { pci 504 sound/pci/asihpi/hpioctl.c iounmap(pci.ap_mem_base[idx]); pci 505 sound/pci/asihpi/hpioctl.c pci.ap_mem_base[idx] = NULL; pci 524 sound/pci/asihpi/hpioctl.c struct hpi_pci pci; pci 527 sound/pci/asihpi/hpioctl.c pci = pa->adapter->pci; pci 545 sound/pci/asihpi/hpioctl.c iounmap(pci.ap_mem_base[idx]); pci 249 sound/pci/atiixp.c struct pci_dev *pci; pci 283 sound/pci/atiixp.c MODULE_DEVICE_TABLE(pci, snd_atiixp_ids); pci 356 sound/pci/atiixp.c snd_dma_pci_data(chip->pci), pci 550 sound/pci/atiixp.c static int ac97_probing_bugs(struct pci_dev *pci) pci 554 sound/pci/atiixp.c q = snd_pci_quirk_lookup(pci, atiixp_quirks); pci 556 sound/pci/atiixp.c dev_dbg(&pci->dev, "atiixp quirk for %s. Forcing codec %d\n", pci 570 sound/pci/atiixp.c ac97_codec = ac97_probing_bugs(chip->pci); pci 1287 sound/pci/atiixp.c snd_dma_pci_data(chip->pci), pci 1320 sound/pci/atiixp.c snd_dma_pci_data(chip->pci), pci 1439 sound/pci/atiixp.c ac97.pci = chip->pci; pci 1550 sound/pci/atiixp.c pci_release_regions(chip->pci); pci 1551 sound/pci/atiixp.c pci_disable_device(chip->pci); pci 1566 sound/pci/atiixp.c struct pci_dev *pci, pci 1575 sound/pci/atiixp.c if ((err = pci_enable_device(pci)) < 0) pci 1580 sound/pci/atiixp.c pci_disable_device(pci); pci 1587 sound/pci/atiixp.c chip->pci = pci; pci 1589 sound/pci/atiixp.c if ((err = pci_request_regions(pci, "ATI IXP AC97")) < 0) { pci 1590 sound/pci/atiixp.c pci_disable_device(pci); pci 1594 sound/pci/atiixp.c chip->addr = pci_resource_start(pci, 0); pci 1595 sound/pci/atiixp.c chip->remap_addr = pci_ioremap_bar(pci, 0); pci 1602 sound/pci/atiixp.c if (request_irq(pci->irq, snd_atiixp_interrupt, IRQF_SHARED, pci 1604 sound/pci/atiixp.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1608 sound/pci/atiixp.c chip->irq = pci->irq; pci 1609 sound/pci/atiixp.c pci_set_master(pci); pci 1622 sound/pci/atiixp.c static int snd_atiixp_probe(struct pci_dev *pci, pci 1629 sound/pci/atiixp.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 1635 sound/pci/atiixp.c if ((err = snd_atiixp_create(card, pci, &chip)) < 0) pci 1656 sound/pci/atiixp.c pci->revision, pci 1663 sound/pci/atiixp.c pci_set_drvdata(pci, card); pci 1671 sound/pci/atiixp.c static void snd_atiixp_remove(struct pci_dev *pci) pci 1673 sound/pci/atiixp.c snd_card_free(pci_get_drvdata(pci)); pci 223 sound/pci/atiixp_modem.c struct pci_dev *pci; pci 256 sound/pci/atiixp_modem.c MODULE_DEVICE_TABLE(pci, snd_atiixp_ids); pci 324 sound/pci/atiixp_modem.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 998 sound/pci/atiixp_modem.c snd_dma_pci_data(chip->pci), pci 1080 sound/pci/atiixp_modem.c ac97.pci = chip->pci; pci 1178 sound/pci/atiixp_modem.c pci_release_regions(chip->pci); pci 1179 sound/pci/atiixp_modem.c pci_disable_device(chip->pci); pci 1194 sound/pci/atiixp_modem.c struct pci_dev *pci, pci 1203 sound/pci/atiixp_modem.c if ((err = pci_enable_device(pci)) < 0) pci 1208 sound/pci/atiixp_modem.c pci_disable_device(pci); pci 1215 sound/pci/atiixp_modem.c chip->pci = pci; pci 1217 sound/pci/atiixp_modem.c if ((err = pci_request_regions(pci, "ATI IXP MC97")) < 0) { pci 1219 sound/pci/atiixp_modem.c pci_disable_device(pci); pci 1222 sound/pci/atiixp_modem.c chip->addr = pci_resource_start(pci, 0); pci 1223 sound/pci/atiixp_modem.c chip->remap_addr = pci_ioremap_bar(pci, 0); pci 1230 sound/pci/atiixp_modem.c if (request_irq(pci->irq, snd_atiixp_interrupt, IRQF_SHARED, pci 1232 sound/pci/atiixp_modem.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1236 sound/pci/atiixp_modem.c chip->irq = pci->irq; pci 1237 sound/pci/atiixp_modem.c pci_set_master(pci); pci 1250 sound/pci/atiixp_modem.c static int snd_atiixp_probe(struct pci_dev *pci, pci 1257 sound/pci/atiixp_modem.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 1263 sound/pci/atiixp_modem.c if ((err = snd_atiixp_create(card, pci, &chip)) < 0) pci 1281 sound/pci/atiixp_modem.c card->shortname, pci->revision, chip->addr, chip->irq); pci 1286 sound/pci/atiixp_modem.c pci_set_drvdata(pci, card); pci 1294 sound/pci/atiixp_modem.c static void snd_atiixp_remove(struct pci_dev *pci) pci 1296 sound/pci/atiixp_modem.c snd_card_free(pci_get_drvdata(pci)); pci 46 sound/pci/au88x0/au88x0.c MODULE_DEVICE_TABLE(pci, snd_vortex_ids); pci 141 sound/pci/au88x0/au88x0.c snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) pci 152 sound/pci/au88x0/au88x0.c if ((err = pci_enable_device(pci)) < 0) pci 154 sound/pci/au88x0/au88x0.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0 || pci 155 sound/pci/au88x0/au88x0.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 157 sound/pci/au88x0/au88x0.c pci_disable_device(pci); pci 163 sound/pci/au88x0/au88x0.c pci_disable_device(pci); pci 170 sound/pci/au88x0/au88x0.c chip->pci_dev = pci; pci 171 sound/pci/au88x0/au88x0.c chip->io = pci_resource_start(pci, 0); pci 172 sound/pci/au88x0/au88x0.c chip->vendor = pci->vendor; pci 173 sound/pci/au88x0/au88x0.c chip->device = pci->device; pci 180 sound/pci/au88x0/au88x0.c if ((err = pci_request_regions(pci, CARD_NAME_SHORT)) != 0) pci 183 sound/pci/au88x0/au88x0.c chip->mmio = pci_ioremap_bar(pci, 0); pci 198 sound/pci/au88x0/au88x0.c if ((err = request_irq(pci->irq, vortex_interrupt, pci 204 sound/pci/au88x0/au88x0.c chip->irq = pci->irq; pci 206 sound/pci/au88x0/au88x0.c pci_set_master(pci); pci 236 sound/pci/au88x0/au88x0.c snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 251 sound/pci/au88x0/au88x0.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 257 sound/pci/au88x0/au88x0.c if ((err = snd_vortex_create(card, pci, &chip)) < 0) { pci 261 sound/pci/au88x0/au88x0.c snd_vortex_workaround(pci, pcifix[dev]); pci 332 sound/pci/au88x0/au88x0.c if ((err = pci_read_config_word(pci, PCI_DEVICE_ID, pci 337 sound/pci/au88x0/au88x0.c if ((err = pci_read_config_word(pci, PCI_VENDOR_ID, pci 342 sound/pci/au88x0/au88x0.c chip->rev = pci->revision; pci 362 sound/pci/au88x0/au88x0.c pci_set_drvdata(pci, card); pci 370 sound/pci/au88x0/au88x0.c static void snd_vortex_remove(struct pci_dev *pci) pci 372 sound/pci/au88x0/au88x0.c snd_card_free(pci_get_drvdata(pci)); pci 85 sound/pci/aw2/aw2-alsa.c struct pci_dev *pci; pci 104 sound/pci/aw2/aw2-alsa.c struct pci_dev *pci, struct aw2 **rchip); pci 105 sound/pci/aw2/aw2-alsa.c static int snd_aw2_probe(struct pci_dev *pci, pci 107 sound/pci/aw2/aw2-alsa.c static void snd_aw2_remove(struct pci_dev *pci); pci 156 sound/pci/aw2/aw2-alsa.c MODULE_DEVICE_TABLE(pci, snd_aw2_ids); pci 220 sound/pci/aw2/aw2-alsa.c pci_release_regions(chip->pci); pci 222 sound/pci/aw2/aw2-alsa.c pci_disable_device(chip->pci); pci 231 sound/pci/aw2/aw2-alsa.c struct pci_dev *pci, struct aw2 **rchip) pci 242 sound/pci/aw2/aw2-alsa.c err = pci_enable_device(pci); pci 245 sound/pci/aw2/aw2-alsa.c pci_set_master(pci); pci 248 sound/pci/aw2/aw2-alsa.c if ((dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) || pci 249 sound/pci/aw2/aw2-alsa.c (dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0)) { pci 251 sound/pci/aw2/aw2-alsa.c pci_disable_device(pci); pci 256 sound/pci/aw2/aw2-alsa.c pci_disable_device(pci); pci 262 sound/pci/aw2/aw2-alsa.c chip->pci = pci; pci 266 sound/pci/aw2/aw2-alsa.c err = pci_request_regions(pci, "Audiowerk2"); pci 268 sound/pci/aw2/aw2-alsa.c pci_disable_device(pci); pci 272 sound/pci/aw2/aw2-alsa.c chip->iobase_phys = pci_resource_start(pci, 0); pci 275 sound/pci/aw2/aw2-alsa.c pci_resource_len(pci, 0)); pci 279 sound/pci/aw2/aw2-alsa.c pci_release_regions(pci); pci 280 sound/pci/aw2/aw2-alsa.c pci_disable_device(pci); pci 288 sound/pci/aw2/aw2-alsa.c if (request_irq(pci->irq, snd_aw2_saa7146_interrupt, pci 290 sound/pci/aw2/aw2-alsa.c dev_err(card->dev, "Cannot grab irq %d\n", pci->irq); pci 293 sound/pci/aw2/aw2-alsa.c pci_release_regions(chip->pci); pci 294 sound/pci/aw2/aw2-alsa.c pci_disable_device(chip->pci); pci 298 sound/pci/aw2/aw2-alsa.c chip->irq = pci->irq; pci 304 sound/pci/aw2/aw2-alsa.c pci_release_regions(chip->pci); pci 305 sound/pci/aw2/aw2-alsa.c pci_disable_device(chip->pci); pci 318 sound/pci/aw2/aw2-alsa.c static int snd_aw2_probe(struct pci_dev *pci, pci 335 sound/pci/aw2/aw2-alsa.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 341 sound/pci/aw2/aw2-alsa.c err = snd_aw2_create(card, pci, &chip); pci 369 sound/pci/aw2/aw2-alsa.c pci_set_drvdata(pci, card); pci 376 sound/pci/aw2/aw2-alsa.c static void snd_aw2_remove(struct pci_dev *pci) pci 378 sound/pci/aw2/aw2-alsa.c snd_card_free(pci_get_drvdata(pci)); pci 616 sound/pci/aw2/aw2-alsa.c snd_dma_pci_data(chip->pci), pci 648 sound/pci/aw2/aw2-alsa.c snd_dma_pci_data(chip->pci), pci 681 sound/pci/aw2/aw2-alsa.c snd_dma_pci_data(chip->pci), pci 290 sound/pci/azt3328.c struct pci_dev *pci; pci 316 sound/pci/azt3328.c MODULE_DEVICE_TABLE(pci, snd_azf3328_ids); pci 771 sound/pci/azt3328.c ac97.pci = chip->pci; pci 1820 sound/pci/azt3328.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 1821 sound/pci/azt3328.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 2138 sound/pci/azt3328.c snd_dma_pci_data(chip->pci), pci 2154 sound/pci/azt3328.c snd_dma_pci_data(chip->pci), pci 2286 sound/pci/azt3328.c pci_release_regions(chip->pci); pci 2287 sound/pci/azt3328.c pci_disable_device(chip->pci); pci 2377 sound/pci/azt3328.c struct pci_dev *pci, pci 2392 sound/pci/azt3328.c err = pci_enable_device(pci); pci 2403 sound/pci/azt3328.c chip->pci = pci; pci 2407 sound/pci/azt3328.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(24)) < 0 || pci 2408 sound/pci/azt3328.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(24)) < 0) { pci 2416 sound/pci/azt3328.c err = pci_request_regions(pci, "Aztech AZF3328"); pci 2420 sound/pci/azt3328.c chip->ctrl_io = pci_resource_start(pci, 0); pci 2421 sound/pci/azt3328.c chip->game_io = pci_resource_start(pci, 1); pci 2422 sound/pci/azt3328.c chip->mpu_io = pci_resource_start(pci, 2); pci 2423 sound/pci/azt3328.c chip->opl3_io = pci_resource_start(pci, 3); pci 2424 sound/pci/azt3328.c chip->mixer_io = pci_resource_start(pci, 4); pci 2444 sound/pci/azt3328.c if (request_irq(pci->irq, snd_azf3328_interrupt, pci 2446 sound/pci/azt3328.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2450 sound/pci/azt3328.c chip->irq = pci->irq; pci 2451 sound/pci/azt3328.c pci_set_master(pci); pci 2493 sound/pci/azt3328.c pci_disable_device(pci); pci 2500 sound/pci/azt3328.c snd_azf3328_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 2518 sound/pci/azt3328.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2526 sound/pci/azt3328.c err = snd_azf3328_create(card, pci, pci_id->driver_data, &chip); pci 2592 sound/pci/azt3328.c pci_set_drvdata(pci, card); pci 2607 sound/pci/azt3328.c snd_azf3328_remove(struct pci_dev *pci) pci 2609 sound/pci/azt3328.c snd_card_free(pci_get_drvdata(pci)); pci 179 sound/pci/bt87x.c struct pci_dev *pci; pci 220 sound/pci/bt87x.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 276 sound/pci/bt87x.c pci_read_config_word(chip->pci, PCI_STATUS, &pci_status); pci 280 sound/pci/bt87x.c pci_write_config_word(chip->pci, PCI_STATUS, pci_status); pci 680 sound/pci/bt87x.c pci_release_regions(chip->pci); pci 681 sound/pci/bt87x.c pci_disable_device(chip->pci); pci 704 sound/pci/bt87x.c snd_dma_pci_data(chip->pci), pci 711 sound/pci/bt87x.c struct pci_dev *pci, pci 722 sound/pci/bt87x.c err = pci_enable_device(pci); pci 728 sound/pci/bt87x.c pci_disable_device(pci); pci 732 sound/pci/bt87x.c chip->pci = pci; pci 736 sound/pci/bt87x.c if ((err = pci_request_regions(pci, "Bt87x audio")) < 0) { pci 738 sound/pci/bt87x.c pci_disable_device(pci); pci 741 sound/pci/bt87x.c chip->mmio = pci_ioremap_bar(pci, 0); pci 755 sound/pci/bt87x.c err = request_irq(pci->irq, snd_bt87x_interrupt, IRQF_SHARED, pci 758 sound/pci/bt87x.c dev_err(card->dev, "cannot grab irq %d\n", pci->irq); pci 761 sound/pci/bt87x.c chip->irq = pci->irq; pci 762 sound/pci/bt87x.c pci_set_master(pci); pci 811 sound/pci/bt87x.c MODULE_DEVICE_TABLE(pci, snd_bt87x_ids); pci 834 sound/pci/bt87x.c static int snd_bt87x_detect_card(struct pci_dev *pci) pci 839 sound/pci/bt87x.c supported = pci_match_id(snd_bt87x_ids, pci); pci 844 sound/pci/bt87x.c if (blacklist[i].subvendor == pci->subsystem_vendor && pci 845 sound/pci/bt87x.c blacklist[i].subdevice == pci->subsystem_device) { pci 846 sound/pci/bt87x.c dev_dbg(&pci->dev, pci 848 sound/pci/bt87x.c pci->device, pci->subsystem_vendor, pci->subsystem_device); pci 852 sound/pci/bt87x.c dev_info(&pci->dev, "unknown card %#04x-%#04x:%#04x\n", pci 853 sound/pci/bt87x.c pci->device, pci->subsystem_vendor, pci->subsystem_device); pci 854 sound/pci/bt87x.c dev_info(&pci->dev, "please mail id, board name, and, " pci 860 sound/pci/bt87x.c static int snd_bt87x_probe(struct pci_dev *pci, pci 870 sound/pci/bt87x.c err = snd_bt87x_detect_card(pci); pci 884 sound/pci/bt87x.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 889 sound/pci/bt87x.c err = snd_bt87x_create(card, pci, &chip); pci 928 sound/pci/bt87x.c sprintf(card->shortname, "Brooktree Bt%x", pci->device); pci 930 sound/pci/bt87x.c card->shortname, (unsigned long long)pci_resource_start(pci, 0), pci 938 sound/pci/bt87x.c pci_set_drvdata(pci, card); pci 947 sound/pci/bt87x.c static void snd_bt87x_remove(struct pci_dev *pci) pci 949 sound/pci/bt87x.c snd_card_free(pci_get_drvdata(pci)); pci 667 sound/pci/ca0106/ca0106.h struct pci_dev *pci; pci 1250 sound/pci/ca0106/ca0106_main.c pci_disable_device(chip->pci); pci 1392 sound/pci/ca0106/ca0106_main.c snd_dma_pci_data(emu->pci), pci 1400 sound/pci/ca0106/ca0106_main.c snd_dma_pci_data(emu->pci), pci 1644 sound/pci/ca0106/ca0106_main.c struct pci_dev *pci, pci 1656 sound/pci/ca0106/ca0106_main.c err = pci_enable_device(pci); pci 1659 sound/pci/ca0106/ca0106_main.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0 || pci 1660 sound/pci/ca0106/ca0106_main.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 1662 sound/pci/ca0106/ca0106_main.c pci_disable_device(pci); pci 1668 sound/pci/ca0106/ca0106_main.c pci_disable_device(pci); pci 1673 sound/pci/ca0106/ca0106_main.c chip->pci = pci; pci 1678 sound/pci/ca0106/ca0106_main.c chip->port = pci_resource_start(pci, 0); pci 1686 sound/pci/ca0106/ca0106_main.c if (request_irq(pci->irq, snd_ca0106_interrupt, pci 1692 sound/pci/ca0106/ca0106_main.c chip->irq = pci->irq; pci 1695 sound/pci/ca0106/ca0106_main.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 1701 sound/pci/ca0106/ca0106_main.c pci_set_master(pci); pci 1703 sound/pci/ca0106/ca0106_main.c pci_read_config_dword(pci, PCI_SUBSYSTEM_VENDOR_ID, &chip->serial); pci 1704 sound/pci/ca0106/ca0106_main.c pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &chip->model); pci 1706 sound/pci/ca0106/ca0106_main.c chip->model, pci->revision, chip->serial); pci 1821 sound/pci/ca0106/ca0106_main.c static int snd_ca0106_probe(struct pci_dev *pci, pci 1836 sound/pci/ca0106/ca0106_main.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1841 sound/pci/ca0106/ca0106_main.c err = snd_ca0106_create(dev, card, pci, &chip); pci 1876 sound/pci/ca0106/ca0106_main.c pci_set_drvdata(pci, card); pci 1885 sound/pci/ca0106/ca0106_main.c static void snd_ca0106_remove(struct pci_dev *pci) pci 1887 sound/pci/ca0106/ca0106_main.c snd_card_free(pci_get_drvdata(pci)); pci 1936 sound/pci/ca0106/ca0106_main.c MODULE_DEVICE_TABLE(pci, snd_ca0106_ids); pci 448 sound/pci/cmipci.c struct pci_dev *pci; pci 1905 sound/pci/cmipci.c snd_dma_pci_data(cm->pci), 64*1024, 128*1024); pci 1927 sound/pci/cmipci.c snd_dma_pci_data(cm->pci), 64*1024, 128*1024); pci 1950 sound/pci/cmipci.c snd_dma_pci_data(cm->pci), 64*1024, 128*1024); pci 2882 sound/pci/cmipci.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(cm->pci)); pci 2883 sound/pci/cmipci.c gameport_set_dev_parent(gp, &cm->pci->dev); pci 2929 sound/pci/cmipci.c pci_release_regions(cm->pci); pci 2930 sound/pci/cmipci.c pci_disable_device(cm->pci); pci 2995 sound/pci/cmipci.c static int snd_cmipci_create(struct snd_card *card, struct pci_dev *pci, pci 3015 sound/pci/cmipci.c if ((err = pci_enable_device(pci)) < 0) pci 3020 sound/pci/cmipci.c pci_disable_device(pci); pci 3026 sound/pci/cmipci.c cm->device = pci->device; pci 3028 sound/pci/cmipci.c cm->pci = pci; pci 3034 sound/pci/cmipci.c if ((err = pci_request_regions(pci, card->driver)) < 0) { pci 3036 sound/pci/cmipci.c pci_disable_device(pci); pci 3039 sound/pci/cmipci.c cm->iobase = pci_resource_start(pci, 0); pci 3041 sound/pci/cmipci.c if (request_irq(pci->irq, snd_cmipci_interrupt, pci 3043 sound/pci/cmipci.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 3047 sound/pci/cmipci.c cm->irq = pci->irq; pci 3049 sound/pci/cmipci.c pci_set_master(cm->pci); pci 3059 sound/pci/cmipci.c if (pci->device != PCI_DEVICE_ID_CMEDIA_CM8338A && pci 3060 sound/pci/cmipci.c pci->device != PCI_DEVICE_ID_CMEDIA_CM8338B) pci 3102 sound/pci/cmipci.c switch (pci->device) { pci 3113 sound/pci/cmipci.c val = pci->device < 0x110 ? 8338 : 8738; pci 3123 sound/pci/cmipci.c switch ((pci->subsystem_vendor << 16) | pci 3124 sound/pci/cmipci.c pci->subsystem_device) { pci 3246 sound/pci/cmipci.c MODULE_DEVICE_TABLE(pci, snd_cmipci_ids); pci 3248 sound/pci/cmipci.c static int snd_cmipci_probe(struct pci_dev *pci, pci 3263 sound/pci/cmipci.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 3268 sound/pci/cmipci.c switch (pci->device) { pci 3282 sound/pci/cmipci.c err = snd_cmipci_create(card, pci, dev, &cm); pci 3292 sound/pci/cmipci.c pci_set_drvdata(pci, card); pci 3301 sound/pci/cmipci.c static void snd_cmipci_remove(struct pci_dev *pci) pci 3303 sound/pci/cmipci.c snd_card_free(pci_get_drvdata(pci)); pci 451 sound/pci/cs4281.c struct pci_dev *pci; pci 487 sound/pci/cs4281.c MODULE_DEVICE_TABLE(pci, snd_cs4281_ids); pci 978 sound/pci/cs4281.c snd_dma_pci_data(chip->pci), 64*1024, 512*1024); pci 1256 sound/pci/cs4281.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 1257 sound/pci/cs4281.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 1298 sound/pci/cs4281.c pci_set_power_state(chip->pci, PCI_D3hot); pci 1304 sound/pci/cs4281.c pci_release_regions(chip->pci); pci 1305 sound/pci/cs4281.c pci_disable_device(chip->pci); pci 1320 sound/pci/cs4281.c struct pci_dev *pci, pci 1332 sound/pci/cs4281.c if ((err = pci_enable_device(pci)) < 0) pci 1336 sound/pci/cs4281.c pci_disable_device(pci); pci 1341 sound/pci/cs4281.c chip->pci = pci; pci 1343 sound/pci/cs4281.c pci_set_master(pci); pci 1350 sound/pci/cs4281.c if ((err = pci_request_regions(pci, "CS4281")) < 0) { pci 1352 sound/pci/cs4281.c pci_disable_device(pci); pci 1355 sound/pci/cs4281.c chip->ba0_addr = pci_resource_start(pci, 0); pci 1356 sound/pci/cs4281.c chip->ba1_addr = pci_resource_start(pci, 1); pci 1358 sound/pci/cs4281.c chip->ba0 = pci_ioremap_bar(pci, 0); pci 1359 sound/pci/cs4281.c chip->ba1 = pci_ioremap_bar(pci, 1); pci 1365 sound/pci/cs4281.c if (request_irq(pci->irq, snd_cs4281_interrupt, IRQF_SHARED, pci 1367 sound/pci/cs4281.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1371 sound/pci/cs4281.c chip->irq = pci->irq; pci 1884 sound/pci/cs4281.c static int snd_cs4281_probe(struct pci_dev *pci, pci 1900 sound/pci/cs4281.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1905 sound/pci/cs4281.c if ((err = snd_cs4281_create(card, pci, &chip, dual_codec[dev])) < 0) { pci 1947 sound/pci/cs4281.c pci_set_drvdata(pci, card); pci 1952 sound/pci/cs4281.c static void snd_cs4281_remove(struct pci_dev *pci) pci 1954 sound/pci/cs4281.c snd_card_free(pci_get_drvdata(pci)); pci 59 sound/pci/cs46xx/cs46xx.c MODULE_DEVICE_TABLE(pci, snd_cs46xx_ids); pci 61 sound/pci/cs46xx/cs46xx.c static int snd_card_cs46xx_probe(struct pci_dev *pci, pci 76 sound/pci/cs46xx/cs46xx.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 80 sound/pci/cs46xx/cs46xx.c if ((err = snd_cs46xx_create(card, pci, pci 139 sound/pci/cs46xx/cs46xx.c pci_set_drvdata(pci, card); pci 144 sound/pci/cs46xx/cs46xx.c static void snd_card_cs46xx_remove(struct pci_dev *pci) pci 146 sound/pci/cs46xx/cs46xx.c snd_card_free(pci_get_drvdata(pci)); pci 1672 sound/pci/cs46xx/cs46xx.h struct pci_dev *pci; pci 1720 sound/pci/cs46xx/cs46xx.h struct pci_dev *pci, pci 394 sound/pci/cs46xx/cs46xx_lib.c err = request_firmware(&fw, fw_path, &chip->pci->dev); pci 506 sound/pci/cs46xx/cs46xx_lib.c err = request_firmware(&fw, "cs46xx/ba1", &chip->pci->dev); pci 1497 sound/pci/cs46xx/cs46xx_lib.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 1585 sound/pci/cs46xx/cs46xx_lib.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 1787 sound/pci/cs46xx/cs46xx_lib.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1812 sound/pci/cs46xx/cs46xx_lib.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1835 sound/pci/cs46xx/cs46xx_lib.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1858 sound/pci/cs46xx/cs46xx_lib.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 2778 sound/pci/cs46xx/cs46xx_lib.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 2779 sound/pci/cs46xx/cs46xx_lib.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 2959 sound/pci/cs46xx/cs46xx_lib.c pci_disable_device(chip->pci); pci 3864 sound/pci/cs46xx/cs46xx_lib.c struct pci_dev *pci, pci 3880 sound/pci/cs46xx/cs46xx_lib.c if ((err = pci_enable_device(pci)) < 0) pci 3885 sound/pci/cs46xx/cs46xx_lib.c pci_disable_device(pci); pci 3893 sound/pci/cs46xx/cs46xx_lib.c chip->pci = pci; pci 3895 sound/pci/cs46xx/cs46xx_lib.c chip->ba0_addr = pci_resource_start(pci, 0); pci 3896 sound/pci/cs46xx/cs46xx_lib.c chip->ba1_addr = pci_resource_start(pci, 1); pci 3932 sound/pci/cs46xx/cs46xx_lib.c pci_read_config_word(pci, PCI_SUBSYSTEM_VENDOR_ID, &ss_vendor); pci 3933 sound/pci/cs46xx/cs46xx_lib.c pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &ss_card); pci 3970 sound/pci/cs46xx/cs46xx_lib.c pci_set_master(pci); pci 3991 sound/pci/cs46xx/cs46xx_lib.c if (request_irq(pci->irq, snd_cs46xx_interrupt, IRQF_SHARED, pci 3993 sound/pci/cs46xx/cs46xx_lib.c dev_err(chip->card->dev, "unable to grab IRQ %d\n", pci->irq); pci 3997 sound/pci/cs46xx/cs46xx_lib.c chip->irq = pci->irq; pci 55 sound/pci/cs5530.c struct pci_dev *pci; pci 66 sound/pci/cs5530.c MODULE_DEVICE_TABLE(pci, snd_cs5530_ids); pci 70 sound/pci/cs5530.c pci_release_regions(chip->pci); pci 71 sound/pci/cs5530.c pci_disable_device(chip->pci); pci 82 sound/pci/cs5530.c static void snd_cs5530_remove(struct pci_dev *pci) pci 84 sound/pci/cs5530.c snd_card_free(pci_get_drvdata(pci)); pci 97 sound/pci/cs5530.c struct pci_dev *pci, pci 112 sound/pci/cs5530.c err = pci_enable_device(pci); pci 118 sound/pci/cs5530.c pci_disable_device(pci); pci 123 sound/pci/cs5530.c chip->pci = pci; pci 125 sound/pci/cs5530.c err = pci_request_regions(pci, "CS5530"); pci 128 sound/pci/cs5530.c pci_disable_device(pci); pci 131 sound/pci/cs5530.c chip->pci_base = pci_resource_start(pci, 0); pci 133 sound/pci/cs5530.c mem = pci_ioremap_bar(pci, 0); pci 241 sound/pci/cs5530.c static int snd_cs5530_probe(struct pci_dev *pci, pci 256 sound/pci/cs5530.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 262 sound/pci/cs5530.c err = snd_cs5530_create(card, pci, &chip); pci 277 sound/pci/cs5530.c pci_set_drvdata(pci, card); pci 61 sound/pci/cs5535audio/cs5535audio.c MODULE_DEVICE_TABLE(pci, snd_cs5535audio_ids); pci 153 sound/pci/cs5535audio/cs5535audio.c ac97.pci = cs5535au->pci; pci 241 sound/pci/cs5535audio/cs5535audio.c pci_set_power_state(cs5535au->pci, PCI_D3hot); pci 246 sound/pci/cs5535audio/cs5535audio.c pci_release_regions(cs5535au->pci); pci 247 sound/pci/cs5535audio/cs5535audio.c pci_disable_device(cs5535au->pci); pci 259 sound/pci/cs5535audio/cs5535audio.c struct pci_dev *pci, pci 270 sound/pci/cs5535audio/cs5535audio.c if ((err = pci_enable_device(pci)) < 0) pci 273 sound/pci/cs5535audio/cs5535audio.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0 || pci 274 sound/pci/cs5535audio/cs5535audio.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 288 sound/pci/cs5535audio/cs5535audio.c cs5535au->pci = pci; pci 291 sound/pci/cs5535audio/cs5535audio.c if ((err = pci_request_regions(pci, "CS5535 Audio")) < 0) { pci 296 sound/pci/cs5535audio/cs5535audio.c cs5535au->port = pci_resource_start(pci, 0); pci 298 sound/pci/cs5535audio/cs5535audio.c if (request_irq(pci->irq, snd_cs5535audio_interrupt, pci 300 sound/pci/cs5535audio/cs5535audio.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 305 sound/pci/cs5535audio/cs5535audio.c cs5535au->irq = pci->irq; pci 306 sound/pci/cs5535audio/cs5535audio.c pci_set_master(pci); pci 320 sound/pci/cs5535audio/cs5535audio.c pci_disable_device(pci); pci 324 sound/pci/cs5535audio/cs5535audio.c static int snd_cs5535audio_probe(struct pci_dev *pci, pci 339 sound/pci/cs5535audio/cs5535audio.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 344 sound/pci/cs5535audio/cs5535audio.c if ((err = snd_cs5535audio_create(card, pci, &cs5535au)) < 0) pci 365 sound/pci/cs5535audio/cs5535audio.c pci_set_drvdata(pci, card); pci 374 sound/pci/cs5535audio/cs5535audio.c static void snd_cs5535audio_remove(struct pci_dev *pci) pci 377 sound/pci/cs5535audio/cs5535audio.c snd_card_free(pci_get_drvdata(pci)); pci 90 sound/pci/cs5535audio/cs5535audio.h struct pci_dev *pci; pci 120 sound/pci/cs5535audio/cs5535audio_pcm.c snd_dma_pci_data(cs5535au->pci), pci 435 sound/pci/cs5535audio/cs5535audio_pcm.c snd_dma_pci_data(cs5535au->pci), pci 1278 sound/pci/ctxfi/ctatc.c vendor_id = atc->pci->subsystem_vendor; pci 1279 sound/pci/ctxfi/ctatc.c device_id = atc->pci->subsystem_device; pci 1332 sound/pci/ctxfi/ctatc.c err = create_hw_obj(atc->pci, atc->chip_type, atc->model, &hw); pci 1666 sound/pci/ctxfi/ctatc.c int ct_atc_create(struct snd_card *card, struct pci_dev *pci, pci 1687 sound/pci/ctxfi/ctatc.c atc->pci = pci; pci 1702 sound/pci/ctxfi/ctatc.c err = ct_vm_create(&atc->vm, pci); pci 74 sound/pci/ctxfi/ctatc.h struct pci_dev *pci; pci 151 sound/pci/ctxfi/ctatc.h int ct_atc_create(struct snd_card *card, struct pci_dev *pci, pci 19 sound/pci/ctxfi/cthardware.c int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, pci 38 sound/pci/ctxfi/cthardware.c (*rhw)->pci = pci; pci 49 sound/pci/ctxfi/cthardware.c switch (hw->pci->device) { pci 183 sound/pci/ctxfi/cthardware.h struct pci_dev *pci; /* the pci kernel structure of this card */ pci 193 sound/pci/ctxfi/cthardware.h int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, pci 1789 sound/pci/ctxfi/cthw20k1.c static int uaa_to_xfi(struct pci_dev *pci) pci 1807 sound/pci/ctxfi/cthw20k1.c io_base = pci_resource_start(pci, 0); pci 1808 sound/pci/ctxfi/cthw20k1.c mem_base = ioremap(io_base, pci_resource_len(pci, 0)); pci 1837 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_0, &bar0); pci 1838 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_1, &bar1); pci 1839 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_2, &bar2); pci 1840 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_3, &bar3); pci 1841 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_4, &bar4); pci 1842 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_BASE_ADDRESS_5, &bar5); pci 1843 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_INTERRUPT_LINE, &irq); pci 1844 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_CACHE_LINE_SIZE, &cl_size); pci 1845 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_LATENCY_TIMER, &l_timer); pci 1846 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, UAA_CFG_PWRSTATUS, &pwr); pci 1847 sound/pci/ctxfi/cthw20k1.c pci_read_config_dword(pci, PCI_COMMAND, &cmd); pci 1851 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, UAA_CFG_SPACE_FLAG, 0x87654321); pci 1853 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_0, bar5); pci 1855 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, UAA_CFG_SPACE_FLAG, 0x12345678); pci 1856 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_1, bar1); pci 1857 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_2, bar2); pci 1858 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_3, bar3); pci 1859 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_4, bar4); pci 1860 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_INTERRUPT_LINE, irq); pci 1861 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_CACHE_LINE_SIZE, cl_size); pci 1862 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_LATENCY_TIMER, l_timer); pci 1863 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, UAA_CFG_PWRSTATUS, pwr); pci 1864 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, PCI_COMMAND, cmd); pci 1896 sound/pci/ctxfi/cthw20k1.c struct pci_dev *pci = hw->pci; pci 1899 sound/pci/ctxfi/cthw20k1.c err = pci_enable_device(pci); pci 1904 sound/pci/ctxfi/cthw20k1.c if (!dma_set_mask(&pci->dev, DMA_BIT_MASK(dma_bits))) { pci 1905 sound/pci/ctxfi/cthw20k1.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(dma_bits)); pci 1907 sound/pci/ctxfi/cthw20k1.c dma_set_mask(&pci->dev, DMA_BIT_MASK(32)); pci 1908 sound/pci/ctxfi/cthw20k1.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)); pci 1912 sound/pci/ctxfi/cthw20k1.c err = pci_request_regions(pci, "XFi"); pci 1917 sound/pci/ctxfi/cthw20k1.c hw->io_base = pci_resource_start(pci, 5); pci 1919 sound/pci/ctxfi/cthw20k1.c hw->io_base = pci_resource_start(pci, 0); pci 1925 sound/pci/ctxfi/cthw20k1.c err = uaa_to_xfi(pci); pci 1932 sound/pci/ctxfi/cthw20k1.c err = request_irq(pci->irq, ct_20k1_interrupt, IRQF_SHARED, pci 1936 sound/pci/ctxfi/cthw20k1.c "XFi: Cannot get irq %d\n", pci->irq); pci 1939 sound/pci/ctxfi/cthw20k1.c hw->irq = pci->irq; pci 1942 sound/pci/ctxfi/cthw20k1.c pci_set_master(pci); pci 1947 sound/pci/ctxfi/cthw20k1.c pci_release_regions(pci); pci 1950 sound/pci/ctxfi/cthw20k1.c pci_disable_device(pci); pci 1981 sound/pci/ctxfi/cthw20k1.c pci_release_regions(hw->pci); pci 1985 sound/pci/ctxfi/cthw20k1.c pci_disable_device(hw->pci); pci 2079 sound/pci/ctxfi/cthw20k1.c struct pci_dev *pci = hw->pci; pci 2085 sound/pci/ctxfi/cthw20k1.c pci_write_config_dword(pci, UAA_CFG_SPACE_FLAG, 0x0); pci 2020 sound/pci/ctxfi/cthw20k2.c struct pci_dev *pci = hw->pci; pci 2024 sound/pci/ctxfi/cthw20k2.c err = pci_enable_device(pci); pci 2029 sound/pci/ctxfi/cthw20k2.c if (!dma_set_mask(&pci->dev, DMA_BIT_MASK(dma_bits))) { pci 2030 sound/pci/ctxfi/cthw20k2.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(dma_bits)); pci 2032 sound/pci/ctxfi/cthw20k2.c dma_set_mask(&pci->dev, DMA_BIT_MASK(32)); pci 2033 sound/pci/ctxfi/cthw20k2.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)); pci 2037 sound/pci/ctxfi/cthw20k2.c err = pci_request_regions(pci, "XFi"); pci 2041 sound/pci/ctxfi/cthw20k2.c hw->io_base = pci_resource_start(hw->pci, 2); pci 2043 sound/pci/ctxfi/cthw20k2.c pci_resource_len(hw->pci, 2)); pci 2056 sound/pci/ctxfi/cthw20k2.c err = request_irq(pci->irq, ct_20k2_interrupt, IRQF_SHARED, pci 2060 sound/pci/ctxfi/cthw20k2.c "XFi: Cannot get irq %d\n", pci->irq); pci 2063 sound/pci/ctxfi/cthw20k2.c hw->irq = pci->irq; pci 2066 sound/pci/ctxfi/cthw20k2.c pci_set_master(pci); pci 2074 sound/pci/ctxfi/cthw20k2.c pci_release_regions(pci); pci 2077 sound/pci/ctxfi/cthw20k2.c pci_disable_device(pci); pci 2106 sound/pci/ctxfi/cthw20k2.c pci_release_regions(hw->pci); pci 2110 sound/pci/ctxfi/cthw20k2.c pci_disable_device(hw->pci); pci 455 sound/pci/ctxfi/ctpcm.c snd_dma_pci_data(atc->pci), 128*1024, 128*1024); pci 169 sound/pci/ctxfi/ctvmem.c int ct_vm_create(struct ct_vm **rvm, struct pci_dev *pci) pci 186 sound/pci/ctxfi/ctvmem.c snd_dma_pci_data(pci), pci 57 sound/pci/ctxfi/ctvmem.h int ct_vm_create(struct ct_vm **rvm, struct pci_dev *pci); pci 54 sound/pci/ctxfi/xfi.c MODULE_DEVICE_TABLE(pci, ct_pci_dev_ids); pci 57 sound/pci/ctxfi/xfi.c ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 71 sound/pci/ctxfi/xfi.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 90 sound/pci/ctxfi/xfi.c err = ct_atc_create(card, pci, reference_rate, multiple, pci 111 sound/pci/ctxfi/xfi.c pci_set_drvdata(pci, card); pci 121 sound/pci/ctxfi/xfi.c static void ct_card_remove(struct pci_dev *pci) pci 123 sound/pci/ctxfi/xfi.c snd_card_free(pci_get_drvdata(pci)); pci 13 sound/pci/echoaudio/echoaudio.c MODULE_DEVICE_TABLE(pci, snd_echo_ids); pci 50 sound/pci/echoaudio/echoaudio.c err = request_firmware(fw_entry, name, &chip->pci->dev); pci 327 sound/pci/echoaudio/echoaudio.c snd_dma_pci_data(chip->pci), pci 911 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) pci 923 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) pci 944 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) pci 958 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_preallocate_pages(pcm, snd_dma_pci_data(chip->pci))) < 0) pci 1868 sound/pci/echoaudio/echoaudio.c pci_disable_device(chip->pci); pci 1889 sound/pci/echoaudio/echoaudio.c struct pci_dev *pci, pci 1901 sound/pci/echoaudio/echoaudio.c pci_write_config_byte(pci, PCI_LATENCY_TIMER, 0xC0); pci 1903 sound/pci/echoaudio/echoaudio.c if ((err = pci_enable_device(pci)) < 0) pci 1905 sound/pci/echoaudio/echoaudio.c pci_set_master(pci); pci 1911 sound/pci/echoaudio/echoaudio.c pci_disable_device(pci); pci 1917 sound/pci/echoaudio/echoaudio.c chip->pci = pci; pci 1930 sound/pci/echoaudio/echoaudio.c chip->dsp_registers_phys = pci_resource_start(pci, 0); pci 1931 sound/pci/echoaudio/echoaudio.c sz = pci_resource_len(pci, 0); pci 1949 sound/pci/echoaudio/echoaudio.c if (request_irq(pci->irq, snd_echo_interrupt, IRQF_SHARED, pci 1955 sound/pci/echoaudio/echoaudio.c chip->irq = pci->irq; pci 1957 sound/pci/echoaudio/echoaudio.c chip->pci, chip->irq, chip->pci->subsystem_device); pci 1961 sound/pci/echoaudio/echoaudio.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 1971 sound/pci/echoaudio/echoaudio.c err = init_hw(chip, chip->pci->device, chip->pci->subsystem_device); pci 1992 sound/pci/echoaudio/echoaudio.c static int snd_echo_probe(struct pci_dev *pci, pci 2009 sound/pci/echoaudio/echoaudio.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2015 sound/pci/echoaudio/echoaudio.c if ((err = snd_echo_create(card, pci, &chip)) < 0) { pci 2141 sound/pci/echoaudio/echoaudio.c pci_set_drvdata(pci, chip); pci 2186 sound/pci/echoaudio/echoaudio.c struct pci_dev *pci = to_pci_dev(dev); pci 2197 sound/pci/echoaudio/echoaudio.c err = init_hw(chip, chip->pci->device, chip->pci->subsystem_device); pci 2225 sound/pci/echoaudio/echoaudio.c if (request_irq(pci->irq, snd_echo_interrupt, IRQF_SHARED, pci 2231 sound/pci/echoaudio/echoaudio.c chip->irq = pci->irq; pci 2251 sound/pci/echoaudio/echoaudio.c static void snd_echo_remove(struct pci_dev *pci) pci 2255 sound/pci/echoaudio/echoaudio.c chip = pci_get_drvdata(pci); pci 344 sound/pci/echoaudio/echoaudio.h struct pci_dev *pci; pci 84 sound/pci/emu10k1/emu10k1.c MODULE_DEVICE_TABLE(pci, snd_emu10k1_ids); pci 86 sound/pci/emu10k1/emu10k1.c static int snd_card_emu10k1_probe(struct pci_dev *pci, pci 104 sound/pci/emu10k1/emu10k1.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 112 sound/pci/emu10k1/emu10k1.c if ((err = snd_emu10k1_create(card, pci, extin[dev], extout[dev], pci 127 sound/pci/emu10k1/emu10k1.c if ((err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 184 sound/pci/emu10k1/emu10k1.c pci_set_drvdata(pci, card); pci 193 sound/pci/emu10k1/emu10k1.c static void snd_card_emu10k1_remove(struct pci_dev *pci) pci 195 sound/pci/emu10k1/emu10k1.c snd_card_free(pci_get_drvdata(pci)); pci 722 sound/pci/emu10k1/emu10k1_main.c err = request_firmware(fw, filename, &emu->pci->dev); pci 1272 sound/pci/emu10k1/emu10k1_main.c pci_release_regions(emu->pci); pci 1275 sound/pci/emu10k1/emu10k1_main.c pci_disable_device(emu->pci); pci 1780 sound/pci/emu10k1/emu10k1_main.c struct pci_dev *pci, pci 1801 sound/pci/emu10k1/emu10k1_main.c err = pci_enable_device(pci); pci 1807 sound/pci/emu10k1/emu10k1_main.c pci_disable_device(pci); pci 1821 sound/pci/emu10k1/emu10k1_main.c emu->pci = pci; pci 1827 sound/pci/emu10k1/emu10k1_main.c emu->revision = pci->revision; pci 1828 sound/pci/emu10k1/emu10k1_main.c pci_read_config_dword(pci, PCI_SUBSYSTEM_VENDOR_ID, &emu->serial); pci 1829 sound/pci/emu10k1/emu10k1_main.c pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &emu->model); pci 1832 sound/pci/emu10k1/emu10k1_main.c pci->vendor, pci->device, emu->serial, emu->model); pci 1835 sound/pci/emu10k1/emu10k1_main.c if (c->vendor == pci->vendor && c->device == pci->device) { pci 1853 sound/pci/emu10k1/emu10k1_main.c pci_disable_device(pci); pci 1863 sound/pci/emu10k1/emu10k1_main.c pci->vendor, pci->device, emu->serial, c->subsystem); pci 1867 sound/pci/emu10k1/emu10k1_main.c c->name, pci->vendor, pci->device, pci 1881 sound/pci/emu10k1/emu10k1_main.c if (dma_set_mask_and_coherent(&pci->dev, emu->dma_mask) < 0) { pci 1886 sound/pci/emu10k1/emu10k1_main.c pci_disable_device(pci); pci 1894 sound/pci/emu10k1/emu10k1_main.c err = pci_request_regions(pci, "EMU10K1"); pci 1897 sound/pci/emu10k1/emu10k1_main.c pci_disable_device(pci); pci 1900 sound/pci/emu10k1/emu10k1_main.c emu->port = pci_resource_start(pci, 0); pci 1942 sound/pci/emu10k1/emu10k1_main.c pci_set_master(pci); pci 1981 sound/pci/emu10k1/emu10k1_main.c if (request_irq(pci->irq, snd_emu10k1_interrupt, IRQF_SHARED, pci 1986 sound/pci/emu10k1/emu10k1_main.c emu->irq = pci->irq; pci 217 sound/pci/emu10k1/emu10k1x.c struct pci_dev *pci; pci 760 sound/pci/emu10k1/emu10k1x.c pci_disable_device(chip->pci); pci 880 sound/pci/emu10k1/emu10k1x.c snd_dma_pci_data(emu->pci), pci 888 sound/pci/emu10k1/emu10k1x.c struct pci_dev *pci, pci 900 sound/pci/emu10k1/emu10k1x.c if ((err = pci_enable_device(pci)) < 0) pci 902 sound/pci/emu10k1/emu10k1x.c if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || pci 903 sound/pci/emu10k1/emu10k1x.c pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { pci 905 sound/pci/emu10k1/emu10k1x.c pci_disable_device(pci); pci 911 sound/pci/emu10k1/emu10k1x.c pci_disable_device(pci); pci 916 sound/pci/emu10k1/emu10k1x.c chip->pci = pci; pci 922 sound/pci/emu10k1/emu10k1x.c chip->port = pci_resource_start(pci, 0); pci 931 sound/pci/emu10k1/emu10k1x.c if (request_irq(pci->irq, snd_emu10k1x_interrupt, pci 933 sound/pci/emu10k1/emu10k1x.c dev_err(card->dev, "cannot grab irq %d\n", pci->irq); pci 937 sound/pci/emu10k1/emu10k1x.c chip->irq = pci->irq; pci 939 sound/pci/emu10k1/emu10k1x.c if(snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 945 sound/pci/emu10k1/emu10k1x.c pci_set_master(pci); pci 947 sound/pci/emu10k1/emu10k1x.c chip->revision = pci->revision; pci 948 sound/pci/emu10k1/emu10k1x.c pci_read_config_dword(pci, PCI_SUBSYSTEM_VENDOR_ID, &chip->serial); pci 949 sound/pci/emu10k1/emu10k1x.c pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &chip->model); pci 1531 sound/pci/emu10k1/emu10k1x.c static int snd_emu10k1x_probe(struct pci_dev *pci, pci 1546 sound/pci/emu10k1/emu10k1x.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1551 sound/pci/emu10k1/emu10k1x.c if ((err = snd_emu10k1x_create(card, pci, &chip)) < 0) { pci 1596 sound/pci/emu10k1/emu10k1x.c pci_set_drvdata(pci, card); pci 1601 sound/pci/emu10k1/emu10k1x.c static void snd_emu10k1x_remove(struct pci_dev *pci) pci 1603 sound/pci/emu10k1/emu10k1x.c snd_card_free(pci_get_drvdata(pci)); pci 1611 sound/pci/emu10k1/emu10k1x.c MODULE_DEVICE_TABLE(pci, snd_emu10k1x_ids); pci 2467 sound/pci/emu10k1/emufx.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(emu->pci), pci 1417 sound/pci/emu10k1/emupcm.c snd_dma_pci_data(emu->pci), pci 1422 sound/pci/emu10k1/emupcm.c snd_dma_pci_data(emu->pci), pci 1448 sound/pci/emu10k1/emupcm.c snd_dma_pci_data(emu->pci), pci 1483 sound/pci/emu10k1/emupcm.c snd_dma_pci_data(emu->pci), pci 1858 sound/pci/emu10k1/emupcm.c snd_dma_pci_data(emu->pci), pci 390 sound/pci/emu10k1/memory.c snd_dma_pci_data(emu->pci), size, dmab); pci 480 sound/pci/emu10k1/memory.c dmab.dev.dev = snd_dma_pci_data(emu->pci); pci 646 sound/pci/emu10k1/p16v.c snd_dma_pci_data(emu->pci), pci 659 sound/pci/emu10k1/p16v.c snd_dma_pci_data(emu->pci), pci 403 sound/pci/ens1370.c struct pci_dev *pci; pci 447 sound/pci/ens1370.c MODULE_DEVICE_TABLE(pci, snd_audiopci_ids); pci 597 sound/pci/ens1370.c return ensoniq->pci->device == 0x8938; pci 1278 sound/pci/ens1370.c snd_dma_pci_data(ensoniq->pci), 64*1024, 128*1024); pci 1310 sound/pci/ens1370.c snd_dma_pci_data(ensoniq->pci), 64*1024, 128*1024); pci 1588 sound/pci/ens1370.c if (ensoniq->pci->vendor == list->vid && pci 1589 sound/pci/ens1370.c ensoniq->pci->device == list->did && pci 1631 sound/pci/ens1370.c ac97.pci = ensoniq->pci; pci 1666 sound/pci/ens1370.c snd_pci_quirk_lookup(ensoniq->pci, ens1373_line_quirk)) { pci 1833 sound/pci/ens1370.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(ensoniq->pci)); pci 1834 sound/pci/ens1370.c gameport_set_dev_parent(gp, &ensoniq->pci->dev); pci 1913 sound/pci/ens1370.c pci_set_power_state(ensoniq->pci, PCI_D3hot); pci 1921 sound/pci/ens1370.c pci_release_regions(ensoniq->pci); pci 1922 sound/pci/ens1370.c pci_disable_device(ensoniq->pci); pci 2062 sound/pci/ens1370.c struct pci_dev *pci, pci 2072 sound/pci/ens1370.c if ((err = pci_enable_device(pci)) < 0) pci 2076 sound/pci/ens1370.c pci_disable_device(pci); pci 2082 sound/pci/ens1370.c ensoniq->pci = pci; pci 2084 sound/pci/ens1370.c if ((err = pci_request_regions(pci, "Ensoniq AudioPCI")) < 0) { pci 2086 sound/pci/ens1370.c pci_disable_device(pci); pci 2089 sound/pci/ens1370.c ensoniq->port = pci_resource_start(pci, 0); pci 2090 sound/pci/ens1370.c if (request_irq(pci->irq, snd_audiopci_interrupt, IRQF_SHARED, pci 2092 sound/pci/ens1370.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2096 sound/pci/ens1370.c ensoniq->irq = pci->irq; pci 2098 sound/pci/ens1370.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 2105 sound/pci/ens1370.c pci_set_master(pci); pci 2106 sound/pci/ens1370.c ensoniq->rev = pci->revision; pci 2119 sound/pci/ens1370.c if (snd_pci_quirk_lookup(pci, es1371_amplifier_hack)) pci 2370 sound/pci/ens1370.c static int snd_audiopci_probe(struct pci_dev *pci, pci 2385 sound/pci/ens1370.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2390 sound/pci/ens1370.c if ((err = snd_ensoniq_create(card, pci, &ensoniq)) < 0) { pci 2437 sound/pci/ens1370.c pci_set_drvdata(pci, card); pci 2442 sound/pci/ens1370.c static void snd_audiopci_remove(struct pci_dev *pci) pci 2444 sound/pci/ens1370.c snd_card_free(pci_get_drvdata(pci)); pci 199 sound/pci/es1938.c struct pci_dev *pci; pci 235 sound/pci/es1938.c MODULE_DEVICE_TABLE(pci, snd_es1938_ids); pci 1035 sound/pci/es1938.c snd_dma_pci_data(chip->pci), 64*1024, 64*1024); pci 1425 sound/pci/es1938.c pci_set_master(chip->pci); pci 1428 sound/pci/es1938.c pci_write_config_word(chip->pci, SL_PCI_LEGACYCONTROL, 0x805f); pci 1431 sound/pci/es1938.c pci_write_config_word(chip->pci, SL_PCI_DDMACONTROL, chip->ddma_port | 1); pci 1434 sound/pci/es1938.c pci_write_config_dword(chip->pci, SL_PCI_CONFIG, 0); pci 1478 sound/pci/es1938.c struct pci_dev *pci = to_pci_dev(dev); pci 1483 sound/pci/es1938.c if (request_irq(pci->irq, snd_es1938_interrupt, pci 1486 sound/pci/es1938.c pci->irq); pci 1490 sound/pci/es1938.c chip->irq = pci->irq; pci 1524 sound/pci/es1938.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 1525 sound/pci/es1938.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 1556 sound/pci/es1938.c pci_release_regions(chip->pci); pci 1557 sound/pci/es1938.c pci_disable_device(chip->pci); pci 1569 sound/pci/es1938.c struct pci_dev *pci, pci 1581 sound/pci/es1938.c if ((err = pci_enable_device(pci)) < 0) pci 1584 sound/pci/es1938.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(24)) < 0 || pci 1585 sound/pci/es1938.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(24)) < 0) { pci 1588 sound/pci/es1938.c pci_disable_device(pci); pci 1594 sound/pci/es1938.c pci_disable_device(pci); pci 1600 sound/pci/es1938.c chip->pci = pci; pci 1602 sound/pci/es1938.c if ((err = pci_request_regions(pci, "ESS Solo-1")) < 0) { pci 1604 sound/pci/es1938.c pci_disable_device(pci); pci 1607 sound/pci/es1938.c chip->io_port = pci_resource_start(pci, 0); pci 1608 sound/pci/es1938.c chip->sb_port = pci_resource_start(pci, 1); pci 1609 sound/pci/es1938.c chip->vc_port = pci_resource_start(pci, 2); pci 1610 sound/pci/es1938.c chip->mpu_port = pci_resource_start(pci, 3); pci 1611 sound/pci/es1938.c chip->game_port = pci_resource_start(pci, 4); pci 1612 sound/pci/es1938.c if (request_irq(pci->irq, snd_es1938_interrupt, IRQF_SHARED, pci 1614 sound/pci/es1938.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1618 sound/pci/es1938.c chip->irq = pci->irq; pci 1765 sound/pci/es1938.c static int snd_es1938_probe(struct pci_dev *pci, pci 1781 sound/pci/es1938.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1786 sound/pci/es1938.c if (pci_resource_start(pci, idx) == 0 || pci 1787 sound/pci/es1938.c !(pci_resource_flags(pci, idx) & IORESOURCE_IO)) { pci 1792 sound/pci/es1938.c if ((err = snd_es1938_create(card, pci, &chip)) < 0) { pci 1847 sound/pci/es1938.c pci_set_drvdata(pci, card); pci 1852 sound/pci/es1938.c static void snd_es1938_remove(struct pci_dev *pci) pci 1854 sound/pci/es1938.c snd_card_free(pci_get_drvdata(pci)); pci 505 sound/pci/es1968.c struct pci_dev *pci; pci 569 sound/pci/es1968.c MODULE_DEVICE_TABLE(pci, snd_es1968_ids); pci 1426 sound/pci/es1968.c chip->dma.dev.dev = snd_dma_pci_data(chip->pci); pci 1428 sound/pci/es1968.c snd_dma_pci_data(chip->pci), pci 2067 sound/pci/es1968.c pci_read_config_word(chip->pci, 0x58, &w); /* something magical with gpio and bus arb. */ pci 2068 sound/pci/es1968.c pci_read_config_dword(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, &vend); pci 2167 sound/pci/es1968.c struct pci_dev *pci = chip->pci; pci 2185 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_A, &w); pci 2198 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_A, w); pci 2202 sound/pci/es1968.c pci_read_config_word(pci, ESM_CONFIG_B, &w); pci 2218 sound/pci/es1968.c pci_write_config_word(pci, ESM_CONFIG_B, w); pci 2222 sound/pci/es1968.c pci_read_config_word(pci, ESM_DDMA, &w); pci 2224 sound/pci/es1968.c pci_write_config_word(pci, ESM_DDMA, w); pci 2230 sound/pci/es1968.c pci_read_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, &w); pci 2236 sound/pci/es1968.c pci_write_config_word(pci, ESM_LEGACY_AUDIO_CONTROL, w); pci 2239 sound/pci/es1968.c pci_read_config_word(pci, 0x58, &w); pci 2243 sound/pci/es1968.c pci_write_config_word(pci, 0x58, w); pci 2457 sound/pci/es1968.c pci_read_config_word(chip->pci, ESM_LEGACY_AUDIO_CONTROL, &val); pci 2458 sound/pci/es1968.c pci_write_config_word(chip->pci, ESM_LEGACY_AUDIO_CONTROL, val | 0x04); pci 2461 sound/pci/es1968.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 2462 sound/pci/es1968.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 2498 sound/pci/es1968.c pci_name(chip->pci)); pci 2503 sound/pci/es1968.c input_dev->id.vendor = chip->pci->vendor; pci 2504 sound/pci/es1968.c input_dev->id.product = chip->pci->device; pci 2505 sound/pci/es1968.c input_dev->dev.parent = &chip->pci->dev; pci 2623 sound/pci/es1968.c pci_release_regions(chip->pci); pci 2624 sound/pci/es1968.c pci_disable_device(chip->pci); pci 2656 sound/pci/es1968.c struct pci_dev *pci, pci 2674 sound/pci/es1968.c if ((err = pci_enable_device(pci)) < 0) pci 2677 sound/pci/es1968.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || pci 2678 sound/pci/es1968.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { pci 2681 sound/pci/es1968.c pci_disable_device(pci); pci 2687 sound/pci/es1968.c pci_disable_device(pci); pci 2700 sound/pci/es1968.c chip->pci = pci; pci 2706 sound/pci/es1968.c if ((err = pci_request_regions(pci, "ESS Maestro")) < 0) { pci 2708 sound/pci/es1968.c pci_disable_device(pci); pci 2711 sound/pci/es1968.c chip->io_port = pci_resource_start(pci, 0); pci 2712 sound/pci/es1968.c if (request_irq(pci->irq, snd_es1968_interrupt, IRQF_SHARED, pci 2714 sound/pci/es1968.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2718 sound/pci/es1968.c chip->irq = pci->irq; pci 2729 sound/pci/es1968.c pci_set_master(pci); pci 2734 sound/pci/es1968.c pci_read_config_word(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, &vend); pci 2759 sound/pci/es1968.c if (chip->pci->subsystem_vendor != 0x125d) pci 2761 sound/pci/es1968.c err = v4l2_device_register(&pci->dev, &chip->v4l2_dev); pci 2770 sound/pci/es1968.c sprintf(chip->tea.bus_info, "PCI:%s", pci_name(pci)); pci 2792 sound/pci/es1968.c static int snd_es1968_probe(struct pci_dev *pci, pci 2808 sound/pci/es1968.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2817 sound/pci/es1968.c if ((err = snd_es1968_create(card, pci, pci 2858 sound/pci/es1968.c pci_read_config_word(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, &vend); pci 2899 sound/pci/es1968.c pci_set_drvdata(pci, card); pci 2904 sound/pci/es1968.c static void snd_es1968_remove(struct pci_dev *pci) pci 2906 sound/pci/es1968.c snd_card_free(pci_get_drvdata(pci)); pci 225 sound/pci/fm801.c MODULE_DEVICE_TABLE(pci, snd_fm801_ids); pci 1197 sound/pci/fm801.c struct pci_dev *pci, pci 1209 sound/pci/fm801.c if ((err = pcim_enable_device(pci)) < 0) pci 1211 sound/pci/fm801.c chip = devm_kzalloc(&pci->dev, sizeof(*chip), GFP_KERNEL); pci 1216 sound/pci/fm801.c chip->dev = &pci->dev; pci 1219 sound/pci/fm801.c if ((err = pci_request_regions(pci, "FM801")) < 0) pci 1221 sound/pci/fm801.c chip->port = pci_resource_start(pci, 0); pci 1223 sound/pci/fm801.c if (pci->revision >= 0xb1) /* FM801-AU */ pci 1237 sound/pci/fm801.c if (devm_request_irq(&pci->dev, pci->irq, snd_fm801_interrupt, pci 1239 sound/pci/fm801.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1243 sound/pci/fm801.c chip->irq = pci->irq; pci 1244 sound/pci/fm801.c pci_set_master(pci); pci 1255 sound/pci/fm801.c err = v4l2_device_register(&pci->dev, &chip->v4l2_dev); pci 1264 sound/pci/fm801.c sprintf(chip->tea.bus_info, "PCI:%s", pci_name(pci)); pci 1302 sound/pci/fm801.c static int snd_card_fm801_probe(struct pci_dev *pci, pci 1318 sound/pci/fm801.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1322 sound/pci/fm801.c if ((err = snd_fm801_create(card, pci, tea575x_tuner[dev], radio_nr[dev], &chip)) < 0) { pci 1369 sound/pci/fm801.c pci_set_drvdata(pci, card); pci 1374 sound/pci/fm801.c static void snd_card_fm801_remove(struct pci_dev *pci) pci 1376 sound/pci/fm801.c snd_card_free(pci_get_drvdata(pci)); pci 1007 sound/pci/hda/hda_auto_parser.c q = snd_pci_quirk_lookup(codec->bus->pci, quirk); pci 1233 sound/pci/hda/hda_controller.c bus->pci = chip->pci; pci 100 sound/pci/hda/hda_controller.h struct pci_dev *pci; pci 366 sound/pci/hda/hda_intel.c #define CONTROLLER_IN_GPU(pci) (((pci)->device == 0x0a0c) || \ pci 367 sound/pci/hda/hda_intel.c ((pci)->device == 0x0c0c) || \ pci 368 sound/pci/hda/hda_intel.c ((pci)->device == 0x0d0c) || \ pci 369 sound/pci/hda/hda_intel.c ((pci)->device == 0x160c)) pci 371 sound/pci/hda/hda_intel.c #define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98) pci 372 sound/pci/hda/hda_intel.c #define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348) pci 373 sound/pci/hda/hda_intel.c #define IS_CNL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x9dc8) pci 403 sound/pci/hda/hda_intel.c static void update_pci_byte(struct pci_dev *pci, unsigned int reg, pci 408 sound/pci/hda/hda_intel.c pci_read_config_byte(pci, reg, &data); pci 411 sound/pci/hda/hda_intel.c pci_write_config_byte(pci, reg, data); pci 426 sound/pci/hda/hda_intel.c update_pci_byte(chip->pci, AZX_PCIREG_TCSEL, 0x07, 0); pci 435 sound/pci/hda/hda_intel.c update_pci_byte(chip->pci, pci 444 sound/pci/hda/hda_intel.c update_pci_byte(chip->pci, pci 447 sound/pci/hda/hda_intel.c update_pci_byte(chip->pci, pci 450 sound/pci/hda/hda_intel.c update_pci_byte(chip->pci, pci 458 sound/pci/hda/hda_intel.c pci_read_config_word(chip->pci, INTEL_SCH_HDA_DEVC, &snoop); pci 464 sound/pci/hda/hda_intel.c pci_write_config_word(chip->pci, INTEL_SCH_HDA_DEVC, snoop); pci 465 sound/pci/hda/hda_intel.c pci_read_config_word(chip->pci, pci 585 sound/pci/hda/hda_intel.c struct pci_dev *pci = chip->pci; pci 590 sound/pci/hda/hda_intel.c pci_read_config_dword(pci, INTEL_HDA_CGCTL, &val); pci 592 sound/pci/hda/hda_intel.c pci_write_config_dword(pci, INTEL_HDA_CGCTL, val); pci 596 sound/pci/hda/hda_intel.c pci_read_config_dword(pci, INTEL_HDA_CGCTL, &val); pci 598 sound/pci/hda/hda_intel.c pci_write_config_dword(pci, INTEL_HDA_CGCTL, val); pci 604 sound/pci/hda/hda_intel.c if (IS_BXT(pci)) pci 783 sound/pci/hda/hda_intel.c if (request_irq(chip->pci->irq, azx_interrupt, pci 788 sound/pci/hda/hda_intel.c chip->pci->irq); pci 793 sound/pci/hda/hda_intel.c bus->irq = chip->pci->irq; pci 794 sound/pci/hda/hda_intel.c pci_intx(chip->pci, !chip->msi); pci 1035 sound/pci/hda/hda_intel.c pci_disable_msi(chip->pci); pci 1051 sound/pci/hda/hda_intel.c if (pci_enable_msi(chip->pci) < 0) pci 1069 sound/pci/hda/hda_intel.c struct pci_dev *pci = to_pci_dev(dev); pci 1074 sound/pci/hda/hda_intel.c pci_set_power_state(pci, PCI_D3hot); pci 1083 sound/pci/hda/hda_intel.c struct pci_dev *pci = to_pci_dev(dev); pci 1088 sound/pci/hda/hda_intel.c pci_set_power_state(pci, PCI_D0); pci 1179 sound/pci/hda/hda_intel.c static struct pci_dev *get_bound_vga(struct pci_dev *pci); pci 1181 sound/pci/hda/hda_intel.c static void azx_vs_set_state(struct pci_dev *pci, pci 1184 sound/pci/hda/hda_intel.c struct snd_card *card = pci_get_drvdata(pci); pci 1219 sound/pci/hda/hda_intel.c pci->current_state = PCI_D3cold; pci 1236 sound/pci/hda/hda_intel.c static bool azx_vs_can_switch(struct pci_dev *pci) pci 1238 sound/pci/hda/hda_intel.c struct snd_card *card = pci_get_drvdata(pci); pci 1271 sound/pci/hda/hda_intel.c static void azx_vs_gpu_bound(struct pci_dev *pci, pci 1274 sound/pci/hda/hda_intel.c struct snd_card *card = pci_get_drvdata(pci); pci 1285 sound/pci/hda/hda_intel.c struct pci_dev *p = get_bound_vga(chip->pci); pci 1317 sound/pci/hda/hda_intel.c p = get_bound_vga(chip->pci); pci 1318 sound/pci/hda/hda_intel.c err = vga_switcheroo_register_audio_client(chip->pci, &azx_vs_ops, p); pci 1330 sound/pci/hda/hda_intel.c #define check_hdmi_disabled(pci) false pci 1339 sound/pci/hda/hda_intel.c struct pci_dev *pci = chip->pci; pci 1347 sound/pci/hda/hda_intel.c pm_runtime_get_noresume(&pci->dev); pci 1359 sound/pci/hda/hda_intel.c vga_switcheroo_unregister_client(chip->pci); pci 1371 sound/pci/hda/hda_intel.c pci_disable_msi(chip->pci); pci 1379 sound/pci/hda/hda_intel.c pci_release_regions(chip->pci); pci 1381 sound/pci/hda/hda_intel.c pci_disable_device(chip->pci); pci 1414 sound/pci/hda/hda_intel.c static struct pci_dev *get_bound_vga(struct pci_dev *pci) pci 1419 sound/pci/hda/hda_intel.c switch (pci->vendor) { pci 1423 sound/pci/hda/hda_intel.c if (pci->devfn == 1) { pci 1424 sound/pci/hda/hda_intel.c p = pci_get_domain_bus_and_slot(pci_domain_nr(pci->bus), pci 1425 sound/pci/hda/hda_intel.c pci->bus->number, 0); pci 1437 sound/pci/hda/hda_intel.c static bool check_hdmi_disabled(struct pci_dev *pci) pci 1440 sound/pci/hda/hda_intel.c struct pci_dev *p = get_bound_vga(pci); pci 1487 sound/pci/hda/hda_intel.c q = snd_pci_quirk_lookup(chip->pci, position_fix_list); pci 1574 sound/pci/hda/hda_intel.c q = snd_pci_quirk_lookup(chip->pci, probe_mask_list); pci 1618 sound/pci/hda/hda_intel.c q = snd_pci_quirk_lookup(chip->pci, msi_black_list); pci 1654 sound/pci/hda/hda_intel.c pci_read_config_byte(chip->pci, 0x42, &val); pci 1655 sound/pci/hda/hda_intel.c if (!(val & 0x80) && (chip->pci->revision == 0x30 || pci 1656 sound/pci/hda/hda_intel.c chip->pci->revision == 0x20)) pci 1681 sound/pci/hda/hda_intel.c if (chip->pci->vendor == PCI_VENDOR_ID_INTEL) { pci 1682 sound/pci/hda/hda_intel.c switch (chip->pci->device) { pci 1703 sound/pci/hda/hda_intel.c static int azx_create(struct snd_card *card, struct pci_dev *pci, pci 1717 sound/pci/hda/hda_intel.c err = pci_enable_device(pci); pci 1721 sound/pci/hda/hda_intel.c hda = devm_kzalloc(&pci->dev, sizeof(*hda), GFP_KERNEL); pci 1723 sound/pci/hda/hda_intel.c pci_disable_device(pci); pci 1730 sound/pci/hda/hda_intel.c chip->pci = pci; pci 1762 sound/pci/hda/hda_intel.c pci_disable_device(pci); pci 1771 sound/pci/hda/hda_intel.c if (IS_CFL(pci) || IS_CNL(pci)) pci 1797 sound/pci/hda/hda_intel.c struct pci_dev *pci = chip->pci; pci 1808 sound/pci/hda/hda_intel.c pci_read_config_word(pci, 0x40, &tmp3); pci 1809 sound/pci/hda/hda_intel.c pci_write_config_word(pci, 0x40, tmp3 | 0x10); pci 1810 sound/pci/hda/hda_intel.c pci_write_config_dword(pci, PCI_BASE_ADDRESS_1, 0); pci 1814 sound/pci/hda/hda_intel.c err = pci_request_regions(pci, "ICH HD audio"); pci 1819 sound/pci/hda/hda_intel.c bus->addr = pci_resource_start(pci, 0); pci 1820 sound/pci/hda/hda_intel.c bus->remap_addr = pci_ioremap_bar(pci, 0); pci 1845 sound/pci/hda/hda_intel.c pci->no_64bit_msi = true; pci 1847 sound/pci/hda/hda_intel.c if (pci_enable_msi(pci) < 0) pci 1851 sound/pci/hda/hda_intel.c pci_set_master(pci); pci 1858 sound/pci/hda/hda_intel.c if (chip->pci->vendor == PCI_VENDOR_ID_AMD) pci 1862 sound/pci/hda/hda_intel.c if (chip->pci->vendor == PCI_VENDOR_ID_ATI) { pci 1876 sound/pci/hda/hda_intel.c if (chip->pci->vendor == PCI_VENDOR_ID_NVIDIA) pci 1898 sound/pci/hda/hda_intel.c if (!dma_set_mask(&pci->dev, DMA_BIT_MASK(dma_bits))) { pci 1899 sound/pci/hda/hda_intel.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(dma_bits)); pci 1901 sound/pci/hda/hda_intel.c dma_set_mask(&pci->dev, DMA_BIT_MASK(32)); pci 1902 sound/pci/hda/hda_intel.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)); pci 2002 sound/pci/hda/hda_intel.c pci_disable_msi(chip->pci); pci 2039 sound/pci/hda/hda_intel.c static int azx_check_dmic(struct pci_dev *pci, struct azx *chip) pci 2045 sound/pci/hda/hda_intel.c pci->class != 0x040300) { pci 2046 sound/pci/hda/hda_intel.c nhlt = intel_nhlt_init(&pci->dev); pci 2048 sound/pci/hda/hda_intel.c if (intel_nhlt_get_dmic_geo(&pci->dev, nhlt)) { pci 2050 sound/pci/hda/hda_intel.c dev_info(&pci->dev, "Digital mics found on Skylake+ platform, aborting probe\n"); pci 2058 sound/pci/hda/hda_intel.c static int azx_probe(struct pci_dev *pci, pci 2068 sound/pci/hda/hda_intel.c if (pci_match_id(driver_blacklist, pci)) { pci 2069 sound/pci/hda/hda_intel.c dev_info(&pci->dev, "Skipping the blacklisted device\n"); pci 2080 sound/pci/hda/hda_intel.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2083 sound/pci/hda/hda_intel.c dev_err(&pci->dev, "Error creating card!\n"); pci 2087 sound/pci/hda/hda_intel.c err = azx_create(card, pci, dev, pci_id->driver_data, &chip); pci 2099 sound/pci/hda/hda_intel.c err = azx_check_dmic(pci, chip); pci 2104 sound/pci/hda/hda_intel.c pci_set_drvdata(pci, card); pci 2112 sound/pci/hda/hda_intel.c if (check_hdmi_disabled(pci)) { pci 2125 sound/pci/hda/hda_intel.c &pci->dev, GFP_KERNEL, card, pci 2134 sound/pci/hda/hda_intel.c if (CONTROLLER_IN_GPU(pci)) pci 2204 sound/pci/hda/hda_intel.c q = snd_pci_quirk_lookup(chip->pci, power_save_blacklist); pci 2225 sound/pci/hda/hda_intel.c struct pci_dev *pci = chip->pci; pci 2241 sound/pci/hda/hda_intel.c if (CONTROLLER_IN_GPU(pci)) { pci 2252 sound/pci/hda/hda_intel.c if (CONTROLLER_IN_GPU(pci)) pci 2308 sound/pci/hda/hda_intel.c pm_runtime_use_autosuspend(&pci->dev); pci 2309 sound/pci/hda/hda_intel.c pm_runtime_allow(&pci->dev); pci 2310 sound/pci/hda/hda_intel.c pm_runtime_put_autosuspend(&pci->dev); pci 2326 sound/pci/hda/hda_intel.c static void azx_remove(struct pci_dev *pci) pci 2328 sound/pci/hda/hda_intel.c struct snd_card *card = pci_get_drvdata(pci); pci 2347 sound/pci/hda/hda_intel.c device_unlock(&pci->dev); pci 2349 sound/pci/hda/hda_intel.c device_lock(&pci->dev); pci 2355 sound/pci/hda/hda_intel.c static void azx_shutdown(struct pci_dev *pci) pci 2357 sound/pci/hda/hda_intel.c struct snd_card *card = pci_get_drvdata(pci); pci 2669 sound/pci/hda/hda_intel.c MODULE_DEVICE_TABLE(pci, azx_ids); pci 8439 sound/pci/hda/patch_ca0132.c pci_iounmap(codec->bus->pci, spec->mem_base); pci 8765 sound/pci/hda/patch_ca0132.c quirk = snd_pci_quirk_lookup(codec->bus->pci, ca0132_quirks); pci 8838 sound/pci/hda/patch_ca0132.c spec->mem_base = pci_iomap(codec->bus->pci, 2, 0xC20); pci 2504 sound/pci/hda/patch_hdmi.c struct pci_dev *pci, *master; pci 2509 sound/pci/hda/patch_hdmi.c pci = to_pci_dev(dev); pci 2510 sound/pci/hda/patch_hdmi.c return master->bus == pci->bus; pci 620 sound/pci/hda/patch_realtek.c if (!codec->bus->pci) pci 623 sound/pci/hda/patch_realtek.c if (ass != codec->bus->pci->subsystem_device && (ass & 1)) pci 710 sound/pci/hda/patch_realtek.c if (codec->bus->pci && pci 711 sound/pci/hda/patch_realtek.c ass != codec->bus->pci->subsystem_device && (ass & 1)) pci 1026 sound/pci/hda/patch_realtek.c if (!codec->bus->pci) pci 1031 sound/pci/hda/patch_realtek.c if (q->pci_subvendor != codec->bus->pci->subsystem_vendor) pci 1034 sound/pci/hda/patch_realtek.c q->pci_subdevice == codec->bus->pci->subsystem_device) pci 1091 sound/pci/hda/patch_realtek.c q = snd_pci_quirk_lookup(codec->bus->pci, beep_white_list); pci 8254 sound/pci/hda/patch_realtek.c if (codec->bus->pci && pci 8255 sound/pci/hda/patch_realtek.c codec->bus->pci->subsystem_vendor == 0x1025 && pci 8261 sound/pci/hda/patch_realtek.c if (codec->bus->pci && pci 8262 sound/pci/hda/patch_realtek.c codec->bus->pci->subsystem_vendor == 0x17aa && pci 8263 sound/pci/hda/patch_realtek.c codec->bus->pci->subsystem_device == 0x21f3) pci 9507 sound/pci/hda/patch_realtek.c codec->bus->pci && codec->bus->pci->subsystem_vendor == 0x1025 && pci 99 sound/pci/ice1712/ice1712.c MODULE_DEVICE_TABLE(pci, snd_ice1712_ids); pci 887 sound/pci/ice1712/ice1712.c snd_dma_pci_data(ice->pci), 64*1024, 64*1024); pci 912 sound/pci/ice1712/ice1712.c snd_dma_pci_data(ice->pci), 64*1024, 128*1024); pci 1256 sound/pci/ice1712/ice1712.c snd_dma_pci_data(ice->pci), 256*1024, 256*1024); pci 2286 sound/pci/ice1712/ice1712.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_VENDOR_ID, &vendor); pci 2287 sound/pci/ice1712/ice1712.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_ID, &device); pci 2359 sound/pci/ice1712/ice1712.c pci_write_config_byte(ice->pci, 0x60, ice->eeprom.data[ICE_EEP1_CODEC]); pci 2360 sound/pci/ice1712/ice1712.c pci_write_config_byte(ice->pci, 0x61, ice->eeprom.data[ICE_EEP1_ACLINK]); pci 2361 sound/pci/ice1712/ice1712.c pci_write_config_byte(ice->pci, 0x62, ice->eeprom.data[ICE_EEP1_I2SID]); pci 2362 sound/pci/ice1712/ice1712.c pci_write_config_byte(ice->pci, 0x63, ice->eeprom.data[ICE_EEP1_SPDIF]); pci 2482 sound/pci/ice1712/ice1712.c pci_release_regions(ice->pci); pci 2484 sound/pci/ice1712/ice1712.c pci_disable_device(ice->pci); pci 2497 sound/pci/ice1712/ice1712.c struct pci_dev *pci, pci 2513 sound/pci/ice1712/ice1712.c err = pci_enable_device(pci); pci 2517 sound/pci/ice1712/ice1712.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || pci 2518 sound/pci/ice1712/ice1712.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { pci 2521 sound/pci/ice1712/ice1712.c pci_disable_device(pci); pci 2527 sound/pci/ice1712/ice1712.c pci_disable_device(pci); pci 2553 sound/pci/ice1712/ice1712.c ice->pci = pci; pci 2555 sound/pci/ice1712/ice1712.c pci_set_master(pci); pci 2557 sound/pci/ice1712/ice1712.c pci_write_config_word(ice->pci, 0x40, 0x807f); pci 2558 sound/pci/ice1712/ice1712.c pci_write_config_word(ice->pci, 0x42, 0x0006); pci 2560 sound/pci/ice1712/ice1712.c synchronize_irq(pci->irq); pci 2564 sound/pci/ice1712/ice1712.c err = pci_request_regions(pci, "ICE1712"); pci 2567 sound/pci/ice1712/ice1712.c pci_disable_device(pci); pci 2570 sound/pci/ice1712/ice1712.c ice->port = pci_resource_start(pci, 0); pci 2571 sound/pci/ice1712/ice1712.c ice->ddma_port = pci_resource_start(pci, 1); pci 2572 sound/pci/ice1712/ice1712.c ice->dmapath_port = pci_resource_start(pci, 2); pci 2573 sound/pci/ice1712/ice1712.c ice->profi_port = pci_resource_start(pci, 3); pci 2575 sound/pci/ice1712/ice1712.c if (request_irq(pci->irq, snd_ice1712_interrupt, IRQF_SHARED, pci 2577 sound/pci/ice1712/ice1712.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2582 sound/pci/ice1712/ice1712.c ice->irq = pci->irq; pci 2612 sound/pci/ice1712/ice1712.c static int snd_ice1712_probe(struct pci_dev *pci, pci 2628 sound/pci/ice1712/ice1712.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2636 sound/pci/ice1712/ice1712.c err = snd_ice1712_create(card, pci, model[dev], omni[dev], pci 2753 sound/pci/ice1712/ice1712.c pci_set_drvdata(pci, card); pci 2758 sound/pci/ice1712/ice1712.c static void snd_ice1712_remove(struct pci_dev *pci) pci 2760 sound/pci/ice1712/ice1712.c struct snd_card *card = pci_get_drvdata(pci); pci 296 sound/pci/ice1712/ice1712.h struct pci_dev *pci; pci 88 sound/pci/ice1712/ice1724.c MODULE_DEVICE_TABLE(pci, snd_vt1724_ids); pci 1149 sound/pci/ice1712/ice1724.c snd_dma_pci_data(ice->pci), pci 1347 sound/pci/ice1712/ice1724.c snd_dma_pci_data(ice->pci), pci 1461 sound/pci/ice1712/ice1724.c snd_dma_pci_data(ice->pci), pci 2310 sound/pci/ice1712/ice1724.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_VENDOR_ID, pci 2312 sound/pci/ice1712/ice1724.c pci_read_config_word(ice->pci, PCI_SUBSYSTEM_ID, &device); pci 2499 sound/pci/ice1712/ice1724.c pci_release_regions(ice->pci); pci 2501 sound/pci/ice1712/ice1724.c pci_disable_device(ice->pci); pci 2514 sound/pci/ice1712/ice1724.c struct pci_dev *pci, pci 2527 sound/pci/ice1712/ice1724.c err = pci_enable_device(pci); pci 2533 sound/pci/ice1712/ice1724.c pci_disable_device(pci); pci 2548 sound/pci/ice1712/ice1724.c ice->pci = pci; pci 2550 sound/pci/ice1712/ice1724.c pci_set_master(pci); pci 2552 sound/pci/ice1712/ice1724.c synchronize_irq(pci->irq); pci 2556 sound/pci/ice1712/ice1724.c err = pci_request_regions(pci, "ICE1724"); pci 2559 sound/pci/ice1712/ice1724.c pci_disable_device(pci); pci 2562 sound/pci/ice1712/ice1724.c ice->port = pci_resource_start(pci, 0); pci 2563 sound/pci/ice1712/ice1724.c ice->profi_port = pci_resource_start(pci, 1); pci 2565 sound/pci/ice1712/ice1724.c if (request_irq(pci->irq, snd_vt1724_interrupt, pci 2567 sound/pci/ice1712/ice1724.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2572 sound/pci/ice1712/ice1724.c ice->irq = pci->irq; pci 2601 sound/pci/ice1712/ice1724.c static int snd_vt1724_probe(struct pci_dev *pci, pci 2617 sound/pci/ice1712/ice1724.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2625 sound/pci/ice1712/ice1724.c err = snd_vt1724_create(card, pci, model[dev], &ice); pci 2767 sound/pci/ice1712/ice1724.c pci_set_drvdata(pci, card); pci 2772 sound/pci/ice1712/ice1724.c static void snd_vt1724_remove(struct pci_dev *pci) pci 2774 sound/pci/ice1712/ice1724.c struct snd_card *card = pci_get_drvdata(pci); pci 368 sound/pci/intel8x0.c struct pci_dev *pci; pci 435 sound/pci/intel8x0.c MODULE_DEVICE_TABLE(pci, snd_intel8x0_ids); pci 1491 sound/pci/intel8x0.c snd_dma_pci_data(chip->pci), pci 2237 sound/pci/intel8x0.c ac97.pci = chip->pci; pci 2356 sound/pci/intel8x0.c if (snd_pci_quirk_lookup(chip->pci, ich_chip_reset_mode)) pci 2373 sound/pci/intel8x0.c (!snd_pci_quirk_lookup(chip->pci, ich_chip_reset_mode)) pci 2477 sound/pci/intel8x0.c pci_read_config_dword(chip->pci, 0x4c, &val); pci 2479 sound/pci/intel8x0.c pci_write_config_dword(chip->pci, 0x4c, val); pci 2570 sound/pci/intel8x0.c pci_read_config_dword(chip->pci, 0x4c, &val); pci 2572 sound/pci/intel8x0.c pci_write_config_dword(chip->pci, 0x4c, val); pci 2582 sound/pci/intel8x0.c pci_iounmap(chip->pci, chip->addr); pci 2584 sound/pci/intel8x0.c pci_iounmap(chip->pci, chip->bmaddr); pci 2585 sound/pci/intel8x0.c pci_release_regions(chip->pci); pci 2586 sound/pci/intel8x0.c pci_disable_device(chip->pci); pci 2616 sound/pci/intel8x0.c struct pci_dev *pci = to_pci_dev(dev); pci 2622 sound/pci/intel8x0.c if (request_irq(pci->irq, snd_intel8x0_interrupt, pci 2625 sound/pci/intel8x0.c pci->irq); pci 2629 sound/pci/intel8x0.c chip->irq = pci->irq; pci 2803 sound/pci/intel8x0.c struct pci_dev *pci = chip->pci; pci 2806 sound/pci/intel8x0.c wl = snd_pci_quirk_lookup(pci, intel8x0_clock_list); pci 2810 sound/pci/intel8x0.c pci->subsystem_vendor, pci->subsystem_device, wl->value); pci 2873 sound/pci/intel8x0.c static int snd_intel8x0_inside_vm(struct pci_dev *pci) pci 2886 sound/pci/intel8x0.c if (pci->subsystem_vendor == PCI_SUBVENDOR_ID_REDHAT_QUMRANET && pci 2887 sound/pci/intel8x0.c pci->subsystem_device == PCI_SUBDEVICE_ID_QEMU) { pci 2891 sound/pci/intel8x0.c } else if (pci->subsystem_vendor == 0x1ab8) { pci 2899 sound/pci/intel8x0.c dev_info(&pci->dev, "%s optimization\n", msg); pci 2905 sound/pci/intel8x0.c struct pci_dev *pci, pci 2951 sound/pci/intel8x0.c if ((err = pci_enable_device(pci)) < 0) pci 2956 sound/pci/intel8x0.c pci_disable_device(pci); pci 2962 sound/pci/intel8x0.c chip->pci = pci; pci 2971 sound/pci/intel8x0.c chip->inside_vm = snd_intel8x0_inside_vm(pci); pci 2979 sound/pci/intel8x0.c if (pci->vendor == PCI_VENDOR_ID_INTEL && pci 2980 sound/pci/intel8x0.c pci->device == PCI_DEVICE_ID_INTEL_440MX) pci 2983 sound/pci/intel8x0.c if ((err = pci_request_regions(pci, card->shortname)) < 0) { pci 2985 sound/pci/intel8x0.c pci_disable_device(pci); pci 2991 sound/pci/intel8x0.c chip->bmaddr = pci_iomap(pci, 0, 0); pci 2995 sound/pci/intel8x0.c if (pci_resource_flags(pci, 2) & IORESOURCE_MEM) /* ICH4 and Nforce */ pci 2996 sound/pci/intel8x0.c chip->addr = pci_iomap(pci, 2, 0); pci 2998 sound/pci/intel8x0.c chip->addr = pci_iomap(pci, 0, 0); pci 3004 sound/pci/intel8x0.c if (pci_resource_flags(pci, 3) & IORESOURCE_MEM) /* ICH4 */ pci 3005 sound/pci/intel8x0.c chip->bmaddr = pci_iomap(pci, 3, 0); pci 3007 sound/pci/intel8x0.c chip->bmaddr = pci_iomap(pci, 1, 0); pci 3050 sound/pci/intel8x0.c if (snd_dma_alloc_pages(intel8x0_dma_type(chip), snd_dma_pci_data(pci), pci 3072 sound/pci/intel8x0.c pci_set_master(pci); pci 3103 sound/pci/intel8x0.c if (request_irq(pci->irq, snd_intel8x0_interrupt, pci 3105 sound/pci/intel8x0.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 3109 sound/pci/intel8x0.c chip->irq = pci->irq; pci 3155 sound/pci/intel8x0.c static int check_default_spdif_aclink(struct pci_dev *pci) pci 3159 sound/pci/intel8x0.c w = snd_pci_quirk_lookup(pci, spdif_aclink_defaults); pci 3162 sound/pci/intel8x0.c dev_dbg(&pci->dev, pci 3166 sound/pci/intel8x0.c dev_dbg(&pci->dev, pci 3174 sound/pci/intel8x0.c static int snd_intel8x0_probe(struct pci_dev *pci, pci 3182 sound/pci/intel8x0.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 3187 sound/pci/intel8x0.c spdif_aclink = check_default_spdif_aclink(pci); pci 3202 sound/pci/intel8x0.c if (pci->device == name->id) { pci 3218 sound/pci/intel8x0.c if ((err = snd_intel8x0_create(card, pci, pci_id->driver_data, pci 3253 sound/pci/intel8x0.c pci_set_drvdata(pci, card); pci 3257 sound/pci/intel8x0.c static void snd_intel8x0_remove(struct pci_dev *pci) pci 3259 sound/pci/intel8x0.c snd_card_free(pci_get_drvdata(pci)); pci 186 sound/pci/intel8x0m.c struct pci_dev *pci; pci 230 sound/pci/intel8x0m.c MODULE_DEVICE_TABLE(pci, snd_intel8x0m_ids); pci 737 sound/pci/intel8x0m.c snd_dma_pci_data(chip->pci), pci 842 sound/pci/intel8x0m.c ac97.pci = chip->pci; pci 996 sound/pci/intel8x0m.c pci_iounmap(chip->pci, chip->addr); pci 998 sound/pci/intel8x0m.c pci_iounmap(chip->pci, chip->bmaddr); pci 999 sound/pci/intel8x0m.c pci_release_regions(chip->pci); pci 1000 sound/pci/intel8x0m.c pci_disable_device(chip->pci); pci 1025 sound/pci/intel8x0m.c struct pci_dev *pci = to_pci_dev(dev); pci 1029 sound/pci/intel8x0m.c if (request_irq(pci->irq, snd_intel8x0m_interrupt, pci 1032 sound/pci/intel8x0m.c pci->irq); pci 1036 sound/pci/intel8x0m.c chip->irq = pci->irq; pci 1088 sound/pci/intel8x0m.c struct pci_dev *pci, pci 1108 sound/pci/intel8x0m.c if ((err = pci_enable_device(pci)) < 0) pci 1113 sound/pci/intel8x0m.c pci_disable_device(pci); pci 1119 sound/pci/intel8x0m.c chip->pci = pci; pci 1122 sound/pci/intel8x0m.c if ((err = pci_request_regions(pci, card->shortname)) < 0) { pci 1124 sound/pci/intel8x0m.c pci_disable_device(pci); pci 1130 sound/pci/intel8x0m.c chip->bmaddr = pci_iomap(pci, 0, 0); pci 1134 sound/pci/intel8x0m.c if (pci_resource_flags(pci, 2) & IORESOURCE_MEM) /* ICH4 and Nforce */ pci 1135 sound/pci/intel8x0m.c chip->addr = pci_iomap(pci, 2, 0); pci 1137 sound/pci/intel8x0m.c chip->addr = pci_iomap(pci, 0, 0); pci 1143 sound/pci/intel8x0m.c if (pci_resource_flags(pci, 3) & IORESOURCE_MEM) /* ICH4 */ pci 1144 sound/pci/intel8x0m.c chip->bmaddr = pci_iomap(pci, 3, 0); pci 1146 sound/pci/intel8x0m.c chip->bmaddr = pci_iomap(pci, 1, 0); pci 1179 sound/pci/intel8x0m.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 1197 sound/pci/intel8x0m.c pci_set_master(pci); pci 1204 sound/pci/intel8x0m.c if (request_irq(pci->irq, snd_intel8x0m_interrupt, IRQF_SHARED, pci 1206 sound/pci/intel8x0m.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1210 sound/pci/intel8x0m.c chip->irq = pci->irq; pci 1247 sound/pci/intel8x0m.c static int snd_intel8x0m_probe(struct pci_dev *pci, pci 1255 sound/pci/intel8x0m.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 1262 sound/pci/intel8x0m.c if (pci->device == name->id) { pci 1269 sound/pci/intel8x0m.c if ((err = snd_intel8x0m_create(card, pci, pci_id->driver_data, &chip)) < 0) { pci 1293 sound/pci/intel8x0m.c pci_set_drvdata(pci, card); pci 1297 sound/pci/intel8x0m.c static void snd_intel8x0m_remove(struct pci_dev *pci) pci 1299 sound/pci/intel8x0m.c snd_card_free(pci_get_drvdata(pci)); pci 304 sound/pci/korg1212/korg1212.c struct pci_dev *pci; pci 416 sound/pci/korg1212/korg1212.c MODULE_DEVICE_TABLE(pci, snd_korg1212_ids); pci 2099 sound/pci/korg1212/korg1212.c pci_release_regions(korg1212->pci); pci 2134 sound/pci/korg1212/korg1212.c pci_disable_device(korg1212->pci); pci 2146 sound/pci/korg1212/korg1212.c static int snd_korg1212_create(struct snd_card *card, struct pci_dev *pci, pci 2161 sound/pci/korg1212/korg1212.c if ((err = pci_enable_device(pci)) < 0) pci 2166 sound/pci/korg1212/korg1212.c pci_disable_device(pci); pci 2171 sound/pci/korg1212/korg1212.c korg1212->pci = pci; pci 2198 sound/pci/korg1212/korg1212.c if ((err = pci_request_regions(pci, "korg1212")) < 0) { pci 2200 sound/pci/korg1212/korg1212.c pci_disable_device(pci); pci 2204 sound/pci/korg1212/korg1212.c korg1212->iomem = pci_resource_start(korg1212->pci, 0); pci 2205 sound/pci/korg1212/korg1212.c korg1212->ioport = pci_resource_start(korg1212->pci, 1); pci 2206 sound/pci/korg1212/korg1212.c korg1212->iomem2 = pci_resource_start(korg1212->pci, 2); pci 2208 sound/pci/korg1212/korg1212.c iomem_size = pci_resource_len(korg1212->pci, 0); pci 2209 sound/pci/korg1212/korg1212.c ioport_size = pci_resource_len(korg1212->pci, 1); pci 2210 sound/pci/korg1212/korg1212.c iomem2_size = pci_resource_len(korg1212->pci, 2); pci 2229 sound/pci/korg1212/korg1212.c err = request_irq(pci->irq, snd_korg1212_interrupt, pci 2234 sound/pci/korg1212/korg1212.c snd_printk(KERN_ERR "korg1212: unable to grab IRQ %d\n", pci->irq); pci 2239 sound/pci/korg1212/korg1212.c korg1212->irq = pci->irq; pci 2241 sound/pci/korg1212/korg1212.c pci_set_master(korg1212->pci); pci 2278 sound/pci/korg1212/korg1212.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 2293 sound/pci/korg1212/korg1212.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 2305 sound/pci/korg1212/korg1212.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 2333 sound/pci/korg1212/korg1212.c err = request_firmware(&dsp_code, "korg/k1212.dsp", &pci->dev); pci 2340 sound/pci/korg1212/korg1212.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 2417 sound/pci/korg1212/korg1212.c snd_korg1212_probe(struct pci_dev *pci, pci 2432 sound/pci/korg1212/korg1212.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2437 sound/pci/korg1212/korg1212.c if ((err = snd_korg1212_create(card, pci, &korg1212)) < 0) { pci 2453 sound/pci/korg1212/korg1212.c pci_set_drvdata(pci, card); pci 2458 sound/pci/korg1212/korg1212.c static void snd_korg1212_remove(struct pci_dev *pci) pci 2460 sound/pci/korg1212/korg1212.c snd_card_free(pci_get_drvdata(pci)); pci 353 sound/pci/lola/lola.c snd_dma_pci_data(chip->pci), pci 545 sound/pci/lola/lola.c pci_release_regions(chip->pci); pci 546 sound/pci/lola/lola.c pci_disable_device(chip->pci); pci 556 sound/pci/lola/lola.c static int lola_create(struct snd_card *card, struct pci_dev *pci, pci 568 sound/pci/lola/lola.c err = pci_enable_device(pci); pci 574 sound/pci/lola/lola.c pci_disable_device(pci); pci 581 sound/pci/lola/lola.c chip->pci = pci; pci 611 sound/pci/lola/lola.c err = pci_request_regions(pci, DRVNAME); pci 614 sound/pci/lola/lola.c pci_disable_device(pci); pci 618 sound/pci/lola/lola.c chip->bar[0].addr = pci_resource_start(pci, 0); pci 619 sound/pci/lola/lola.c chip->bar[0].remap_addr = pci_ioremap_bar(pci, 0); pci 620 sound/pci/lola/lola.c chip->bar[1].addr = pci_resource_start(pci, 2); pci 621 sound/pci/lola/lola.c chip->bar[1].remap_addr = pci_ioremap_bar(pci, 2); pci 628 sound/pci/lola/lola.c pci_set_master(pci); pci 634 sound/pci/lola/lola.c if (request_irq(pci->irq, lola_interrupt, IRQF_SHARED, pci 636 sound/pci/lola/lola.c dev_err(chip->card->dev, "unable to grab IRQ %d\n", pci->irq); pci 640 sound/pci/lola/lola.c chip->irq = pci->irq; pci 689 sound/pci/lola/lola.c static int lola_probe(struct pci_dev *pci, pci 704 sound/pci/lola/lola.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 707 sound/pci/lola/lola.c dev_err(&pci->dev, "Error creating card!\n"); pci 711 sound/pci/lola/lola.c err = lola_create(card, pci, dev, &chip); pci 734 sound/pci/lola/lola.c pci_set_drvdata(pci, card); pci 742 sound/pci/lola/lola.c static void lola_remove(struct pci_dev *pci) pci 744 sound/pci/lola/lola.c snd_card_free(pci_get_drvdata(pci)); pci 752 sound/pci/lola/lola.c MODULE_DEVICE_TABLE(pci, lola_ids); pci 313 sound/pci/lola/lola.h struct pci_dev *pci; pci 595 sound/pci/lola/lola_pcm.c snd_dma_pci_data(chip->pci), pci 615 sound/pci/lola/lola_pcm.c snd_dma_pci_data(chip->pci), pci 63 sound/pci/lx6464es/lx6464es.c MODULE_DEVICE_TABLE(pci, snd_lx6464es_ids); pci 548 sound/pci/lx6464es/lx6464es.c pci_release_regions(chip->pci); pci 549 sound/pci/lx6464es/lx6464es.c pci_disable_device(chip->pci); pci 849 sound/pci/lx6464es/lx6464es.c snd_dma_pci_data(chip->pci), pci 945 sound/pci/lx6464es/lx6464es.c struct pci_dev *pci, pci 960 sound/pci/lx6464es/lx6464es.c err = pci_enable_device(pci); pci 964 sound/pci/lx6464es/lx6464es.c pci_set_master(pci); pci 967 sound/pci/lx6464es/lx6464es.c err = dma_set_mask(&pci->dev, DMA_BIT_MASK(32)); pci 971 sound/pci/lx6464es/lx6464es.c pci_disable_device(pci); pci 982 sound/pci/lx6464es/lx6464es.c chip->pci = pci; pci 991 sound/pci/lx6464es/lx6464es.c err = pci_request_regions(pci, card_name); pci 996 sound/pci/lx6464es/lx6464es.c chip->port_plx = pci_resource_start(pci, 1); pci 998 sound/pci/lx6464es/lx6464es.c pci_resource_len(pci, 1)); pci 1001 sound/pci/lx6464es/lx6464es.c chip->port_dsp_bar = pci_ioremap_bar(pci, 2); pci 1008 sound/pci/lx6464es/lx6464es.c err = request_threaded_irq(pci->irq, lx_interrupt, lx_threaded_irq, pci 1011 sound/pci/lx6464es/lx6464es.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1014 sound/pci/lx6464es/lx6464es.c chip->irq = pci->irq; pci 1043 sound/pci/lx6464es/lx6464es.c free_irq(pci->irq, chip); pci 1049 sound/pci/lx6464es/lx6464es.c pci_release_regions(pci); pci 1055 sound/pci/lx6464es/lx6464es.c pci_disable_device(pci); pci 1060 sound/pci/lx6464es/lx6464es.c static int snd_lx6464es_probe(struct pci_dev *pci, pci 1068 sound/pci/lx6464es/lx6464es.c dev_dbg(&pci->dev, "->snd_lx6464es_probe\n"); pci 1077 sound/pci/lx6464es/lx6464es.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1082 sound/pci/lx6464es/lx6464es.c err = snd_lx6464es_create(card, pci, &chip); pci 1105 sound/pci/lx6464es/lx6464es.c pci_set_drvdata(pci, card); pci 1115 sound/pci/lx6464es/lx6464es.c static void snd_lx6464es_remove(struct pci_dev *pci) pci 1117 sound/pci/lx6464es/lx6464es.c snd_card_free(pci_get_drvdata(pci)); pci 53 sound/pci/lx6464es/lx6464es.h struct pci_dev *pci; pci 737 sound/pci/maestro3.c struct pci_dev *pci; pci 808 sound/pci/maestro3.c MODULE_DEVICE_TABLE(pci, snd_m3_ids); pci 1864 sound/pci/maestro3.c snd_dma_pci_data(chip->pci), 64*1024, 64*1024); pci 1939 sound/pci/maestro3.c if (chip->pci->subsystem_vendor == 0x1028 && pci 1940 sound/pci/maestro3.c chip->pci->subsystem_device == 0x00e5) pci 2275 sound/pci/maestro3.c struct pci_dev *pcidev = chip->pci; pci 2383 sound/pci/maestro3.c pci_release_regions(chip->pci); pci 2388 sound/pci/maestro3.c pci_disable_device(chip->pci); pci 2488 sound/pci/maestro3.c pci_name(chip->pci)); pci 2493 sound/pci/maestro3.c input_dev->id.vendor = chip->pci->vendor; pci 2494 sound/pci/maestro3.c input_dev->id.product = chip->pci->device; pci 2495 sound/pci/maestro3.c input_dev->dev.parent = &chip->pci->dev; pci 2523 sound/pci/maestro3.c snd_m3_create(struct snd_card *card, struct pci_dev *pci, pci 2537 sound/pci/maestro3.c if (pci_enable_device(pci)) pci 2541 sound/pci/maestro3.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || pci 2542 sound/pci/maestro3.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { pci 2545 sound/pci/maestro3.c pci_disable_device(pci); pci 2551 sound/pci/maestro3.c pci_disable_device(pci); pci 2557 sound/pci/maestro3.c switch (pci->device) { pci 2567 sound/pci/maestro3.c chip->pci = pci; pci 2575 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_amp_quirk_list); pci 2586 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_irda_quirk_list); pci 2592 sound/pci/maestro3.c quirk = snd_pci_quirk_lookup(pci, m3_hv_quirk_list); pci 2595 sound/pci/maestro3.c if (snd_pci_quirk_lookup(pci, m3_omnibook_quirk_list)) pci 2603 sound/pci/maestro3.c pci_disable_device(pci); pci 2608 sound/pci/maestro3.c "ess/maestro3_assp_kernel.fw", &pci->dev); pci 2613 sound/pci/maestro3.c "ess/maestro3_assp_minisrc.fw", &pci->dev); pci 2617 sound/pci/maestro3.c err = pci_request_regions(pci, card->driver); pci 2621 sound/pci/maestro3.c chip->iobase = pci_resource_start(pci, 0); pci 2624 sound/pci/maestro3.c pci_set_master(pci); pci 2635 sound/pci/maestro3.c if (request_irq(pci->irq, snd_m3_interrupt, IRQF_SHARED, pci 2637 sound/pci/maestro3.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2641 sound/pci/maestro3.c chip->irq = pci->irq; pci 2693 sound/pci/maestro3.c snd_m3_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 2701 sound/pci/maestro3.c if (((pci->class >> 8) & 0xffff) != PCI_CLASS_MULTIMEDIA_AUDIO) pci 2711 sound/pci/maestro3.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2716 sound/pci/maestro3.c switch (pci->device) { pci 2730 sound/pci/maestro3.c err = snd_m3_create(card, pci, external_amp[dev], amp_gpio[dev], &chip); pci 2754 sound/pci/maestro3.c pci_set_drvdata(pci, card); pci 2763 sound/pci/maestro3.c static void snd_m3_remove(struct pci_dev *pci) pci 2765 sound/pci/maestro3.c snd_card_free(pci_get_drvdata(pci)); pci 56 sound/pci/mixart/mixart.c MODULE_DEVICE_TABLE(pci, snd_mixart_ids); pci 77 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 93 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 115 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 128 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 143 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 177 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 191 sound/pci/mixart/mixart.c dev_dbg(&mgr->pci->dev, "mixart_set_clock to %d kHz\n", rate); pci 200 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 350 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 357 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, "error stopping pipe!\n"); pci 368 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 466 sound/pci/mixart/mixart.c dev_err(&mgr->pci->dev, pci 951 sound/pci/mixart/mixart.c snd_dma_pci_data(chip->mgr->pci), 32*1024, 32*1024); pci 1099 sound/pci/mixart/mixart.c dev_dbg(&mgr->pci->dev, "reset miXart !\n"); pci 1106 sound/pci/mixart/mixart.c pci_release_regions(mgr->pci); pci 1119 sound/pci/mixart/mixart.c pci_disable_device(mgr->pci); pci 1232 sound/pci/mixart/mixart.c static int snd_mixart_probe(struct pci_dev *pci, pci 1251 sound/pci/mixart/mixart.c if ((err = pci_enable_device(pci)) < 0) pci 1253 sound/pci/mixart/mixart.c pci_set_master(pci); pci 1256 sound/pci/mixart/mixart.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 1257 sound/pci/mixart/mixart.c dev_err(&pci->dev, pci 1259 sound/pci/mixart/mixart.c pci_disable_device(pci); pci 1267 sound/pci/mixart/mixart.c pci_disable_device(pci); pci 1271 sound/pci/mixart/mixart.c mgr->pci = pci; pci 1275 sound/pci/mixart/mixart.c if ((err = pci_request_regions(pci, CARD_NAME)) < 0) { pci 1277 sound/pci/mixart/mixart.c pci_disable_device(pci); pci 1281 sound/pci/mixart/mixart.c mgr->mem[i].phys = pci_resource_start(pci, i); pci 1282 sound/pci/mixart/mixart.c mgr->mem[i].virt = pci_ioremap_bar(pci, i); pci 1284 sound/pci/mixart/mixart.c dev_err(&pci->dev, "unable to remap resource 0x%lx\n", pci 1291 sound/pci/mixart/mixart.c if (request_threaded_irq(pci->irq, snd_mixart_interrupt, pci 1294 sound/pci/mixart/mixart.c dev_err(&pci->dev, "unable to grab IRQ %d\n", pci->irq); pci 1298 sound/pci/mixart/mixart.c mgr->irq = pci->irq; pci 1324 sound/pci/mixart/mixart.c err = snd_card_new(&pci->dev, idx, tmpid, THIS_MODULE, pci 1328 sound/pci/mixart/mixart.c dev_err(&pci->dev, "cannot allocate the card %d\n", i); pci 1363 sound/pci/mixart/mixart.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 1374 sound/pci/mixart/mixart.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 1389 sound/pci/mixart/mixart.c pci_set_drvdata(pci, mgr); pci 1394 sound/pci/mixart/mixart.c static void snd_mixart_remove(struct pci_dev *pci) pci 1396 sound/pci/mixart/mixart.c snd_mixart_free(pci_get_drvdata(pci)); pci 57 sound/pci/mixart/mixart.h struct pci_dev *pci; pci 84 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 150 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, "error: no message frame available\n"); pci 250 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 264 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, "RESPONSE ERROR!\n"); pci 302 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 355 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 367 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 372 sound/pci/mixart/mixart_core.c dev_dbg(&mgr->pci->dev, pci 383 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 437 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 460 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 513 sound/pci/mixart/mixart_core.c dev_dbg(&mgr->pci->dev, pci 520 sound/pci/mixart/mixart_core.c dev_dbg(&mgr->pci->dev, "command %x not handled\n", pci 527 sound/pci/mixart/mixart_core.c dev_err(&mgr->pci->dev, pci 549 sound/pci/mixart/mixart_core.c dev_dbg(&mgr->pci->dev, pci 156 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 186 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 200 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 230 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 267 sound/pci/mixart/mixart_hwdep.c dev_dbg(&mgr->pci->dev, pci 283 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 321 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "error MSG_SYSTEM_SEND_SYNCHRO_CMD\n"); pci 347 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "miXart is resetting !\n"); pci 356 sound/pci/mixart/mixart_hwdep.c dev_dbg(&mgr->pci->dev, "xilinx is already loaded !\n"); pci 361 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 393 sound/pci/mixart/mixart_hwdep.c dev_dbg(&mgr->pci->dev, "elf file already loaded !\n"); pci 399 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 408 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "xilinx was not loaded or " pci 430 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "elf could not be started\n"); pci 444 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "xilinx or elf not " pci 452 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "error starting elf file\n"); pci 468 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 489 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "daughter board load error\n"); pci 511 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 522 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, "miXart could not be set up\n"); pci 542 sound/pci/mixart/mixart_hwdep.c dev_dbg(&mgr->pci->dev, pci 561 sound/pci/mixart/mixart_hwdep.c if (request_firmware(&fw_entry, path, &mgr->pci->dev)) { pci 562 sound/pci/mixart/mixart_hwdep.c dev_err(&mgr->pci->dev, pci 235 sound/pci/nm256/nm256.c struct pci_dev *pci; pci 258 sound/pci/nm256/nm256.c MODULE_DEVICE_TABLE(pci, snd_nm256_ids); pci 455 sound/pci/nm256/nm256.c if (request_irq(chip->pci->irq, chip->interrupt, IRQF_SHARED, pci 458 sound/pci/nm256/nm256.c "unable to grab IRQ %d\n", chip->pci->irq); pci 462 sound/pci/nm256/nm256.c chip->irq = chip->pci->irq; pci 1456 sound/pci/nm256/nm256.c pci_disable_device(chip->pci); pci 1469 sound/pci/nm256/nm256.c snd_nm256_create(struct snd_card *card, struct pci_dev *pci, pci 1481 sound/pci/nm256/nm256.c if ((err = pci_enable_device(pci)) < 0) pci 1486 sound/pci/nm256/nm256.c pci_disable_device(pci); pci 1491 sound/pci/nm256/nm256.c chip->pci = pci; pci 1508 sound/pci/nm256/nm256.c chip->buffer_addr = pci_resource_start(pci, 0); pci 1509 sound/pci/nm256/nm256.c chip->cport_addr = pci_resource_start(pci, 1); pci 1648 sound/pci/nm256/nm256.c static int snd_nm256_probe(struct pci_dev *pci, pci 1656 sound/pci/nm256/nm256.c q = snd_pci_quirk_lookup(pci, nm256_quirks); pci 1658 sound/pci/nm256/nm256.c dev_dbg(&pci->dev, "Enabled quirk for %s.\n", pci 1662 sound/pci/nm256/nm256.c dev_info(&pci->dev, pci 1674 sound/pci/nm256/nm256.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 1678 sound/pci/nm256/nm256.c switch (pci->device) { pci 1689 sound/pci/nm256/nm256.c dev_err(&pci->dev, "invalid device id 0x%x\n", pci->device); pci 1705 sound/pci/nm256/nm256.c if ((err = snd_nm256_create(card, pci, &chip)) < 0) { pci 1712 sound/pci/nm256/nm256.c dev_dbg(&pci->dev, "reset_workaround activated\n"); pci 1717 sound/pci/nm256/nm256.c dev_dbg(&pci->dev, "reset_workaround_2 activated\n"); pci 1737 sound/pci/nm256/nm256.c pci_set_drvdata(pci, card); pci 1741 sound/pci/nm256/nm256.c static void snd_nm256_remove(struct pci_dev *pci) pci 1743 sound/pci/nm256/nm256.c snd_card_free(pci_get_drvdata(pci)); pci 121 sound/pci/oxygen/oxygen.c MODULE_DEVICE_TABLE(pci, oxygen_ids); pci 837 sound/pci/oxygen/oxygen.c static int generic_oxygen_probe(struct pci_dev *pci, pci 849 sound/pci/oxygen/oxygen.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, pci 124 sound/pci/oxygen/oxygen.h struct pci_dev *pci; pci 157 sound/pci/oxygen/oxygen.h int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, pci 164 sound/pci/oxygen/oxygen.h void oxygen_pci_remove(struct pci_dev *pci); pci 168 sound/pci/oxygen/oxygen.h void oxygen_pci_shutdown(struct pci_dev *pci); pci 290 sound/pci/oxygen/oxygen_lib.c pci_write_config_word(chip->pci, PCI_SUBSYSTEM_VENDOR_ID, pci 292 sound/pci/oxygen/oxygen_lib.c pci_write_config_word(chip->pci, PCI_SUBSYSTEM_ID, pci 301 sound/pci/oxygen/oxygen_lib.c static void configure_pcie_bridge(struct pci_dev *pci) pci 315 sound/pci/oxygen/oxygen_lib.c if (!pci->bus || !pci->bus->self) pci 317 sound/pci/oxygen/oxygen_lib.c bridge = pci->bus->self; pci 580 sound/pci/oxygen/oxygen_lib.c pci_release_regions(chip->pci); pci 581 sound/pci/oxygen/oxygen_lib.c pci_disable_device(chip->pci); pci 584 sound/pci/oxygen/oxygen_lib.c int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, pci 597 sound/pci/oxygen/oxygen_lib.c err = snd_card_new(&pci->dev, index, id, owner, pci 604 sound/pci/oxygen/oxygen_lib.c chip->pci = pci; pci 613 sound/pci/oxygen/oxygen_lib.c err = pci_enable_device(pci); pci 617 sound/pci/oxygen/oxygen_lib.c err = pci_request_regions(pci, DRIVER); pci 623 sound/pci/oxygen/oxygen_lib.c if (!(pci_resource_flags(pci, 0) & IORESOURCE_IO) || pci 624 sound/pci/oxygen/oxygen_lib.c pci_resource_len(pci, 0) < OXYGEN_IO_SIZE) { pci 629 sound/pci/oxygen/oxygen_lib.c chip->addr = pci_resource_start(pci, 0); pci 650 sound/pci/oxygen/oxygen_lib.c pci_set_master(pci); pci 653 sound/pci/oxygen/oxygen_lib.c configure_pcie_bridge(pci); pci 657 sound/pci/oxygen/oxygen_lib.c err = request_irq(pci->irq, oxygen_interrupt, IRQF_SHARED, pci 660 sound/pci/oxygen/oxygen_lib.c dev_err(card->dev, "cannot grab interrupt %d\n", pci->irq); pci 663 sound/pci/oxygen/oxygen_lib.c chip->irq = pci->irq; pci 708 sound/pci/oxygen/oxygen_lib.c pci_set_drvdata(pci, card); pci 712 sound/pci/oxygen/oxygen_lib.c pci_release_regions(pci); pci 714 sound/pci/oxygen/oxygen_lib.c pci_disable_device(pci); pci 721 sound/pci/oxygen/oxygen_lib.c void oxygen_pci_remove(struct pci_dev *pci) pci 723 sound/pci/oxygen/oxygen_lib.c snd_card_free(pci_get_drvdata(pci)); pci 808 sound/pci/oxygen/oxygen_lib.c void oxygen_pci_shutdown(struct pci_dev *pci) pci 810 sound/pci/oxygen/oxygen_lib.c struct snd_card *card = pci_get_drvdata(pci); pci 716 sound/pci/oxygen/oxygen_pcm.c snd_dma_pci_data(chip->pci), pci 722 sound/pci/oxygen/oxygen_pcm.c snd_dma_pci_data(chip->pci), pci 742 sound/pci/oxygen/oxygen_pcm.c snd_dma_pci_data(chip->pci), pci 772 sound/pci/oxygen/oxygen_pcm.c snd_dma_pci_data(chip->pci), pci 790 sound/pci/oxygen/oxygen_pcm.c snd_dma_pci_data(chip->pci), pci 49 sound/pci/oxygen/se6x.c MODULE_DEVICE_TABLE(pci, se6x_ids); pci 119 sound/pci/oxygen/se6x.c static int se6x_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 130 sound/pci/oxygen/se6x.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, pci 49 sound/pci/oxygen/virtuoso.c MODULE_DEVICE_TABLE(pci, xonar_ids); pci 63 sound/pci/oxygen/virtuoso.c static int xonar_probe(struct pci_dev *pci, pci 75 sound/pci/oxygen/virtuoso.c err = oxygen_pci_probe(pci, index[dev], id[dev], THIS_MODULE, pci 130 sound/pci/pcxhr/pcxhr.c MODULE_DEVICE_TABLE(pci, pcxhr_ids); pci 274 sound/pci/pcxhr/pcxhr.c dev_err(&mgr->pci->dev, pci 347 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "clock register : set %x\n", val); pci 370 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "pcxhr_sub_set_clock to %dHz (realfreq=%d)\n", pci 470 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "External clock is at %d Hz\n", rate); pci 725 sound/pci/pcxhr/pcxhr.c dev_err(&mgr->pci->dev, "pcxhr_start_linked_stream : no pipes\n"); pci 729 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "pcxhr_start_linked_stream : " pci 737 sound/pci/pcxhr/pcxhr.c dev_err(&mgr->pci->dev, "pcxhr_start_linked_stream : " pci 782 sound/pci/pcxhr/pcxhr.c dev_err(&mgr->pci->dev, "pcxhr_start_linked_stream : " pci 816 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "***TRIGGER START*** TIME = %ld (err = %x)\n", pci 893 sound/pci/pcxhr/pcxhr.c dev_err(&mgr->pci->dev, "error pcxhr_hardware_timer err(%x)\n", pci 1174 sound/pci/pcxhr/pcxhr.c snd_dma_pci_data(chip->mgr->pci), pci 1470 sound/pci/pcxhr/pcxhr.c dev_dbg(&mgr->pci->dev, "reset pcxhr !\n"); pci 1477 sound/pci/pcxhr/pcxhr.c pci_release_regions(mgr->pci); pci 1487 sound/pci/pcxhr/pcxhr.c pci_disable_device(mgr->pci); pci 1495 sound/pci/pcxhr/pcxhr.c static int pcxhr_probe(struct pci_dev *pci, pci 1513 sound/pci/pcxhr/pcxhr.c if ((err = pci_enable_device(pci)) < 0) pci 1515 sound/pci/pcxhr/pcxhr.c pci_set_master(pci); pci 1518 sound/pci/pcxhr/pcxhr.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) { pci 1519 sound/pci/pcxhr/pcxhr.c dev_err(&pci->dev, pci 1521 sound/pci/pcxhr/pcxhr.c pci_disable_device(pci); pci 1528 sound/pci/pcxhr/pcxhr.c pci_disable_device(pci); pci 1534 sound/pci/pcxhr/pcxhr.c pci_disable_device(pci); pci 1558 sound/pci/pcxhr/pcxhr.c if ((err = pci_request_regions(pci, card_name)) < 0) { pci 1560 sound/pci/pcxhr/pcxhr.c pci_disable_device(pci); pci 1564 sound/pci/pcxhr/pcxhr.c mgr->port[i] = pci_resource_start(pci, i); pci 1566 sound/pci/pcxhr/pcxhr.c mgr->pci = pci; pci 1569 sound/pci/pcxhr/pcxhr.c if (request_threaded_irq(pci->irq, pcxhr_interrupt, pci 1572 sound/pci/pcxhr/pcxhr.c dev_err(&pci->dev, "unable to grab IRQ %d\n", pci->irq); pci 1576 sound/pci/pcxhr/pcxhr.c mgr->irq = pci->irq; pci 1614 sound/pci/pcxhr/pcxhr.c err = snd_card_new(&pci->dev, idx, tmpid, THIS_MODULE, pci 1618 sound/pci/pcxhr/pcxhr.c dev_err(&pci->dev, "cannot allocate the card %d\n", i); pci 1647 sound/pci/pcxhr/pcxhr.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 1662 sound/pci/pcxhr/pcxhr.c pci_set_drvdata(pci, mgr); pci 1667 sound/pci/pcxhr/pcxhr.c static void pcxhr_remove(struct pci_dev *pci) pci 1669 sound/pci/pcxhr/pcxhr.c pcxhr_free(pci_get_drvdata(pci)); pci 55 sound/pci/pcxhr/pcxhr.h struct pci_dev *pci; pci 123 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 130 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 207 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, "pcxhr_send_it_dsp : TIMEOUT CVR\n"); pci 218 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 285 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, "error loading first xilinx\n"); pci 351 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 387 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "no need to load eeprom boot\n"); pci 552 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 582 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, " stat[%d]=%x\n", i, data); pci 588 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "PCXHR : rmh->stat_len=%x too big\n", pci 606 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 633 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "MSG cmd[0]=%x (%s)\n", pci 663 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 690 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 698 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, "ERROR RMH(%d): 0x%x\n", pci 774 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "CMD_PIPE_STATE MBOX2=0x%06x\n", start_mask); pci 803 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 841 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 870 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 883 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 908 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 940 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, "error pipe start/stop\n"); pci 953 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "***SET PIPE STATE*** TIME = %ld (err = %x)\n", pci 967 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1021 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "CMD_ASYNC : Error %s %s Pipe %d err=%x\n", pci 1041 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1044 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1047 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1053 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "CMD_TEST_IT : err=%x, stat=%x\n", pci 1057 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1066 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, "ERROR pcxhr_msg_thread=%x;\n", pci 1079 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1137 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1204 sound/pci/pcxhr/pcxhr_core.c dev_err(&mgr->pci->dev, pci 1237 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "ERROR TIMER TOGGLE\n"); pci 1260 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, "FATAL DSP ERROR : %x\n", reg); pci 1283 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1287 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1292 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1299 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1303 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 1308 sound/pci/pcxhr/pcxhr_core.c dev_dbg(&mgr->pci->dev, pci 62 sound/pci/pcxhr/pcxhr_hwdep.c dev_dbg(&mgr->pci->dev, pci 75 sound/pci/pcxhr/pcxhr_hwdep.c dev_dbg(&mgr->pci->dev, pci 171 sound/pci/pcxhr/pcxhr_hwdep.c dev_dbg(&mgr->pci->dev, "snd_add_ref_pipe pin(%d) pcm%c0\n", pci 186 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "error pipe allocation " pci 214 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "error stopping pipe!\n"); pci 221 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "error pipe release " pci 281 sound/pci/pcxhr/pcxhr_hwdep.c dev_dbg(&mgr->pci->dev, pci 306 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "wrong file index\n"); pci 313 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "pcxhr could not be set up\n"); pci 318 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "pcxhr pipes could not be set up\n"); pci 337 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, "pcxhr pipes could not be started\n"); pci 340 sound/pci/pcxhr/pcxhr_hwdep.c dev_dbg(&mgr->pci->dev, pci 375 sound/pci/pcxhr/pcxhr_hwdep.c if (request_firmware(&fw_entry, path, &mgr->pci->dev)) { pci 376 sound/pci/pcxhr/pcxhr_hwdep.c dev_err(&mgr->pci->dev, pci 281 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, pci 397 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, "set_clock to %dHz (realfreq=%d pllreg=%x)\n", pci 423 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, pci 430 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, pci 489 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, "External clock is at %d Hz (measured %d Hz)\n", pci 679 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, "hr222_micro_boost : set %x\n", boost_mask); pci 691 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, "hr222_phantom_power : set %d\n", power); pci 417 sound/pci/riptide/riptide.c struct pci_dev *pci; pci 515 sound/pci/riptide/riptide.c MODULE_DEVICE_TABLE(pci, snd_riptide_ids); pci 1218 sound/pci/riptide/riptide.c &chip->pci->dev); pci 1553 sound/pci/riptide/riptide.c snd_dma_pci_data(chip->pci), pci 1698 sound/pci/riptide/riptide.c snd_dma_pci_data(chip->pci), pci 1827 sound/pci/riptide/riptide.c snd_riptide_create(struct snd_card *card, struct pci_dev *pci, pci 1838 sound/pci/riptide/riptide.c if ((err = pci_enable_device(pci)) < 0) pci 1845 sound/pci/riptide/riptide.c chip->pci = pci; pci 1848 sound/pci/riptide/riptide.c chip->port = pci_resource_start(pci, 0); pci 1865 sound/pci/riptide/riptide.c if (request_irq(pci->irq, snd_riptide_interrupt, IRQF_SHARED, pci 1868 sound/pci/riptide/riptide.c pci->irq); pci 1872 sound/pci/riptide/riptide.c chip->irq = pci->irq; pci 1873 sound/pci/riptide/riptide.c chip->device_id = pci->device; pci 1874 sound/pci/riptide/riptide.c pci_set_master(pci); pci 1984 sound/pci/riptide/riptide.c ac97.pci = chip->pci; pci 1993 sound/pci/riptide/riptide.c snd_riptide_joystick_probe(struct pci_dev *pci, const struct pci_device_id *id) pci 2028 sound/pci/riptide/riptide.c pci_set_drvdata(pci, gameport); pci 2036 sound/pci/riptide/riptide.c static void snd_riptide_joystick_remove(struct pci_dev *pci) pci 2038 sound/pci/riptide/riptide.c struct gameport *gameport = pci_get_drvdata(pci); pci 2047 sound/pci/riptide/riptide.c snd_card_riptide_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 2062 sound/pci/riptide/riptide.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2066 sound/pci/riptide/riptide.c err = snd_riptide_create(card, pci, &chip); pci 2087 sound/pci/riptide/riptide.c pci_write_config_word(chip->pci, PCI_EXT_Legacy_Mask, val); pci 2090 sound/pci/riptide/riptide.c pci_write_config_word(chip->pci, PCI_EXT_MPU_Base, val); pci 2103 sound/pci/riptide/riptide.c pci_write_config_word(chip->pci, PCI_EXT_FM_Base, val); pci 2121 sound/pci/riptide/riptide.c pci_write_config_word(chip->pci, PCI_EXT_Game_Base, val); pci 2143 sound/pci/riptide/riptide.c pci_set_drvdata(pci, card); pci 2152 sound/pci/riptide/riptide.c static void snd_card_riptide_remove(struct pci_dev *pci) pci 2154 sound/pci/riptide/riptide.c snd_card_free(pci_get_drvdata(pci)); pci 210 sound/pci/rme32.c struct pci_dev *pci; pci 221 sound/pci/rme32.c MODULE_DEVICE_TABLE(pci, snd_rme32_ids); pci 224 sound/pci/rme32.c #define RME32_PRO_WITH_8414(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)->rev == RME32_PRO_REVISION_WITH_8414) pci 519 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) pci 526 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) pci 533 sound/pci/rme32.c if (rme32->pci->device != PCI_DEVICE_ID_RME_DIGI32_PRO) pci 871 sound/pci/rme32.c if (rme32->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO) { pci 1313 sound/pci/rme32.c pci_release_regions(rme32->pci); pci 1316 sound/pci/rme32.c pci_disable_device(rme32->pci); pci 1334 sound/pci/rme32.c struct pci_dev *pci = rme32->pci; pci 1340 sound/pci/rme32.c if ((err = pci_enable_device(pci)) < 0) pci 1343 sound/pci/rme32.c if ((err = pci_request_regions(pci, "RME32")) < 0) pci 1345 sound/pci/rme32.c rme32->port = pci_resource_start(rme32->pci, 0); pci 1355 sound/pci/rme32.c if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_SHARED, pci 1357 sound/pci/rme32.c dev_err(rme32->card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1360 sound/pci/rme32.c rme32->irq = pci->irq; pci 1363 sound/pci/rme32.c pci_read_config_byte(pci, 8, &rme32->rev); pci 1390 sound/pci/rme32.c if ((pci->device == PCI_DEVICE_ID_RME_DIGI32) || pci 1391 sound/pci/rme32.c (pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO)) { pci 1610 sound/pci/rme32.c switch (rme32->pci->device) { pci 1634 sound/pci/rme32.c switch (rme32->pci->device) { pci 1661 sound/pci/rme32.c switch (rme32->pci->device) { pci 1907 sound/pci/rme32.c snd_rme32_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) pci 1922 sound/pci/rme32.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1929 sound/pci/rme32.c rme32->pci = pci; pci 1938 sound/pci/rme32.c switch (rme32->pci->device) { pci 1956 sound/pci/rme32.c pci_set_drvdata(pci, card); pci 1961 sound/pci/rme32.c static void snd_rme32_remove(struct pci_dev *pci) pci 1963 sound/pci/rme32.c snd_card_free(pci_get_drvdata(pci)); pci 247 sound/pci/rme96.c struct pci_dev *pci; pci 259 sound/pci/rme96.c MODULE_DEVICE_TABLE(pci, snd_rme96_ids); pci 263 sound/pci/rme96.c #define RME96_HAS_ANALOG_IN(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST) pci 264 sound/pci/rme96.c #define RME96_HAS_ANALOG_OUT(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO || \ pci 265 sound/pci/rme96.c (rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST) pci 267 sound/pci/rme96.c #define RME96_DAC_IS_1855(rme96) (((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && (rme96)->rev < 4) || \ pci 268 sound/pci/rme96.c ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO && (rme96)->rev == 2)) pci 851 sound/pci/rme96.c if ((rme96->pci->device != PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && pci 852 sound/pci/rme96.c rme96->pci->device != PCI_DEVICE_ID_RME_DIGI96_8_PRO) || pci 853 sound/pci/rme96.c (rme96->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && pci 1582 sound/pci/rme96.c pci_release_regions(rme96->pci); pci 1589 sound/pci/rme96.c pci_disable_device(rme96->pci); pci 1609 sound/pci/rme96.c struct pci_dev *pci = rme96->pci; pci 1615 sound/pci/rme96.c if ((err = pci_enable_device(pci)) < 0) pci 1618 sound/pci/rme96.c if ((err = pci_request_regions(pci, "RME96")) < 0) pci 1620 sound/pci/rme96.c rme96->port = pci_resource_start(rme96->pci, 0); pci 1630 sound/pci/rme96.c if (request_irq(pci->irq, snd_rme96_interrupt, IRQF_SHARED, pci 1632 sound/pci/rme96.c dev_err(rme96->card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1635 sound/pci/rme96.c rme96->irq = pci->irq; pci 1638 sound/pci/rme96.c pci_read_config_byte(pci, 8, &rme96->rev); pci 1655 sound/pci/rme96.c if (pci->device == PCI_DEVICE_ID_RME_DIGI96) { pci 1905 sound/pci/rme96.c switch (rme96->pci->device) { pci 1938 sound/pci/rme96.c switch (rme96->pci->device) { pci 1975 sound/pci/rme96.c switch (rme96->pci->device) { pci 1997 sound/pci/rme96.c if (rme96->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST && rme96->rev > 4) { pci 2441 sound/pci/rme96.c snd_rme96_probe(struct pci_dev *pci, pci 2457 sound/pci/rme96.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2464 sound/pci/rme96.c rme96->pci = pci; pci 2483 sound/pci/rme96.c switch (rme96->pci->device) { pci 2494 sound/pci/rme96.c pci_read_config_byte(rme96->pci, 8, &val); pci 2508 sound/pci/rme96.c pci_set_drvdata(pci, card); pci 2516 sound/pci/rme96.c static void snd_rme96_remove(struct pci_dev *pci) pci 2518 sound/pci/rme96.c snd_card_free(pci_get_drvdata(pci)); pci 490 sound/pci/rme9652/hdsp.c struct pci_dev *pci; pci 570 sound/pci/rme9652/hdsp.c static int snd_hammerfall_get_buffer(struct pci_dev *pci, struct snd_dma_buffer *dmab, size_t size) pci 573 sound/pci/rme9652/hdsp.c dmab->dev.dev = snd_dma_pci_data(pci); pci 574 sound/pci/rme9652/hdsp.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 580 sound/pci/rme9652/hdsp.c static void snd_hammerfall_free_buffer(struct snd_dma_buffer *dmab, struct pci_dev *pci) pci 597 sound/pci/rme9652/hdsp.c MODULE_DEVICE_TABLE(pci, snd_hdsp_ids); pci 3702 sound/pci/rme9652/hdsp.c snd_hammerfall_free_buffer(&hdsp->capture_dma_buf, hdsp->pci); pci 3703 sound/pci/rme9652/hdsp.c snd_hammerfall_free_buffer(&hdsp->playback_dma_buf, hdsp->pci); pci 3710 sound/pci/rme9652/hdsp.c if (snd_hammerfall_get_buffer(hdsp->pci, &hdsp->capture_dma_buf, HDSP_DMA_AREA_BYTES) < 0 || pci 3711 sound/pci/rme9652/hdsp.c snd_hammerfall_get_buffer(hdsp->pci, &hdsp->playback_dma_buf, HDSP_DMA_AREA_BYTES) < 0) { pci 5120 sound/pci/rme9652/hdsp.c if (request_firmware(&fw, fwfile, &hdsp->pci->dev)) { pci 5163 sound/pci/rme9652/hdsp.c struct pci_dev *pci = hdsp->pci; pci 5192 sound/pci/rme9652/hdsp.c pci_read_config_word(hdsp->pci, PCI_CLASS_REVISION, &hdsp->firmware_rev); pci 5202 sound/pci/rme9652/hdsp.c pci_write_config_byte(hdsp->pci, PCI_LATENCY_TIMER, 0xFF); pci 5220 sound/pci/rme9652/hdsp.c if ((err = pci_enable_device(pci)) < 0) pci 5223 sound/pci/rme9652/hdsp.c pci_set_master(hdsp->pci); pci 5225 sound/pci/rme9652/hdsp.c if ((err = pci_request_regions(pci, "hdsp")) < 0) pci 5227 sound/pci/rme9652/hdsp.c hdsp->port = pci_resource_start(pci, 0); pci 5234 sound/pci/rme9652/hdsp.c if (request_irq(pci->irq, snd_hdsp_interrupt, IRQF_SHARED, pci 5236 sound/pci/rme9652/hdsp.c dev_err(hdsp->card->dev, "unable to use IRQ %d\n", pci->irq); pci 5240 sound/pci/rme9652/hdsp.c hdsp->irq = pci->irq; pci 5327 sound/pci/rme9652/hdsp.c pci_release_regions(hdsp->pci); pci 5329 sound/pci/rme9652/hdsp.c pci_disable_device(hdsp->pci); pci 5341 sound/pci/rme9652/hdsp.c static int snd_hdsp_probe(struct pci_dev *pci, pci 5356 sound/pci/rme9652/hdsp.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 5364 sound/pci/rme9652/hdsp.c hdsp->pci = pci; pci 5378 sound/pci/rme9652/hdsp.c pci_set_drvdata(pci, card); pci 5383 sound/pci/rme9652/hdsp.c static void snd_hdsp_remove(struct pci_dev *pci) pci 5385 sound/pci/rme9652/hdsp.c snd_card_free(pci_get_drvdata(pci)); pci 1047 sound/pci/rme9652/hdspm.c struct pci_dev *pci; /* and an pci info */ pci 1082 sound/pci/rme9652/hdspm.c MODULE_DEVICE_TABLE(pci, snd_hdspm_ids); pci 6410 sound/pci/rme9652/hdspm.c snd_dma_pci_data(hdspm->pci), pci 6530 sound/pci/rme9652/hdspm.c struct pci_dev *pci = hdspm->pci; pci 6539 sound/pci/rme9652/hdspm.c pci_read_config_word(hdspm->pci, pci 6582 sound/pci/rme9652/hdspm.c err = pci_enable_device(pci); pci 6586 sound/pci/rme9652/hdspm.c pci_set_master(hdspm->pci); pci 6588 sound/pci/rme9652/hdspm.c err = pci_request_regions(pci, "hdspm"); pci 6592 sound/pci/rme9652/hdspm.c hdspm->port = pci_resource_start(pci, 0); pci 6593 sound/pci/rme9652/hdspm.c io_extent = pci_resource_len(pci, 0); pci 6608 sound/pci/rme9652/hdspm.c if (request_irq(pci->irq, snd_hdspm_interrupt, pci 6610 sound/pci/rme9652/hdspm.c dev_err(card->dev, "unable to use IRQ %d\n", pci->irq); pci 6614 sound/pci/rme9652/hdspm.c dev_dbg(card->dev, "use IRQ %d\n", pci->irq); pci 6616 sound/pci/rme9652/hdspm.c hdspm->irq = pci->irq; pci 6890 sound/pci/rme9652/hdspm.c pci_release_regions(hdspm->pci); pci 6892 sound/pci/rme9652/hdspm.c pci_disable_device(hdspm->pci); pci 6906 sound/pci/rme9652/hdspm.c static int snd_hdspm_probe(struct pci_dev *pci, pci 6921 sound/pci/rme9652/hdspm.c err = snd_card_new(&pci->dev, index[dev], id[dev], pci 6929 sound/pci/rme9652/hdspm.c hdspm->pci = pci; pci 6954 sound/pci/rme9652/hdspm.c pci_set_drvdata(pci, card); pci 6964 sound/pci/rme9652/hdspm.c static void snd_hdspm_remove(struct pci_dev *pci) pci 6966 sound/pci/rme9652/hdspm.c snd_card_free(pci_get_drvdata(pci)); pci 236 sound/pci/rme9652/rme9652.c struct pci_dev *pci; pci 280 sound/pci/rme9652/rme9652.c static int snd_hammerfall_get_buffer(struct pci_dev *pci, struct snd_dma_buffer *dmab, size_t size) pci 283 sound/pci/rme9652/rme9652.c dmab->dev.dev = snd_dma_pci_data(pci); pci 284 sound/pci/rme9652/rme9652.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(pci), pci 290 sound/pci/rme9652/rme9652.c static void snd_hammerfall_free_buffer(struct snd_dma_buffer *dmab, struct pci_dev *pci) pci 307 sound/pci/rme9652/rme9652.c MODULE_DEVICE_TABLE(pci, snd_rme9652_ids); pci 1732 sound/pci/rme9652/rme9652.c snd_hammerfall_free_buffer(&rme9652->capture_dma_buf, rme9652->pci); pci 1733 sound/pci/rme9652/rme9652.c snd_hammerfall_free_buffer(&rme9652->playback_dma_buf, rme9652->pci); pci 1746 sound/pci/rme9652/rme9652.c pci_release_regions(rme9652->pci); pci 1748 sound/pci/rme9652/rme9652.c pci_disable_device(rme9652->pci); pci 1756 sound/pci/rme9652/rme9652.c if (snd_hammerfall_get_buffer(rme9652->pci, &rme9652->capture_dma_buf, RME9652_DMA_AREA_BYTES) < 0 || pci 1757 sound/pci/rme9652/rme9652.c snd_hammerfall_get_buffer(rme9652->pci, &rme9652->playback_dma_buf, RME9652_DMA_AREA_BYTES) < 0) { pci 2444 sound/pci/rme9652/rme9652.c struct pci_dev *pci = rme9652->pci; pci 2452 sound/pci/rme9652/rme9652.c pci_read_config_word(rme9652->pci, PCI_CLASS_REVISION, &rev); pci 2466 sound/pci/rme9652/rme9652.c if ((err = pci_enable_device(pci)) < 0) pci 2471 sound/pci/rme9652/rme9652.c if ((err = pci_request_regions(pci, "rme9652")) < 0) pci 2473 sound/pci/rme9652/rme9652.c rme9652->port = pci_resource_start(pci, 0); pci 2481 sound/pci/rme9652/rme9652.c if (request_irq(pci->irq, snd_rme9652_interrupt, IRQF_SHARED, pci 2483 sound/pci/rme9652/rme9652.c dev_err(card->dev, "unable to request IRQ %d\n", pci->irq); pci 2486 sound/pci/rme9652/rme9652.c rme9652->irq = pci->irq; pci 2541 sound/pci/rme9652/rme9652.c pci_set_master(rme9652->pci); pci 2581 sound/pci/rme9652/rme9652.c static int snd_rme9652_probe(struct pci_dev *pci, pci 2596 sound/pci/rme9652/rme9652.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 2605 sound/pci/rme9652/rme9652.c rme9652->pci = pci; pci 2620 sound/pci/rme9652/rme9652.c pci_set_drvdata(pci, card); pci 2625 sound/pci/rme9652/rme9652.c static void snd_rme9652_remove(struct pci_dev *pci) pci 2627 sound/pci/rme9652/rme9652.c snd_card_free(pci_get_drvdata(pci)); pci 48 sound/pci/sis7019.c MODULE_DEVICE_TABLE(pci, snd_sis7019_ids); pci 106 sound/pci/sis7019.c struct pci_dev *pci; pci 374 sound/pci/sis7019.c sis->silence_dma_addr = dma_map_single(&sis->pci->dev, pci 385 sound/pci/sis7019.c dma_unmap_single(&sis->pci->dev, sis->silence_dma_addr, 4096, pci 908 sound/pci/sis7019.c snd_dma_pci_data(sis->pci), 64*1024, 128*1024); pci 974 sound/pci/sis7019.c dev_err(&sis->pci->dev, "ac97 codec %d timeout cmd 0x%08x\n", pci 1056 sound/pci/sis7019.c pci_release_regions(sis->pci); pci 1057 sound/pci/sis7019.c pci_disable_device(sis->pci); pci 1130 sound/pci/sis7019.c dev_err(&sis->pci->dev, "could not find any codecs\n"); pci 1135 sound/pci/sis7019.c dev_warn(&sis->pci->dev, "missing codecs, found %0x, expected %0x\n", pci 1231 sound/pci/sis7019.c struct pci_dev *pci = to_pci_dev(dev); pci 1238 sound/pci/sis7019.c dev_err(&pci->dev, "unable to re-init controller\n"); pci 1242 sound/pci/sis7019.c if (request_irq(pci->irq, sis_interrupt, IRQF_SHARED, pci 1244 sound/pci/sis7019.c dev_err(&pci->dev, "unable to regain IRQ %d\n", pci->irq); pci 1258 sound/pci/sis7019.c sis->irq = pci->irq; pci 1301 sound/pci/sis7019.c struct pci_dev *pci) pci 1311 sound/pci/sis7019.c rc = pci_enable_device(pci); pci 1315 sound/pci/sis7019.c rc = dma_set_mask(&pci->dev, DMA_BIT_MASK(30)); pci 1317 sound/pci/sis7019.c dev_err(&pci->dev, "architecture does not support 30-bit PCI busmaster DMA"); pci 1325 sound/pci/sis7019.c sis->pci = pci; pci 1327 sound/pci/sis7019.c sis->ioport = pci_resource_start(pci, 0); pci 1329 sound/pci/sis7019.c rc = pci_request_regions(pci, "SiS7019"); pci 1331 sound/pci/sis7019.c dev_err(&pci->dev, "unable request regions\n"); pci 1336 sound/pci/sis7019.c sis->ioaddr = ioremap_nocache(pci_resource_start(pci, 1), 0x4000); pci 1338 sound/pci/sis7019.c dev_err(&pci->dev, "unable to remap MMIO, aborting\n"); pci 1344 sound/pci/sis7019.c dev_err(&pci->dev, "unable to allocate state storage\n"); pci 1352 sound/pci/sis7019.c rc = request_irq(pci->irq, sis_interrupt, IRQF_SHARED, KBUILD_MODNAME, pci 1355 sound/pci/sis7019.c dev_err(&pci->dev, "unable to allocate irq %d\n", sis->irq); pci 1359 sound/pci/sis7019.c sis->irq = pci->irq; pci 1360 sound/pci/sis7019.c pci_set_master(pci); pci 1384 sound/pci/sis7019.c pci_disable_device(pci); pci 1390 sound/pci/sis7019.c static int snd_sis7019_probe(struct pci_dev *pci, pci 1412 sound/pci/sis7019.c rc = snd_card_new(&pci->dev, index, id, THIS_MODULE, pci 1419 sound/pci/sis7019.c rc = sis_chip_create(card, pci); pci 1442 sound/pci/sis7019.c pci_set_drvdata(pci, card); pci 1452 sound/pci/sis7019.c static void snd_sis7019_remove(struct pci_dev *pci) pci 1454 sound/pci/sis7019.c snd_card_free(pci_get_drvdata(pci)); pci 209 sound/pci/sonicvibes.c struct pci_dev *pci; pci 235 sound/pci/sonicvibes.c MODULE_DEVICE_TABLE(pci, snd_sonic_ids); pci 887 sound/pci/sonicvibes.c snd_dma_pci_data(sonic->pci), 64*1024, 128*1024); pci 1185 sound/pci/sonicvibes.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(sonic->pci)); pci 1186 sound/pci/sonicvibes.c gameport_set_dev_parent(gp, &sonic->pci->dev); pci 1214 sound/pci/sonicvibes.c pci_write_config_dword(sonic->pci, 0x40, sonic->dmaa_port); pci 1215 sound/pci/sonicvibes.c pci_write_config_dword(sonic->pci, 0x48, sonic->dmac_port); pci 1220 sound/pci/sonicvibes.c pci_release_regions(sonic->pci); pci 1221 sound/pci/sonicvibes.c pci_disable_device(sonic->pci); pci 1233 sound/pci/sonicvibes.c struct pci_dev *pci, pci 1247 sound/pci/sonicvibes.c if ((err = pci_enable_device(pci)) < 0) pci 1250 sound/pci/sonicvibes.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(24)) < 0 || pci 1251 sound/pci/sonicvibes.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(24)) < 0) { pci 1254 sound/pci/sonicvibes.c pci_disable_device(pci); pci 1260 sound/pci/sonicvibes.c pci_disable_device(pci); pci 1265 sound/pci/sonicvibes.c sonic->pci = pci; pci 1268 sound/pci/sonicvibes.c if ((err = pci_request_regions(pci, "S3 SonicVibes")) < 0) { pci 1270 sound/pci/sonicvibes.c pci_disable_device(pci); pci 1274 sound/pci/sonicvibes.c sonic->sb_port = pci_resource_start(pci, 0); pci 1275 sound/pci/sonicvibes.c sonic->enh_port = pci_resource_start(pci, 1); pci 1276 sound/pci/sonicvibes.c sonic->synth_port = pci_resource_start(pci, 2); pci 1277 sound/pci/sonicvibes.c sonic->midi_port = pci_resource_start(pci, 3); pci 1278 sound/pci/sonicvibes.c sonic->game_port = pci_resource_start(pci, 4); pci 1280 sound/pci/sonicvibes.c if (request_irq(pci->irq, snd_sonicvibes_interrupt, IRQF_SHARED, pci 1282 sound/pci/sonicvibes.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1286 sound/pci/sonicvibes.c sonic->irq = pci->irq; pci 1288 sound/pci/sonicvibes.c pci_read_config_dword(pci, 0x40, &dmaa); pci 1289 sound/pci/sonicvibes.c pci_read_config_dword(pci, 0x48, &dmac); pci 1307 sound/pci/sonicvibes.c pci_write_config_dword(pci, 0x40, dmaa); pci 1308 sound/pci/sonicvibes.c pci_write_config_dword(pci, 0x48, dmac); pci 1325 sound/pci/sonicvibes.c pci_read_config_dword(pci, 0x40, &sonic->dmaa_port); pci 1326 sound/pci/sonicvibes.c pci_read_config_dword(pci, 0x48, &sonic->dmac_port); pci 1329 sound/pci/sonicvibes.c pci_write_config_dword(pci, 0x40, sonic->dmaa_port | 9); /* enable + enhanced */ pci 1330 sound/pci/sonicvibes.c pci_write_config_dword(pci, 0x48, sonic->dmac_port | 9); /* enable */ pci 1432 sound/pci/sonicvibes.c static int snd_sonic_probe(struct pci_dev *pci, pci 1449 sound/pci/sonicvibes.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 1454 sound/pci/sonicvibes.c if (pci_resource_start(pci, idx) == 0 || pci 1455 sound/pci/sonicvibes.c !(pci_resource_flags(pci, idx) & IORESOURCE_IO)) { pci 1460 sound/pci/sonicvibes.c if ((err = snd_sonicvibes_create(card, pci, pci 1473 sound/pci/sonicvibes.c (unsigned long long)pci_resource_start(pci, 1), pci 1515 sound/pci/sonicvibes.c pci_set_drvdata(pci, card); pci 1520 sound/pci/sonicvibes.c static void snd_sonic_remove(struct pci_dev *pci) pci 1522 sound/pci/sonicvibes.c snd_card_free(pci_get_drvdata(pci)); pci 59 sound/pci/trident/trident.c MODULE_DEVICE_TABLE(pci, snd_trident_ids); pci 61 sound/pci/trident/trident.c static int snd_trident_probe(struct pci_dev *pci, pci 77 sound/pci/trident/trident.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 82 sound/pci/trident/trident.c if ((err = snd_trident_create(card, pci, pci 84 sound/pci/trident/trident.c ((pci->vendor << 16) | pci->device) == TRIDENT_DEVICE_ID_SI7018 ? 1 : 2, pci 150 sound/pci/trident/trident.c pci_set_drvdata(pci, card); pci 155 sound/pci/trident/trident.c static void snd_trident_remove(struct pci_dev *pci) pci 157 sound/pci/trident/trident.c snd_card_free(pci_get_drvdata(pci)); pci 377 sound/pci/trident/trident.h struct pci_dev *pci; pci 401 sound/pci/trident/trident.h struct pci_dev *pci, pci 2189 sound/pci/trident/trident_main.c snd_dma_pci_data(trident->pci), pci 2192 sound/pci/trident/trident_main.c SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(trident->pci), pci 2196 sound/pci/trident/trident_main.c snd_dma_pci_data(trident->pci), 64*1024, 128*1024); pci 2246 sound/pci/trident/trident_main.c snd_dma_pci_data(trident->pci), 0, 128*1024); pci 2249 sound/pci/trident/trident_main.c snd_dma_pci_data(trident->pci), 64*1024, 128*1024); pci 2283 sound/pci/trident/trident_main.c snd_pcm_lib_preallocate_pages_for_all(spdif, SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(trident->pci), 64*1024, 128*1024); pci 3179 sound/pci/trident/trident_main.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 3180 sound/pci/trident/trident_main.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 3226 sound/pci/trident/trident_main.c pci_write_config_byte(trident->pci, 0x46, 0x04); /* SOFTWARE RESET */ pci 3228 sound/pci/trident/trident_main.c pci_write_config_byte(trident->pci, 0x46, 0x00); pci 3341 sound/pci/trident/trident_main.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(trident->pci), pci 3356 sound/pci/trident/trident_main.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(trident->pci), pci 3390 sound/pci/trident/trident_main.c struct pci_dev *pci = trident->pci; pci 3394 sound/pci/trident/trident_main.c pci_write_config_dword(pci, 0x40, 0); /* DDMA */ pci 3395 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x44, 0); /* ports */ pci 3396 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x45, 0); /* Legacy DMA */ pci 3397 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x46, 4); /* reset */ pci 3399 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x46, 0); /* release reset */ pci 3430 sound/pci/trident/trident_main.c struct pci_dev *pci = trident->pci; pci 3434 sound/pci/trident/trident_main.c pci_write_config_dword(pci, 0x40, 0); /* DDMA */ pci 3435 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x44, 0); /* ports */ pci 3436 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x45, 0); /* Legacy DMA */ pci 3438 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x46, 1); /* reset */ pci 3440 sound/pci/trident/trident_main.c pci_write_config_byte(pci, 0x46, 0); /* release reset */ pci 3518 sound/pci/trident/trident_main.c struct pci_dev *pci, pci 3535 sound/pci/trident/trident_main.c if ((err = pci_enable_device(pci)) < 0) pci 3538 sound/pci/trident/trident_main.c if (dma_set_mask(&pci->dev, DMA_BIT_MASK(30)) < 0 || pci 3539 sound/pci/trident/trident_main.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(30)) < 0) { pci 3542 sound/pci/trident/trident_main.c pci_disable_device(pci); pci 3548 sound/pci/trident/trident_main.c pci_disable_device(pci); pci 3551 sound/pci/trident/trident_main.c trident->device = (pci->vendor << 16) | pci->device; pci 3553 sound/pci/trident/trident_main.c trident->pci = pci; pci 3568 sound/pci/trident/trident_main.c pci_set_master(pci); pci 3570 sound/pci/trident/trident_main.c if ((err = pci_request_regions(pci, "Trident Audio")) < 0) { pci 3572 sound/pci/trident/trident_main.c pci_disable_device(pci); pci 3575 sound/pci/trident/trident_main.c trident->port = pci_resource_start(pci, 0); pci 3577 sound/pci/trident/trident_main.c if (request_irq(pci->irq, snd_trident_interrupt, IRQF_SHARED, pci 3579 sound/pci/trident/trident_main.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 3583 sound/pci/trident/trident_main.c trident->irq = pci->irq; pci 3679 sound/pci/trident/trident_main.c pci_release_regions(trident->pci); pci 3680 sound/pci/trident/trident_main.c pci_disable_device(trident->pci); pci 364 sound/pci/via82xx.c struct pci_dev *pci; pci 401 sound/pci/via82xx.c MODULE_DEVICE_TABLE(pci, snd_via82xx_ids); pci 412 sound/pci/via82xx.c struct pci_dev *pci, pci 422 sound/pci/via82xx.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 450 sound/pci/via82xx.c dev_err(&pci->dev, "too much table size!\n"); pci 485 sound/pci/via82xx.c struct pci_dev *pci) pci 927 sound/pci/via82xx.c err = build_via_table(viadev, substream, chip->pci, pci 945 sound/pci/via82xx.c clean_via_table(viadev, substream, chip->pci); pci 1462 sound/pci/via82xx.c snd_dma_pci_data(chip->pci), pci 1486 sound/pci/via82xx.c snd_dma_pci_data(chip->pci), pci 1529 sound/pci/via82xx.c snd_dma_pci_data(chip->pci), pci 1555 sound/pci/via82xx.c snd_dma_pci_data(chip->pci), pci 1585 sound/pci/via82xx.c snd_dma_pci_data(chip->pci), pci 1650 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &val); pci 1661 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &oval); pci 1668 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA8233_SPDIF_CTRL, val); pci 1904 sound/pci/via82xx.c ac97.pci = chip->pci; pci 1945 sound/pci/via82xx.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 1946 sound/pci/via82xx.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 1952 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, *legacy); pci 2032 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &val); pci 2035 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA8233_SPDIF_CTRL, val); pci 2053 sound/pci/via82xx.c pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); pci 2058 sound/pci/via82xx.c mpu_port = pci_resource_start(chip->pci, 2); pci 2088 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, legacy); pci 2089 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_PNP_CONTROL, legacy_cfg); pci 2102 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, legacy); pci 2150 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, 0); pci 2152 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA_ACLINK_STAT, &pval); pci 2155 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, pci 2161 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, 0x00); pci 2165 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, pci 2171 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, VIA_ACLINK_CTRL_INIT); pci 2177 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA_ACLINK_CTRL, &pval); pci 2181 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, VIA_ACLINK_CTRL_INIT); pci 2188 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA_ACLINK_STAT, &pval); pci 2220 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FM_NMI_CTRL, 0); pci 2229 sound/pci/via82xx.c struct pci_dev *pci; pci 2230 sound/pci/via82xx.c pci = pci_get_device(0x1106, 0x3068, NULL); /* MC97 */ pci 2231 sound/pci/via82xx.c if (pci) { pci 2233 sound/pci/via82xx.c pci_read_config_byte(pci, 0x44, &data); pci 2234 sound/pci/via82xx.c pci_write_config_byte(pci, 0x44, data | 0x40); pci 2235 sound/pci/via82xx.c pci_dev_put(pci); pci 2272 sound/pci/via82xx.c pci_read_config_byte(chip->pci, VIA8233_SPDIF_CTRL, &chip->spdif_ctrl_saved); pci 2290 sound/pci/via82xx.c pci_write_config_dword(chip->pci, 0x18, chip->mpu_port_saved | 0x01); pci 2291 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, chip->legacy_saved); pci 2292 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_PNP_CONTROL, chip->legacy_cfg_saved); pci 2294 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA8233_SPDIF_CTRL, chip->spdif_ctrl_saved); pci 2328 sound/pci/via82xx.c pci_release_regions(chip->pci); pci 2332 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, chip->old_legacy); pci 2333 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_PNP_CONTROL, chip->old_legacy_cfg); pci 2335 sound/pci/via82xx.c pci_disable_device(chip->pci); pci 2347 sound/pci/via82xx.c struct pci_dev *pci, pci 2359 sound/pci/via82xx.c if ((err = pci_enable_device(pci)) < 0) pci 2363 sound/pci/via82xx.c pci_disable_device(pci); pci 2374 sound/pci/via82xx.c chip->pci = pci; pci 2377 sound/pci/via82xx.c pci_read_config_byte(pci, VIA_FUNC_ENABLE, &chip->old_legacy); pci 2378 sound/pci/via82xx.c pci_read_config_byte(pci, VIA_PNP_CONTROL, &chip->old_legacy_cfg); pci 2379 sound/pci/via82xx.c pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, pci 2382 sound/pci/via82xx.c if ((err = pci_request_regions(pci, card->driver)) < 0) { pci 2384 sound/pci/via82xx.c pci_disable_device(pci); pci 2387 sound/pci/via82xx.c chip->port = pci_resource_start(pci, 0); pci 2388 sound/pci/via82xx.c if (request_irq(pci->irq, pci 2393 sound/pci/via82xx.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2397 sound/pci/via82xx.c chip->irq = pci->irq; pci 2415 sound/pci/via82xx.c pci_set_master(pci); pci 2484 sound/pci/via82xx.c static int check_dxs_list(struct pci_dev *pci, int revision) pci 2488 sound/pci/via82xx.c w = snd_pci_quirk_lookup(pci, dxs_whitelist); pci 2490 sound/pci/via82xx.c dev_dbg(&pci->dev, "DXS white list for %s found\n", pci 2502 sound/pci/via82xx.c dev_info(&pci->dev, "Assuming DXS channels with 48k fixed sample rate.\n"); pci 2503 sound/pci/via82xx.c dev_info(&pci->dev, " Please try dxs_support=5 option\n"); pci 2504 sound/pci/via82xx.c dev_info(&pci->dev, " and report if it works on your machine.\n"); pci 2505 sound/pci/via82xx.c dev_info(&pci->dev, " For more details, read ALSA-Configuration.txt.\n"); pci 2509 sound/pci/via82xx.c static int snd_via82xx_probe(struct pci_dev *pci, pci 2518 sound/pci/via82xx.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 2526 sound/pci/via82xx.c sprintf(card->shortname, "VIA 82C686A/B rev%x", pci->revision); pci 2531 sound/pci/via82xx.c sprintf(card->shortname, "VIA 823x rev%x", pci->revision); pci 2533 sound/pci/via82xx.c if (pci->revision == via823x_cards[i].revision) { pci 2541 sound/pci/via82xx.c dxs_support = check_dxs_list(pci, pci->revision); pci 2552 sound/pci/via82xx.c else if (pci->revision >= VIA_REV_8237) pci 2563 sound/pci/via82xx.c if ((err = snd_via82xx_create(card, pci, chip_type, pci->revision, pci 2609 sound/pci/via82xx.c pci_set_drvdata(pci, card); pci 2617 sound/pci/via82xx.c static void snd_via82xx_remove(struct pci_dev *pci) pci 2619 sound/pci/via82xx.c snd_card_free(pci_get_drvdata(pci)); pci 231 sound/pci/via82xx_modem.c struct pci_dev *pci; pci 254 sound/pci/via82xx_modem.c MODULE_DEVICE_TABLE(pci, snd_via82xx_modem_ids); pci 265 sound/pci/via82xx_modem.c struct pci_dev *pci, pci 275 sound/pci/via82xx_modem.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 303 sound/pci/via82xx_modem.c dev_err(&pci->dev, "too much table size!\n"); pci 339 sound/pci/via82xx_modem.c struct pci_dev *pci) pci 648 sound/pci/via82xx_modem.c err = build_via_table(viadev, substream, chip->pci, pci 669 sound/pci/via82xx_modem.c clean_via_table(viadev, substream, chip->pci); pci 855 sound/pci/via82xx_modem.c snd_dma_pci_data(chip->pci), pci 897 sound/pci/via82xx_modem.c ac97.pci = chip->pci; pci 938 sound/pci/via82xx_modem.c pci_read_config_byte(chip->pci, VIA_MC97_CTRL, &pval); pci 940 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, 0x44, pval|VIA_MC97_CTRL_INIT); pci 944 sound/pci/via82xx_modem.c pci_read_config_byte(chip->pci, VIA_ACLINK_STAT, &pval); pci 947 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, pci 953 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, 0x00); pci 957 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, pci 962 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, VIA_ACLINK_CTRL_INIT); pci 966 sound/pci/via82xx_modem.c pci_read_config_byte(chip->pci, VIA_ACLINK_CTRL, &pval); pci 969 sound/pci/via82xx_modem.c pci_write_config_byte(chip->pci, VIA_ACLINK_CTRL, VIA_ACLINK_CTRL_INIT); pci 976 sound/pci/via82xx_modem.c pci_read_config_byte(chip->pci, VIA_ACLINK_STAT, &pval); pci 1066 sound/pci/via82xx_modem.c pci_release_regions(chip->pci); pci 1067 sound/pci/via82xx_modem.c pci_disable_device(chip->pci); pci 1079 sound/pci/via82xx_modem.c struct pci_dev *pci, pci 1091 sound/pci/via82xx_modem.c if ((err = pci_enable_device(pci)) < 0) pci 1095 sound/pci/via82xx_modem.c pci_disable_device(pci); pci 1101 sound/pci/via82xx_modem.c chip->pci = pci; pci 1104 sound/pci/via82xx_modem.c if ((err = pci_request_regions(pci, card->driver)) < 0) { pci 1106 sound/pci/via82xx_modem.c pci_disable_device(pci); pci 1109 sound/pci/via82xx_modem.c chip->port = pci_resource_start(pci, 0); pci 1110 sound/pci/via82xx_modem.c if (request_irq(pci->irq, snd_via82xx_interrupt, IRQF_SHARED, pci 1112 sound/pci/via82xx_modem.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 1116 sound/pci/via82xx_modem.c chip->irq = pci->irq; pci 1134 sound/pci/via82xx_modem.c pci_set_master(pci); pci 1141 sound/pci/via82xx_modem.c static int snd_via82xx_probe(struct pci_dev *pci, pci 1150 sound/pci/via82xx_modem.c err = snd_card_new(&pci->dev, index, id, THIS_MODULE, 0, &card); pci 1166 sound/pci/via82xx_modem.c if ((err = snd_via82xx_create(card, pci, chip_type, pci->revision, pci 1189 sound/pci/via82xx_modem.c pci_set_drvdata(pci, card); pci 1197 sound/pci/via82xx_modem.c static void snd_via82xx_remove(struct pci_dev *pci) pci 1199 sound/pci/via82xx_modem.c snd_card_free(pci_get_drvdata(pci)); pci 56 sound/pci/vx222/vx222.c MODULE_DEVICE_TABLE(pci, snd_vx222_ids); pci 111 sound/pci/vx222/vx222.c pci_release_regions(vx->pci); pci 112 sound/pci/vx222/vx222.c pci_disable_device(vx->pci); pci 124 sound/pci/vx222/vx222.c static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, pci 137 sound/pci/vx222/vx222.c if ((err = pci_enable_device(pci)) < 0) pci 139 sound/pci/vx222/vx222.c pci_set_master(pci); pci 145 sound/pci/vx222/vx222.c pci_disable_device(pci); pci 149 sound/pci/vx222/vx222.c vx->pci = pci; pci 151 sound/pci/vx222/vx222.c if ((err = pci_request_regions(pci, CARD_NAME)) < 0) { pci 156 sound/pci/vx222/vx222.c vx->port[i] = pci_resource_start(pci, i + 1); pci 158 sound/pci/vx222/vx222.c if (request_threaded_irq(pci->irq, snd_vx_irq_handler, pci 161 sound/pci/vx222/vx222.c dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); pci 165 sound/pci/vx222/vx222.c chip->irq = pci->irq; pci 177 sound/pci/vx222/vx222.c static int snd_vx222_probe(struct pci_dev *pci, pci 193 sound/pci/vx222/vx222.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 210 sound/pci/vx222/vx222.c if ((err = snd_vx222_create(card, pci, hw, &vx)) < 0) { pci 223 sound/pci/vx222/vx222.c vx->core.dev = &pci->dev; pci 236 sound/pci/vx222/vx222.c pci_set_drvdata(pci, card); pci 241 sound/pci/vx222/vx222.c static void snd_vx222_remove(struct pci_dev *pci) pci 243 sound/pci/vx222/vx222.c snd_card_free(pci_get_drvdata(pci)); pci 18 sound/pci/vx222/vx222.h struct pci_dev *pci; pci 64 sound/pci/ymfpci/ymfpci.c MODULE_DEVICE_TABLE(pci, snd_ymfpci_ids); pci 77 sound/pci/ymfpci/ymfpci.c if (chip->pci->device >= 0x0010) { /* YMF 744/754 */ pci 81 sound/pci/ymfpci/ymfpci.c if (!(io_port = pci_resource_start(chip->pci, 2))) pci 127 sound/pci/ymfpci/ymfpci.c gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci)); pci 128 sound/pci/ymfpci/ymfpci.c gameport_set_dev_parent(gp, &chip->pci->dev); pci 132 sound/pci/ymfpci/ymfpci.c if (chip->pci->device >= 0x0010) /* YMF 744/754 */ pci 133 sound/pci/ymfpci/ymfpci.c pci_write_config_word(chip->pci, PCIR_DSXG_JOYBASE, io_port); pci 135 sound/pci/ymfpci/ymfpci.c pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, legacy_ctrl | YMFPCI_LEGACY_JPEN); pci 136 sound/pci/ymfpci/ymfpci.c pci_write_config_word(chip->pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); pci 159 sound/pci/ymfpci/ymfpci.c static int snd_card_ymfpci_probe(struct pci_dev *pci, pci 179 sound/pci/ymfpci/ymfpci.c err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, pci 200 sound/pci/ymfpci/ymfpci.c fm_port[dev] = pci_resource_start(pci, 1); pci 205 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); pci 209 sound/pci/ymfpci/ymfpci.c mpu_port[dev] = pci_resource_start(pci, 1) + 0x20; pci 214 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); pci 250 sound/pci/ymfpci/ymfpci.c pci_read_config_word(pci, PCIR_DSXG_LEGACY, &old_legacy_ctrl); pci 251 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); pci 252 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); pci 253 sound/pci/ymfpci/ymfpci.c if ((err = snd_ymfpci_create(card, pci, pci 305 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); pci 317 sound/pci/ymfpci/ymfpci.c pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); pci 330 sound/pci/ymfpci/ymfpci.c pci_set_drvdata(pci, card); pci 339 sound/pci/ymfpci/ymfpci.c static void snd_card_ymfpci_remove(struct pci_dev *pci) pci 341 sound/pci/ymfpci/ymfpci.c snd_card_free(pci_get_drvdata(pci)); pci 321 sound/pci/ymfpci/ymfpci.h struct pci_dev *pci; pci 360 sound/pci/ymfpci/ymfpci.h struct pci_dev *pci, pci 590 sound/pci/ymfpci/ymfpci_main.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 1152 sound/pci/ymfpci/ymfpci_main.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1187 sound/pci/ymfpci/ymfpci_main.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1220 sound/pci/ymfpci/ymfpci_main.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1261 sound/pci/ymfpci/ymfpci_main.c snd_dma_pci_data(chip->pci), 64*1024, 256*1024); pci 1981 sound/pci/ymfpci/ymfpci_main.c static void snd_ymfpci_aclink_reset(struct pci_dev * pci) pci 1985 sound/pci/ymfpci/ymfpci_main.c pci_read_config_byte(pci, PCIR_DSXG_CTRL, &cmd); pci 1989 sound/pci/ymfpci/ymfpci_main.c pci_write_config_byte(pci, PCIR_DSXG_CTRL, cmd & 0xfc); pci 1990 sound/pci/ymfpci/ymfpci_main.c pci_write_config_byte(pci, PCIR_DSXG_CTRL, cmd | 0x03); pci 1991 sound/pci/ymfpci/ymfpci_main.c pci_write_config_byte(pci, PCIR_DSXG_CTRL, cmd & 0xfc); pci 1992 sound/pci/ymfpci/ymfpci_main.c pci_write_config_word(pci, PCIR_DSXG_PWRCTRL1, 0); pci 1993 sound/pci/ymfpci/ymfpci_main.c pci_write_config_word(pci, PCIR_DSXG_PWRCTRL2, 0); pci 2025 sound/pci/ymfpci/ymfpci_main.c &chip->pci->dev); pci 2041 sound/pci/ymfpci/ymfpci_main.c &chip->pci->dev); pci 2111 sound/pci/ymfpci/ymfpci_main.c if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, snd_dma_pci_data(chip->pci), pci 2220 sound/pci/ymfpci/ymfpci_main.c pci_set_power_state(chip->pci, PCI_D3hot); pci 2237 sound/pci/ymfpci/ymfpci_main.c pci_write_config_word(chip->pci, 0x40, chip->old_legacy_ctrl); pci 2239 sound/pci/ymfpci/ymfpci_main.c pci_disable_device(chip->pci); pci 2293 sound/pci/ymfpci/ymfpci_main.c pci_read_config_word(chip->pci, PCIR_DSXG_LEGACY, pci 2295 sound/pci/ymfpci/ymfpci_main.c pci_read_config_word(chip->pci, PCIR_DSXG_ELEGACY, pci 2305 sound/pci/ymfpci/ymfpci_main.c struct pci_dev *pci = to_pci_dev(dev); pci 2310 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_aclink_reset(pci); pci 2320 sound/pci/ymfpci/ymfpci_main.c pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, pci 2322 sound/pci/ymfpci/ymfpci_main.c pci_write_config_word(chip->pci, PCIR_DSXG_ELEGACY, pci 2340 sound/pci/ymfpci/ymfpci_main.c struct pci_dev *pci, pci 2353 sound/pci/ymfpci/ymfpci_main.c if ((err = pci_enable_device(pci)) < 0) pci 2358 sound/pci/ymfpci/ymfpci_main.c pci_disable_device(pci); pci 2367 sound/pci/ymfpci/ymfpci_main.c chip->pci = pci; pci 2369 sound/pci/ymfpci/ymfpci_main.c chip->device_id = pci->device; pci 2370 sound/pci/ymfpci/ymfpci_main.c chip->rev = pci->revision; pci 2371 sound/pci/ymfpci/ymfpci_main.c chip->reg_area_phys = pci_resource_start(pci, 0); pci 2373 sound/pci/ymfpci/ymfpci_main.c pci_set_master(pci); pci 2383 sound/pci/ymfpci/ymfpci_main.c if (request_irq(pci->irq, snd_ymfpci_interrupt, IRQF_SHARED, pci 2385 sound/pci/ymfpci/ymfpci_main.c dev_err(chip->card->dev, "unable to grab IRQ %d\n", pci->irq); pci 2389 sound/pci/ymfpci/ymfpci_main.c chip->irq = pci->irq; pci 2391 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_aclink_reset(pci); pci 22 sound/soc/amd/raven/pci-acp3x.c static int snd_acp3x_probe(struct pci_dev *pci, pci 31 sound/soc/amd/raven/pci-acp3x.c if (pci_enable_device(pci)) { pci 32 sound/soc/amd/raven/pci-acp3x.c dev_err(&pci->dev, "pci_enable_device failed\n"); pci 36 sound/soc/amd/raven/pci-acp3x.c ret = pci_request_regions(pci, "AMD ACP3x audio"); pci 38 sound/soc/amd/raven/pci-acp3x.c dev_err(&pci->dev, "pci_request_regions failed\n"); pci 42 sound/soc/amd/raven/pci-acp3x.c adata = devm_kzalloc(&pci->dev, sizeof(struct acp3x_dev_data), pci 50 sound/soc/amd/raven/pci-acp3x.c ret = pci_enable_msi(pci); pci 58 sound/soc/amd/raven/pci-acp3x.c addr = pci_resource_start(pci, 0); pci 59 sound/soc/amd/raven/pci-acp3x.c adata->acp3x_base = ioremap(addr, pci_resource_len(pci, 0)); pci 64 sound/soc/amd/raven/pci-acp3x.c pci_set_master(pci); pci 65 sound/soc/amd/raven/pci-acp3x.c pci_set_drvdata(pci, adata); pci 70 sound/soc/amd/raven/pci-acp3x.c adata->res = devm_kzalloc(&pci->dev, pci 85 sound/soc/amd/raven/pci-acp3x.c adata->res[1].start = pci->irq; pci 86 sound/soc/amd/raven/pci-acp3x.c adata->res[1].end = pci->irq; pci 93 sound/soc/amd/raven/pci-acp3x.c pdevinfo.parent = &pci->dev; pci 101 sound/soc/amd/raven/pci-acp3x.c dev_err(&pci->dev, "cannot register %s device\n", pci 108 sound/soc/amd/raven/pci-acp3x.c dev_err(&pci->dev, "Invalid ACP audio mode : %d\n", val); pci 115 sound/soc/amd/raven/pci-acp3x.c pci_disable_msi(pci); pci 118 sound/soc/amd/raven/pci-acp3x.c pci_release_regions(pci); pci 120 sound/soc/amd/raven/pci-acp3x.c pci_disable_device(pci); pci 125 sound/soc/amd/raven/pci-acp3x.c static void snd_acp3x_remove(struct pci_dev *pci) pci 127 sound/soc/amd/raven/pci-acp3x.c struct acp3x_dev_data *adata = pci_get_drvdata(pci); pci 132 sound/soc/amd/raven/pci-acp3x.c pci_disable_msi(pci); pci 133 sound/soc/amd/raven/pci-acp3x.c pci_release_regions(pci); pci 134 sound/soc/amd/raven/pci-acp3x.c pci_disable_device(pci); pci 143 sound/soc/amd/raven/pci-acp3x.c MODULE_DEVICE_TABLE(pci, snd_acp3x_ids); pci 382 sound/soc/intel/atom/sst/sst.h struct pci_dev *pci; pci 28 sound/soc/intel/atom/sst/sst_pci.c struct pci_dev *pci = ctx->pci; pci 30 sound/soc/intel/atom/sst/sst_pci.c ret = pci_request_regions(pci, SST_DRV_NAME); pci 37 sound/soc/intel/atom/sst/sst_pci.c ctx->ddr_base = pci_resource_start(pci, 0); pci 51 sound/soc/intel/atom/sst/sst_pci.c ctx->ddr_end = pci_resource_end(pci, 0); pci 53 sound/soc/intel/atom/sst/sst_pci.c ctx->ddr = pcim_iomap(pci, 0, pci 54 sound/soc/intel/atom/sst/sst_pci.c pci_resource_len(pci, 0)); pci 64 sound/soc/intel/atom/sst/sst_pci.c ctx->shim_phy_add = pci_resource_start(pci, 1); pci 65 sound/soc/intel/atom/sst/sst_pci.c ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); pci 73 sound/soc/intel/atom/sst/sst_pci.c ctx->mailbox_add = pci_resource_start(pci, 2); pci 74 sound/soc/intel/atom/sst/sst_pci.c ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); pci 82 sound/soc/intel/atom/sst/sst_pci.c ctx->iram_end = pci_resource_end(pci, 3); pci 83 sound/soc/intel/atom/sst/sst_pci.c ctx->iram_base = pci_resource_start(pci, 3); pci 84 sound/soc/intel/atom/sst/sst_pci.c ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); pci 92 sound/soc/intel/atom/sst/sst_pci.c ctx->dram_end = pci_resource_end(pci, 4); pci 93 sound/soc/intel/atom/sst/sst_pci.c ctx->dram_base = pci_resource_start(pci, 4); pci 94 sound/soc/intel/atom/sst/sst_pci.c ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); pci 101 sound/soc/intel/atom/sst/sst_pci.c pci_release_regions(pci); pci 112 sound/soc/intel/atom/sst/sst_pci.c static int intel_sst_probe(struct pci_dev *pci, pci 117 sound/soc/intel/atom/sst/sst_pci.c struct sst_platform_info *sst_pdata = pci->dev.platform_data; pci 119 sound/soc/intel/atom/sst/sst_pci.c dev_dbg(&pci->dev, "Probe for DID %x\n", pci->device); pci 120 sound/soc/intel/atom/sst/sst_pci.c ret = sst_alloc_drv_context(&sst_drv_ctx, &pci->dev, pci->device); pci 125 sound/soc/intel/atom/sst/sst_pci.c sst_drv_ctx->irq_num = pci->irq; pci 135 sound/soc/intel/atom/sst/sst_pci.c ret = pcim_enable_device(pci); pci 141 sound/soc/intel/atom/sst/sst_pci.c sst_drv_ctx->pci = pci_dev_get(pci); pci 146 sound/soc/intel/atom/sst/sst_pci.c pci_set_drvdata(pci, sst_drv_ctx); pci 165 sound/soc/intel/atom/sst/sst_pci.c static void intel_sst_remove(struct pci_dev *pci) pci 167 sound/soc/intel/atom/sst/sst_pci.c struct intel_sst_drv *sst_drv_ctx = pci_get_drvdata(pci); pci 170 sound/soc/intel/atom/sst/sst_pci.c pci_dev_put(sst_drv_ctx->pci); pci 171 sound/soc/intel/atom/sst/sst_pci.c pci_release_regions(pci); pci 172 sound/soc/intel/atom/sst/sst_pci.c pci_set_drvdata(pci, NULL); pci 222 sound/soc/intel/skylake/skl-debug.c d = devm_kzalloc(&skl->pci->dev, sizeof(*d), GFP_KERNEL); pci 230 sound/soc/intel/skylake/skl-debug.c d->dev = &skl->pci->dev; pci 266 sound/soc/intel/skylake/skl-messages.c mmio_base = pci_ioremap_bar(skl->pci, 4); pci 272 sound/soc/intel/skylake/skl-messages.c ops = skl_get_dsp_ops(skl->pci->device); pci 155 sound/soc/intel/skylake/skl-nhlt.c struct pci_dev *pci = to_pci_dev(dev); pci 156 sound/soc/intel/skylake/skl-nhlt.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 173 sound/soc/intel/skylake/skl-nhlt.c struct device *dev = &skl->pci->dev; pci 183 sound/soc/intel/skylake/skl-nhlt.c struct device *dev = &skl->pci->dev; pci 164 sound/soc/intel/skylake/skl-pcm.c if (IS_BXT(skl->pci)) { pci 1313 sound/soc/intel/skylake/skl-pcm.c snd_dma_pci_data(skl->pci), pci 1428 sound/soc/intel/skylake/skl-pcm.c ops = skl_get_dsp_ops(skl->pci->device); pci 44 sound/soc/intel/skylake/skl.c static void skl_update_pci_byte(struct pci_dev *pci, unsigned int reg, pci 49 sound/soc/intel/skylake/skl.c pci_read_config_byte(pci, reg, &data); pci 52 sound/soc/intel/skylake/skl.c pci_write_config_byte(pci, reg, data); pci 67 sound/soc/intel/skylake/skl.c skl_update_pci_byte(skl->pci, AZX_PCIREG_TCSEL, 0x07, 0); pci 70 sound/soc/intel/skylake/skl.c static void update_pci_dword(struct pci_dev *pci, pci 75 sound/soc/intel/skylake/skl.c pci_read_config_dword(pci, reg, &data); pci 78 sound/soc/intel/skylake/skl.c pci_write_config_dword(pci, reg, data); pci 89 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 94 sound/soc/intel/skylake/skl.c update_pci_dword(pci, AZX_PCIREG_CGCTL, AZX_CGCTL_MISCBDCGE_MASK, val); pci 105 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 106 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 111 sound/soc/intel/skylake/skl.c update_pci_dword(pci, AZX_PCIREG_CGCTL, AZX_CGCTL_ADSPDCGE, val); pci 119 sound/soc/intel/skylake/skl.c update_pci_dword(pci, AZX_PCIREG_PGCTL, AZX_PGCTL_ADSPPGD, val); pci 146 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 147 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 260 sound/soc/intel/skylake/skl.c ret = request_threaded_irq(skl->pci->irq, skl_interrupt, pci 267 sound/soc/intel/skylake/skl.c skl->pci->irq); pci 271 sound/soc/intel/skylake/skl.c bus->irq = skl->pci->irq; pci 272 sound/soc/intel/skylake/skl.c pci_intx(skl->pci, 1); pci 279 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 280 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 290 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(bus->dev); pci 300 sound/soc/intel/skylake/skl.c update_pci_dword(pci, AZX_PCIREG_PGCTL, pci 328 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 329 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 345 sound/soc/intel/skylake/skl.c pci_save_state(pci); pci 358 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 359 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 369 sound/soc/intel/skylake/skl.c pci_restore_state(pci); pci 405 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 406 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 415 sound/soc/intel/skylake/skl.c struct pci_dev *pci = to_pci_dev(dev); pci 416 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 450 sound/soc/intel/skylake/skl.c pci_release_regions(skl->pci); pci 451 sound/soc/intel/skylake/skl.c pci_disable_device(skl->pci); pci 522 sound/soc/intel/skylake/skl.c intel_nhlt_get_dmic_geo(&skl->pci->dev, pci 638 sound/soc/intel/skylake/skl.c clk_pdata = devm_kzalloc(&skl->pci->dev, sizeof(*clk_pdata), pci 643 sound/soc/intel/skylake/skl.c init_skl_xtal_rate(skl->pci->device); pci 654 sound/soc/intel/skylake/skl.c pdevinfo.parent = &skl->pci->dev; pci 715 sound/soc/intel/skylake/skl.c hda_codec = devm_kzalloc(&skl->pci->dev, sizeof(*hda_codec), pci 734 sound/soc/intel/skylake/skl.c hdev = devm_kzalloc(&skl->pci->dev, sizeof(*hdev), GFP_KERNEL); pci 860 sound/soc/intel/skylake/skl.c static int skl_create(struct pci_dev *pci, pci 871 sound/soc/intel/skylake/skl.c err = pci_enable_device(pci); pci 875 sound/soc/intel/skylake/skl.c skl = devm_kzalloc(&pci->dev, sizeof(*skl), GFP_KERNEL); pci 877 sound/soc/intel/skylake/skl.c pci_disable_device(pci); pci 890 sound/soc/intel/skylake/skl.c snd_hdac_ext_bus_init(bus, &pci->dev, &bus_core_ops, ext_ops); pci 892 sound/soc/intel/skylake/skl.c skl->pci = pci; pci 897 sound/soc/intel/skylake/skl.c hbus->pci = pci; pci 909 sound/soc/intel/skylake/skl.c struct pci_dev *pci = skl->pci; pci 914 sound/soc/intel/skylake/skl.c err = pci_request_regions(pci, "Skylake HD audio"); pci 918 sound/soc/intel/skylake/skl.c bus->addr = pci_resource_start(pci, 0); pci 919 sound/soc/intel/skylake/skl.c bus->remap_addr = pci_ioremap_bar(pci, 0); pci 938 sound/soc/intel/skylake/skl.c pci_set_master(pci); pci 981 sound/soc/intel/skylake/skl.c static int skl_probe(struct pci_dev *pci, pci 997 sound/soc/intel/skylake/skl.c if (pci->class == 0x040300) { pci 998 sound/soc/intel/skylake/skl.c dev_info(&pci->dev, "The DSP is not enabled on this platform, aborting probe\n"); pci 1001 sound/soc/intel/skylake/skl.c if (pci->class != 0x040100 && pci->class != 0x040380) { pci 1002 sound/soc/intel/skylake/skl.c dev_err(&pci->dev, "Unknown PCI class/subclass/prog-if information (0x%06x) found, aborting probe\n", pci->class); pci 1005 sound/soc/intel/skylake/skl.c dev_info(&pci->dev, "DSP detected with PCI class/subclass/prog-if info 0x%06x\n", pci->class); pci 1008 sound/soc/intel/skylake/skl.c dev_info(&pci->dev, "Module parameter forced binding with HDaudio legacy, aborting probe\n"); pci 1011 sound/soc/intel/skylake/skl.c dev_info(&pci->dev, "Module parameter forced binding with SKL driver, bypassed detection logic\n"); pci 1014 sound/soc/intel/skylake/skl.c dev_err(&pci->dev, "invalid value for skl_pci_binding module parameter, ignored\n"); pci 1019 sound/soc/intel/skylake/skl.c err = skl_create(pci, &skl); pci 1031 sound/soc/intel/skylake/skl.c skl->pci_id = pci->device; pci 1063 sound/soc/intel/skylake/skl.c pci_set_drvdata(skl->pci, bus); pci 1108 sound/soc/intel/skylake/skl.c static void skl_shutdown(struct pci_dev *pci) pci 1110 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 1132 sound/soc/intel/skylake/skl.c static void skl_remove(struct pci_dev *pci) pci 1134 sound/soc/intel/skylake/skl.c struct hdac_bus *bus = pci_get_drvdata(pci); pci 1139 sound/soc/intel/skylake/skl.c pm_runtime_get_noresume(&pci->dev); pci 1144 sound/soc/intel/skylake/skl.c skl_platform_unregister(&pci->dev); pci 1152 sound/soc/intel/skylake/skl.c dev_set_drvdata(&pci->dev, NULL); pci 1199 sound/soc/intel/skylake/skl.c MODULE_DEVICE_TABLE(pci, skl_ids); pci 61 sound/soc/intel/skylake/skl.h struct pci_dev *pci; pci 397 sound/soc/sof/intel/byt.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 402 sound/soc/sof/intel/byt.c ret = dma_coerce_mask_and_coherent(&pci->dev, DMA_BIT_MASK(31)); pci 409 sound/soc/sof/intel/byt.c base = pci_resource_start(pci, desc->resindex_lpe_base) - IRAM_OFFSET; pci 425 sound/soc/sof/intel/byt.c base = pci_resource_start(pci, desc->resindex_imr_base); pci 426 sound/soc/sof/intel/byt.c size = pci_resource_len(pci, desc->resindex_imr_base); pci 445 sound/soc/sof/intel/byt.c sdev->ipc_irq = pci->irq; pci 32 sound/soc/sof/intel/hda-loader.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 50 sound/soc/sof/intel/hda-loader.c ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, &pci->dev, size, dmab); pci 633 sound/soc/sof/intel/hda-stream.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 666 sound/soc/sof/intel/hda-stream.c ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, pci 676 sound/soc/sof/intel/hda-stream.c ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, pci 727 sound/soc/sof/intel/hda-stream.c ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, pci 783 sound/soc/sof/intel/hda-stream.c ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev, pci 35 sound/soc/sof/intel/hda.c #define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348) pci 36 sound/soc/sof/intel/hda.c #define IS_CNL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x9dc8) pci 256 sound/soc/sof/intel/hda.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 263 sound/soc/sof/intel/hda.c sof_hda_bus_init(bus, &pci->dev); pci 266 sound/soc/sof/intel/hda.c if (IS_CFL(pci) || IS_CNL(pci)) pci 274 sound/soc/sof/intel/hda.c hbus->pci = pci; pci 279 sound/soc/sof/intel/hda.c bus->addr = pci_resource_start(pci, 0); pci 281 sound/soc/sof/intel/hda.c bus->remap_addr = pci_ioremap_bar(pci, 0); pci 498 sound/soc/sof/intel/hda.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 511 sound/soc/sof/intel/hda.c if (pci->class == 0x040300) { pci 514 sound/soc/sof/intel/hda.c } else if (pci->class != 0x040100 && pci->class != 0x040380) { pci 515 sound/soc/sof/intel/hda.c dev_err(sdev->dev, "error: unknown PCI class/subclass/prog-if 0x%06x found, aborting probe\n", pci->class); pci 518 sound/soc/sof/intel/hda.c dev_info(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", pci->class); pci 523 sound/soc/sof/intel/hda.c pci->device); pci 560 sound/soc/sof/intel/hda.c sdev->bar[HDA_DSP_BAR] = pci_ioremap_bar(pci, HDA_DSP_BAR); pci 572 sound/soc/sof/intel/hda.c if (!dma_set_mask(&pci->dev, DMA_BIT_MASK(64))) { pci 574 sound/soc/sof/intel/hda.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(64)); pci 577 sound/soc/sof/intel/hda.c dma_set_mask(&pci->dev, DMA_BIT_MASK(32)); pci 578 sound/soc/sof/intel/hda.c dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)); pci 598 sound/soc/sof/intel/hda.c if (hda_use_msi && pci_alloc_irq_vectors(pci, 1, 1, PCI_IRQ_MSI) > 0) { pci 600 sound/soc/sof/intel/hda.c hdev->irq = pci_irq_vector(pci, 0); pci 613 sound/soc/sof/intel/hda.c hdev->irq = pci->irq; pci 614 sound/soc/sof/intel/hda.c sdev->ipc_irq = pci->irq; pci 637 sound/soc/sof/intel/hda.c pci_set_master(pci); pci 638 sound/soc/sof/intel/hda.c synchronize_irq(pci->irq); pci 669 sound/soc/sof/intel/hda.c pci_free_irq_vectors(pci); pci 684 sound/soc/sof/intel/hda.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 714 sound/soc/sof/intel/hda.c pci_free_irq_vectors(pci); pci 18 sound/soc/sof/ops.c struct pci_dev *pci = to_pci_dev(sdev->dev); pci 22 sound/soc/sof/ops.c pci_read_config_dword(pci, offset, &ret); pci 31 sound/soc/sof/ops.c pci_write_config_dword(pci, offset, new); pci 269 sound/soc/sof/sof-pci-dev.c static int sof_pci_probe(struct pci_dev *pci, pci 272 sound/soc/sof/sof-pci-dev.c struct device *dev = &pci->dev; pci 280 sound/soc/sof/sof-pci-dev.c dev_dbg(&pci->dev, "PCI DSP detected"); pci 293 sound/soc/sof/sof-pci-dev.c ret = pcim_enable_device(pci); pci 297 sound/soc/sof/sof-pci-dev.c ret = pci_request_regions(pci, "Audio DSP"); pci 325 sound/soc/sof/sof-pci-dev.c sof_pdata->name = pci_name(pci); pci 362 sound/soc/sof/sof-pci-dev.c pci_release_regions(pci); pci 367 sound/soc/sof/sof-pci-dev.c static void sof_pci_remove(struct pci_dev *pci) pci 370 sound/soc/sof/sof-pci-dev.c snd_sof_device_remove(&pci->dev); pci 373 sound/soc/sof/sof-pci-dev.c pm_runtime_get_noresume(&pci->dev); pci 376 sound/soc/sof/sof-pci-dev.c pci_release_regions(pci); pci 434 sound/soc/sof/sof-pci-dev.c MODULE_DEVICE_TABLE(pci, sof_pci_ids);