/drivers/bcma/ |
H A D | driver_pci_host.c | 277 u8 cap_ptr = 0; local 285 return cap_ptr; 291 return cap_ptr; 294 bcma_extpci_read_config(pc, dev, func, PCI_CAPABILITY_LIST, &cap_ptr, 296 if (cap_ptr == 0x00) 297 return cap_ptr; 301 bcma_extpci_read_config(pc, dev, func, cap_ptr, &cap_id, sizeof(u8)); 303 bcma_extpci_read_config(pc, dev, func, cap_ptr + 1, &cap_ptr, 305 if (cap_ptr 343 u8 cap_ptr, root_ctrl, root_cap, dev; local [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | nicpci.c | 254 u8 cap_ptr; local 255 cap_ptr = pcicore_find_pci_capability(pi->dev, PCI_CAP_ID_EXP, 257 pi->pciecap_lcreg_offset = cap_ptr + PCIE_CAP_LINKCTRL_OFFSET; 274 u8 cap_ptr = 0; local 288 pci_read_config_byte(dev, PCI_CAPABILITY_LIST, &cap_ptr); 290 if (cap_ptr == 0x00) 297 pci_read_config_byte(dev, cap_ptr, &cap_id); 300 pci_read_config_byte(dev, cap_ptr + 1, &cap_ptr); 301 if (cap_ptr [all...] |
H A D | aiutils.c | 460 u8 cap_ptr; local 462 cap_ptr = 465 if (!cap_ptr)
|
/drivers/char/agp/ |
H A D | efficeon-agp.c | 350 u8 cap_ptr; local 353 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 354 if (!cap_ptr) 372 bridge->capndx = cap_ptr; 400 if (cap_ptr) {
|
H A D | ali-agp.c | 307 u8 hidden_1621_id, cap_ptr; local 310 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 311 if (!cap_ptr) 331 bridge->capndx = cap_ptr;
|
H A D | sgi-agp.c | 297 u8 cap_ptr; local 301 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 302 if (!cap_ptr)
|
H A D | amd-k7-agp.c | 412 u8 cap_ptr; local 415 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 416 if (!cap_ptr) 430 bridge->capndx = cap_ptr; 439 cap_ptr = 0; 440 while (!cap_ptr) { 446 cap_ptr = pci_find_capability(gfxcard, PCI_CAP_ID_AGP);
|
H A D | amd64-agp.c | 329 static __devinit int cache_nbs(struct pci_dev *pdev, u32 cap_ptr) argument 342 if (fix_northbridge(dev, pdev, cap_ptr) < 0) { 520 u8 cap_ptr; local 527 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 528 if (!cap_ptr) 547 bridge->capndx = cap_ptr; 552 if (cache_nbs(pdev, cap_ptr) == -1) {
|
H A D | nvidia-agp.c | 339 u8 cap_ptr; local 354 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 355 if (!cap_ptr) 380 bridge->capndx = cap_ptr;
|
H A D | sis-agp.c | 187 u8 cap_ptr; local 189 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 190 if (!cap_ptr) 202 bridge->capndx = cap_ptr;
|
H A D | via-agp.c | 447 u8 cap_ptr; local 449 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 450 if (!cap_ptr) 461 bridge->capndx = cap_ptr;
|
H A D | uninorth-agp.c | 601 u8 cap_ptr; local 604 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 605 if (cap_ptr == 0) 656 bridge->capndx = cap_ptr; 660 pci_read_config_dword(pdev, cap_ptr+PCI_AGP_STATUS, &bridge->mode);
|
H A D | ati-agp.c | 498 u8 cap_ptr; local 501 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 502 if (!cap_ptr) 521 bridge->capndx = cap_ptr;
|
H A D | i460-agp.c | 594 u8 cap_ptr; local 596 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 597 if (!cap_ptr) 606 bridge->capndx = cap_ptr;
|
H A D | intel-agp.c | 738 u8 cap_ptr = 0; local 742 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 748 bridge->capndx = cap_ptr; 764 if (cap_ptr) 807 if (cap_ptr) {
|
H A D | sworks-agp.c | 454 u8 cap_ptr = 0; local 456 cap_ptr = pci_find_capability(pdev, PCI_CAP_ID_AGP); 469 if (cap_ptr)
|
H A D | generic.c | 740 u8 cap_ptr; local 748 cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP); 749 if (cap_ptr) 757 pci_read_config_dword(device, cap_ptr+PCI_AGP_STATUS, &vga_agpstat);
|
/drivers/iommu/ |
H A D | amd_iommu_init.c | 90 u16 cap_ptr; member in struct:ivhd_header 331 dev_name(&iommu->dev->dev), iommu->cap_ptr); 401 static int __init find_last_devid_on_pci(int bus, int dev, int fn, int cap_ptr) argument 405 cap = read_pci_config(bus, dev, fn, cap_ptr+MMIO_RANGE_OFFSET); 426 h->cap_ptr); 735 int cap_ptr = iommu->cap_ptr; local 739 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_CAP_HDR_OFFSET, 741 pci_read_config_dword(iommu->dev, cap_ptr + MMIO_RANGE_OFFSET, 743 pci_read_config_dword(iommu->dev, cap_ptr [all...] |
H A D | amd_iommu_types.h | 509 u16 cap_ptr; member in struct:amd_iommu
|