/linux-2.6.39/arch/ia64/sn/pci/pcibr/ |
D | pcibr_reg.c | 26 void pcireg_control_bit_clr(struct pcibus_info *pcibus_info, u64 bits) in pcireg_control_bit_clr() argument 28 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_clr() 30 if (pcibus_info) { in pcireg_control_bit_clr() 31 switch (pcibus_info->pbi_bridge_type) { in pcireg_control_bit_clr() 46 void pcireg_control_bit_set(struct pcibus_info *pcibus_info, u64 bits) in pcireg_control_bit_set() argument 48 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_control_bit_set() 50 if (pcibus_info) { in pcireg_control_bit_set() 51 switch (pcibus_info->pbi_bridge_type) { in pcireg_control_bit_set() 69 u64 pcireg_tflush_get(struct pcibus_info *pcibus_info) in pcireg_tflush_get() argument 71 union br_ptr __iomem *ptr = (union br_ptr __iomem *)pcibus_info->pbi_buscommon.bs_base; in pcireg_tflush_get() [all …]
|
D | pcibr_ate.c | 115 int pcibr_ate_alloc(struct pcibus_info *pcibus_info, int count) in pcibr_ate_alloc() argument 120 spin_lock_irqsave(&pcibus_info->pbi_lock, flags); in pcibr_ate_alloc() 121 status = alloc_ate_resource(&pcibus_info->pbi_int_ate_resource, count); in pcibr_ate_alloc() 122 spin_unlock_irqrestore(&pcibus_info->pbi_lock, flags); in pcibr_ate_alloc() 131 static inline u64 __iomem *pcibr_ate_addr(struct pcibus_info *pcibus_info, in pcibr_ate_addr() argument 134 if (ate_index < pcibus_info->pbi_int_ate_size) { in pcibr_ate_addr() 135 return pcireg_int_ate_addr(pcibus_info, ate_index); in pcibr_ate_addr() 144 ate_write(struct pcibus_info *pcibus_info, int ate_index, int count, in ate_write() argument 148 if (ate_index < pcibus_info->pbi_int_ate_size) { in ate_write() 149 pcireg_int_ate_set(pcibus_info, ate_index, ate); in ate_write() [all …]
|
D | pcibr_dma.c | 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() [all …]
|
D | pcibr_provider.c | 25 sal_pcibr_slot_enable(struct pcibus_info *soft, int device, void *resp, in sal_pcibr_slot_enable() 45 sal_pcibr_slot_disable(struct pcibus_info *soft, int device, int action, in sal_pcibr_slot_disable() 64 static int sal_pcibr_error_interrupt(struct pcibus_info *soft) in sal_pcibr_error_interrupt() 104 struct pcibus_info *soft = arg; in pcibr_error_intr_handler() 117 struct pcibus_info *soft; in pcibr_bus_fixup() 129 soft = kmalloc(sizeof(struct pcibus_info), GFP_KERNEL); in pcibr_bus_fixup() 134 memcpy(soft, prom_bussoft, sizeof(struct pcibus_info)); in pcibr_bus_fixup() 199 struct pcibus_info *pcibus_info; in pcibr_force_interrupt() local 207 pcibus_info = in pcibr_force_interrupt() 208 (struct pcibus_info *)pcidev_info->pdi_host_pcidev_info-> in pcibr_force_interrupt() [all …]
|
/linux-2.6.39/arch/ia64/include/asm/sn/ |
D | pcibr_provider.h | 100 struct pcibus_info { struct 129 extern void pcireg_control_bit_clr(struct pcibus_info *, u64); argument 130 extern void pcireg_control_bit_set(struct pcibus_info *, u64); 131 extern u64 pcireg_tflush_get(struct pcibus_info *); 132 extern u64 pcireg_intr_status_get(struct pcibus_info *); 133 extern void pcireg_intr_enable_bit_clr(struct pcibus_info *, u64); 134 extern void pcireg_intr_enable_bit_set(struct pcibus_info *, u64); 135 extern void pcireg_intr_addr_addr_set(struct pcibus_info *, int, u64); 136 extern void pcireg_force_intr_set(struct pcibus_info *, int); 137 extern u64 pcireg_wrb_flush_get(struct pcibus_info *, int); [all …]
|
D | pcidev.h | 37 ((struct pcibus_info *)(SN_PLATFORM_DATA(pci_bus)->provider_soft))
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | sgi_hotplug.c | 110 struct pcibus_info *pcibus_info; in sn_pci_slot_valid() local 113 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_slot_valid() 116 if (!(pcibus_info->pbi_valid_devices & (1 << device))) in sn_pci_slot_valid() 120 busnum = pcibus_info->pbi_buscommon.bs_persist_busnum; in sn_pci_slot_valid() 134 struct pcibus_info *pcibus_info; in sn_pci_bus_valid() local 139 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_bus_valid() 140 asic_type = pcibus_info->pbi_buscommon.bs_asic_type; in sn_pci_bus_valid() 166 struct pcibus_info *pcibus_info; in sn_hp_slot_private_alloc() local 169 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_hp_slot_private_alloc() 180 ((u16)pcibus_info->pbi_buscommon.bs_persist_busnum), in sn_hp_slot_private_alloc() [all …]
|
/linux-2.6.39/arch/ia64/sn/kernel/ |
D | irq.c | 433 struct pcibus_info *pcibus_info; in sn_check_intr() local 447 pcibus_info = in sn_check_intr() 448 (struct pcibus_info *)pcidev_info->pdi_host_pcidev_info-> in sn_check_intr() 450 regval = pcireg_intr_status_get(pcibus_info); in sn_check_intr()
|
/linux-2.6.39/arch/ia64/sn/include/xtalk/ |
D | hubdev.h | 45 struct pcibus_info *sfdl_pcibus_info;
|