Home
last modified time | relevance | path

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

/linux/include/linux/
A Diommu-helper.h37 unsigned long io_page_size) in iommu_num_pages() argument
39 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()
/linux/drivers/char/agp/
A Dhp-agp.c68 int io_page_size; member
99 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()
A Dparisc-agp.c47 int io_page_size; member
157 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()
A Di460-agp.c296 unsigned long paddr, io_pg_start, io_page_size; in i460_insert_memory_small_io_page() local
326 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