Home
last modified time | relevance | path

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

/linux-2.6.39/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);
68 extern int dmm_create_tables(struct dmm_object *dmm_mgr,
72 u32 dmm_mem_map_dump(struct dmm_object *dmm_mgr);
/linux-2.6.39/drivers/staging/tidspbridge/pmgr/
Ddmm.c85 int dmm_create_tables(struct dmm_object *dmm_mgr, u32 addr, u32 size) in dmm_create_tables() argument
87 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_create_tables()
147 int dmm_destroy(struct dmm_object *dmm_mgr) in dmm_destroy() argument
149 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_destroy()
153 if (dmm_mgr) { in dmm_destroy()
168 int dmm_delete_tables(struct dmm_object *dmm_mgr) in dmm_delete_tables() argument
174 if (dmm_mgr) in dmm_delete_tables()
248 int dmm_map_memory(struct dmm_object *dmm_mgr, u32 addr, u32 size) in dmm_map_memory() argument
250 struct dmm_object *dmm_obj = (struct dmm_object *)dmm_mgr; in dmm_map_memory()
267 "chunk %p", __func__, dmm_mgr, addr, size, status, chunk); in dmm_map_memory()
[all …]
Ddev.c74 struct dmm_object *dmm_mgr; /* Dynamic memory manager. */ member
247 status = dmm_create(&dev_obj->dmm_mgr, in dev_create_device()
266 if (dev_obj->dmm_mgr) in dev_create_device()
267 dmm_destroy(dev_obj->dmm_mgr); in dev_create_device()
377 if (dev_obj->dmm_mgr) { in dev_destroy_device()
378 dmm_destroy(dev_obj->dmm_mgr); in dev_destroy_device()
379 dev_obj->dmm_mgr = NULL; in dev_destroy_device()
474 *mgr = dev_obj->dmm_mgr; in dev_get_dmm_mgr()
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Dproc.c1098 struct dmm_object *dmm_mgr; in proc_load() local
1294 &dmm_mgr); in proc_load()
1295 if (dmm_mgr) { in proc_load()
1301 status = dmm_create_tables(dmm_mgr, in proc_load()
1360 struct dmm_object *dmm_mgr; in proc_map() local
1390 dmm_get_handle(p_proc_object, &dmm_mgr); in proc_map()
1391 if (dmm_mgr) in proc_map()
1392 status = dmm_map_memory(dmm_mgr, va_align, size_align); in proc_map()
1416 dmm_un_map_memory(dmm_mgr, va_align, &size_align); in proc_map()
1517 struct dmm_object *dmm_mgr; in proc_reserve_memory() local
[all …]
Dnode.c323 struct dmm_object *dmm_mgr; in node_allocate() local
447 status = dmm_get_handle(p_proc_object, &dmm_mgr); in node_allocate()
448 if (!dmm_mgr) { in node_allocate()
453 dmm_mem_map_dump(dmm_mgr); in node_allocate()
2461 struct dmm_object *dmm_mgr; in delete_node() local
2532 status = dmm_get_handle(p_proc_object, &dmm_mgr); in delete_node()
2533 if (dmm_mgr) in delete_node()
2534 dmm_mem_map_dump(dmm_mgr); in delete_node()