Home
last modified time | relevance | path

Searched refs:tcm_pool (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/arch/metag/kernel/
Dtcm.c16 struct tcm_pool { struct
26 static struct tcm_pool *find_pool(unsigned int tag) in find_pool() argument
29 struct tcm_pool *pool; in find_pool()
32 pool = list_entry(lh, struct tcm_pool, list); in find_pool()
52 struct tcm_pool *pool; in tcm_alloc()
76 struct tcm_pool *pool; in tcm_free()
95 struct tcm_pool *pool; in tcm_lookup_tag()
99 pool = list_entry(lh, struct tcm_pool, list); in tcm_lookup_tag()
115 struct tcm_pool *pool; in tcm_add_region()
/linux-4.1.27/arch/arm/kernel/
Dtcm.c21 static struct gen_pool *tcm_pool; variable
75 if (!tcm_pool) in tcm_alloc()
78 vaddr = gen_pool_alloc(tcm_pool, len); in tcm_alloc()
91 gen_pool_free(tcm_pool, (unsigned long) addr, len); in tcm_free()
296 tcm_pool = gen_pool_create(2, -1); in setup_tcm_pool()
303 ret = gen_pool_add(tcm_pool, dtcm_pool_start, in setup_tcm_pool()
320 ret = gen_pool_add(tcm_pool, itcm_pool_start, in setup_tcm_pool()