Home
last modified time | relevance | path

Searched refs:memory_pool (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c1077 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_alloc_memory_pool() local
1084 memory_pool->size = pool_size; in smu_alloc_memory_pool()
1085 memory_pool->align = PAGE_SIZE; in smu_alloc_memory_pool()
1086 memory_pool->domain = in smu_alloc_memory_pool()
1097 memory_pool->size, in smu_alloc_memory_pool()
1098 memory_pool->align, in smu_alloc_memory_pool()
1099 memory_pool->domain, in smu_alloc_memory_pool()
1100 &memory_pool->bo, in smu_alloc_memory_pool()
1101 &memory_pool->mc_address, in smu_alloc_memory_pool()
1102 &memory_pool->cpu_addr); in smu_alloc_memory_pool()
[all …]
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.h63 struct isp1760_memory_chunk memory_pool[ISP176x_BLOCK_MAX]; member
H A Disp1760-hcd.c592 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 …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c629 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v11_0_notify_memory_pool_location() local
634 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v11_0_notify_memory_pool_location()
637 address = (uintptr_t)memory_pool->cpu_addr; in smu_v11_0_notify_memory_pool_location()
654 address = memory_pool->mc_address; in smu_v11_0_notify_memory_pool_location()
667 (uint32_t)memory_pool->size, NULL); in smu_v11_0_notify_memory_pool_location()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu15/
H A Dsmu_v15_0.c643 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v15_0_notify_memory_pool_location() local
648 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v15_0_notify_memory_pool_location()
651 address = memory_pool->mc_address; in smu_v15_0_notify_memory_pool_location()
664 (uint32_t)memory_pool->size, NULL); in smu_v15_0_notify_memory_pool_location()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c674 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v14_0_notify_memory_pool_location() local
679 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v14_0_notify_memory_pool_location()
682 address = memory_pool->mc_address; in smu_v14_0_notify_memory_pool_location()
695 (uint32_t)memory_pool->size, NULL); in smu_v14_0_notify_memory_pool_location()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c689 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_v13_0_notify_memory_pool_location() local
694 if (memory_pool->size == 0 || memory_pool->cpu_addr == NULL) in smu_v13_0_notify_memory_pool_location()
697 address = memory_pool->mc_address; in smu_v13_0_notify_memory_pool_location()
710 (uint32_t)memory_pool->size, NULL); in smu_v13_0_notify_memory_pool_location()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h409 struct smu_table memory_pool; member