Home
last modified time | relevance | path

Searched refs:PG_SIZE4K (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/tidspbridge/pmgr/
Ddmm.c43 (((struct map_page *)(a) - virtual_mapping_table) * PG_SIZE4K +\
45 #define DMM_ADDR_TO_INDEX(a) (((a) - dyn_mem_map_beg) / PG_SIZE4K)
88 table_size = PG_ALIGN_HIGH(size, PG_SIZE4K) / PG_SIZE4K; in dmm_create_tables()
99 free_size = table_size * PG_SIZE4K; in dmm_create_tables()
215 chunk->mapped_size = (size / PG_SIZE4K); in dmm_map_memory()
248 rsv_size = size / PG_SIZE4K; in dmm_reserve_memory()
296 *psize = chunk->mapped_size * PG_SIZE4K; in dmm_un_map_memory()
409 region_size *= PG_SIZE4K; in get_free_region()
420 free_region += (len / PG_SIZE4K); in get_free_region()
471 freemem += (curr_node->region_size * PG_SIZE4K); in dmm_mem_map_dump()
[all …]
Ddspapi.c932 (args->args_proc_rsvmem.size & (PG_SIZE4K - 1)) != 0) in procwrap_reserve_memory()
/drivers/staging/tidspbridge/core/
Dtiomap3430.c1244 num_usr_pgs = ul_num_bytes / PG_SIZE4K; in bridge_brd_mem_map()
1274 num_usr_pgs = ul_num_bytes / PG_SIZE4K; in bridge_brd_mem_map()
1322 (pg_i * PG_SIZE4K)); in bridge_brd_mem_map()
1404 if (rem_bytes < (pte_count * PG_SIZE4K)) in bridge_brd_mem_un_map()
1405 pte_count = rem_bytes / PG_SIZE4K; in bridge_brd_mem_un_map()
1406 rem_bytes_l2 = pte_count * PG_SIZE4K; in bridge_brd_mem_un_map()
1476 rem_bytes -= pte_count * PG_SIZE4K; in bridge_brd_mem_un_map()
/drivers/staging/tidspbridge/rmgr/
Dproc.c115 u32 num_usr_pgs = size / PG_SIZE4K; in add_mapping_info()
1280 va_align = PG_ALIGN_LOW((u32) req_addr, PG_SIZE4K); in proc_map()
1281 pa_align = PG_ALIGN_LOW((u32) pmpu_addr, PG_SIZE4K); in proc_map()
1283 PG_SIZE4K); in proc_map()
1301 tmp_addr = (va_align | ((u32) pmpu_addr & (PG_SIZE4K - 1))); in proc_map()
1596 va_align = PG_ALIGN_LOW((u32) map_addr, PG_SIZE4K); in proc_un_map()
Dnode.c408 if (((attr_in->heap_size) & (PG_SIZE4K - 1))) { in node_allocate()
/drivers/staging/tidspbridge/include/dspbridge/
Ddbdefs.h26 #define PG_SIZE4K 4096 macro