Searched refs:memory_pool (Results 1 – 5 of 5) sorted by relevance
63 struct isp1760_memory_chunk memory_pool[ISP176x_BLOCK_MAX]; member
592 priv->memory_pool[curr + j].start = payload_addr; in init_memory()593 priv->memory_pool[curr + j].size = mem->blocks_size[i]; in init_memory()594 priv->memory_pool[curr + j].free = 1; in init_memory()595 payload_addr += priv->memory_pool[curr + j].size; in init_memory()599 WARN_ON(payload_addr - priv->memory_pool[0].start > in init_memory()615 if (priv->memory_pool[i].size >= qtd->length && in alloc_mem()616 priv->memory_pool[i].free) { in alloc_mem()617 priv->memory_pool[i].free = 0; in alloc_mem()618 qtd->payload_addr = priv->memory_pool[i].start; in alloc_mem()634 if (priv->memory_pool[i].start == qtd->payload_addr) { in free_mem()[all …]
553 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v11_0_notify_memory_pool_location() local558 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v11_0_notify_memory_pool_location()561 address = (uintptr_t)memory_pool->cpu_addr; in smu_v11_0_notify_memory_pool_location()578 address = memory_pool->mc_address; in smu_v11_0_notify_memory_pool_location()591 (uint32_t)memory_pool->size, NULL); in smu_v11_0_notify_memory_pool_location()
613 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v14_0_notify_memory_pool_location() local618 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v14_0_notify_memory_pool_location()621 address = memory_pool->mc_address; in smu_v14_0_notify_memory_pool_location()634 (uint32_t)memory_pool->size, NULL); in smu_v14_0_notify_memory_pool_location()
410 struct smu_table memory_pool; member