Lines Matching refs:memory_pool
1071 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_alloc_memory_pool() local
1078 memory_pool->size = pool_size; in smu_alloc_memory_pool()
1079 memory_pool->align = PAGE_SIZE; in smu_alloc_memory_pool()
1080 memory_pool->domain = in smu_alloc_memory_pool()
1091 memory_pool->size, in smu_alloc_memory_pool()
1092 memory_pool->align, in smu_alloc_memory_pool()
1093 memory_pool->domain, in smu_alloc_memory_pool()
1094 &memory_pool->bo, in smu_alloc_memory_pool()
1095 &memory_pool->mc_address, in smu_alloc_memory_pool()
1096 &memory_pool->cpu_addr); in smu_alloc_memory_pool()
1110 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_free_memory_pool() local
1112 if (memory_pool->size == SMU_MEMORY_POOL_SIZE_ZERO) in smu_free_memory_pool()
1115 amdgpu_bo_free_kernel(&memory_pool->bo, in smu_free_memory_pool()
1116 &memory_pool->mc_address, in smu_free_memory_pool()
1117 &memory_pool->cpu_addr); in smu_free_memory_pool()
1119 memset(memory_pool, 0, sizeof(struct smu_table)); in smu_free_memory_pool()
3720 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_get_prv_buffer_details() local
3727 if (memory_pool->bo) { in smu_get_prv_buffer_details()
3728 *addr = memory_pool->cpu_addr; in smu_get_prv_buffer_details()
3729 *size = memory_pool->size; in smu_get_prv_buffer_details()