Lines Matching refs:stram_pool
44 static struct resource stram_pool = { variable
97 stram_pool.start = (resource_size_t)memblock_alloc_low(pool_size, in atari_stram_reserve_pages()
99 if (!stram_pool.start) in atari_stram_reserve_pages()
103 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_reserve_pages()
104 request_resource(&iomem_resource, &stram_pool); in atari_stram_reserve_pages()
107 pool_size, &stram_pool); in atari_stram_reserve_pages()
125 stram_pool.start = PAGE_SIZE; in atari_stram_map_pages()
126 stram_pool.end = stram_pool.start + pool_size - 1; in atari_stram_map_pages()
127 request_resource(&iomem_resource, &stram_pool); in atari_stram_map_pages()
128 stram_virt_offset = (unsigned long) ioremap(stram_pool.start, in atari_stram_map_pages()
129 resource_size(&stram_pool)) - stram_pool.start; in atari_stram_map_pages()
131 pool_size, &stram_pool); in atari_stram_map_pages()
169 error = allocate_resource(&stram_pool, res, size, 0, UINT_MAX, in atari_stram_alloc()
190 res = lookup_resource(&stram_pool, start); in atari_stram_free()