Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
dspdefs.h File Reference
#include <dspbridge/brddefs.h>
#include <dspbridge/cfgdefs.h>
#include <dspbridge/chnlpriv.h>
#include <dspbridge/dspdeh.h>
#include <dspbridge/devdefs.h>
#include <dspbridge/io.h>
#include <dspbridge/msgdefs.h>

Go to the source code of this file.

Data Structures

struct  bridge_drv_interface
 

Typedefs

typedef int(* fxn_brd_monitor )(struct bridge_dev_context *dev_ctxt)
 
typedef int(* fxn_brd_setstate )(struct bridge_dev_context *dev_ctxt, u32 brd_state)
 
typedef int(* fxn_brd_start )(struct bridge_dev_context *dev_ctxt, u32 dsp_addr)
 
typedef int(* fxn_brd_memcopy )(struct bridge_dev_context *dev_ctxt, u32 dsp_dest_addr, u32 dsp_src_addr, u32 ul_num_bytes, u32 mem_type)
 
typedef int(* fxn_brd_memwrite )(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)
 
typedef int(* fxn_brd_memmap )(struct bridge_dev_context *dev_ctxt, u32 ul_mpu_addr, u32 virt_addr, u32 ul_num_bytes, u32 map_attr, struct page **mapped_pages)
 
typedef int(* fxn_brd_memunmap )(struct bridge_dev_context *dev_ctxt, u32 virt_addr, u32 ul_num_bytes)
 
typedef int(* fxn_brd_stop )(struct bridge_dev_context *dev_ctxt)
 
typedef int(* fxn_brd_status )(struct bridge_dev_context *dev_ctxt, int *board_state)
 
typedef int(* fxn_brd_read )(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)
 
typedef int(* fxn_brd_write )(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)
 
typedef int(* fxn_chnl_create )(struct chnl_mgr **channel_mgr, struct dev_object *hdev_obj, const struct chnl_mgrattrs *mgr_attrts)
 
typedef int(* fxn_chnl_destroy )(struct chnl_mgr *hchnl_mgr)
 
typedef void(* fxn_deh_notify )(struct deh_mgr *hdeh_mgr, u32 evnt_mask, u32 error_info)
 
typedef int(* fxn_chnl_open )(struct chnl_object **chnl, struct chnl_mgr *hchnl_mgr, s8 chnl_mode, u32 ch_id, const struct chnl_attr *pattrs)
 
typedef int(* fxn_chnl_close )(struct chnl_object *chnl_obj)
 
typedef int(* fxn_chnl_addioreq )(struct chnl_object *chnl_obj, void *host_buf, u32 byte_size, u32 buf_size, u32 dw_dsp_addr, u32 dw_arg)
 
typedef int(* fxn_chnl_getioc )(struct chnl_object *chnl_obj, u32 timeout, struct chnl_ioc *chan_ioc)
 
typedef int(* fxn_chnl_cancelio )(struct chnl_object *chnl_obj)
 
typedef int(* fxn_chnl_flushio )(struct chnl_object *chnl_obj, u32 timeout)
 
typedef int(* fxn_chnl_getinfo )(struct chnl_object *chnl_obj, struct chnl_info *channel_info)
 
typedef int(* fxn_chnl_getmgrinfo )(struct chnl_mgr *hchnl_mgr, u32 ch_id, struct chnl_mgrinfo *mgr_info)
 
typedef int(* fxn_chnl_idle )(struct chnl_object *chnl_obj, u32 timeout, bool flush_data)
 
typedef int(* fxn_chnl_registernotify )(struct chnl_object *chnl_obj, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)
 
typedef int(* fxn_dev_create )(struct bridge_dev_context **device_ctx, struct dev_object *hdev_obj, struct cfg_hostres *config_param)
 
typedef int(* fxn_dev_ctrl )(struct bridge_dev_context *dev_ctxt, u32 dw_cmd, void *pargs)
 
typedef int(* fxn_dev_destroy )(struct bridge_dev_context *dev_ctxt)
 
typedef int(* fxn_io_create )(struct io_mgr **io_man, struct dev_object *hdev_obj, const struct io_attrs *mgr_attrts)
 
typedef int(* fxn_io_destroy )(struct io_mgr *hio_mgr)
 
typedef int(* fxn_io_onloaded )(struct io_mgr *hio_mgr)
 
typedef int(* fxn_io_getprocload )(struct io_mgr *hio_mgr, struct dsp_procloadstat *proc_load_stat)
 
typedef int(* fxn_msg_create )(struct msg_mgr **msg_man, struct dev_object *hdev_obj, msg_onexit msg_callback)
 
typedef int(* fxn_msg_createqueue )(struct msg_mgr *hmsg_mgr, struct msg_queue **msgq, u32 msgq_id, u32 max_msgs, void *h)
 
typedef void(* fxn_msg_delete )(struct msg_mgr *hmsg_mgr)
 
typedef void(* fxn_msg_deletequeue )(struct msg_queue *msg_queue_obj)
 
typedef int(* fxn_msg_get )(struct msg_queue *msg_queue_obj, struct dsp_msg *pmsg, u32 utimeout)
 
typedef int(* fxn_msg_put )(struct msg_queue *msg_queue_obj, const struct dsp_msg *pmsg, u32 utimeout)
 
typedef int(* fxn_msg_registernotify )(struct msg_queue *msg_queue_obj, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)
 
typedef void(* fxn_msg_setqueueid )(struct msg_queue *msg_queue_obj, u32 msgq_id)
 

Functions

void bridge_drv_entry (struct bridge_drv_interface **drv_intf, const char *driver_file_name)
 

Typedef Documentation

typedef int(* fxn_brd_memcopy)(struct bridge_dev_context *dev_ctxt, u32 dsp_dest_addr, u32 dsp_src_addr, u32 ul_num_bytes, u32 mem_type)

Definition at line 127 of file dspdefs.h.

typedef int(* fxn_brd_memmap)(struct bridge_dev_context *dev_ctxt, u32 ul_mpu_addr, u32 virt_addr, u32 ul_num_bytes, u32 map_attr, struct page **mapped_pages)

Definition at line 175 of file dspdefs.h.

typedef int(* fxn_brd_memunmap)(struct bridge_dev_context *dev_ctxt, u32 virt_addr, u32 ul_num_bytes)

Definition at line 196 of file dspdefs.h.

typedef int(* fxn_brd_memwrite)(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)

Definition at line 152 of file dspdefs.h.

typedef int(* fxn_brd_monitor)(struct bridge_dev_context *dev_ctxt)

Definition at line 63 of file dspdefs.h.

typedef int(* fxn_brd_read)(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)

Definition at line 259 of file dspdefs.h.

typedef int(* fxn_brd_setstate)(struct bridge_dev_context *dev_ctxt, u32 brd_state)

Definition at line 82 of file dspdefs.h.

typedef int(* fxn_brd_start)(struct bridge_dev_context *dev_ctxt, u32 dsp_addr)

Definition at line 104 of file dspdefs.h.

typedef int(* fxn_brd_status)(struct bridge_dev_context *dev_ctxt, int *board_state)

Definition at line 235 of file dspdefs.h.

typedef int(* fxn_brd_stop)(struct bridge_dev_context *dev_ctxt)

Definition at line 217 of file dspdefs.h.

typedef int(* fxn_brd_write)(struct bridge_dev_context *dev_ctxt, u8 *host_buf, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type)

Definition at line 284 of file dspdefs.h.

typedef int(* fxn_chnl_addioreq)(struct chnl_object *chnl_obj, void *host_buf, u32 byte_size, u32 buf_size, u32 dw_dsp_addr, u32 dw_arg)

Definition at line 467 of file dspdefs.h.

typedef int(* fxn_chnl_cancelio)(struct chnl_object *chnl_obj)

Definition at line 520 of file dspdefs.h.

typedef int(* fxn_chnl_close)(struct chnl_object *chnl_obj)

Definition at line 429 of file dspdefs.h.

typedef int(* fxn_chnl_create)(struct chnl_mgr **channel_mgr, struct dev_object *hdev_obj, const struct chnl_mgrattrs *mgr_attrts)

Definition at line 320 of file dspdefs.h.

typedef int(* fxn_chnl_destroy)(struct chnl_mgr *hchnl_mgr)

Definition at line 341 of file dspdefs.h.

typedef int(* fxn_chnl_flushio)(struct chnl_object *chnl_obj, u32 timeout)

Definition at line 539 of file dspdefs.h.

typedef int(* fxn_chnl_getinfo)(struct chnl_object *chnl_obj, struct chnl_info *channel_info)

Definition at line 557 of file dspdefs.h.

typedef int(* fxn_chnl_getioc)(struct chnl_object *chnl_obj, u32 timeout, struct chnl_ioc *chan_ioc)

Definition at line 498 of file dspdefs.h.

typedef int(* fxn_chnl_getmgrinfo)(struct chnl_mgr *hchnl_mgr, u32 ch_id, struct chnl_mgrinfo *mgr_info)

Definition at line 577 of file dspdefs.h.

typedef int(* fxn_chnl_idle)(struct chnl_object *chnl_obj, u32 timeout, bool flush_data)

Definition at line 608 of file dspdefs.h.

typedef int(* fxn_chnl_open)(struct chnl_object **chnl, struct chnl_mgr *hchnl_mgr, s8 chnl_mode, u32 ch_id, const struct chnl_attr *pattrs)

Definition at line 404 of file dspdefs.h.

typedef int(* fxn_chnl_registernotify)(struct chnl_object *chnl_obj, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)

Definition at line 637 of file dspdefs.h.

typedef void(* fxn_deh_notify)(struct deh_mgr *hdeh_mgr, u32 evnt_mask, u32 error_info)

Definition at line 357 of file dspdefs.h.

typedef int(* fxn_dev_create)(struct bridge_dev_context **device_ctx, struct dev_object *hdev_obj, struct cfg_hostres *config_param)

Definition at line 676 of file dspdefs.h.

typedef int(* fxn_dev_ctrl)(struct bridge_dev_context *dev_ctxt, u32 dw_cmd, void *pargs)

Definition at line 699 of file dspdefs.h.

typedef int(* fxn_dev_destroy)(struct bridge_dev_context *dev_ctxt)

Definition at line 719 of file dspdefs.h.

typedef int(* fxn_io_create)(struct io_mgr **io_man, struct dev_object *hdev_obj, const struct io_attrs *mgr_attrts)

Definition at line 741 of file dspdefs.h.

typedef int(* fxn_io_destroy)(struct io_mgr *hio_mgr)

Definition at line 759 of file dspdefs.h.

typedef int(* fxn_io_getprocload)(struct io_mgr *hio_mgr, struct dsp_procloadstat *proc_load_stat)

Definition at line 792 of file dspdefs.h.

typedef int(* fxn_io_onloaded)(struct io_mgr *hio_mgr)

Definition at line 776 of file dspdefs.h.

typedef int(* fxn_msg_create)(struct msg_mgr **msg_man, struct dev_object *hdev_obj, msg_onexit msg_callback)

Definition at line 815 of file dspdefs.h.

typedef int(* fxn_msg_createqueue)(struct msg_mgr *hmsg_mgr, struct msg_queue **msgq, u32 msgq_id, u32 max_msgs, void *h)

Definition at line 841 of file dspdefs.h.

typedef void(* fxn_msg_delete)(struct msg_mgr *hmsg_mgr)

Definition at line 855 of file dspdefs.h.

typedef void(* fxn_msg_deletequeue)(struct msg_queue *msg_queue_obj)

Definition at line 869 of file dspdefs.h.

typedef int(* fxn_msg_get)(struct msg_queue *msg_queue_obj, struct dsp_msg *pmsg, u32 utimeout)

Definition at line 890 of file dspdefs.h.

typedef int(* fxn_msg_put)(struct msg_queue *msg_queue_obj, const struct dsp_msg *pmsg, u32 utimeout)

Definition at line 912 of file dspdefs.h.

typedef int(* fxn_msg_registernotify)(struct msg_queue *msg_queue_obj, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)

Definition at line 937 of file dspdefs.h.

typedef void(* fxn_msg_setqueueid)(struct msg_queue *msg_queue_obj, u32 msgq_id)

Definition at line 955 of file dspdefs.h.

Function Documentation

void bridge_drv_entry ( struct bridge_drv_interface **  drv_intf,
const char driver_file_name 
)

Definition at line 250 of file tiomap3430.c.