Lines Matching refs:pcibus_info
48 struct pcibus_info *pcibus_info = (struct pcibus_info *)pcidev_info-> in pcibr_dmamap_ate32() local
61 if (IS_PIC_SOFT(pcibus_info) && IS_PCIX(pcibus_info)) { in pcibr_dmamap_ate32()
76 ate_index = pcibr_ate_alloc(pcibus_info, ate_count); in pcibr_dmamap_ate32()
81 if (IS_PCIX(pcibus_info)) in pcibr_dmamap_ate32()
85 xio_addr = IS_PIC_SOFT(pcibus_info) ? PHYS_TO_DMA(paddr) : in pcibr_dmamap_ate32()
94 if (IS_PIC_SOFT(pcibus_info)) { in pcibr_dmamap_ate32()
95 ate |= (pcibus_info->pbi_hub_xid << PIC_ATE_TARGETID_SHFT); in pcibr_dmamap_ate32()
104 if (IS_TIOCP_SOFT(pcibus_info)) in pcibr_dmamap_ate32()
108 ate_write(pcibus_info, ate_index, ate_count, ate); in pcibr_dmamap_ate32()
119 if (pcibus_info->pbi_devreg[internal_device] & PCIBR_DEV_SWAP_DIR) in pcibr_dmamap_ate32()
130 struct pcibus_info *pcibus_info = (struct pcibus_info *) in pcibr_dmatrans_direct64() local
136 pci_addr = IS_PIC_SOFT(pcibus_info) ? in pcibr_dmatrans_direct64()
144 if (IS_PCIX(pcibus_info)) in pcibr_dmatrans_direct64()
148 if (IS_PIC_SOFT(pcibus_info)) { in pcibr_dmatrans_direct64()
150 ((u64) pcibus_info-> in pcibr_dmatrans_direct64()
158 if (!IS_PCIX(pcibus_info) && PCI_FUNC(info->pdi_linux_pcidev->devfn)) in pcibr_dmatrans_direct64()
169 struct pcibus_info *pcibus_info = (struct pcibus_info *)pcidev_info-> in pcibr_dmatrans_direct32() local
177 if (IS_PCIX(pcibus_info)) { in pcibr_dmatrans_direct32()
185 xio_addr = IS_PIC_SOFT(pcibus_info) ? PHYS_TO_DMA(paddr) : in pcibr_dmatrans_direct32()
190 xio_base = pcibus_info->pbi_dir_xbase; in pcibr_dmatrans_direct32()
210 struct pcibus_info *pcibus_info = in pcibr_dma_unmap() local
211 (struct pcibus_info *)pcidev_info->pdi_pcibus_info; in pcibr_dma_unmap()
218 pcibr_ate_free(pcibus_info, ate_index); in pcibr_dma_unmap()