Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
strm.h File Reference
#include <dspbridge/dev.h>
#include <dspbridge/strmdefs.h>
#include <dspbridge/proc.h>

Go to the source code of this file.

Functions

int strm_allocate_buffer (struct strm_res_object *strmres, u32 usize, u8 **ap_buffer, u32 num_bufs, struct process_context *pr_ctxt)
 
int strm_close (struct strm_res_object *strmres, struct process_context *pr_ctxt)
 
int strm_create (struct strm_mgr **strm_man, struct dev_object *dev_obj)
 
void strm_delete (struct strm_mgr *strm_mgr_obj)
 
int strm_free_buffer (struct strm_res_object *strmres, u8 **ap_buffer, u32 num_bufs, struct process_context *pr_ctxt)
 
int strm_get_info (struct strm_object *stream_obj, struct stream_info *stream_info, u32 stream_info_size)
 
int strm_idle (struct strm_object *stream_obj, bool flush_data)
 
int strm_issue (struct strm_object *stream_obj, u8 *pbuf, u32 ul_bytes, u32 ul_buf_size, u32 dw_arg)
 
int strm_open (struct node_object *hnode, u32 dir, u32 index, struct strm_attr *pattr, struct strm_res_object **strmres, struct process_context *pr_ctxt)
 
int strm_reclaim (struct strm_object *stream_obj, u8 **buf_ptr, u32 *nbytes, u32 *buff_size, u32 *pdw_arg)
 
int strm_register_notify (struct strm_object *stream_obj, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)
 
int strm_select (struct strm_object **strm_tab, u32 strms, u32 *pmask, u32 utimeout)
 

Function Documentation

int strm_allocate_buffer ( struct strm_res_object strmres,
u32  usize,
u8 **  ap_buffer,
u32  num_bufs,
struct process_context pr_ctxt 
)

Definition at line 92 of file strm.c.

int strm_close ( struct strm_res_object strmres,
struct process_context pr_ctxt 
)

Definition at line 141 of file strm.c.

int strm_create ( struct strm_mgr **  strm_man,
struct dev_object dev_obj 
)

Definition at line 180 of file strm.c.

void strm_delete ( struct strm_mgr strm_mgr_obj)

Definition at line 216 of file strm.c.

int strm_free_buffer ( struct strm_res_object strmres,
u8 **  ap_buffer,
u32  num_bufs,
struct process_context pr_ctxt 
)

Definition at line 226 of file strm.c.

int strm_get_info ( struct strm_object stream_obj,
struct stream_info stream_info,
u32  stream_info_size 
)

Definition at line 256 of file strm.c.

int strm_idle ( struct strm_object stream_obj,
bool  flush_data 
)

Definition at line 319 of file strm.c.

int strm_issue ( struct strm_object stream_obj,
u8 pbuf,
u32  ul_bytes,
u32  ul_buf_size,
u32  dw_arg 
)

Definition at line 344 of file strm.c.

int strm_open ( struct node_object hnode,
u32  dir,
u32  index,
struct strm_attr pattr,
struct strm_res_object **  strmres,
struct process_context pr_ctxt 
)

Definition at line 385 of file strm.c.

int strm_reclaim ( struct strm_object stream_obj,
u8 **  buf_ptr,
u32 nbytes,
u32 buff_size,
u32 pdw_arg 
)

Definition at line 526 of file strm.c.

int strm_register_notify ( struct strm_object stream_obj,
u32  event_mask,
u32  notify_type,
struct dsp_notification hnotification 
)

Definition at line 600 of file strm.c.

int strm_select ( struct strm_object **  strm_tab,
u32  strms,
u32 pmask,
u32  utimeout 
)

Definition at line 636 of file strm.c.