Home
last modified time | relevance | path

Searched refs:dmm_mgr (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/staging/tidspbridge/include/dspbridge/
Ddmm.h44 extern int dmm_reserve_memory(struct dmm_object *dmm_mgr,
47 extern int dmm_un_reserve_memory(struct dmm_object *dmm_mgr,
50 extern int dmm_map_memory(struct dmm_object *dmm_mgr, u32 addr,
53 extern int dmm_un_map_memory(struct dmm_object *dmm_mgr,
56 extern int dmm_destroy(struct dmm_object *dmm_mgr);
58 extern int dmm_delete_tables(struct dmm_object *dmm_mgr);
64 extern int dmm_create_tables(struct dmm_object *dmm_mgr,
68 u32 dmm_mem_map_dump(struct dmm_object *dmm_mgr);
/linux-3.4.99/drivers/staging/tidspbridge/pmgr/
Ddmm.c80 int dmm_create_tables(struct dmm_object *dmm_mgr, u32 addr, u32 size) in dmm_create_tables() argument
82 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_create_tables()
140 int dmm_destroy(struct dmm_object *dmm_mgr) in dmm_destroy() argument
142 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_destroy()
145 if (dmm_mgr) { in dmm_destroy()
160 int dmm_delete_tables(struct dmm_object *dmm_mgr) in dmm_delete_tables() argument
165 if (dmm_mgr) in dmm_delete_tables()
202 int dmm_map_memory(struct dmm_object *dmm_mgr, u32 addr, u32 size) in dmm_map_memory() argument
204 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_map_memory()
221 "chunk %p", __func__, dmm_mgr, addr, size, status, chunk); in dmm_map_memory()
[all …]
Ddev.c71 struct dmm_object *dmm_mgr; /* Dynamic memory manager. */ member
231 status = dmm_create(&dev_obj->dmm_mgr, in dev_create_device()
250 if (dev_obj->dmm_mgr) in dev_create_device()
251 dmm_destroy(dev_obj->dmm_mgr); in dev_create_device()
348 if (dev_obj->dmm_mgr) { in dev_destroy_device()
349 dmm_destroy(dev_obj->dmm_mgr); in dev_destroy_device()
350 dev_obj->dmm_mgr = NULL; in dev_destroy_device()
434 *mgr = dev_obj->dmm_mgr; in dev_get_dmm_mgr()
/linux-3.4.99/drivers/staging/tidspbridge/rmgr/
Dproc.c1021 struct dmm_object *dmm_mgr; in proc_load() local
1210 &dmm_mgr); in proc_load()
1211 if (dmm_mgr) { in proc_load()
1217 status = dmm_create_tables(dmm_mgr, in proc_load()
1272 struct dmm_object *dmm_mgr; in proc_map() local
1302 dmm_get_handle(p_proc_object, &dmm_mgr); in proc_map()
1303 if (dmm_mgr) in proc_map()
1304 status = dmm_map_memory(dmm_mgr, va_align, size_align); in proc_map()
1328 dmm_un_map_memory(dmm_mgr, va_align, &size_align); in proc_map()
1426 struct dmm_object *dmm_mgr; in proc_reserve_memory() local
[all …]
Dnode.c315 struct dmm_object *dmm_mgr; in node_allocate() local
434 status = dmm_get_handle(p_proc_object, &dmm_mgr); in node_allocate()
435 if (!dmm_mgr) { in node_allocate()
440 dmm_mem_map_dump(dmm_mgr); in node_allocate()
2354 struct dmm_object *dmm_mgr; in delete_node() local
2425 status = dmm_get_handle(p_proc_object, &dmm_mgr); in delete_node()
2426 if (dmm_mgr) in delete_node()
2427 dmm_mem_map_dump(dmm_mgr); in delete_node()