Lines Matching refs:pagesize
169 #define ATE_NPAGES(start, len, pagesize) \ argument
170 (ATE_PAGE((start)+(len)-1, pagesize) - ATE_PAGE(start, pagesize) + 1)
275 u64 pagesize; in tioce_alloc_map() local
296 pagesize = ce_kern->ce_ate3240_pagesize; in tioce_alloc_map()
305 pagesize = MB(64); in tioce_alloc_map()
318 pagesize = GB(16); in tioce_alloc_map()
330 nates = ATE_NPAGES(ct_addr, len, pagesize); in tioce_alloc_map()
358 ate = ATE_MAKE(addr, pagesize, msi_wanted); in tioce_alloc_map()
361 addr += pagesize; in tioce_alloc_map()
365 map->nbytes = nates * pagesize; in tioce_alloc_map()
366 map->ct_start = ct_addr & ~ATE_PAGEMASK(pagesize); in tioce_alloc_map()
367 map->pci_start = bus_base + (i * pagesize); in tioce_alloc_map()