/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci_common.c | 102 struct pcidev_cookie *pcp) in fixup_obp_assignments() argument 117 pcp->num_prom_assignments = 0; in fixup_obp_assignments() 129 for (i = 0; i < pcp->num_prom_assignments; i++) { in fixup_obp_assignments() 133 ap = &pcp->prom_assignments[i]; in fixup_obp_assignments() 153 struct pcidev_cookie *pcp; in pdev_cookie_fillin() local 172 pcp = kmalloc(sizeof(*pcp), GFP_ATOMIC); in pdev_cookie_fillin() 173 if (pcp == NULL) { in pdev_cookie_fillin() 177 pcp->pbm = pbm; in pdev_cookie_fillin() 178 pcp->prom_node = device_prom_node; in pdev_cookie_fillin() 179 memcpy(pcp->prom_regs, pregs, sizeof(pcp->prom_regs)); in pdev_cookie_fillin() [all …]
|
D | pci_iommu.c | 204 struct pcidev_cookie *pcp; in pci_alloc_consistent() local 221 pcp = pdev->sysdata; in pci_alloc_consistent() 222 iommu = pcp->pbm->iommu; in pci_alloc_consistent() 267 struct pcidev_cookie *pcp; in pci_free_consistent() local 273 pcp = pdev->sysdata; in pci_free_consistent() 274 iommu = pcp->pbm->iommu; in pci_free_consistent() 331 struct pcidev_cookie *pcp; in pci_map_single() local 340 pcp = pdev->sysdata; in pci_map_single() 341 iommu = pcp->pbm->iommu; in pci_map_single() 342 strbuf = &pcp->pbm->stc; in pci_map_single() [all …]
|
D | pci.c | 320 struct pcidev_cookie *pcp = pdev->sysdata; in pci_assign_resource() local 321 struct pci_pbm_info *pbm = pcp->pbm; in pci_assign_resource() 395 struct pcidev_cookie *pcp = pdev->sysdata; in __pci_mmap_make_offset_bus() local 400 if (!pcp) in __pci_mmap_make_offset_bus() 402 pbm = pcp->pbm; in __pci_mmap_make_offset_bus()
|
D | pci_sabre.c | 678 struct pcidev_cookie *pcp = pdev->sysdata; in sabre_irq_build() local 691 if (pdev->bus->number != pcp->pbm->pci_first_busno) { in sabre_irq_build() 696 pcp->pbm, in sabre_irq_build() 1098 struct pcidev_cookie *pcp = pdev->sysdata; in sabre_base_address_update() local 1099 struct pci_pbm_info *pbm = pcp->pbm; in sabre_base_address_update()
|
D | pci_psycho.c | 1134 struct pcidev_cookie *pcp = pdev->sysdata; in psycho_base_address_update() local 1135 struct pci_pbm_info *pbm = pcp->pbm; in psycho_base_address_update()
|
D | pci_schizo.c | 1620 struct pcidev_cookie *pcp = pdev->sysdata; in schizo_base_address_update() local 1621 struct pci_pbm_info *pbm = pcp->pbm; in schizo_base_address_update()
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | openprom.c | 250 struct pcidev_cookie *pcp; in openprom_sunos_ioctl() local 254 pcp = pdev->sysdata; in openprom_sunos_ioctl() 255 if (pcp != NULL && pcp->prom_node != -1 && pcp->prom_node) { in openprom_sunos_ioctl() 256 node = pcp->prom_node; in openprom_sunos_ioctl()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | pcic.c | 647 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local 702 pcp = pci_devcookie_alloc(); in pcibios_fixup_bus() 703 pcp->pbm = &pcic->pbm; in pcibios_fixup_bus() 704 pcp->prom_node = node; in pcibios_fixup_bus() 705 dev->sysdata = pcp; in pcibios_fixup_bus()
|
/linux-2.4.37.9/drivers/net/tulip/ |
D | tulip_core.c | 1644 struct pcidev_cookie *pcp = pdev->sysdata; in tulip_init_one() local 1651 if ((pcp != NULL) && prom_getproplen(pcp->prom_node, in tulip_init_one() 1653 prom_getproperty(pcp->prom_node, "local-mac-address", in tulip_init_one()
|
/linux-2.4.37.9/drivers/net/ |
D | sunhme.c | 2980 struct pcidev_cookie *pcp; in happy_meal_pci_init() local 2992 pcp = pdev->sysdata; in happy_meal_pci_init() 2993 if (pcp == NULL || pcp->prom_node == -1) { in happy_meal_pci_init() 2997 node = pcp->prom_node; in happy_meal_pci_init()
|
D | sungem.c | 2859 struct pcidev_cookie *pcp = pdev->sysdata; in gem_get_device_address() local 2862 if (pcp != NULL) { in gem_get_device_address() 2863 node = pcp->prom_node; in gem_get_device_address()
|
D | tg3.c | 8268 struct pcidev_cookie *pcp = pdev->sysdata; in tg3_is_sun_570X() local 8270 if (pcp != NULL) { in tg3_is_sun_570X() 8271 int node = pcp->prom_node; in tg3_is_sun_570X() 8690 struct pcidev_cookie *pcp = pdev->sysdata; in tg3_get_macaddr_sparc() local 8692 if (pcp != NULL) { in tg3_get_macaddr_sparc() 8693 int node = pcp->prom_node; in tg3_get_macaddr_sparc()
|
/linux-2.4.37.9/drivers/video/ |
D | pm2fb.c | 1040 struct pcidev_cookie *pcp; in pm2pci_detect() local 1074 pcp = pci->dev->sysdata; in pm2pci_detect() 1076 if (pcp->prom_node && !(pm2fb_options.flags & OPTF_USER)) { in pm2pci_detect() 1080 prom_getstring(pcp->prom_node, "timing-numbers", timing, 256); in pm2pci_detect()
|
/linux-2.4.37.9/drivers/video/aty/ |
D | atyfb_base.c | 2433 struct pcidev_cookie *pcp; in atyfb_init() local 2616 pcp = pdev->sysdata; in atyfb_init() 2617 if (node == pcp->prom_node) { in atyfb_init()
|