/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
D | efficeon-agp.c | 347 u8 cap_ptr; in agp_efficeon_probe() local 350 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_efficeon_probe() 351 if (!cap_ptr) in agp_efficeon_probe() 369 bridge->capndx = cap_ptr; in agp_efficeon_probe() 397 if (cap_ptr) { in agp_efficeon_probe()
|
D | amd-k7-agp.c | 412 u8 cap_ptr; in agp_amdk7_probe() local 415 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_amdk7_probe() 416 if (!cap_ptr) in agp_amdk7_probe() 430 bridge->capndx = cap_ptr; in agp_amdk7_probe() 439 cap_ptr = 0; in agp_amdk7_probe() 440 while (!cap_ptr) { in agp_amdk7_probe() 446 cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP); in agp_amdk7_probe()
|
D | amd64-agp.c | 326 static int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) in cache_nbs() argument 339 if (fix_northbridge(dev, pdev, cap_ptr) < 0) { in cache_nbs() 517 u8 cap_ptr; in agp_amd64_probe() local 524 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_amd64_probe() 525 if (!cap_ptr) in agp_amd64_probe() 544 bridge->capndx = cap_ptr; in agp_amd64_probe() 549 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 | via-agp.c | 446 u8 cap_ptr; in agp_via_probe() local 448 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_via_probe() 449 if (!cap_ptr) in agp_via_probe() 460 bridge->capndx = cap_ptr; in agp_via_probe()
|
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 | uninorth-agp.c | 607 u8 cap_ptr; in agp_uninorth_probe() local 610 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_uninorth_probe() 611 if (cap_ptr == 0) in agp_uninorth_probe() 662 bridge->capndx = cap_ptr; in agp_uninorth_probe() 666 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 361 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_nvidia_probe() 362 if (!cap_ptr) in agp_nvidia_probe() 387 bridge->capndx = cap_ptr; in agp_nvidia_probe()
|
D | ati-agp.c | 498 u8 cap_ptr; in agp_ati_probe() local 501 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_ati_probe() 502 if (!cap_ptr) in agp_ati_probe() 521 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 | 455 u8 cap_ptr = 0; in agp_serverworks_probe() local 457 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); in agp_serverworks_probe() 470 if (cap_ptr) in agp_serverworks_probe()
|
D | generic.c | 725 u8 cap_ptr; in agp_collect_device_status() local 733 cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); in agp_collect_device_status() 734 if (cap_ptr) in agp_collect_device_status() 742 pci_read_config_dword(device, cap_ptr+PCI_AGP_STATUS, &vga_agpstat); in agp_collect_device_status()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
D | pcie-designware.c | 24 static u8 __dw_pcie_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, in __dw_pcie_find_next_cap() argument 30 if (!cap_ptr) in __dw_pcie_find_next_cap() 33 reg = dw_pcie_readw_dbi(pci, cap_ptr); in __dw_pcie_find_next_cap() 40 return cap_ptr; in __dw_pcie_find_next_cap()
|
D | pcie-designware-ep.c | 87 u8 cap_ptr, u8 cap) in __dw_pcie_ep_find_next_cap() argument 94 if (!cap_ptr) in __dw_pcie_ep_find_next_cap() 99 reg = dw_pcie_readw_dbi(pci, func_offset + cap_ptr); in __dw_pcie_ep_find_next_cap() 106 return cap_ptr; in __dw_pcie_ep_find_next_cap()
|
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
D | init.c | 110 u16 cap_ptr; member 1566 iommu->cap_ptr = h->cap_ptr; in init_iommu_one() 1714 PCI_FUNC(h->devid), h->cap_ptr, in init_iommu_all() 1819 int cap_ptr = iommu->cap_ptr; in iommu_init_pci() local 1830 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_CAP_HDR_OFFSET, in iommu_init_pci() 1890 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 4, in iommu_init_pci() 1892 pci_read_config_dword(iommu->dev, iommu->cap_ptr + 8, in iommu_init_pci() 1929 pci_info(pdev, "Found IOMMU cap 0x%hx\n", iommu->cap_ptr); in print_iommu_info() 2316 pci_write_config_dword(iommu->dev, iommu->cap_ptr + 4, in iommu_apply_resume_quirks() 2318 pci_write_config_dword(iommu->dev, iommu->cap_ptr + 8, in iommu_apply_resume_quirks() [all …]
|
D | amd_iommu_types.h | 545 u16 cap_ptr; member
|