diff options
author | Rene Sapiens <rene.sapiens@ti.com> | 2010-07-09 21:23:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 10:45:34 -0700 |
commit | e68906924d742dfb33564d7eb4ea7db0b4e65ae4 (patch) | |
tree | 5d3b076b703c4ca55a00cd15ce958b842448d949 /drivers/staging/tidspbridge/include/dspbridge/disp.h | |
parent | b301c85803376ef997bd7802cd5f0e3e88d10ae8 (diff) |
staging: ti dspbridge: Rename words with camel case.
The intention of this patch is to rename the remaining variables with camel
case. Variables will be renamed avoiding camel case and Hungarian notation.
The words to be renamed in this patch are:
========================================
hDevContext to dev_ctxt
hDevExtension to dev_extension
hdevObject to device_obj
hDispObject to disp_obj
hDrVObject to driver_obj
hDRVObject to driver_obj
hMGRHandle to mgr_handle
hNldrObject to nldr
hNode1 to node1
hNode2 to node2
hNodeRes to node_resource
hPCtxt to process_ctxt
hProc to proc
hStreamHandle to stream_handle
========================================
Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/include/dspbridge/disp.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/disp.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/disp.h b/drivers/staging/tidspbridge/include/dspbridge/disp.h index 2fd14b0ce7b..2c63db9b574 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/disp.h +++ b/drivers/staging/tidspbridge/include/dspbridge/disp.h @@ -57,15 +57,15 @@ extern int disp_create(OUT struct disp_object **phDispObject, * Delete the NODE Dispatcher. * * Parameters: - * hDispObject: Node Dispatcher object. + * disp_obj: Node Dispatcher object. * Returns: * Requires: * disp_init(void) called. - * Valid hDispObject. + * Valid disp_obj. * Ensures: - * hDispObject is invalid. + * disp_obj is invalid. */ -extern void disp_delete(struct disp_object *hDispObject); +extern void disp_delete(struct disp_object *disp_obj); /* * ======== disp_exit ======== @@ -97,7 +97,7 @@ extern bool disp_init(void); * Change the priority of a node currently running on the target. * * Parameters: - * hDispObject: Node Dispatcher object. + * disp_obj: Node Dispatcher object. * hnode: Node object representing a node currently * allocated or running on the DSP. * ulFxnAddress: Address of RMS function for changing priority. @@ -108,12 +108,12 @@ extern bool disp_init(void); * -ETIME: A timeout occurred before the DSP responded. * Requires: * disp_init(void) called. - * Valid hDispObject. + * Valid disp_obj. * hnode != NULL. * Ensures: */ extern int disp_node_change_priority(struct disp_object - *hDispObject, + *disp_obj, struct node_object *hnode, u32 ul_fxn_addr, nodeenv node_env, s32 prio); @@ -123,7 +123,7 @@ extern int disp_node_change_priority(struct disp_object * Create a node on the DSP by remotely calling the node's create function. * * Parameters: - * hDispObject: Node Dispatcher object. + * disp_obj: Node Dispatcher object. * hnode: Node handle obtained from node_allocate(). * ul_fxn_addr: Address or RMS create node function. * ul_create_fxn: Address of node's create function. @@ -136,14 +136,14 @@ extern int disp_node_change_priority(struct disp_object * -EPERM: A failure occurred, unable to create node. * Requires: * disp_init(void) called. - * Valid hDispObject. + * Valid disp_obj. * pargs != NULL. * hnode != NULL. * pNodeEnv != NULL. * node_get_type(hnode) != NODE_DEVICE. * Ensures: */ -extern int disp_node_create(struct disp_object *hDispObject, +extern int disp_node_create(struct disp_object *disp_obj, struct node_object *hnode, u32 ul_fxn_addr, u32 ul_create_fxn, @@ -155,7 +155,7 @@ extern int disp_node_create(struct disp_object *hDispObject, * Delete a node on the DSP by remotely calling the node's delete function. * * Parameters: - * hDispObject: Node Dispatcher object. + * disp_obj: Node Dispatcher object. * hnode: Node object representing a node currently * loaded on the DSP. * ul_fxn_addr: Address or RMS delete node function. @@ -166,11 +166,11 @@ extern int disp_node_create(struct disp_object *hDispObject, * -ETIME: A timeout occurred before the DSP responded. * Requires: * disp_init(void) called. - * Valid hDispObject. + * Valid disp_obj. * hnode != NULL. * Ensures: */ -extern int disp_node_delete(struct disp_object *hDispObject, +extern int disp_node_delete(struct disp_object *disp_obj, struct node_object *hnode, u32 ul_fxn_addr, u32 ul_delete_fxn, nodeenv node_env); @@ -181,7 +181,7 @@ extern int disp_node_delete(struct disp_object *hDispObject, * that has been suspended (via DISP_NodePause()) on the DSP. * * Parameters: - * hDispObject: Node Dispatcher object. + * disp_obj: Node Dispatcher object. * hnode: Node object representing a node to be executed * on the DSP. * ul_fxn_addr: Address or RMS node execute function. @@ -192,11 +192,11 @@ extern int disp_node_delete(struct disp_object *hDispObject, * -ETIME: A timeout occurred before the DSP responded. * Requires: * disp_init(void) called. - * Valid hDispObject. + * Valid disp_obj. * hnode != NULL. * Ensures: */ -extern int disp_node_run(struct disp_object *hDispObject, +extern int disp_node_run(struct disp_object *disp_obj, struct node_object *hnode, u32 ul_fxn_addr, u32 ul_execute_fxn, nodeenv node_env); |