Home
last modified time | relevance | path

Searched refs:ate_index (Results 1 – 4 of 4) sorted by relevance

/arch/ia64/sn/pci/pcibr/
Dpcibr_ate.c130 int ate_index) in pcibr_ate_addr() argument
132 if (ate_index < pcibus_info->pbi_int_ate_size) { in pcibr_ate_addr()
133 return pcireg_int_ate_addr(pcibus_info, ate_index); in pcibr_ate_addr()
135 panic("pcibr_ate_addr: invalid ate_index 0x%x", ate_index); in pcibr_ate_addr()
142 ate_write(struct pcibus_info *pcibus_info, int ate_index, int count, in ate_write() argument
146 if (ate_index < pcibus_info->pbi_int_ate_size) { in ate_write()
147 pcireg_int_ate_set(pcibus_info, ate_index, ate); in ate_write()
149 panic("ate_write: invalid ate_index 0x%x", ate_index); in ate_write()
151 ate_index++; in ate_write()
Dpcibr_dma.c53 int ate_index; in pcibr_dmamap_ate32() local
76 ate_index = pcibr_ate_alloc(pcibus_info, ate_count); in pcibr_dmamap_ate32()
77 if (ate_index < 0) in pcibr_dmamap_ate32()
108 ate_write(pcibus_info, ate_index, ate_count, ate); in pcibr_dmamap_ate32()
113 pci_addr = PCI32_MAPPED_BASE + offset + IOPGSIZE * ate_index; in pcibr_dmamap_ate32()
214 int ate_index; in pcibr_dma_unmap() local
216 ate_index = in pcibr_dma_unmap()
218 pcibr_ate_free(pcibus_info, ate_index); in pcibr_dma_unmap()
Dpcibr_reg.c244 void pcireg_int_ate_set(struct pcibus_info *pcibus_info, int ate_index, in pcireg_int_ate_set() argument
252 writeq(val, &ptr->tio.cp_int_ate_ram[ate_index]); in pcireg_int_ate_set()
255 writeq(val, &ptr->pic.p_int_ate_ram[ate_index]); in pcireg_int_ate_set()
265 u64 __iomem *pcireg_int_ate_addr(struct pcibus_info *pcibus_info, int ate_index) in pcireg_int_ate_addr() argument
273 ret = &ptr->tio.cp_int_ate_ram[ate_index]; in pcireg_int_ate_addr()
276 ret = &ptr->pic.p_int_ate_ram[ate_index]; in pcireg_int_ate_addr()
/arch/ia64/sn/pci/
Dtioce_provider.c703 int ate_index, last_ate, ps; in tioce_reserve_m32() local
708 ate_index = ATE_PAGE(base, ps); in tioce_reserve_m32()
709 last_ate = ate_index + ATE_NPAGES(base, limit-base+1, ps) - 1; in tioce_reserve_m32()
711 if (ate_index < 64) in tioce_reserve_m32()
712 ate_index = 64; in tioce_reserve_m32()
717 while (ate_index <= last_ate) { in tioce_reserve_m32()
721 ce_kern->ce_ate3240_shadow[ate_index] = ate; in tioce_reserve_m32()
722 tioce_mmr_storei(ce_kern, &ce_mmr->ce_ure_ate3240[ate_index], in tioce_reserve_m32()
724 ate_index++; in tioce_reserve_m32()