Searched refs:io_page_size (Results 1 – 4 of 4) sorted by relevance
37 unsigned long io_page_size) in iommu_num_pages() argument39 unsigned long size = (addr & (io_page_size - 1)) + len; in iommu_num_pages()41 return DIV_ROUND_UP(size, io_page_size); in iommu_num_pages()
68 int io_page_size; member99 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_shared()100 hp->io_pages_per_kpage = PAGE_SIZE / hp->io_page_size; in hp_zx1_ioc_shared()106 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_shared()146 hp->io_page_size = 1 << hp->io_tlb_shift; in hp_zx1_ioc_owner()147 hp->io_pages_per_kpage = PAGE_SIZE / hp->io_page_size; in hp_zx1_ioc_owner()153 hp->gatt_entries = hp->gart_size / hp->io_page_size; in hp_zx1_ioc_owner()154 hp->io_pdir_size = (HP_ZX1_IOVA_SIZE / hp->io_page_size) * sizeof(u64); in hp_zx1_ioc_owner()366 k++, j++, paddr += hp->io_page_size) { in hp_zx1_insert_memory()
47 int io_page_size; member157 k++, j++, paddr += info->io_page_size) { in parisc_agp_insert_memory()261 info->io_page_size = 1 << io_tlb_shift; in agp_ioc_init()262 info->io_pages_per_kpage = PAGE_SIZE / info->io_page_size; in agp_ioc_init()268 info->gatt_entries = info->gart_size / info->io_page_size; in agp_ioc_init()
296 unsigned long paddr, io_pg_start, io_page_size; in i460_insert_memory_small_io_page() local326 io_page_size = 1UL << I460_IO_PAGE_SHIFT; in i460_insert_memory_small_io_page()329 for (k = 0; k < I460_IOPAGES_PER_KPAGE; k++, j++, paddr += io_page_size) in i460_insert_memory_small_io_page()
Completed in 11 milliseconds