/linux-2.6.39/include/linux/ |
D | pci-acpi.h | 23 struct pci_bus *pbus = pdev->bus; in acpi_find_root_bridge_handle() local 25 while (!pci_is_root_bus(pbus)) in acpi_find_root_bridge_handle() 26 pbus = pbus->parent; in acpi_find_root_bridge_handle() 27 return acpi_get_pci_rootbridge_handle(pci_domain_nr(pbus), in acpi_find_root_bridge_handle() 28 pbus->number); in acpi_find_root_bridge_handle() 31 static inline acpi_handle acpi_pci_get_bridge_handle(struct pci_bus *pbus) in acpi_pci_get_bridge_handle() argument 33 if (!pci_is_root_bus(pbus)) in acpi_pci_get_bridge_handle() 34 return DEVICE_ACPI_HANDLE(&(pbus->self->dev)); in acpi_pci_get_bridge_handle() 35 return acpi_get_pci_rootbridge_handle(pci_domain_nr(pbus), in acpi_pci_get_bridge_handle() 36 pbus->number); in acpi_pci_get_bridge_handle()
|
D | pci_hotplug.h | 128 extern int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, 136 struct pci_bus *pbus, in pci_hp_register() argument 139 return __pci_hp_register(slot, pbus, devnr, name, in pci_hp_register() 195 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
|
/linux-2.6.39/sound/mips/ |
D | hal2.c | 57 struct hpc3_pbus_dmacregs *pbus; member 76 struct hal2_pbus pbus; member 311 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt() 315 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt() 366 struct hal2_pbus *pbus = &hal2->dac.pbus; in hal2_setup_dac() local 379 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD | in hal2_setup_dac() 382 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_setup_dac() 389 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); in hal2_setup_dac() 391 hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) in hal2_setup_dac() 399 struct hal2_pbus *pbus = &hal2->adc.pbus; in hal2_setup_adc() local [all …]
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 295 struct pci_bus *pbus; in pci_get_hp_params() local 298 for (pbus = dev->bus; pbus; pbus = pbus->parent) { in pci_get_hp_params() 299 handle = acpi_pci_get_bridge_handle(pbus); in pci_get_hp_params() 376 struct pci_bus *pbus; in acpi_get_hp_hw_control_from_firmware() local 377 for (pbus = pdev->bus; pbus; pbus = pbus->parent) { in acpi_get_hp_hw_control_from_firmware() 378 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware() 435 int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle) in acpi_pci_check_ejectable() argument 439 if (!(bridge_handle = acpi_pci_get_bridge_handle(pbus))) in acpi_pci_check_ejectable()
|
/linux-2.6.39/sound/pci/au88x0/ |
D | au88x0_mixer.c | 15 struct snd_ac97_bus *pbus; in snd_vortex_mixer() local 23 if ((err = snd_ac97_bus(vortex->card, 0, &ops, NULL, &pbus)) < 0) in snd_vortex_mixer() 29 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec); in snd_vortex_mixer()
|
/linux-2.6.39/drivers/staging/brcm80211/util/ |
D | siutils.c | 289 &sii->pub, sii->pbus, in si_buscore_setup() 315 pci_read_config_dword(sii->pbus, PCI_CFG_SVID, &w); in si_nvram_process() 369 void *regs, uint bustype, void *pbus, in si_doattach() argument 387 sii->pbus = pbus; in si_doattach() 394 if (!si_buscore_prep(sii, bustype, devid, pbus)) { in si_doattach() 498 void *regs, uint bustype, void *pbus, in si_doattach() argument 516 sii->pbus = pbus; in si_doattach() 520 pci_read_config_dword(sii->pbus, PCI_SPROM_CONTROL, &w); in si_doattach() 531 pci_read_config_dword(sii->pbus, PCI_BAR0_WIN, &savewin); in si_doattach() 534 pci_write_config_dword(sii->pbus, PCI_BAR0_WIN, in si_doattach() [all …]
|
D | hnddma.c | 82 void *pbus; /* bus handle */ member 335 di->pbus = ((struct si_info *)sih)->pbus; in dma_attach() 553 pci_free_consistent(di->pbus, di->txdalloc, 557 pci_free_consistent(di->pbus, di->rxdalloc, 874 pa = pci_map_single(di->pbus, p->data, 1088 va = dma_alloc_consistent(di->pbus, size, *alignbits, alloced, descpa); 1097 pci_free_consistent(di->pbus, size, va, *descpa); 1098 va = dma_alloc_consistent(di->pbus, size, *alignbits, 1391 pa = pci_map_single(di->pbus, buf, len, PCI_DMA_TODEVICE); 1471 pa = pci_map_single(di->pbus, data, len, PCI_DMA_TODEVICE); [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | pci_common.c | 486 struct pci_bus *pbus) in pci_scan_for_target_abort() argument 491 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort() 505 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_target_abort() 510 struct pci_bus *pbus) in pci_scan_for_master_abort() argument 515 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort() 528 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_master_abort() 533 struct pci_bus *pbus) in pci_scan_for_parity_error() argument 538 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error() 552 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_parity_error()
|
D | of_device_32.c | 189 struct of_bus *pbus, in build_one_resource() argument 279 struct of_bus *pbus, *dbus; in build_device_resources() local 308 pbus = of_match_bus(pp); in build_device_resources() 309 pbus->count_cells(dp, &pna, &pns); in build_device_resources() 311 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources() 315 flags = pbus->get_flags(addr, flags); in build_device_resources() 319 dbus = pbus; in build_device_resources()
|
D | pci.c | 711 void __devinit pcibios_fixup_bus(struct pci_bus *pbus) in pcibios_fixup_bus() argument 713 struct pci_pbm_info *pbm = pbus->sysdata; in pcibios_fixup_bus() 718 pbus->resource[0] = &pbm->io_space; in pcibios_fixup_bus() 719 pbus->resource[1] = &pbm->mem_space; in pcibios_fixup_bus() 975 int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument 977 struct pci_pbm_info *pbm = pbus->sysdata; in pcibus_to_node() 986 int pci_domain_nr(struct pci_bus *pbus) in pci_domain_nr() argument 988 struct pci_pbm_info *pbm = pbus->sysdata; in pci_domain_nr() 1149 struct pci_bus *pbus = NULL; in of_pci_slot_init() local 1151 while ((pbus = pci_find_next_bus(pbus)) != NULL) { in of_pci_slot_init() [all …]
|
D | of_device_64.c | 241 struct of_bus *pbus, in build_one_resource() argument 355 struct of_bus *pbus, *dbus; in build_device_resources() local 383 pbus = of_match_bus(pp); in build_device_resources() 384 pbus->count_cells(dp, &pna, &pns); in build_device_resources() 386 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources() 390 flags = pbus->get_flags(addr, flags); in build_device_resources() 394 dbus = pbus; in build_device_resources()
|
/linux-2.6.39/arch/x86/pci/ |
D | fixup.c | 255 struct pci_bus *pbus; in pcie_rootport_aspm_quirk() local 258 if ((pbus = pdev->subordinate) == NULL) in pcie_rootport_aspm_quirk() 270 if (list_empty(&pbus->devices)) { in pcie_rootport_aspm_quirk() 280 pbus->ops = pbus->parent->ops; in pcie_rootport_aspm_quirk() 288 list_for_each_entry(dev, &pbus->devices, bus_list) { in pcie_rootport_aspm_quirk() 293 pbus->ops = &quirk_pcie_aspm_ops; in pcie_rootport_aspm_quirk()
|
/linux-2.6.39/drivers/of/ |
D | address.c | 332 struct of_bus *pbus, u32 *addr, in of_translate_one() argument 390 return pbus->translate(addr, offset, pna); in of_translate_one() 407 struct of_bus *bus, *pbus; in __of_translate_address() local 451 pbus = of_match_bus(parent); in __of_translate_address() 452 pbus->count_cells(dev, &pna, &pns); in __of_translate_address() 460 pbus->name, pna, pns, parent->full_name); in __of_translate_address() 463 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop)) in __of_translate_address() 469 bus = pbus; in __of_translate_address()
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | topology_64.h | 21 extern int pcibus_to_node(struct pci_bus *pbus); 23 static inline int pcibus_to_node(struct pci_bus *pbus) in pcibus_to_node() argument
|
/linux-2.6.39/arch/alpha/kernel/ |
D | core_polaris.c | 66 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument 69 u8 bus = pbus->number; in mk_conf_addr()
|
D | core_tsunami.c | 90 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument 93 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr() 95 u8 bus = pbus->number; in mk_conf_addr() 101 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
|
D | core_apecs.c | 91 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument 95 u8 bus = pbus->number; in mk_conf_addr()
|
D | core_wildfire.c | 355 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument 358 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr() 360 u8 bus = pbus->number; in mk_conf_addr() 366 if (!pbus->parent) /* No parent means peer PCI bus. */ in mk_conf_addr()
|
D | core_irongate.c | 82 mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, in mk_conf_addr() argument 86 u8 bus = pbus->number; in mk_conf_addr()
|
/linux-2.6.39/drivers/acpi/ |
D | pci_root.c | 312 struct pci_bus *pbus; in acpi_get_pci_dev() local 340 pbus = root->bus; in acpi_get_pci_dev() 355 pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); in acpi_get_pci_dev() 359 pbus = pdev->subordinate; in acpi_get_pci_dev() 367 if (!pbus) { in acpi_get_pci_dev()
|
D | pci_slot.c | 317 struct pci_bus *pbus; in acpi_pci_slot_remove() local 323 pbus = slot->pci_slot->bus; in acpi_pci_slot_remove() 325 put_device(&pbus->dev); in acpi_pci_slot_remove()
|
/linux-2.6.39/sound/pci/cs5535audio/ |
D | cs5535audio.c | 150 struct snd_ac97_bus *pbus; in snd_cs5535audio_mixer() local 158 if ((err = snd_ac97_bus(card, 0, &ops, NULL, &pbus)) < 0) in snd_cs5535audio_mixer() 170 if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { in snd_cs5535audio_mixer()
|
/linux-2.6.39/sound/pci/ |
D | atiixp.c | 1253 struct snd_ac97_bus *pbus = chip->ac97_bus; in snd_atiixp_pcm_new() local 1267 err = snd_ac97_pcm_assign(pbus, num_pcms, atiixp_pcm_defs); in snd_atiixp_pcm_new() 1271 chip->pcms[i] = &pbus->pcms[i]; in snd_atiixp_pcm_new() 1274 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_PCM_SLEFT)) { in snd_atiixp_pcm_new() 1275 if (pbus->pcms[ATI_PCM_OUT].r[0].slots & (1 << AC97_SLOT_LFE)) in snd_atiixp_pcm_new() 1409 struct snd_ac97_bus *pbus; in snd_atiixp_mixer_new() local 1426 if ((err = snd_ac97_bus(chip->card, 0, &ops, chip, &pbus)) < 0) in snd_atiixp_mixer_new() 1428 pbus->clock = clock; in snd_atiixp_mixer_new() 1429 chip->ac97_bus = pbus; in snd_atiixp_mixer_new() 1442 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { in snd_atiixp_mixer_new()
|
D | intel8x0.c | 2150 struct snd_ac97_bus *pbus; in snd_intel8x0_mixer() local 2223 if ((err = snd_ac97_bus(chip->card, 0, ops, chip, &pbus)) < 0) in snd_intel8x0_mixer() 2225 pbus->private_free = snd_intel8x0_mixer_free_ac97_bus; in snd_intel8x0_mixer() 2227 pbus->clock = ac97_clock; in snd_intel8x0_mixer() 2230 pbus->no_vra = 1; in snd_intel8x0_mixer() 2232 pbus->dra = 1; in snd_intel8x0_mixer() 2233 chip->ac97_bus = pbus; in snd_intel8x0_mixer() 2239 if ((err = snd_ac97_mixer(pbus, &ac97, &chip->ac97[i])) < 0) { in snd_intel8x0_mixer() 2250 pbus->isdin = 1; in snd_intel8x0_mixer() 2257 err = snd_ac97_pcm_assign(pbus, i, ac97_pcm_defs); in snd_intel8x0_mixer() [all …]
|
/linux-2.6.39/arch/x86/kernel/ |
D | pci-calgary_64.c | 320 struct pci_bus *pbus; in find_iommu_table() local 326 pbus = pdev->bus; in find_iommu_table() 328 tbl = pci_iommu(pbus); in find_iommu_table() 329 if (tbl && tbl->it_busno == pbus->number) in find_iommu_table() 332 pbus = pbus->parent; in find_iommu_table() 333 } while (pbus); in find_iommu_table() 335 BUG_ON(tbl && (tbl->it_busno != pbus->number)); in find_iommu_table()
|