Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
node.h File Reference
#include <dspbridge/procpriv.h>
#include <dspbridge/nodedefs.h>
#include <dspbridge/disp.h>
#include <dspbridge/nldrdefs.h>
#include <dspbridge/drv.h>

Go to the source code of this file.

Functions

int node_allocate (struct proc_object *hprocessor, const struct dsp_uuid *node_uuid, const struct dsp_cbdata *pargs, const struct dsp_nodeattrin *attr_in, struct node_res_object **noderes, struct process_context *pr_ctxt)
 
int node_alloc_msg_buf (struct node_object *hnode, u32 usize, struct dsp_bufferattr *pattr, u8 **pbuffer)
 
int node_change_priority (struct node_object *hnode, s32 prio)
 
int node_connect (struct node_object *node1, u32 stream1, struct node_object *node2, u32 stream2, struct dsp_strmattr *pattrs, struct dsp_cbdata *conn_param)
 
int node_create (struct node_object *hnode)
 
int node_create_mgr (struct node_mgr **node_man, struct dev_object *hdev_obj)
 
int node_delete (struct node_res_object *noderes, struct process_context *pr_ctxt)
 
int node_delete_mgr (struct node_mgr *hnode_mgr)
 
int node_enum_nodes (struct node_mgr *hnode_mgr, void **node_tab, u32 node_tab_size, u32 *pu_num_nodes, u32 *pu_allocated)
 
int node_free_msg_buf (struct node_object *hnode, u8 *pbuffer, struct dsp_bufferattr *pattr)
 
int node_get_attr (struct node_object *hnode, struct dsp_nodeattr *pattr, u32 attr_size)
 
int node_get_message (struct node_object *hnode, struct dsp_msg *message, u32 utimeout)
 
int node_get_nldr_obj (struct node_mgr *hnode_mgr, struct nldr_object **nldr_ovlyobj)
 
void node_on_exit (struct node_object *hnode, s32 node_status)
 
int node_pause (struct node_object *hnode)
 
int node_put_message (struct node_object *hnode, const struct dsp_msg *pmsg, u32 utimeout)
 
int node_register_notify (struct node_object *hnode, u32 event_mask, u32 notify_type, struct dsp_notification *hnotification)
 
int node_run (struct node_object *hnode)
 
int node_terminate (struct node_object *hnode, int *pstatus)
 
int node_get_uuid_props (void *hprocessor, const struct dsp_uuid *node_uuid, struct dsp_ndbprops *node_props)
 

Function Documentation

int node_alloc_msg_buf ( struct node_object hnode,
u32  usize,
struct dsp_bufferattr pattr,
u8 **  pbuffer 
)

Definition at line 684 of file node.c.

int node_allocate ( struct proc_object hprocessor,
const struct dsp_uuid node_uuid,
const struct dsp_cbdata pargs,
const struct dsp_nodeattrin attr_in,
struct node_res_object **  noderes,
struct process_context pr_ctxt 
)

Definition at line 286 of file node.c.

int node_change_priority ( struct node_object hnode,
s32  prio 
)

Definition at line 765 of file node.c.

int node_connect ( struct node_object node1,
u32  stream1,
struct node_object node2,
u32  stream2,
struct dsp_strmattr pattrs,
struct dsp_cbdata conn_param 
)

Definition at line 823 of file node.c.

int node_create ( struct node_object hnode)

Definition at line 1106 of file node.c.

int node_create_mgr ( struct node_mgr **  node_man,
struct dev_object hdev_obj 
)

Definition at line 1264 of file node.c.

int node_delete ( struct node_res_object noderes,
struct process_context pr_ctxt 
)

Definition at line 1367 of file node.c.

int node_delete_mgr ( struct node_mgr hnode_mgr)

Definition at line 1528 of file node.c.

int node_enum_nodes ( struct node_mgr hnode_mgr,
void **  node_tab,
u32  node_tab_size,
u32 pu_num_nodes,
u32 pu_allocated 
)

Definition at line 1543 of file node.c.

int node_free_msg_buf ( struct node_object hnode,
u8 pbuffer,
struct dsp_bufferattr pattr 
)

Definition at line 1579 of file node.c.

int node_get_attr ( struct node_object hnode,
struct dsp_nodeattr pattr,
u32  attr_size 
)

Definition at line 1616 of file node.c.

int node_get_message ( struct node_object hnode,
struct dsp_msg message,
u32  utimeout 
)

Definition at line 1694 of file node.c.

int node_get_nldr_obj ( struct node_mgr hnode_mgr,
struct nldr_object **  nldr_ovlyobj 
)

Definition at line 1767 of file node.c.

int node_get_uuid_props ( void hprocessor,
const struct dsp_uuid node_uuid,
struct dsp_ndbprops node_props 
)

Definition at line 2819 of file node.c.

void node_on_exit ( struct node_object hnode,
s32  node_status 
)

Definition at line 1852 of file node.c.

int node_pause ( struct node_object hnode)

Definition at line 1878 of file node.c.

int node_put_message ( struct node_object hnode,
const struct dsp_msg pmsg,
u32  utimeout 
)

Definition at line 1958 of file node.c.

int node_register_notify ( struct node_object hnode,
u32  event_mask,
u32  notify_type,
struct dsp_notification hnotification 
)

Definition at line 2053 of file node.c.

int node_run ( struct node_object hnode)

Definition at line 2104 of file node.c.

int node_terminate ( struct node_object hnode,
int pstatus 
)

Definition at line 2221 of file node.c.