Home
last modified time | relevance | path

Searched refs:pcibus_info (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/arch/ia64/sn/pci/pcibr/
Dpcibr_reg.c26 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 …]
Dpcibr_ate.c115 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 …]
Dpcibr_dma.c49 struct pcibus_info *pcibus_info = (struct pcibus_info *)pcidev_info-> in pcibr_dmamap_ate32() local
62 if (IS_PIC_SOFT(pcibus_info) && IS_PCIX(pcibus_info)) { in pcibr_dmamap_ate32()
77 ate_index = pcibr_ate_alloc(pcibus_info, ate_count); in pcibr_dmamap_ate32()
82 if (IS_PCIX(pcibus_info)) in pcibr_dmamap_ate32()
86 xio_addr = IS_PIC_SOFT(pcibus_info) ? PHYS_TO_DMA(paddr) : in pcibr_dmamap_ate32()
95 if (IS_PIC_SOFT(pcibus_info)) { in pcibr_dmamap_ate32()
96 ate |= (pcibus_info->pbi_hub_xid << PIC_ATE_TARGETID_SHFT); in pcibr_dmamap_ate32()
105 if (IS_TIOCP_SOFT(pcibus_info)) in pcibr_dmamap_ate32()
109 ate_write(pcibus_info, ate_index, ate_count, ate); in pcibr_dmamap_ate32()
120 if (pcibus_info->pbi_devreg[internal_device] & PCIBR_DEV_SWAP_DIR) in pcibr_dmamap_ate32()
[all …]
Dpcibr_provider.c26 sal_pcibr_slot_enable(struct pcibus_info *soft, int device, void *resp, in sal_pcibr_slot_enable()
46 sal_pcibr_slot_disable(struct pcibus_info *soft, int device, int action, in sal_pcibr_slot_disable()
65 static int sal_pcibr_error_interrupt(struct pcibus_info *soft) in sal_pcibr_error_interrupt()
105 struct pcibus_info *soft = arg; in pcibr_error_intr_handler()
118 struct pcibus_info *soft; in pcibr_bus_fixup()
130 soft = kmemdup(prom_bussoft, sizeof(struct pcibus_info), GFP_KERNEL); in pcibr_bus_fixup()
200 struct pcibus_info *pcibus_info; in pcibr_force_interrupt() local
208 pcibus_info = in pcibr_force_interrupt()
209 (struct pcibus_info *)pcidev_info->pdi_host_pcidev_info-> in pcibr_force_interrupt()
211 pcireg_force_intr_set(pcibus_info, bit); in pcibr_force_interrupt()
[all …]
/Linux-v4.19/arch/ia64/include/asm/sn/
Dpcibr_provider.h100 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 …]
Dpcidev.h37 ((struct pcibus_info *)(SN_PLATFORM_DATA(pci_bus)->provider_soft))
/Linux-v4.19/drivers/pci/hotplug/
Dsgi_hotplug.c107 struct pcibus_info *pcibus_info; in sn_pci_slot_valid() local
110 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_slot_valid()
113 if (!(pcibus_info->pbi_valid_devices & (1 << device))) in sn_pci_slot_valid()
117 busnum = pcibus_info->pbi_buscommon.bs_persist_busnum; in sn_pci_slot_valid()
131 struct pcibus_info *pcibus_info; in sn_pci_bus_valid() local
136 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_pci_bus_valid()
137 asic_type = pcibus_info->pbi_buscommon.bs_asic_type; in sn_pci_bus_valid()
163 struct pcibus_info *pcibus_info; in sn_hp_slot_private_alloc() local
166 pcibus_info = SN_PCIBUS_BUSSOFT_INFO(pci_bus); in sn_hp_slot_private_alloc()
177 ((u16)pcibus_info->pbi_buscommon.bs_persist_busnum), in sn_hp_slot_private_alloc()
[all …]
/Linux-v4.19/arch/ia64/sn/kernel/
Dirq.c424 struct pcibus_info *pcibus_info; in sn_check_intr() local
438 pcibus_info = in sn_check_intr()
439 (struct pcibus_info *)pcidev_info->pdi_host_pcidev_info-> in sn_check_intr()
441 regval = pcireg_intr_status_get(pcibus_info); in sn_check_intr()
/Linux-v4.19/arch/ia64/sn/include/xtalk/
Dhubdev.h45 struct pcibus_info *sfdl_pcibus_info;