/drivers/bcma/ |
D | driver_pci_host.c | 276 u8 cap_ptr = 0; in bcma_find_pci_capability() local 284 return cap_ptr; in bcma_find_pci_capability() 290 return cap_ptr; in bcma_find_pci_capability() 293 bcma_extpci_read_config(pc, dev, func, PCI_CAPABILITY_LIST, &cap_ptr, in bcma_find_pci_capability() 295 if (cap_ptr == 0x00) in bcma_find_pci_capability() 296 return cap_ptr; in bcma_find_pci_capability() 300 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); in bcma_find_pci_capability() 302 bcma_extpci_read_config(pc, dev, func, cap_ptr + 1, &cap_ptr, in bcma_find_pci_capability() 304 if (cap_ptr == 0x00) in bcma_find_pci_capability() 305 return cap_ptr; in bcma_find_pci_capability() [all …]
|
/drivers/char/agp/ |
D | amd-k7-agp.c | 410 u8 cap_ptr; in agp_amdk7_probe() local 413 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_amdk7_probe() 414 if (!cap_ptr) in agp_amdk7_probe() 428 bridge->capndx = cap_ptr; in agp_amdk7_probe() 437 cap_ptr = 0; in agp_amdk7_probe() 438 while (!cap_ptr) { in agp_amdk7_probe() 444 cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP); in agp_amdk7_probe()
|
D | efficeon-agp.c | 349 u8 cap_ptr; in agp_efficeon_probe() local 352 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_efficeon_probe() 353 if (!cap_ptr) in agp_efficeon_probe() 371 bridge->capndx = cap_ptr; in agp_efficeon_probe() 399 if (cap_ptr) { in agp_efficeon_probe()
|
D | amd64-agp.c | 325 static int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) in cache_nbs() argument 338 if (fix_northbridge(dev, pdev, cap_ptr) < 0) { in cache_nbs() 516 u8 cap_ptr; in agp_amd64_probe() local 523 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_amd64_probe() 524 if (!cap_ptr) in agp_amd64_probe() 543 bridge->capndx = cap_ptr; in agp_amd64_probe() 548 if (cache_nbs(pdev, cap_ptr) == -1) { in agp_amd64_probe()
|
D | ali-agp.c | 306 u8 hidden_1621_id, cap_ptr; in agp_ali_probe() local 309 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_ali_probe() 310 if (!cap_ptr) in agp_ali_probe() 330 bridge->capndx = cap_ptr; in agp_ali_probe()
|
D | sgi-agp.c | 294 u8 cap_ptr; in agp_sgi_init() local 298 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_sgi_init() 299 if (!cap_ptr) in agp_sgi_init()
|
D | sis-agp.c | 185 u8 cap_ptr; in agp_sis_probe() local 187 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_sis_probe() 188 if (!cap_ptr) in agp_sis_probe() 200 bridge->capndx = cap_ptr; in agp_sis_probe()
|
D | via-agp.c | 445 u8 cap_ptr; in agp_via_probe() local 447 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_via_probe() 448 if (!cap_ptr) in agp_via_probe() 459 bridge->capndx = cap_ptr; in agp_via_probe()
|
D | uninorth-agp.c | 604 u8 cap_ptr; in agp_uninorth_probe() local 607 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_uninorth_probe() 608 if (cap_ptr == 0) in agp_uninorth_probe() 659 bridge->capndx = cap_ptr; in agp_uninorth_probe() 663 pci_read_config_dword(pdev, cap_ptr+PCI_AGP_STATUS, &bridge->mode); in agp_uninorth_probe()
|
D | nvidia-agp.c | 340 u8 cap_ptr; in agp_nvidia_probe() local 355 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_nvidia_probe() 356 if (!cap_ptr) in agp_nvidia_probe() 381 bridge->capndx = cap_ptr; in agp_nvidia_probe()
|
D | ati-agp.c | 496 u8 cap_ptr; in agp_ati_probe() local 499 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_ati_probe() 500 if (!cap_ptr) in agp_ati_probe() 519 bridge->capndx = cap_ptr; in agp_ati_probe()
|
D | i460-agp.c | 594 u8 cap_ptr; in agp_intel_i460_probe() local 596 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_intel_i460_probe() 597 if (!cap_ptr) in agp_intel_i460_probe() 606 bridge->capndx = cap_ptr; in agp_intel_i460_probe()
|
D | intel-agp.c | 728 u8 cap_ptr = 0; in agp_intel_probe() local 732 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_intel_probe() 738 bridge->capndx = cap_ptr; in agp_intel_probe() 754 if (cap_ptr) in agp_intel_probe() 797 if (cap_ptr) { in agp_intel_probe()
|
D | sworks-agp.c | 454 u8 cap_ptr = 0; in agp_serverworks_probe() local 456 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_serverworks_probe() 469 if (cap_ptr) in agp_serverworks_probe()
|
D | generic.c | 728 u8 cap_ptr; in agp_collect_device_status() local 736 cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); in agp_collect_device_status() 737 if (cap_ptr) in agp_collect_device_status() 745 pci_read_config_dword(device, cap_ptr+PCI_AGP_STATUS, &vga_agpstat); in agp_collect_device_status()
|
/drivers/iommu/ |
D | amd_iommu_init.c | 105 u16 cap_ptr; member 1350 iommu->cap_ptr = h->cap_ptr; in init_iommu_one() 1456 PCI_FUNC(h->devid), h->cap_ptr, in init_iommu_all() 1539 int cap_ptr = iommu->cap_ptr; in iommu_init_pci() local 1551 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_CAP_HDR_OFFSET, in iommu_init_pci() 1553 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_RANGE_OFFSET, in iommu_init_pci() 1555 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_MISC_OFFSET, in iommu_init_pci() 1618 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 4, in iommu_init_pci() 1620 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 8, in iommu_init_pci() 1656 dev_name(&iommu->dev->dev), iommu->cap_ptr); in print_iommu_info() [all …]
|
D | amd_iommu_types.h | 507 u16 cap_ptr; member
|