Home
last modified time | relevance | path

Searched refs:hdev_obj (Results 1 – 25 of 36) sorted by relevance

12

/drivers/staging/tidspbridge/rmgr/
Dpwr.c44 struct dev_object *hdev_obj = NULL; in pwr_sleep_dsp() local
48 for (hdev_obj = (struct dev_object *)drv_get_first_dev_object(); in pwr_sleep_dsp()
49 hdev_obj != NULL; in pwr_sleep_dsp()
50 hdev_obj = in pwr_sleep_dsp()
51 (struct dev_object *)drv_get_next_dev_object((u32) hdev_obj)) { in pwr_sleep_dsp()
52 if (dev_get_bridge_context(hdev_obj, in pwr_sleep_dsp()
57 if (dev_get_intf_fxns(hdev_obj, in pwr_sleep_dsp()
87 struct dev_object *hdev_obj = NULL; in pwr_wake_dsp() local
90 for (hdev_obj = (struct dev_object *)drv_get_first_dev_object(); in pwr_wake_dsp()
91 hdev_obj != NULL; in pwr_wake_dsp()
[all …]
Dmgr.c185 struct dev_object *hdev_obj; in mgr_enum_processor_info() local
203 status = drv_get_dev_object(processor_id, hdrv_obj, &hdev_obj); in mgr_enum_processor_info()
205 status = dev_get_dev_type(hdev_obj, (u8 *) &dev_type); in mgr_enum_processor_info()
206 status = dev_get_dev_node(hdev_obj, &dev_node); in mgr_enum_processor_info()
Dproc.c270 struct dev_object *hdev_obj; in proc_attach() local
293 status = drv_get_dev_object(processor_id, hdrv_obj, &hdev_obj); in proc_attach()
296 status = dev_get_dev_type(hdev_obj, &dev_type); in proc_attach()
308 p_proc_object->dev_obj = hdev_obj; in proc_attach()
321 status = dev_get_intf_fxns(hdev_obj, &p_proc_object->intf_fxns); in proc_attach()
323 status = dev_get_bridge_context(hdev_obj, in proc_attach()
379 struct dev_object *hdev_obj, in get_exec_file() argument
385 dev_get_dev_type(hdev_obj, (u8 *) &dev_type); in get_exec_file()
420 struct dev_object *hdev_obj) in proc_auto_start() argument
444 p_proc_object->dev_obj = hdev_obj; in proc_auto_start()
[all …]
Ddrv.c420 u32 drv_get_next_dev_object(u32 hdev_obj) in drv_get_next_dev_object() argument
430 curr = (struct list_head *)hdev_obj; in drv_get_next_dev_object()
478 struct dev_object *hdev_obj) in drv_insert_dev_object() argument
482 list_add_tail((struct list_head *)hdev_obj, &pdrv_object->dev_list); in drv_insert_dev_object()
494 struct dev_object *hdev_obj) in drv_remove_dev_object() argument
503 if ((struct dev_object *)cur_elem == hdev_obj) { in drv_remove_dev_object()
Dnode.c256 struct dev_object *hdev_obj);
294 struct dev_object *hdev_obj; in node_allocate() local
327 status = proc_get_dev_object(hprocessor, &hdev_obj); in node_allocate()
329 status = dev_get_node_manager(hdev_obj, &hnode_mgr); in node_allocate()
338 status = dev_get_bridge_context(hdev_obj, &pbridge_context); in node_allocate()
1265 struct dev_object *hdev_obj) in node_create_mgr() argument
1281 node_mgr_obj->dev_obj = hdev_obj; in node_create_mgr()
1293 dev_get_dev_type(hdev_obj, &dev_type); in node_create_mgr()
1299 status = get_proc_props(node_mgr_obj, hdev_obj); in node_create_mgr()
1309 status = disp_create(&node_mgr_obj->disp_obj, hdev_obj, &disp_attr_obj); in node_create_mgr()
[all …]
Ddisp.c84 struct dev_object *hdev_obj, in disp_create() argument
101 disp_obj->dev_obj = hdev_obj; in disp_create()
105 status = dev_get_chnl_mgr(hdev_obj, &(disp_obj->chnl_mgr)); in disp_create()
107 (void)dev_get_intf_fxns(hdev_obj, &intf_fxns); in disp_create()
117 status = dev_get_dev_type(hdev_obj, &dev_type); in disp_create()
/drivers/staging/tidspbridge/include/dspbridge/
Ddev.h115 extern int dev_create2(struct dev_object *hdev_obj);
133 extern int dev_destroy2(struct dev_object *hdev_obj);
152 *hdev_obj);
173 extern int dev_get_chnl_mgr(struct dev_object *hdev_obj,
196 extern int dev_get_cmm_mgr(struct dev_object *hdev_obj,
219 extern int dev_get_dmm_mgr(struct dev_object *hdev_obj,
240 extern int dev_get_cod_mgr(struct dev_object *hdev_obj,
260 extern int dev_get_deh_mgr(struct dev_object *hdev_obj,
281 extern int dev_get_dev_node(struct dev_object *hdev_obj,
345 extern int dev_get_intf_fxns(struct dev_object *hdev_obj,
[all …]
Ddrv.h267 extern u32 drv_get_next_dev_object(u32 hdev_obj);
302 struct dev_object *hdev_obj);
323 struct dev_object *hdev_obj);
Ddspdefs.h323 * hdev_obj,
679 * hdev_obj,
742 struct dev_object *hdev_obj,
816 struct dev_object *hdev_obj, msg_onexit msg_callback);
Dmsg.h43 struct dev_object *hdev_obj,
Dchnl.h59 struct dev_object *hdev_obj,
Ddspio.h31 struct dev_object *hdev_obj,
Dio.h63 struct dev_object *hdev_obj,
Ddspdeh.h32 struct dev_object *hdev_obj);
Dnldr.h35 struct dev_object *hdev_obj,
Ddspmsg.h30 struct dev_object *hdev_obj,
/drivers/staging/tidspbridge/pmgr/
Ddev.c268 int dev_create2(struct dev_object *hdev_obj) in dev_create2() argument
271 struct dev_object *dev_obj = hdev_obj; in dev_create2()
274 status = node_create_mgr(&dev_obj->node_mgr, hdev_obj); in dev_create2()
286 int dev_destroy2(struct dev_object *hdev_obj) in dev_destroy2() argument
289 struct dev_object *dev_obj = hdev_obj; in dev_destroy2()
308 int dev_destroy_device(struct dev_object *hdev_obj) in dev_destroy_device() argument
311 struct dev_object *dev_obj = hdev_obj; in dev_destroy_device()
313 if (hdev_obj) { in dev_destroy_device()
383 int dev_get_chnl_mgr(struct dev_object *hdev_obj, in dev_get_chnl_mgr() argument
387 struct dev_object *dev_obj = hdev_obj; in dev_get_chnl_mgr()
[all …]
Dio.c39 int io_create(struct io_mgr **io_man, struct dev_object *hdev_obj, in io_create() argument
57 dev_get_intf_fxns(hdev_obj, &intf_fxns); in io_create()
60 status = (*intf_fxns->io_create) (&hio_mgr, hdev_obj, in io_create()
66 pio_mgr->dev_obj = hdev_obj; in io_create()
Dchnl.c48 struct dev_object *hdev_obj, in chnl_create() argument
70 status = dev_get_chnl_mgr(hdev_obj, &hchnl_mgr); in chnl_create()
78 dev_get_intf_fxns(hdev_obj, &intf_fxns); in chnl_create()
80 status = (*intf_fxns->chnl_create) (&hchnl_mgr, hdev_obj, in chnl_create()
Dmsg.c43 struct dev_object *hdev_obj, msg_onexit msg_callback) in msg_create() argument
52 dev_get_intf_fxns(hdev_obj, &intf_fxns); in msg_create()
56 (*intf_fxns->msg_create) (&hmsg_mgr, hdev_obj, msg_callback); in msg_create()
Ddmm.c116 struct dev_object *hdev_obj, in dmm_create() argument
181 struct dev_object *hdev_obj; in dmm_get_handle() local
184 status = proc_get_dev_object(hprocessor, &hdev_obj); in dmm_get_handle()
186 hdev_obj = dev_get_first(); /* default */ in dmm_get_handle()
189 status = dev_get_dmm_mgr(hdev_obj, dmm_manager); in dmm_get_handle()
Dcmm.c235 struct dev_object *hdev_obj, in cmm_create() argument
365 struct dev_object *hdev_obj; in cmm_get_handle() local
368 status = proc_get_dev_object(hprocessor, &hdev_obj); in cmm_get_handle()
370 hdev_obj = dev_get_first(); /* default */ in cmm_get_handle()
373 status = dev_get_cmm_mgr(hdev_obj, ph_cmm_mgr); in cmm_get_handle()
Ddspapi.c309 struct dev_object *hdev_obj; in api_init_complete2() local
316 for (hdev_obj = dev_get_first(); hdev_obj != NULL; in api_init_complete2()
317 hdev_obj = dev_get_next(hdev_obj)) { in api_init_complete2()
318 if (dev_get_dev_node(hdev_obj, &dev_node)) in api_init_complete2()
321 if (dev_get_dev_type(hdev_obj, &dev_type)) in api_init_complete2()
328 proc_auto_start(dev_node, hdev_obj); in api_init_complete2()
/drivers/staging/tidspbridge/core/
Due_deh.c85 struct dev_object *hdev_obj) in bridge_deh_create() argument
95 dev_get_bridge_context(hdev_obj, &hbridge_context); in bridge_deh_create()
Dmsg_sm.c48 struct dev_object *hdev_obj, in bridge_msg_create() argument
55 if (!msg_man || !msg_callback || !hdev_obj) in bridge_msg_create()
58 dev_get_io_mgr(hdev_obj, &hio_mgr); in bridge_msg_create()

12