Searched refs:ate_index (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/arch/ia64/sn/pci/pcibr/ |
D | pcibr_ate.c | 132 int ate_index) 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() 137 panic("pcibr_ate_addr: invalid ate_index 0x%x", 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() 151 panic("ate_write: invalid ate_index 0x%x", ate_index); in ate_write() 153 ate_index++; in ate_write()
|
D | pcibr_dma.c | 53 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()
|
D | pcibr_reg.c | 244 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()
|
/linux-2.6.39/arch/ia64/sn/pci/ |
D | tioce_provider.c | 704 int ate_index, last_ate, ps; in tioce_reserve_m32() local 709 ate_index = ATE_PAGE(base, ps); in tioce_reserve_m32() 710 last_ate = ate_index + ATE_NPAGES(base, limit-base+1, ps) - 1; in tioce_reserve_m32() 712 if (ate_index < 64) in tioce_reserve_m32() 713 ate_index = 64; in tioce_reserve_m32() 718 while (ate_index <= last_ate) { in tioce_reserve_m32() 722 ce_kern->ce_ate3240_shadow[ate_index] = ate; in tioce_reserve_m32() 723 tioce_mmr_storei(ce_kern, &ce_mmr->ce_ure_ate3240[ate_index], in tioce_reserve_m32() 725 ate_index++; in tioce_reserve_m32()
|