]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
staging: tidspbridge: remove OUT define
authorMenon, Nishanth <nm@ti.com>
Thu, 22 Jul 2010 21:03:49 +0000 (16:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 21:41:04 +0000 (14:41 -0700)
Remove OUT modifier which makes no sense for linux kernel

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
51 files changed:
drivers/staging/tidspbridge/core/chnl_sm.c
drivers/staging/tidspbridge/core/io_sm.c
drivers/staging/tidspbridge/core/msg_sm.c
drivers/staging/tidspbridge/core/tiomap3430.c
drivers/staging/tidspbridge/core/tiomap_io.c
drivers/staging/tidspbridge/core/tiomap_io.h
drivers/staging/tidspbridge/gen/uuidutil.c
drivers/staging/tidspbridge/include/dspbridge/cfg.h
drivers/staging/tidspbridge/include/dspbridge/chnl.h
drivers/staging/tidspbridge/include/dspbridge/cmm.h
drivers/staging/tidspbridge/include/dspbridge/cod.h
drivers/staging/tidspbridge/include/dspbridge/dbdcd.h
drivers/staging/tidspbridge/include/dspbridge/dev.h
drivers/staging/tidspbridge/include/dspbridge/disp.h
drivers/staging/tidspbridge/include/dspbridge/dmm.h
drivers/staging/tidspbridge/include/dspbridge/drv.h
drivers/staging/tidspbridge/include/dspbridge/dspapi-ioctl.h
drivers/staging/tidspbridge/include/dspbridge/dspchnl.h
drivers/staging/tidspbridge/include/dspbridge/dspdefs.h
drivers/staging/tidspbridge/include/dspbridge/dspdrv.h
drivers/staging/tidspbridge/include/dspbridge/dspio.h
drivers/staging/tidspbridge/include/dspbridge/dspmsg.h
drivers/staging/tidspbridge/include/dspbridge/io.h
drivers/staging/tidspbridge/include/dspbridge/io_sm.h
drivers/staging/tidspbridge/include/dspbridge/mgr.h
drivers/staging/tidspbridge/include/dspbridge/msg.h
drivers/staging/tidspbridge/include/dspbridge/nldr.h
drivers/staging/tidspbridge/include/dspbridge/nldrdefs.h
drivers/staging/tidspbridge/include/dspbridge/node.h
drivers/staging/tidspbridge/include/dspbridge/nodepriv.h
drivers/staging/tidspbridge/include/dspbridge/proc.h
drivers/staging/tidspbridge/include/dspbridge/strm.h
drivers/staging/tidspbridge/include/dspbridge/uuidutil.h
drivers/staging/tidspbridge/pmgr/chnl.c
drivers/staging/tidspbridge/pmgr/cmm.c
drivers/staging/tidspbridge/pmgr/cod.c
drivers/staging/tidspbridge/pmgr/dev.c
drivers/staging/tidspbridge/pmgr/dmm.c
drivers/staging/tidspbridge/pmgr/dspapi.c
drivers/staging/tidspbridge/pmgr/io.c
drivers/staging/tidspbridge/pmgr/msg.c
drivers/staging/tidspbridge/rmgr/dbdcd.c
drivers/staging/tidspbridge/rmgr/disp.c
drivers/staging/tidspbridge/rmgr/drv.c
drivers/staging/tidspbridge/rmgr/dspdrv.c
drivers/staging/tidspbridge/rmgr/mgr.c
drivers/staging/tidspbridge/rmgr/nldr.c
drivers/staging/tidspbridge/rmgr/node.c
drivers/staging/tidspbridge/rmgr/proc.c
drivers/staging/tidspbridge/rmgr/strm.c
drivers/staging/tidspbridge/services/cfg.c

index 7640547a8a4374fd7d076280622394aae39ff70a..6074bffec1fa5288da8f7aa54bca218edab36348 100644 (file)
@@ -81,7 +81,7 @@ static void free_chirp_list(struct lst_list *chirp_list);
 static struct chnl_irp *make_new_chirp(void);
 
 static int search_free_channel(struct chnl_mgr *chnl_mgr_obj,
-                                     OUT u32 *chnl);
+                                     u32 *chnl);
 
 /*
  *  ======== bridge_chnl_add_io_req ========
@@ -381,7 +381,7 @@ func_cont:
  *      Create a channel manager object, responsible for opening new channels
  *      and closing old ones for a given board.
  */
-int bridge_chnl_create(OUT struct chnl_mgr **channel_mgr,
+int bridge_chnl_create(struct chnl_mgr **channel_mgr,
                              struct dev_object *hdev_obj,
                              const struct chnl_mgrattrs *mgr_attrts)
 {
@@ -534,7 +534,7 @@ int bridge_chnl_flush_io(struct chnl_object *chnl_obj, u32 timeout)
  *      Retrieve information related to a channel.
  */
 int bridge_chnl_get_info(struct chnl_object *chnl_obj,
-                            OUT struct chnl_info *channel_info)
+                            struct chnl_info *channel_info)
 {
        int status = 0;
        struct chnl_object *pchnl = (struct chnl_object *)chnl_obj;
@@ -568,7 +568,7 @@ int bridge_chnl_get_info(struct chnl_object *chnl_obj,
  *      Note: Ensures Channel Invariant (see notes above).
  */
 int bridge_chnl_get_ioc(struct chnl_object *chnl_obj, u32 timeout,
-                           OUT struct chnl_ioc *chan_ioc)
+                           struct chnl_ioc *chan_ioc)
 {
        int status = 0;
        struct chnl_object *pchnl = (struct chnl_object *)chnl_obj;
@@ -711,7 +711,7 @@ func_end:
  *      Retrieve information related to the channel manager.
  */
 int bridge_chnl_get_mgr_info(struct chnl_mgr *hchnl_mgr, u32 ch_id,
-                                OUT struct chnl_mgrinfo *mgr_info)
+                                struct chnl_mgrinfo *mgr_info)
 {
        int status = 0;
        struct chnl_mgr *chnl_mgr_obj = (struct chnl_mgr *)hchnl_mgr;
@@ -775,7 +775,7 @@ int bridge_chnl_idle(struct chnl_object *chnl_obj, u32 timeout,
  *  ======== bridge_chnl_open ========
  *      Open a new half-duplex channel to the DSP board.
  */
-int bridge_chnl_open(OUT struct chnl_object **chnl,
+int bridge_chnl_open(struct chnl_object **chnl,
                            struct chnl_mgr *hchnl_mgr, s8 chnl_mode,
                            u32 ch_id, const struct chnl_attr *pattrs)
 {
@@ -997,7 +997,7 @@ static struct chnl_irp *make_new_chirp(void)
  *      Search for a free channel slot in the array of channel pointers.
  */
 static int search_free_channel(struct chnl_mgr *chnl_mgr_obj,
-                                     OUT u32 *chnl)
+                                     u32 *chnl)
 {
        int status = -ENOSR;
        u32 i;
index 06b47ca6e096bae4390e567c1f367576050594ac..ba2e6bdf49f47d1b4a00c26e95e5dd33bf5f11e5 100644 (file)
@@ -133,7 +133,7 @@ struct io_mgr {
 
 /* Function Prototypes */
 static void io_dispatch_chnl(struct io_mgr *pio_mgr,
-                               OUT struct chnl_object *pchnl, u8 io_mode);
+                               struct chnl_object *pchnl, u8 io_mode);
 static void io_dispatch_msg(struct io_mgr *pio_mgr,
                            struct msg_mgr *hmsg_mgr);
 static void io_dispatch_pm(struct io_mgr *pio_mgr);
@@ -161,7 +161,7 @@ static int register_shm_segs(struct io_mgr *hio_mgr,
  *  ======== bridge_io_create ========
  *      Create an IO manager object.
  */
-int bridge_io_create(OUT struct io_mgr **io_man,
+int bridge_io_create(struct io_mgr **io_man,
                            struct dev_object *hdev_obj,
                            const struct io_attrs *mgr_attrts)
 {
@@ -839,7 +839,7 @@ func_end:
  *      Proc-copy chanl dispatch.
  */
 static void io_dispatch_chnl(struct io_mgr *pio_mgr,
-                               OUT struct chnl_object *pchnl, u8 io_mode)
+                               struct chnl_object *pchnl, u8 io_mode)
 {
        if (!pio_mgr)
                goto func_end;
@@ -919,7 +919,7 @@ static void io_dispatch_pm(struct io_mgr *pio_mgr)
  *      out the dispatch of I/O as a non-preemptible event.It can only be
  *      pre-empted      by an ISR.
  */
-void io_dpc(OUT unsigned long ref_data)
+void io_dpc(unsigned long ref_data)
 {
        struct io_mgr *pio_mgr = (struct io_mgr *)ref_data;
        struct chnl_mgr *chnl_mgr_obj;
@@ -1014,7 +1014,7 @@ void io_mbox_msg(u32 msg)
  *      interrupts the DSP.
  */
 void io_request_chnl(struct io_mgr *io_manager, struct chnl_object *pchnl,
-                       u8 io_mode, OUT u16 *mbx_val)
+                       u8 io_mode, u16 *mbx_val)
 {
        struct chnl_mgr *chnl_mgr_obj;
        struct shm *sm;
@@ -1793,7 +1793,7 @@ int io_sh_msetting(struct io_mgr *hio_mgr, u8 desc, void *pargs)
  *      Gets the Processor's Load information
  */
 int bridge_io_get_proc_load(struct io_mgr *hio_mgr,
-                               OUT struct dsp_procloadstat *proc_lstat)
+                               struct dsp_procloadstat *proc_lstat)
 {
        proc_lstat->curr_load =
                        hio_mgr->shared_mem->load_mon_info.curr_dsp_load;
index 26808fc1bb30631c9f9c48b75a775b7476d6e0cc..7f44294aca2958e609f7c1cb1572cf3821e4f99c 100644 (file)
@@ -48,7 +48,7 @@ static void free_msg_list(struct lst_list *msg_list);
  *      Create an object to manage message queues. Only one of these objects
  *      can exist per device object.
  */
-int bridge_msg_create(OUT struct msg_mgr **msg_man,
+int bridge_msg_create(struct msg_mgr **msg_man,
                             struct dev_object *hdev_obj,
                             msg_onexit msg_callback)
 {
@@ -120,7 +120,7 @@ func_end:
  *      on the DSP.
  */
 int bridge_msg_create_queue(struct msg_mgr *hmsg_mgr,
-                               OUT struct msg_queue **msgq,
+                               struct msg_queue **msgq,
                                u32 msgq_id, u32 max_msgs, void *arg)
 {
        u32 i;
index 4e1eee00ba33198d08b2da57fa6b46f81fb675a4..08a2f5fcbfb0a62bd843c4f19267602158d52348 100644 (file)
@@ -76,7 +76,7 @@
 /* Forward Declarations: */
 static int bridge_brd_monitor(struct bridge_dev_context *dev_ctxt);
 static int bridge_brd_read(struct bridge_dev_context *dev_ctxt,
-                                 OUT u8 *host_buff,
+                                 u8 *host_buff,
                                  u32 dsp_addr, u32 ul_num_bytes,
                                  u32 mem_type);
 static int bridge_brd_start(struct bridge_dev_context *dev_ctxt,
@@ -102,12 +102,12 @@ static int bridge_brd_mem_map(struct bridge_dev_context *dev_ctxt,
                                  struct page **mapped_pages);
 static int bridge_brd_mem_un_map(struct bridge_dev_context *dev_ctxt,
                                     u32 virt_addr, u32 ul_num_bytes);
-static int bridge_dev_create(OUT struct bridge_dev_context
+static int bridge_dev_create(struct bridge_dev_context
                                        **dev_cntxt,
                                        struct dev_object *hdev_obj,
                                        struct cfg_hostres *config_param);
 static int bridge_dev_ctrl(struct bridge_dev_context *dev_context,
-                                 u32 dw_cmd, OUT void *pargs);
+                                 u32 dw_cmd, void *pargs);
 static int bridge_dev_destroy(struct bridge_dev_context *dev_ctxt);
 static u32 user_va2_pa(struct mm_struct *mm, u32 address);
 static int pte_update(struct bridge_dev_context *dev_ctxt, u32 pa,
@@ -236,7 +236,7 @@ static void bad_page_dump(u32 pa, struct page *pg)
  *  purpose:
  *      Bridge Driver entry point.
  */
-void bridge_drv_entry(OUT struct bridge_drv_interface **drv_intf,
+void bridge_drv_entry(struct bridge_drv_interface **drv_intf,
                   const char *driver_file_name)
 {
 
@@ -304,7 +304,7 @@ static int bridge_brd_monitor(struct bridge_dev_context *dev_ctxt)
  *      Reads buffers for DSP memory.
  */
 static int bridge_brd_read(struct bridge_dev_context *dev_ctxt,
-                                 OUT u8 *host_buff, u32 dsp_addr,
+                                 u8 *host_buff, u32 dsp_addr,
                                  u32 ul_num_bytes, u32 mem_type)
 {
        int status = 0;
@@ -785,7 +785,7 @@ static int bridge_brd_write(struct bridge_dev_context *dev_ctxt,
  *  ======== bridge_dev_create ========
  *      Creates a driver object. Puts DSP in self loop.
  */
-static int bridge_dev_create(OUT struct bridge_dev_context
+static int bridge_dev_create(struct bridge_dev_context
                                        **dev_cntxt,
                                        struct dev_object *hdev_obj,
                                        struct cfg_hostres *config_param)
@@ -954,7 +954,7 @@ func_end:
  *      Receives device specific commands.
  */
 static int bridge_dev_ctrl(struct bridge_dev_context *dev_context,
-                                 u32 dw_cmd, OUT void *pargs)
+                                 u32 dw_cmd, void *pargs)
 {
        int status = 0;
        struct bridge_ioctl_extproc *pa_ext_proc =
index bfe47c52ffe0052d0935c426e8f924e9006419bc..742da05af0c6a52ac0aba184a6e305f83beb4bc9 100644 (file)
@@ -51,7 +51,7 @@ bool symbols_reloaded = true;
  *      Copies DSP external memory buffers to the host side buffers.
  */
 int read_ext_dsp_data(struct bridge_dev_context *dev_ctxt,
-                            OUT u8 *host_buff, u32 dsp_addr,
+                            u8 *host_buff, u32 dsp_addr,
                             u32 ul_num_bytes, u32 mem_type)
 {
        int status = 0;
index 5358752616d7ca8de19aa22ae7a54a33110f45ac..a3f19c7b79f3fa32e78e1b9351d0335a346d012d 100644 (file)
  * is configured by the combination of DSP MMU and shm Memory manager in the CDB
  */
 extern int read_ext_dsp_data(struct bridge_dev_context *dev_ctxt,
-                                   OUT u8 *host_buff, u32 dsp_addr,
+                                   u8 *host_buff, u32 dsp_addr,
                                    u32 ul_num_bytes, u32 mem_type);
 
 /*
  *  ======== write_dsp_data ========
  */
 extern int write_dsp_data(struct bridge_dev_context *dev_context,
-                                OUT u8 *host_buff, u32 dsp_addr,
+                                u8 *host_buff, u32 dsp_addr,
                                 u32 ul_num_bytes, u32 mem_type);
 
 /*
index af0b44ec562d1530cc675f533ef90ac6965bccc1..da39c4fbf334fb1939fcc57011e249b1cca03d0f 100644 (file)
@@ -36,7 +36,7 @@
  *      Note: snprintf format specifier is:
  *      %[flags] [width] [.precision] [{h | l | I64 | L}]type
  */
-void uuid_uuid_to_string(struct dsp_uuid *uuid_obj, OUT char *sz_uuid,
+void uuid_uuid_to_string(struct dsp_uuid *uuid_obj, char *sz_uuid,
                         s32 size)
 {
        s32 i;                  /* return result from snprintf. */
@@ -75,7 +75,7 @@ static s32 uuid_hex_to_bin(char *buf, s32 len)
  *  Purpose:
  *      Converts a string to a struct dsp_uuid.
  */
-void uuid_uuid_from_string(char *sz_uuid, OUT struct dsp_uuid *uuid_obj)
+void uuid_uuid_from_string(char *sz_uuid, struct dsp_uuid *uuid_obj)
 {
        s32 j;
 
index df1ae63a882ecbebb2e6318d8b4659c2eff6882b..05a8999070f83ec4faccd93eae8bf0aa36a3e0dc 100644 (file)
@@ -51,7 +51,7 @@ extern void cfg_exit(void);
  *      0:        *auto_start contains autostart mask for this devnode.
  */
 extern int cfg_get_auto_start(struct cfg_devnode *dev_node_obj,
-                                    OUT u32 *auto_start);
+                                    u32 *auto_start);
 
 /*
  *  ======== cfg_get_cd_version ========
@@ -70,7 +70,7 @@ extern int cfg_get_auto_start(struct cfg_devnode *dev_node_obj,
  *      0:    Success.
  *      else:       *version is NULL.
  */
-extern int cfg_get_cd_version(OUT u32 *version);
+extern int cfg_get_cd_version(u32 *version);
 
 /*
  *  ======== cfg_get_dev_object ========
@@ -91,7 +91,7 @@ extern int cfg_get_cd_version(OUT u32 *version);
  *      else:       *value is set to 0L.
  */
 extern int cfg_get_dev_object(struct cfg_devnode *dev_node_obj,
-                                    OUT u32 *value);
+                                    u32 *value);
 
 /*
  *  ======== cfg_get_exec_file ========
@@ -113,7 +113,7 @@ extern int cfg_get_dev_object(struct cfg_devnode *dev_node_obj,
  *                  devnode.
  */
 extern int cfg_get_exec_file(struct cfg_devnode *dev_node_obj,
-                                   u32 buf_size, OUT char *str_exec_file);
+                                   u32 buf_size, char *str_exec_file);
 
 /*
  *  ======== cfg_get_object ========
@@ -130,7 +130,7 @@ extern int cfg_get_exec_file(struct cfg_devnode *dev_node_obj,
  *      0:    *value is set to the retrieved u32(non-Zero).
  *      else:       *value is set to 0L.
  */
-extern int cfg_get_object(OUT u32 *value, u8 dw_type);
+extern int cfg_get_object(u32 *value, u8 dw_type);
 
 /*
  *  ======== cfg_get_perf_value ========
@@ -146,7 +146,7 @@ extern int cfg_get_object(OUT u32 *value, u8 dw_type);
  *      enable_perf != NULL;
  *  Ensures:
  */
-extern void cfg_get_perf_value(OUT bool *enable_perf);
+extern void cfg_get_perf_value(bool *enable_perf);
 
 /*
  *  ======== cfg_get_zl_file ========
@@ -168,7 +168,7 @@ extern void cfg_get_perf_value(OUT bool *enable_perf);
  *                  for this devnode.
  */
 extern int cfg_get_zl_file(struct cfg_devnode *dev_node_obj,
-                                 u32 buf_size, OUT char *str_zl_file_name);
+                                 u32 buf_size, char *str_zl_file_name);
 
 /*
  *  ======== cfg_init ========
index ae460a5db357771d00d15e0cbcec6a183497005e..8733b3b819311a075409ef2dc429d794dc45d2e8 100644 (file)
@@ -77,7 +77,7 @@ extern int chnl_close(struct chnl_object *chnl_obj);
  *                              board without an intervening call to
  *                              chnl_destroy() will fail.
  */
-extern int chnl_create(OUT struct chnl_mgr **channel_mgr,
+extern int chnl_create(struct chnl_mgr **channel_mgr,
                              struct dev_object *hdev_obj,
                              const struct chnl_mgrattrs *mgr_attrts);
 
index aa573fd83da049ed8889d6e50cf9c53826ab1d03..a921f1b6ee7f5c62898600dab55fc7840e3de155 100644 (file)
@@ -62,7 +62,7 @@
  */
 extern void *cmm_calloc_buf(struct cmm_object *hcmm_mgr,
                            u32 usize, struct cmm_attrs *pattrs,
-                           OUT void **pp_buf_va);
+                           void **pp_buf_va);
 
 /*
  *  ======== cmm_create ========
@@ -85,7 +85,7 @@ extern void *cmm_calloc_buf(struct cmm_object *hcmm_mgr,
  *  Ensures:
  *
  */
-extern int cmm_create(OUT struct cmm_object **ph_cmm_mgr,
+extern int cmm_create(struct cmm_object **ph_cmm_mgr,
                             struct dev_object *hdev_obj,
                             const struct cmm_mgrattrs *mgr_attrts);
 
@@ -163,7 +163,7 @@ extern int cmm_free_buf(struct cmm_object *hcmm_mgr,
  *  Ensures:
  */
 extern int cmm_get_handle(void *hprocessor,
-                                OUT struct cmm_object **ph_cmm_mgr);
+                                struct cmm_object **ph_cmm_mgr);
 
 /*
  *  ======== cmm_get_info ========
@@ -182,7 +182,7 @@ extern int cmm_get_handle(void *hprocessor,
  *
  */
 extern int cmm_get_info(struct cmm_object *hcmm_mgr,
-                              OUT struct cmm_info *cmm_info_obj);
+                              struct cmm_info *cmm_info_obj);
 
 /*
  *  ======== cmm_init ========
@@ -295,7 +295,7 @@ extern void *cmm_xlator_alloc_buf(struct cmm_xlatorobject *xlator,
  *  Ensures:
  *
  */
-extern int cmm_xlator_create(OUT struct cmm_xlatorobject **xlator,
+extern int cmm_xlator_create(struct cmm_xlatorobject **xlator,
                                    struct cmm_object *hcmm_mgr,
                                    struct cmm_xlatorattrs *xlator_attrs);
 
@@ -359,7 +359,7 @@ extern int cmm_xlator_free_buf(struct cmm_xlatorobject *xlator,
  *
  */
 extern int cmm_xlator_info(struct cmm_xlatorobject *xlator,
-                                 OUT u8 **paddr,
+                                 u8 **paddr,
                                  u32 ul_size, u32 segm_id, bool set_info);
 
 /*
index f2d205cfdd903902e953821da5c09be6874a8041..42bce2eec80a894c5430d90c2ae0d2ccced8fe71 100644 (file)
@@ -91,7 +91,7 @@ extern void cod_close(struct cod_libraryobj *lib);
  *      str_zl_file != NULL
  *  Ensures:
  */
-extern int cod_create(OUT struct cod_manager **mgr,
+extern int cod_create(struct cod_manager **mgr,
                             char *str_zl_file,
                             const struct cod_attrs *attrs);
 
@@ -227,7 +227,7 @@ extern int cod_get_loader(struct cod_manager *cod_mgr_obj,
  */
 extern int cod_get_section(struct cod_libraryobj *lib,
                                  char *str_sect,
-                                 OUT u32 *addr, OUT u32 *len);
+                                 u32 *addr, u32 *len);
 
 /*
  *  ======== cod_get_sym_value ========
@@ -251,7 +251,7 @@ extern int cod_get_section(struct cod_libraryobj *lib,
  *  Ensures:
  */
 extern int cod_get_sym_value(struct cod_manager *cod_mgr_obj,
-                                   char *str_sym, OUT u32 * pul_value);
+                                   char *str_sym, u32 * pul_value);
 
 /*
  *  ======== cod_init ========
@@ -321,7 +321,7 @@ extern int cod_load_base(struct cod_manager *cod_mgr_obj,
  */
 extern int cod_open(struct cod_manager *hmgr,
                           char *sz_coff_path,
-                          u32 flags, OUT struct cod_libraryobj **lib_obj);
+                          u32 flags, struct cod_libraryobj **lib_obj);
 
 /*
  *  ======== cod_open_base ========
@@ -364,6 +364,6 @@ extern int cod_open_base(struct cod_manager *hmgr, char *sz_coff_path,
  */
 extern int cod_read_section(struct cod_libraryobj *lib,
                                   char *str_sect,
-                                  OUT char *str_content, u32 content_size);
+                                  char *str_content, u32 content_size);
 
 #endif /* COD_ */
index dc9512cf4c619e7984eb6753638bf1beeb1b0979..7cc3e12686e81b1772ca501e48da1f4eceff10dc 100644 (file)
@@ -90,7 +90,7 @@ extern int dcd_auto_unregister(struct dcd_manager *hdcd_mgr,
  *      A DCD manager handle is created.
  */
 extern int dcd_create_manager(char *sz_zl_dll_name,
-                                    OUT struct dcd_manager **dcd_mgr);
+                                    struct dcd_manager **dcd_mgr);
 
 /*
  *  ======== dcd_destroy_manager ========
@@ -130,7 +130,7 @@ extern int dcd_destroy_manager(struct dcd_manager *hdcd_mgr);
  */
 extern int dcd_enumerate_object(s32 index,
                                       enum dsp_dcdobjtype obj_type,
-                                      OUT struct dsp_uuid *uuid_obj);
+                                      struct dsp_uuid *uuid_obj);
 
 /*
  *  ======== dcd_exit ========
@@ -172,8 +172,8 @@ extern void dcd_exit(void);
 extern int dcd_get_dep_libs(struct dcd_manager *hdcd_mgr,
                                   struct dsp_uuid *uuid_obj,
                                   u16 num_libs,
-                                  OUT struct dsp_uuid *dep_lib_uuids,
-                                  OUT bool *prstnt_dep_libs,
+                                  struct dsp_uuid *dep_lib_uuids,
+                                  bool *prstnt_dep_libs,
                                   enum nldr_phase phase);
 
 /*
@@ -201,8 +201,8 @@ extern int dcd_get_dep_libs(struct dcd_manager *hdcd_mgr,
  */
 extern int dcd_get_num_dep_libs(struct dcd_manager *hdcd_mgr,
                                       struct dsp_uuid *uuid_obj,
-                                      OUT u16 *num_libs,
-                                      OUT u16 *num_pers_libs,
+                                      u16 *num_libs,
+                                      u16 *num_pers_libs,
                                       enum nldr_phase phase);
 
 /*
@@ -231,10 +231,10 @@ extern int dcd_get_num_dep_libs(struct dcd_manager *hdcd_mgr,
  */
 extern int dcd_get_library_name(struct dcd_manager *hdcd_mgr,
                                       struct dsp_uuid *uuid_obj,
-                                      OUT char *str_lib_name,
-                                      OUT u32 *buff_size,
+                                      char *str_lib_name,
+                                      u32 *buff_size,
                                       enum nldr_phase phase,
-                                      OUT bool *phase_split);
+                                      bool *phase_split);
 
 /*
  *  ======== dcd_get_object_def ========
@@ -264,7 +264,7 @@ extern int dcd_get_library_name(struct dcd_manager *hdcd_mgr,
 extern int dcd_get_object_def(struct dcd_manager *hdcd_mgr,
                                     struct dsp_uuid *obj_uuid,
                                     enum dsp_dcdobjtype obj_type,
-                                    OUT struct dcd_genericobj *obj_def);
+                                    struct dcd_genericobj *obj_def);
 
 /*
  *  ======== dcd_get_objects ========
index 5aa1c42780c22b395d5658ccc8afa89a1a3c578b..357458fadd2a3a50935efd751a20649512b86596 100644 (file)
@@ -89,7 +89,7 @@ extern u32 dev_brd_write_fxn(void *arb,
  *      Otherwise, does not create the device object, ensures the Bridge driver
  *      module is unloaded, and sets *device_obj to NULL.
  */
-extern int dev_create_device(OUT struct dev_object
+extern int dev_create_device(struct dev_object
                                    **device_obj,
                                    const char *driver_file_name,
                                    struct cfg_devnode *dev_node_obj);
@@ -124,7 +124,7 @@ extern int dev_create_device(OUT struct dev_object
  *      Otherwise, does not create the device object, ensures the Bridge driver
  *      module is unloaded, and sets *device_obj to NULL.
  */
-extern int dev_create_iva_device(OUT struct dev_object
+extern int dev_create_iva_device(struct dev_object
                                        **device_obj,
                                        const char *driver_file_name,
                                        const struct cfg_hostres
@@ -208,7 +208,7 @@ extern int dev_destroy_device(struct dev_object
  *      else:           *mgr is NULL.
  */
 extern int dev_get_chnl_mgr(struct dev_object *hdev_obj,
-                                  OUT struct chnl_mgr **mgr);
+                                  struct chnl_mgr **mgr);
 
 /*
  *  ======== dev_get_cmm_mgr ========
@@ -231,7 +231,7 @@ extern int dev_get_chnl_mgr(struct dev_object *hdev_obj,
  *      else:           *mgr is NULL.
  */
 extern int dev_get_cmm_mgr(struct dev_object *hdev_obj,
-                                 OUT struct cmm_object **mgr);
+                                 struct cmm_object **mgr);
 
 /*
  *  ======== dev_get_dmm_mgr ========
@@ -254,7 +254,7 @@ extern int dev_get_cmm_mgr(struct dev_object *hdev_obj,
  *      else:           *mgr is NULL.
  */
 extern int dev_get_dmm_mgr(struct dev_object *hdev_obj,
-                                 OUT struct dmm_object **mgr);
+                                 struct dmm_object **mgr);
 
 /*
  *  ======== dev_get_cod_mgr ========
@@ -275,7 +275,7 @@ extern int dev_get_dmm_mgr(struct dev_object *hdev_obj,
  *      else:           *cod_mgr is NULL.
  */
 extern int dev_get_cod_mgr(struct dev_object *hdev_obj,
-                                 OUT struct cod_manager **cod_mgr);
+                                 struct cod_manager **cod_mgr);
 
 /*
  *  ======== dev_get_deh_mgr ========
@@ -295,7 +295,7 @@ extern int dev_get_cod_mgr(struct dev_object *hdev_obj,
  *      else:       *deh_manager is NULL.
  */
 extern int dev_get_deh_mgr(struct dev_object *hdev_obj,
-                                 OUT struct deh_mgr **deh_manager);
+                                 struct deh_mgr **deh_manager);
 
 /*
  *  ======== dev_get_dev_node ========
@@ -316,7 +316,7 @@ extern int dev_get_deh_mgr(struct dev_object *hdev_obj,
  *      else:           *dev_nde is NULL.
  */
 extern int dev_get_dev_node(struct dev_object *hdev_obj,
-                                  OUT struct cfg_devnode **dev_nde);
+                                  struct cfg_devnode **dev_nde);
 
 /*
  *  ======== dev_get_dev_type ========
@@ -380,7 +380,7 @@ extern struct dev_object *dev_get_first(void);
  *      else:           *if_fxns is NULL.
  */
 extern int dev_get_intf_fxns(struct dev_object *hdev_obj,
-                           OUT struct bridge_drv_interface **if_fxns);
+                           struct bridge_drv_interface **if_fxns);
 
 /*
  *  ======== dev_get_io_mgr ========
@@ -401,7 +401,7 @@ extern int dev_get_intf_fxns(struct dev_object *hdev_obj,
  *      else:           *mgr is NULL.
  */
 extern int dev_get_io_mgr(struct dev_object *hdev_obj,
-                                OUT struct io_mgr **mgr);
+                                struct io_mgr **mgr);
 
 /*
  *  ======== dev_get_next ========
@@ -443,7 +443,7 @@ extern struct dev_object *dev_get_next(struct dev_object
  *  Ensures:
  */
 extern void dev_get_msg_mgr(struct dev_object *hdev_obj,
-                           OUT struct msg_mgr **msg_man);
+                           struct msg_mgr **msg_man);
 
 /*
  *  ========= dev_get_node_manager ========
@@ -466,7 +466,7 @@ extern void dev_get_msg_mgr(struct dev_object *hdev_obj,
  */
 extern int dev_get_node_manager(struct dev_object
                                       *hdev_obj,
-                                      OUT struct node_mgr **node_man);
+                                      struct node_mgr **node_man);
 
 /*
  *  ======== dev_get_symbol ========
@@ -490,7 +490,7 @@ extern int dev_get_node_manager(struct dev_object
  *      0:        *pul_value contains the symbol value;
  */
 extern int dev_get_symbol(struct dev_object *hdev_obj,
-                                const char *str_sym, OUT u32 * pul_value);
+                                const char *str_sym, u32 * pul_value);
 
 /*
  *  ======== dev_get_bridge_context ========
@@ -511,7 +511,7 @@ extern int dev_get_symbol(struct dev_object *hdev_obj,
  *      else:           *phbridge_context is NULL;
  */
 extern int dev_get_bridge_context(struct dev_object *hdev_obj,
-                                     OUT struct bridge_dev_context
+                                     struct bridge_dev_context
                                      **phbridge_context);
 
 /*
@@ -585,7 +585,7 @@ extern int dev_is_locked(struct dev_object *hdev_obj);
 extern int dev_insert_proc_object(struct dev_object
                                         *hdev_obj,
                                         u32 proc_obj,
-                                        OUT bool *already_attached);
+                                        bool *already_attached);
 
 /*
  *  ======== dev_remove_proc_object ========
index c7dae698b6ed47440e4bd96a25fbd5996ef082df..82bf721447a975a8835988440cca57fa2d307e2d 100644 (file)
@@ -48,7 +48,7 @@
  *      0:        IS_VALID(*dispatch_obj).
  *      error:          *dispatch_obj == NULL.
  */
-extern int disp_create(OUT struct disp_object **dispatch_obj,
+extern int disp_create(struct disp_object **dispatch_obj,
                              struct dev_object *hdev_obj,
                              const struct disp_attr *disp_attrs);
 
@@ -148,7 +148,7 @@ extern int disp_node_create(struct disp_object *disp_obj,
                                   u32 rms_fxn,
                                   u32 ul_create_fxn,
                                   const struct node_createargs
-                                  *pargs, OUT nodeenv *node_env);
+                                  *pargs, nodeenv *node_env);
 
 /*
  *  ======== disp_node_delete ========
index b52be19aa4b2bbaf9c19d60f4ad20ce231612abb..6c58335c5f609229f8efb00b04385a8d0d74a416 100644 (file)
@@ -39,7 +39,7 @@ struct dmm_mgrattrs {
  */
 
 extern int dmm_get_handle(void *hprocessor,
-                                OUT struct dmm_object **dmm_manager);
+                                struct dmm_object **dmm_manager);
 
 extern int dmm_reserve_memory(struct dmm_object *dmm_mgr,
                                     u32 size, u32 *prsv_addr);
@@ -57,7 +57,7 @@ extern int dmm_destroy(struct dmm_object *dmm_mgr);
 
 extern int dmm_delete_tables(struct dmm_object *dmm_mgr);
 
-extern int dmm_create(OUT struct dmm_object **dmm_manager,
+extern int dmm_create(struct dmm_object **dmm_manager,
                             struct dev_object *hdev_obj,
                             const struct dmm_mgrattrs *mgr_attrts);
 
index e15a9ac9bedeee3ece9479bb02d99fa1f3d2608c..28541f7f07ef202a81ed95b34581f2f36d6f1f12 100644 (file)
@@ -394,7 +394,7 @@ extern int drv_remove_dev_object(struct drv_object *driver_obj,
  *      later used by the CFG module.
  */
 extern int drv_request_resources(u32 dw_context,
-                                       OUT u32 *dev_node_strg);
+                                       u32 *dev_node_strg);
 
 /*
  *  ======== drv_release_resources ========
@@ -463,7 +463,7 @@ extern void mem_ext_phys_pool_release(void);
  *      location of memory.
  */
 extern void *mem_alloc_phys_mem(u32 byte_size,
-                               u32 align_mask, OUT u32 *physical_address);
+                               u32 align_mask, u32 *physical_address);
 
 /*
  *  ======== mem_free_phys_mem ========
index fa3ba6b9228793e12e55953ee752c09f08c95977..8da5bd8ede85293ae180adacd9d3d331c4743048 100644 (file)
@@ -339,7 +339,7 @@ union trapped_args {
                struct cmm_object *hcmm_mgr;
                u32 usize;
                struct cmm_attrs *pattrs;
-               OUT void **pp_buf_va;
+               void **pp_buf_va;
        } args_cmm_allocbuf;
 
        struct {
index 3f562222890e388f7c64c176fc2f213c1613b3a7..7146a5057e292c40cbce55a503be78ee4036b32e 100644 (file)
 #ifndef DSPCHNL_
 #define DSPCHNL_
 
-extern int bridge_chnl_create(OUT struct chnl_mgr **channel_mgr,
+extern int bridge_chnl_create(struct chnl_mgr **channel_mgr,
                                     struct dev_object *hdev_obj,
                                     const struct chnl_mgrattrs
                                     *mgr_attrts);
 
 extern int bridge_chnl_destroy(struct chnl_mgr *hchnl_mgr);
 
-extern int bridge_chnl_open(OUT struct chnl_object **chnl,
+extern int bridge_chnl_open(struct chnl_object **chnl,
                                   struct chnl_mgr *hchnl_mgr,
                                   s8 chnl_mode,
                                   u32 ch_id,
@@ -46,7 +46,7 @@ extern int bridge_chnl_add_io_req(struct chnl_object *chnl_obj,
                                      u32 dw_dsp_addr, u32 dw_arg);
 
 extern int bridge_chnl_get_ioc(struct chnl_object *chnl_obj,
-                                  u32 timeout, OUT struct chnl_ioc *chan_ioc);
+                                  u32 timeout, struct chnl_ioc *chan_ioc);
 
 extern int bridge_chnl_cancel_io(struct chnl_object *chnl_obj);
 
@@ -54,10 +54,10 @@ extern int bridge_chnl_flush_io(struct chnl_object *chnl_obj,
                                    u32 timeout);
 
 extern int bridge_chnl_get_info(struct chnl_object *chnl_obj,
-                                   OUT struct chnl_info *channel_info);
+                                   struct chnl_info *channel_info);
 
 extern int bridge_chnl_get_mgr_info(struct chnl_mgr *hchnl_mgr,
-                                       u32 ch_id, OUT struct chnl_mgrinfo
+                                       u32 ch_id, struct chnl_mgrinfo
                                        *mgr_info);
 
 extern int bridge_chnl_idle(struct chnl_object *chnl_obj,
index ea1124c7dc29d1188948559b94970c0566a6c3fa..0ae7d1646a1bf74f4642a94fd27ddef262011a5d 100644 (file)
@@ -263,7 +263,7 @@ typedef int(*fxn_brd_status) (struct bridge_dev_context *dev_ctxt,
  *  Will not write more than ul_num_bytes bytes into host_buf.
  */
 typedef int(*fxn_brd_read) (struct bridge_dev_context *dev_ctxt,
-                                  OUT u8 *host_buf,
+                                  u8 *host_buf,
                                   u32 dsp_addr,
                                   u32 ul_num_bytes, u32 mem_type);
 
@@ -323,7 +323,7 @@ typedef int(*fxn_brd_write) (struct bridge_dev_context *dev_ctxt,
  *      No channel manager exists for this board.
  *  Ensures:
  */
-typedef int(*fxn_chnl_create) (OUT struct chnl_mgr
+typedef int(*fxn_chnl_create) (struct chnl_mgr
                                      **channel_mgr,
                                      struct dev_object
                                      * hdev_obj,
@@ -407,7 +407,7 @@ typedef void (*fxn_deh_notify) (struct deh_mgr *hdeh_mgr,
  *      0:                *chnl is a valid channel.
  *      else:                   *chnl is set to NULL if (chnl != NULL);
  */
-typedef int(*fxn_chnl_open) (OUT struct chnl_object
+typedef int(*fxn_chnl_open) (struct chnl_object
                                    **chnl,
                                    struct chnl_mgr *hchnl_mgr,
                                    s8 chnl_mode,
@@ -503,7 +503,7 @@ typedef int(*fxn_chnl_addioreq) (struct chnl_object
  */
 typedef int(*fxn_chnl_getioc) (struct chnl_object *chnl_obj,
                                      u32 timeout,
-                                     OUT struct chnl_ioc *chan_ioc);
+                                     struct chnl_ioc *chan_ioc);
 
 /*
  *  ======== bridge_chnl_cancel_io ========
@@ -561,7 +561,7 @@ typedef int(*fxn_chnl_flushio) (struct chnl_object *chnl_obj,
  *                      if (channel_info != NULL).
  */
 typedef int(*fxn_chnl_getinfo) (struct chnl_object *chnl_obj,
-                                      OUT struct chnl_info *channel_info);
+                                      struct chnl_info *channel_info);
 
 /*
  *  ======== bridge_chnl_get_mgr_info ========
@@ -583,7 +583,7 @@ typedef int(*fxn_chnl_getinfo) (struct chnl_object *chnl_obj,
 typedef int(*fxn_chnl_getmgrinfo) (struct chnl_mgr
                                          * hchnl_mgr,
                                          u32 ch_id,
-                                         OUT struct chnl_mgrinfo *mgr_info);
+                                         struct chnl_mgrinfo *mgr_info);
 
 /*
  *  ======== bridge_chnl_idle ========
@@ -679,7 +679,7 @@ typedef int(*fxn_chnl_registernotify)
  *      function returns, they must not be stored into the device context
  *      structure.
  */
-typedef int(*fxn_dev_create) (OUT struct bridge_dev_context
+typedef int(*fxn_dev_create) (struct bridge_dev_context
                                     **device_ctx,
                                     struct dev_object
                                     * hdev_obj,
@@ -703,7 +703,7 @@ typedef int(*fxn_dev_create) (OUT struct bridge_dev_context
  *  Ensures:
  */
 typedef int(*fxn_dev_ctrl) (struct bridge_dev_context *dev_ctxt,
-                                  u32 dw_cmd, OUT void *pargs);
+                                  u32 dw_cmd, void *pargs);
 
 /*
  *  ======== bridge_dev_destroy ========
@@ -744,7 +744,7 @@ typedef int(*fxn_dev_destroy) (struct bridge_dev_context *dev_ctxt);
  *      io_man != NULL;
  *  Ensures:
  */
-typedef int(*fxn_io_create) (OUT struct io_mgr **io_man,
+typedef int(*fxn_io_create) (struct io_mgr **io_man,
                                    struct dev_object *hdev_obj,
                                    const struct io_attrs *mgr_attrts);
 
@@ -818,7 +818,7 @@ typedef int(*fxn_io_getprocload) (struct io_mgr *hio_mgr,
  *  Ensures:
  */
 typedef int(*fxn_msg_create)
- (OUT struct msg_mgr **msg_man,
+ (struct msg_mgr **msg_man,
   struct dev_object *hdev_obj, msg_onexit msg_callback);
 
 /*
@@ -845,7 +845,7 @@ typedef int(*fxn_msg_create)
  */
 typedef int(*fxn_msg_createqueue)
  (struct msg_mgr *hmsg_mgr,
-  OUT struct msg_queue **msgq, u32 msgq_id, u32 max_msgs, void *h);
+  struct msg_queue **msgq, u32 msgq_id, u32 max_msgs, void *h);
 
 /*
  *  ======== bridge_msg_delete ========
@@ -1048,7 +1048,7 @@ struct bridge_drv_interface {
  *  Details:
  *      Called during the Device_Init phase.
  */
-void bridge_drv_entry(OUT struct bridge_drv_interface **drv_intf,
+void bridge_drv_entry(struct bridge_drv_interface **drv_intf,
                   const char *driver_file_name);
 
 #endif /* DSPDEFS_ */
index 8601b13b722ce8f215343036520d35d126b0c01a..0bb250f95bad6fbe5d5b5fc814075c6ceaaac0e6 100644 (file)
@@ -57,6 +57,6 @@ extern bool dsp_deinit(u32 device_context);
  *      Succeeded:  device context > 0
  *      Failed:     device Context = 0
  */
-extern u32 dsp_init(OUT u32 *init_status);
+extern u32 dsp_init(u32 *init_status);
 
 #endif
index 3087c2a4cdb5a867928677c348e1795f47b991c3..88f5f90fe92266815ea896bd80a06b38094318ec 100644 (file)
@@ -26,7 +26,7 @@
 #include <dspbridge/devdefs.h>
 #include <dspbridge/iodefs.h>
 
-extern int bridge_io_create(OUT struct io_mgr **io_man,
+extern int bridge_io_create(struct io_mgr **io_man,
                                   struct dev_object *hdev_obj,
                                   const struct io_attrs *mgr_attrts);
 
@@ -36,6 +36,6 @@ extern int bridge_io_on_loaded(struct io_mgr *hio_mgr);
 
 extern int iva_io_on_loaded(struct io_mgr *hio_mgr);
 extern int bridge_io_get_proc_load(struct io_mgr *hio_mgr,
-                                      OUT struct dsp_procloadstat *proc_lstat);
+                                      struct dsp_procloadstat *proc_lstat);
 
 #endif /* DSPIO_ */
index 1749470de165b2dd082af9da6ba21f3cb6911559..d4bd458bc8be7e13ed7ca292c2950b05a3d4042d 100644 (file)
 
 #include <dspbridge/msgdefs.h>
 
-extern int bridge_msg_create(OUT struct msg_mgr **msg_man,
+extern int bridge_msg_create(struct msg_mgr **msg_man,
                                    struct dev_object *hdev_obj,
                                    msg_onexit msg_callback);
 
 extern int bridge_msg_create_queue(struct msg_mgr *hmsg_mgr,
-                                      OUT struct msg_queue **msgq,
+                                      struct msg_queue **msgq,
                                       u32 msgq_id, u32 max_msgs, void *arg);
 
 extern void bridge_msg_delete(struct msg_mgr *hmsg_mgr);
index 5846a6a777fa4607f41069af54f5d9d57b597955..bc346f9a01c1d81130f81e3b2bed46928db496fc 100644 (file)
@@ -49,7 +49,7 @@
  *      mgr_attrts != NULL.
  *  Ensures:
  */
-extern int io_create(OUT struct io_mgr **io_man,
+extern int io_create(struct io_mgr **io_man,
                            struct dev_object *hdev_obj,
                            const struct io_attrs *mgr_attrts);
 
index 64e6f4c8e09baa38f3066d134b0fabb702185301..e9a6c1964a7f9feb8eaf2113feff67a88732c826 100644 (file)
@@ -78,7 +78,7 @@ extern void io_cancel_chnl(struct io_mgr *hio_mgr, u32 chnl);
  *  Ensures:
  *      Non-preemptible (but interruptible).
  */
-extern void io_dpc(OUT unsigned long ref_data);
+extern void io_dpc(unsigned long ref_data);
 
 /*
  *  ======== io_mbox_msg ========
@@ -116,7 +116,7 @@ void io_mbox_msg(u32 msg);
  */
 extern void io_request_chnl(struct io_mgr *io_manager,
                            struct chnl_object *pchnl,
-                           u8 io_mode, OUT u16 *mbx_val);
+                           u8 io_mode, u16 *mbx_val);
 
 /*
  *  ======== iosm_schedule ========
@@ -190,7 +190,7 @@ extern void io_ddma_clear_chnl_desc(struct io_mgr *hio_mgr, u32 ddma_chnl_id);
 extern void io_ddma_request_chnl(struct io_mgr *hio_mgr,
                                 struct chnl_object *pchnl,
                                 struct chnl_irp *chnl_packet_obj,
-                                OUT u16 *mbx_val);
+                                u16 *mbx_val);
 
 /*
  * Zero-copy IO functions
@@ -245,7 +245,7 @@ extern void io_ddzc_clear_chnl_desc(struct io_mgr *hio_mgr, u32 ch_id);
 extern void io_ddzc_request_chnl(struct io_mgr *hio_mgr,
                                 struct chnl_object *pchnl,
                                 struct chnl_irp *chnl_packet_obj,
-                                OUT u16 *mbx_val);
+                                u16 *mbx_val);
 
 /*
  *  ======== io_sh_msetting ========
index 40cc8a51f8a5ba2699310a7d443a0d5837308413..99f7dc0116b560106be410c1c139e50f50e3f114 100644 (file)
@@ -40,7 +40,7 @@
 
 int mgr_wait_for_bridge_events(struct dsp_notification
                                      **anotifications,
-                                     u32 count, OUT u32 *pu_index,
+                                     u32 count, u32 *pu_index,
                                      u32 utimeout);
 
 /*
@@ -66,7 +66,7 @@ int mgr_wait_for_bridge_events(struct dsp_notification
  *  Details:
  *      DCD Dll is loaded and MGR Object stores the handle of the DLL.
  */
-extern int mgr_create(OUT struct mgr_object **mgr_obj,
+extern int mgr_create(struct mgr_object **mgr_obj,
                             struct cfg_devnode *dev_node_obj);
 
 /*
@@ -119,9 +119,9 @@ extern int mgr_destroy(struct mgr_object *hmgr_obj);
  *  Details:
  */
 extern int mgr_enum_node_info(u32 node_id,
-                                    OUT struct dsp_ndbprops *pndb_props,
+                                    struct dsp_ndbprops *pndb_props,
                                     u32 undb_props_size,
-                                    OUT u32 *pu_num_nodes);
+                                    u32 *pu_num_nodes);
 
 /*
  *  ======== mgr_enum_processor_info ========
@@ -150,10 +150,10 @@ extern int mgr_enum_node_info(u32 node_id,
  *  Details:
  */
 extern int mgr_enum_processor_info(u32 processor_id,
-                                         OUT struct dsp_processorinfo
+                                         struct dsp_processorinfo
                                          *processor_info,
                                          u32 processor_info_size,
-                                         OUT u8 *pu_num_procs);
+                                         u8 *pu_num_procs);
 /*
  *  ======== mgr_exit ========
  *  Purpose:
@@ -186,7 +186,7 @@ extern void mgr_exit(void);
  *      -EPERM and *dcd_handle == NULL
  */
 extern int mgr_get_dcd_handle(struct mgr_object
-                                    *mgr_handle, OUT u32 *dcd_handle);
+                                    *mgr_handle, u32 *dcd_handle);
 
 /*
  *  ======== mgr_init ========
index 007bb7307604029d8fc95b4aa498de35fdd1ba67..95778bcb5aae533e860161348d6ed49fdda64a27 100644 (file)
@@ -40,7 +40,7 @@
  *      msg_callback != NULL.
  *  Ensures:
  */
-extern int msg_create(OUT struct msg_mgr **msg_man,
+extern int msg_create(struct msg_mgr **msg_man,
                             struct dev_object *hdev_obj,
                             msg_onexit msg_callback);
 
index b3dbd064507d2f9aa04fea285da67559941953ad..d9653ee667e1c5dc31041a7c0b828b660b05cb93 100644 (file)
 extern int nldr_allocate(struct nldr_object *nldr_obj,
                                void *priv_ref, const struct dcd_nodeprops
                                *node_props,
-                               OUT struct nldr_nodeobject **nldr_nodeobj,
+                               struct nldr_nodeobject **nldr_nodeobj,
                                bool *pf_phase_split);
 
-extern int nldr_create(OUT struct nldr_object **nldr,
+extern int nldr_create(struct nldr_object **nldr,
                              struct dev_object *hdev_obj,
                              const struct nldr_attrs *pattrs);
 
@@ -42,7 +42,7 @@ extern int nldr_get_fxn_addr(struct nldr_nodeobject *nldr_node_obj,
                                    char *str_fxn, u32 * addr);
 
 extern int nldr_get_rmm_manager(struct nldr_object *nldr,
-                                      OUT struct rmm_target_obj **rmm_mgr);
+                                      struct rmm_target_obj **rmm_mgr);
 
 extern bool nldr_init(void);
 extern int nldr_load(struct nldr_nodeobject *nldr_node_obj,
index a69b2377f41e37ec880ace2952335bb9df029315..c85d3da3fe25378cc54c7818e625949fa380fcf2 100644 (file)
@@ -131,9 +131,9 @@ typedef int(*nldr_allocatefxn) (struct nldr_object *nldr_obj,
                                       void *priv_ref,
                                       const struct dcd_nodeprops
                                       * node_props,
-                                      OUT struct nldr_nodeobject
+                                      struct nldr_nodeobject
                                       **nldr_nodeobj,
-                                      OUT bool *pf_phase_split);
+                                      bool *pf_phase_split);
 
 /*
  *  ======== nldr_create ========
@@ -156,7 +156,7 @@ typedef int(*nldr_allocatefxn) (struct nldr_object *nldr_obj,
  *      0:        Valid *nldr.
  *      error:          *nldr == NULL.
  */
-typedef int(*nldr_createfxn) (OUT struct nldr_object **nldr,
+typedef int(*nldr_createfxn) (struct nldr_object **nldr,
                                     struct dev_object *hdev_obj,
                                     const struct nldr_attrs *pattrs);
 
index b226c87a0d9e28d6d5b906506c530a5e005b66db..61d2d9b7cc9d4d55282a683cf676bc08ad1bacd0 100644 (file)
@@ -60,7 +60,7 @@ extern int node_allocate(struct proc_object *hprocessor,
                                const struct dsp_cbdata
                                *pargs, const struct dsp_nodeattrin
                                *attr_in,
-                               OUT struct node_object **ph_node,
+                               struct node_object **ph_node,
                                struct process_context *pr_ctxt);
 
 /*
@@ -87,7 +87,7 @@ extern int node_allocate(struct proc_object *hprocessor,
  */
 extern int node_alloc_msg_buf(struct node_object *hnode,
                                     u32 usize, struct dsp_bufferattr
-                                    *pattr, OUT u8 **pbuffer);
+                                    *pattr, u8 **pbuffer);
 
 /*
  *  ======== node_change_priority ========
@@ -231,7 +231,7 @@ extern int node_create(struct node_object *hnode);
  *      0:        Valide *node_man.
  *      error:          *node_man == NULL.
  */
-extern int node_create_mgr(OUT struct node_mgr **node_man,
+extern int node_create_mgr(struct node_mgr **node_man,
                                  struct dev_object *hdev_obj);
 
 /*
@@ -299,8 +299,8 @@ extern int node_delete_mgr(struct node_mgr *hnode_mgr);
 extern int node_enum_nodes(struct node_mgr *hnode_mgr,
                                  void **node_tab,
                                  u32 node_tab_size,
-                                 OUT u32 *pu_num_nodes,
-                                 OUT u32 *pu_allocated);
+                                 u32 *pu_num_nodes,
+                                 u32 *pu_allocated);
 
 /*
  *  ======== node_exit ========
@@ -358,7 +358,7 @@ extern int node_free_msg_buf(struct node_object *hnode,
  *      0:        *pattrs contains the node's current attributes.
  */
 extern int node_get_attr(struct node_object *hnode,
-                               OUT struct dsp_nodeattr *pattr, u32 attr_size);
+                               struct dsp_nodeattr *pattr, u32 attr_size);
 
 /*
  *  ======== node_get_message ========
@@ -384,7 +384,7 @@ extern int node_get_attr(struct node_object *hnode,
  *  Ensures:
  */
 extern int node_get_message(struct node_object *hnode,
-                                  OUT struct dsp_msg *message, u32 utimeout);
+                                  struct dsp_msg *message, u32 utimeout);
 
 /*
  *  ======== node_get_nldr_obj ========
@@ -399,7 +399,7 @@ extern int node_get_message(struct node_object *hnode,
  *  Ensures:
  */
 extern int node_get_nldr_obj(struct node_mgr *hnode_mgr,
-                                   OUT struct nldr_object **nldr_ovlyobj);
+                                   struct nldr_object **nldr_ovlyobj);
 
 /*
  *  ======== node_init ========
@@ -544,7 +544,7 @@ extern int node_run(struct node_object *hnode);
  *  Ensures:
  */
 extern int node_terminate(struct node_object *hnode,
-                                OUT int *pstatus);
+                                int *pstatus);
 
 /*
  *  ======== node_get_uuid_props ========
@@ -555,7 +555,7 @@ extern int node_terminate(struct node_object *hnode,
  */
 extern int node_get_uuid_props(void *hprocessor,
                                      const struct dsp_uuid *node_uuid,
-                                     OUT struct dsp_ndbprops
+                                     struct dsp_ndbprops
                                      *node_props);
 
 #ifdef CONFIG_TIDSPBRIDGE_BACKTRACE
index 7c2e7a969c986426d94b845422f7af5bed971497..16b0233fc5d5f05ecf2b40751bf5d078fffc1139 100644 (file)
@@ -102,7 +102,7 @@ struct node_createargs {
  *  Ensures:
  */
 extern int node_get_channel_id(struct node_object *hnode,
-                                     u32 dir, u32 index, OUT u32 *chan_id);
+                                     u32 dir, u32 index, u32 *chan_id);
 
 /*
  *  ======== node_get_strm_mgr ========
index c872f6356aeae4ca86c60148460e00b2b0105a0c..5e09fd165d9d4c9294aaf76333ca290cde8e6f26 100644 (file)
@@ -153,8 +153,8 @@ extern int proc_detach(struct process_context *pr_ctxt);
 extern int proc_enum_nodes(void *hprocessor,
                                  void **node_tab,
                                  u32 node_tab_size,
-                                 OUT u32 *pu_num_nodes,
-                                 OUT u32 *pu_allocated);
+                                 u32 *pu_num_nodes,
+                                 u32 *pu_allocated);
 
 /*
  *  ======== proc_get_resource_info ========
@@ -184,7 +184,7 @@ extern int proc_enum_nodes(void *hprocessor,
  */
 extern int proc_get_resource_info(void *hprocessor,
                                         u32 resource_type,
-                                        OUT struct dsp_resourceinfo
+                                        struct dsp_resourceinfo
                                         *resource_info,
                                         u32 resource_info_size);
 
@@ -256,7 +256,7 @@ extern bool proc_init(void);
  *  Ensures:
  *  Details:
  */
-extern int proc_get_state(void *hprocessor, OUT struct dsp_processorstate
+extern int proc_get_state(void *hprocessor, struct dsp_processorstate
                                 *proc_state_obj, u32 state_info_size);
 
 /*
index 138760b332d68f4d0b131408f321e0099af742ad..0ddc7979e796c9e1178ac8ca90bbdbcab29a521f 100644 (file)
@@ -46,7 +46,7 @@
  */
 extern int strm_allocate_buffer(struct strm_object *stream_obj,
                                       u32 usize,
-                                      OUT u8 **ap_buffer,
+                                      u8 **ap_buffer,
                                       u32 num_bufs,
                                       struct process_context *pr_ctxt);
 
@@ -90,7 +90,7 @@ extern int strm_close(struct strm_object *stream_obj,
  *      0:        Valid *strm_man.
  *      error:          *strm_man == NULL.
  */
-extern int strm_create(OUT struct strm_mgr **strm_man,
+extern int strm_create(struct strm_mgr **strm_man,
                              struct dev_object *dev_obj);
 
 /*
@@ -158,7 +158,7 @@ extern int strm_free_buffer(struct strm_object *stream_obj,
  *  Ensures:
  */
 extern int strm_get_event_handle(struct strm_object *stream_obj,
-                                       OUT void **ph_event);
+                                       void **ph_event);
 
 /*
  *  ======== strm_get_info ========
@@ -180,7 +180,7 @@ extern int strm_get_event_handle(struct strm_object *stream_obj,
  *  Ensures:
  */
 extern int strm_get_info(struct strm_object *stream_obj,
-                               OUT struct stream_info *stream_info,
+                               struct stream_info *stream_info,
                                u32 stream_info_size);
 
 /*
@@ -272,7 +272,7 @@ extern int strm_issue(struct strm_object *stream_obj, u8 * pbuf,
  */
 extern int strm_open(struct node_object *hnode, u32 dir,
                            u32 index, struct strm_attr *pattr,
-                           OUT struct strm_object **strm_objct,
+                           struct strm_object **strm_objct,
                            struct process_context *pr_ctxt);
 
 /*
@@ -322,7 +322,7 @@ extern int strm_prepare_buffer(struct strm_object *stream_obj,
  *  Ensures:
  */
 extern int strm_reclaim(struct strm_object *stream_obj,
-                              OUT u8 **buf_ptr, u32 * nbytes,
+                              u8 **buf_ptr, u32 * nbytes,
                               u32 *buff_size, u32 *pdw_arg);
 
 /*
@@ -377,7 +377,7 @@ extern int strm_register_notify(struct strm_object *stream_obj,
  *      Error:          *pmask == 0.
  */
 extern int strm_select(struct strm_object **strm_tab,
-                             u32 strms, OUT u32 *pmask, u32 utimeout);
+                             u32 strms, u32 *pmask, u32 utimeout);
 
 /*
  *  ======== strm_unprepare_buffer ========
index 9554813b3681f9509efe616b6b19e245bfc499ba..9a994753e9ba143143b677ebc16ea8462b86ddc0 100644 (file)
@@ -38,7 +38,7 @@
  *  Details:
  *      UUID string limit currently set at MAXUUIDLEN.
  */
-void uuid_uuid_to_string(struct dsp_uuid *uuid_obj, OUT char *sz_uuid,
+void uuid_uuid_to_string(struct dsp_uuid *uuid_obj, char *sz_uuid,
                         s32 size);
 
 /*
@@ -57,6 +57,6 @@ void uuid_uuid_to_string(struct dsp_uuid *uuid_obj, OUT char *sz_uuid,
  *      "12345678_1234_1234_1234_123456789abc".
  */
 extern void uuid_uuid_from_string(char *sz_uuid,
-                                 OUT struct dsp_uuid *uuid_obj);
+                                 struct dsp_uuid *uuid_obj);
 
 #endif /* UUIDUTIL_ */
index bd192445bd173536fb460a3ea0a2a68c6ff459af..d73c89c917ee13d14d0f6112596d494347697a61 100644 (file)
@@ -51,7 +51,7 @@ static u32 refs;
  *      Create a channel manager object, responsible for opening new channels
  *      and closing old ones for a given 'Bridge board.
  */
-int chnl_create(OUT struct chnl_mgr **channel_mgr,
+int chnl_create(struct chnl_mgr **channel_mgr,
                       struct dev_object *hdev_obj,
                       const struct chnl_mgrattrs *mgr_attrts)
 {
index a9e133e12850a813263b9a7f1eb0148d6498d0d7..8e808d92fe3bf23fa4697f81c0b6ce757d865964 100644 (file)
@@ -164,7 +164,7 @@ static void un_register_gppsm_seg(struct cmm_allocator *psma);
  *      inUseList.
  */
 void *cmm_calloc_buf(struct cmm_object *hcmm_mgr, u32 usize,
-                    struct cmm_attrs *pattrs, OUT void **pp_buf_va)
+                    struct cmm_attrs *pattrs, void **pp_buf_va)
 {
        struct cmm_object *cmm_mgr_obj = (struct cmm_object *)hcmm_mgr;
        void *buf_pa = NULL;
@@ -240,7 +240,7 @@ void *cmm_calloc_buf(struct cmm_object *hcmm_mgr, u32 usize,
  *  Purpose:
  *      Create a communication memory manager object.
  */
-int cmm_create(OUT struct cmm_object **ph_cmm_mgr,
+int cmm_create(struct cmm_object **ph_cmm_mgr,
                      struct dev_object *hdev_obj,
                      const struct cmm_mgrattrs *mgr_attrts)
 {
@@ -429,7 +429,7 @@ int cmm_free_buf(struct cmm_object *hcmm_mgr, void *buf_pa,
  *      Return the communication memory manager object for this device.
  *      This is typically called from the client process.
  */
-int cmm_get_handle(void *hprocessor, OUT struct cmm_object ** ph_cmm_mgr)
+int cmm_get_handle(void *hprocessor, struct cmm_object ** ph_cmm_mgr)
 {
        int status = 0;
        struct dev_object *hdev_obj;
@@ -453,7 +453,7 @@ int cmm_get_handle(void *hprocessor, OUT struct cmm_object ** ph_cmm_mgr)
  *      Return the current memory utilization information.
  */
 int cmm_get_info(struct cmm_object *hcmm_mgr,
-                       OUT struct cmm_info *cmm_info_obj)
+                       struct cmm_info *cmm_info_obj)
 {
        struct cmm_object *cmm_mgr_obj = (struct cmm_object *)hcmm_mgr;
        u32 ul_seg;
@@ -954,7 +954,7 @@ static struct cmm_allocator *get_allocator(struct cmm_object *cmm_mgr_obj,
  *  Purpose:
  *      Create an address translator object.
  */
-int cmm_xlator_create(OUT struct cmm_xlatorobject **xlator,
+int cmm_xlator_create(struct cmm_xlatorobject **xlator,
                             struct cmm_object *hcmm_mgr,
                             struct cmm_xlatorattrs *xlator_attrs)
 {
@@ -1075,7 +1075,7 @@ int cmm_xlator_free_buf(struct cmm_xlatorobject *xlator, void *buf_va)
  *  Purpose:
  *      Set/Get translator info.
  */
-int cmm_xlator_info(struct cmm_xlatorobject *xlator, OUT u8 ** paddr,
+int cmm_xlator_info(struct cmm_xlatorobject *xlator, u8 ** paddr,
                           u32 ul_size, u32 segm_id, bool set_info)
 {
        struct cmm_xlator *xlator_obj = (struct cmm_xlator *)xlator;
index d25f8ce75e43dca2a7996f7a4f211f8108801e21..10db8cf041d3ab93837ac3f6e62a76b319b5dfdd 100644 (file)
@@ -216,7 +216,7 @@ void cod_close(struct cod_libraryobj *lib)
  *      dynamically loaded object files.
  *
  */
-int cod_create(OUT struct cod_manager **mgr, char *str_zl_file,
+int cod_create(struct cod_manager **mgr, char *str_zl_file,
                      const struct cod_attrs *attrs)
 {
        struct cod_manager *mgr_new;
@@ -399,7 +399,7 @@ int cod_get_loader(struct cod_manager *cod_mgr_obj,
  *      given the section name.
  */
 int cod_get_section(struct cod_libraryobj *lib, char *str_sect,
-                          OUT u32 *addr, OUT u32 *len)
+                          u32 *addr, u32 *len)
 {
        struct cod_manager *cod_mgr_obj;
        int status = 0;
@@ -630,7 +630,7 @@ int cod_open_base(struct cod_manager *hmgr, char *sz_coff_path,
  *      Retrieve the content of a code section given the section name.
  */
 int cod_read_section(struct cod_libraryobj *lib, char *str_sect,
-                           OUT char *str_content, u32 content_size)
+                           char *str_content, u32 content_size)
 {
        int status = 0;
 
index fad761d847b4ce8f5a879cf857abbafd1ea9fc2e..2039e6fb58c95356ef15a0c30d59445d68ede41f 100644 (file)
@@ -92,7 +92,7 @@ static u32 refs;              /* Module reference count */
 static int fxn_not_implemented(int arg, ...);
 static int init_cod_mgr(struct dev_object *dev_obj);
 static void store_interface_fxns(struct bridge_drv_interface *drv_fxns,
-                                OUT struct bridge_drv_interface *intf_fxns);
+                                struct bridge_drv_interface *intf_fxns);
 /*
  *  ======== dev_brd_write_fxn ========
  *  Purpose:
@@ -131,7 +131,7 @@ u32 dev_brd_write_fxn(void *arb, u32 dsp_add, void *host_buf,
  *      Called by the operating system to load the PM Bridge Driver for a
  *      PM board (device).
  */
-int dev_create_device(OUT struct dev_object **device_obj,
+int dev_create_device(struct dev_object **device_obj,
                             const char *driver_file_name,
                             struct cfg_devnode *dev_node_obj)
 {
@@ -260,7 +260,7 @@ int dev_create_device(OUT struct dev_object **device_obj,
        }
 leave:
        /*  If all went well, return a handle to the dev object;
-        *  else, cleanup and return NULL in the OUT parameter. */
+        *  else, cleanup and return NULL in the parameter. */
        if (DSP_SUCCEEDED(status)) {
                *device_obj = dev_obj;
        } else {
@@ -420,7 +420,7 @@ int dev_destroy_device(struct dev_object *hdev_obj)
  *      device.
  */
 int dev_get_chnl_mgr(struct dev_object *hdev_obj,
-                           OUT struct chnl_mgr **mgr)
+                           struct chnl_mgr **mgr)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -447,7 +447,7 @@ int dev_get_chnl_mgr(struct dev_object *hdev_obj,
  *      device.
  */
 int dev_get_cmm_mgr(struct dev_object *hdev_obj,
-                          OUT struct cmm_object **mgr)
+                          struct cmm_object **mgr)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -474,7 +474,7 @@ int dev_get_cmm_mgr(struct dev_object *hdev_obj,
  *      device.
  */
 int dev_get_dmm_mgr(struct dev_object *hdev_obj,
-                          OUT struct dmm_object **mgr)
+                          struct dmm_object **mgr)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -500,7 +500,7 @@ int dev_get_dmm_mgr(struct dev_object *hdev_obj,
  *      Retrieve the COD manager create for this device.
  */
 int dev_get_cod_mgr(struct dev_object *hdev_obj,
-                          OUT struct cod_manager **cod_mgr)
+                          struct cod_manager **cod_mgr)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -524,7 +524,7 @@ int dev_get_cod_mgr(struct dev_object *hdev_obj,
  *  ========= dev_get_deh_mgr ========
  */
 int dev_get_deh_mgr(struct dev_object *hdev_obj,
-                          OUT struct deh_mgr **deh_manager)
+                          struct deh_mgr **deh_manager)
 {
        int status = 0;
 
@@ -546,7 +546,7 @@ int dev_get_deh_mgr(struct dev_object *hdev_obj,
  *      Retrieve the platform specific device ID for this device.
  */
 int dev_get_dev_node(struct dev_object *hdev_obj,
-                           OUT struct cfg_devnode **dev_nde)
+                           struct cfg_devnode **dev_nde)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -588,7 +588,7 @@ struct dev_object *dev_get_first(void)
  *      if_fxns != NULL.
  */
 int dev_get_intf_fxns(struct dev_object *hdev_obj,
-                            OUT struct bridge_drv_interface **if_fxns)
+                            struct bridge_drv_interface **if_fxns)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -612,7 +612,7 @@ int dev_get_intf_fxns(struct dev_object *hdev_obj,
  *  ========= dev_get_io_mgr ========
  */
 int dev_get_io_mgr(struct dev_object *hdev_obj,
-                         OUT struct io_mgr **io_man)
+                         struct io_mgr **io_man)
 {
        int status = 0;
 
@@ -652,7 +652,7 @@ struct dev_object *dev_get_next(struct dev_object *hdev_obj)
 /*
  *  ========= dev_get_msg_mgr ========
  */
-void dev_get_msg_mgr(struct dev_object *hdev_obj, OUT struct msg_mgr **msg_man)
+void dev_get_msg_mgr(struct dev_object *hdev_obj, struct msg_mgr **msg_man)
 {
        DBC_REQUIRE(refs > 0);
        DBC_REQUIRE(msg_man != NULL);
@@ -667,7 +667,7 @@ void dev_get_msg_mgr(struct dev_object *hdev_obj, OUT struct msg_mgr **msg_man)
  *      Retrieve the Node Manager Handle
  */
 int dev_get_node_manager(struct dev_object *hdev_obj,
-                               OUT struct node_mgr **node_man)
+                               struct node_mgr **node_man)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -691,7 +691,7 @@ int dev_get_node_manager(struct dev_object *hdev_obj,
  *  ======== dev_get_symbol ========
  */
 int dev_get_symbol(struct dev_object *hdev_obj,
-                         const char *str_sym, OUT u32 * pul_value)
+                         const char *str_sym, u32 * pul_value)
 {
        int status = 0;
        struct cod_manager *cod_mgr;
@@ -718,7 +718,7 @@ int dev_get_symbol(struct dev_object *hdev_obj,
  *      bridge_dev_create fxn.
  */
 int dev_get_bridge_context(struct dev_object *hdev_obj,
-                              OUT struct bridge_dev_context **phbridge_context)
+                              struct bridge_dev_context **phbridge_context)
 {
        int status = 0;
        struct dev_object *dev_obj = hdev_obj;
@@ -974,7 +974,7 @@ static int init_cod_mgr(struct dev_object *dev_obj)
  *      0 and List is not Empty.
  */
 int dev_insert_proc_object(struct dev_object *hdev_obj,
-                                 u32 proc_obj, OUT bool *already_attached)
+                                 u32 proc_obj, bool *already_attached)
 {
        int status = 0;
        struct dev_object *dev_obj = (struct dev_object *)hdev_obj;
@@ -1069,7 +1069,7 @@ int dev_get_dev_type(struct dev_object *device_obj, u8 *dev_type)
  *      All function pointers in the dev object's fxn interface are not NULL.
  */
 static void store_interface_fxns(struct bridge_drv_interface *drv_fxns,
-                                OUT struct bridge_drv_interface *intf_fxns)
+                                struct bridge_drv_interface *intf_fxns)
 {
        u32 bridge_version;
 
index 0934987e429927cf4406d900b4d262be74ef74ff..e53700f2e232652f27a44cbb6f303676ad4d38a6 100644 (file)
@@ -117,7 +117,7 @@ int dmm_create_tables(struct dmm_object *dmm_mgr, u32 addr, u32 size)
  *  Purpose:
  *      Create a dynamic memory manager object.
  */
-int dmm_create(OUT struct dmm_object **dmm_manager,
+int dmm_create(struct dmm_object **dmm_manager,
                      struct dev_object *hdev_obj,
                      const struct dmm_mgrattrs *mgr_attrts)
 {
@@ -197,7 +197,7 @@ void dmm_exit(void)
  *      Return the dynamic memory manager object for this device.
  *      This is typically called from the client process.
  */
-int dmm_get_handle(void *hprocessor, OUT struct dmm_object **dmm_manager)
+int dmm_get_handle(void *hprocessor, struct dmm_object **dmm_manager)
 {
        int status = 0;
        struct dev_object *hdev_obj;
index c5d71bd910066168d348cef027d8a31ce3818cda..78192a3b14eac4d2ea311adfe0f996fb43143b4d 100644 (file)
@@ -1127,7 +1127,7 @@ u32 nodewrap_alloc_msg_buf(union trapped_args *args, void *pr_ctxt)
                        pattr = &attr;
 
        }
-       /* OUT argument */
+       /* argument */
        CP_FM_USR(&pbuffer, args->args_node_allocmsgbuf.pbuffer, status, 1);
        if (DSP_SUCCEEDED(status)) {
                status = node_alloc_msg_buf(args->args_node_allocmsgbuf.hnode,
index 7855b598f7b958612e50f47f4d3bacead4120f07..2c26f063b06d101f68090c4bb6d71a132190706d 100644 (file)
@@ -46,7 +46,7 @@ static u32 refs;
  *      Create an IO manager object, responsible for managing IO between
  *      CHNL and msg_ctrl
  */
-int io_create(OUT struct io_mgr **io_man, struct dev_object *hdev_obj,
+int io_create(struct io_mgr **io_man, struct dev_object *hdev_obj,
                     const struct io_attrs *mgr_attrts)
 {
        struct bridge_drv_interface *intf_fxns;
index 6d1fde946b714fa4f4f447f7830cd7ef2f9c83db..884f8b5934b65a27aa160ba17745ee2aea1fbf96 100644 (file)
@@ -45,7 +45,7 @@ static u32 refs;              /* module reference count */
  *      Create an object to manage message queues. Only one of these objects
  *      can exist per device object.
  */
-int msg_create(OUT struct msg_mgr **msg_man,
+int msg_create(struct msg_mgr **msg_man,
                      struct dev_object *hdev_obj, msg_onexit msg_callback)
 {
        struct bridge_drv_interface *intf_fxns;
index c89db0ec5548827963dedf1af78214f489621b3d..cceceb93f673e65922fde7a2fab263d1fdd9bf23 100644 (file)
@@ -69,10 +69,10 @@ static void compress_buf(char *psz_buf, u32 ul_buf_size, s32 char_size);
 static char dsp_char2_gpp_char(char *word, s32 dsp_char_size);
 static int get_dep_lib_info(struct dcd_manager *hdcd_mgr,
                                   struct dsp_uuid *uuid_obj,
-                                  OUT u16 *num_libs,
-                                  OUT u16 *num_pers_libs,
-                                  OUT struct dsp_uuid *dep_lib_uuids,
-                                  OUT bool *prstnt_dep_libs,
+                                  u16 *num_libs,
+                                  u16 *num_pers_libs,
+                                  struct dsp_uuid *dep_lib_uuids,
+                                  bool *prstnt_dep_libs,
                                   enum nldr_phase phase);
 
 /*
@@ -125,7 +125,7 @@ int dcd_auto_unregister(struct dcd_manager *hdcd_mgr,
  *      Creates DCD manager.
  */
 int dcd_create_manager(char *sz_zl_dll_name,
-                             OUT struct dcd_manager **dcd_mgr)
+                             struct dcd_manager **dcd_mgr)
 {
        struct cod_manager *cod_mgr;    /* COD manager handle */
        struct dcd_manager *dcd_mgr_obj = NULL; /* DCD Manager pointer */
@@ -194,7 +194,7 @@ int dcd_destroy_manager(struct dcd_manager *hdcd_mgr)
  *      Enumerates objects in the DCD.
  */
 int dcd_enumerate_object(s32 index, enum dsp_dcdobjtype obj_type,
-                               OUT struct dsp_uuid *uuid_obj)
+                               struct dsp_uuid *uuid_obj)
 {
        int status = 0;
        char sz_reg_key[DCD_MAXPATHLENGTH];
@@ -327,8 +327,8 @@ void dcd_exit(void)
  */
 int dcd_get_dep_libs(struct dcd_manager *hdcd_mgr,
                            struct dsp_uuid *uuid_obj,
-                           u16 num_libs, OUT struct dsp_uuid *dep_lib_uuids,
-                           OUT bool *prstnt_dep_libs,
+                           u16 num_libs, struct dsp_uuid *dep_lib_uuids,
+                           bool *prstnt_dep_libs,
                            enum nldr_phase phase)
 {
        int status = 0;
@@ -351,7 +351,7 @@ int dcd_get_dep_libs(struct dcd_manager *hdcd_mgr,
  */
 int dcd_get_num_dep_libs(struct dcd_manager *hdcd_mgr,
                                struct dsp_uuid *uuid_obj,
-                               OUT u16 *num_libs, OUT u16 *num_pers_libs,
+                               u16 *num_libs, u16 *num_pers_libs,
                                enum nldr_phase phase)
 {
        int status = 0;
@@ -377,7 +377,7 @@ int dcd_get_num_dep_libs(struct dcd_manager *hdcd_mgr,
 int dcd_get_object_def(struct dcd_manager *hdcd_mgr,
                              struct dsp_uuid *obj_uuid,
                              enum dsp_dcdobjtype obj_type,
-                             OUT struct dcd_genericobj *obj_def)
+                             struct dcd_genericobj *obj_def)
 {
        struct dcd_manager *dcd_mgr_obj = hdcd_mgr;     /* ptr to DCD mgr */
        struct cod_libraryobj *lib = NULL;
@@ -644,9 +644,9 @@ func_end:
  */
 int dcd_get_library_name(struct dcd_manager *hdcd_mgr,
                                struct dsp_uuid *uuid_obj,
-                               OUT char *str_lib_name,
-                               OUT u32 *buff_size,
-                               enum nldr_phase phase, OUT bool *phase_split)
+                               char *str_lib_name,
+                               u32 *buff_size,
+                               enum nldr_phase phase, bool *phase_split)
 {
        char sz_reg_key[DCD_MAXPATHLENGTH];
        char sz_uuid[MAXUUIDLEN];
@@ -1393,10 +1393,10 @@ static char dsp_char2_gpp_char(char *word, s32 dsp_char_size)
  */
 static int get_dep_lib_info(struct dcd_manager *hdcd_mgr,
                                   struct dsp_uuid *uuid_obj,
-                                  OUT u16 *num_libs,
-                                  OUT u16 *num_pers_libs,
-                                  OUT struct dsp_uuid *dep_lib_uuids,
-                                  OUT bool *prstnt_dep_libs,
+                                  u16 *num_libs,
+                                  u16 *num_pers_libs,
+                                  struct dsp_uuid *dep_lib_uuids,
+                                  bool *prstnt_dep_libs,
                                   enum nldr_phase phase)
 {
        struct dcd_manager *dcd_mgr_obj = hdcd_mgr;
index 7f3fdfdc663f2fd6c36c448d94c0076981b00533..29cf6cda0d7a6561507ad3afa5e098dd407a2211 100644 (file)
@@ -81,13 +81,13 @@ static int fill_stream_def(rms_word *pdw_buf, u32 *ptotal, u32 offset,
                                  struct node_strmdef strm_def, u32 max,
                                  u32 chars_in_rms_word);
 static int send_message(struct disp_object *disp_obj, u32 timeout,
-                              u32 ul_bytes, OUT u32 *pdw_arg);
+                              u32 ul_bytes, u32 *pdw_arg);
 
 /*
  *  ======== disp_create ========
  *  Create a NODE Dispatcher object.
  */
-int disp_create(OUT struct disp_object **dispatch_obj,
+int disp_create(struct disp_object **dispatch_obj,
                       struct dev_object *hdev_obj,
                       const struct disp_attr *disp_attrs)
 {
@@ -252,7 +252,7 @@ int disp_node_create(struct disp_object *disp_obj,
                            struct node_object *hnode, u32 rms_fxn,
                            u32 ul_create_fxn,
                            const struct node_createargs *pargs,
-                           OUT nodeenv *node_env)
+                           nodeenv *node_env)
 {
        struct node_msgargs node_msg_args;
        struct node_taskargs task_arg_obj;
index 3815622284c0c902b3d2ba794b226ab36875f1e4..2ce0737aac88fc0fc278000958c8eb1d4c22ad39 100644 (file)
@@ -422,7 +422,7 @@ int drv_proc_update_strm_res(u32 num_bufs, void *strm_resources)
  *  Purpose:
  *      DRV Object gets created only once during Driver Loading.
  */
-int drv_create(OUT struct drv_object **drv_obj)
+int drv_create(struct drv_object **drv_obj)
 {
        int status = 0;
        struct drv_object *pdrv_object = NULL;
@@ -969,7 +969,7 @@ void mem_ext_phys_pool_release(void)
  *     Allocate physically contiguous, uncached memory from external memory pool
  */
 
-static void *mem_ext_phys_mem_alloc(u32 bytes, u32 align, OUT u32 * phys_addr)
+static void *mem_ext_phys_mem_alloc(u32 bytes, u32 align, u32 * phys_addr)
 {
        u32 new_alloc_ptr;
        u32 offset;
@@ -1013,7 +1013,7 @@ static void *mem_ext_phys_mem_alloc(u32 bytes, u32 align, OUT u32 * phys_addr)
  *      Allocate physically contiguous, uncached memory
  */
 void *mem_alloc_phys_mem(u32 byte_size, u32 align_mask,
-                               OUT u32 *physical_address)
+                               u32 *physical_address)
 {
        void *va_mem = NULL;
        dma_addr_t pa_mem;
index b50cdc595b0e74ec892d6c6ae81084486dd7e00b..8fedf183399351fdf1cabf01204ddf83d1e1465f 100644 (file)
@@ -44,7 +44,7 @@
  *  ======== dsp_init ========
  *     Allocates bridge resources. Loads a base image onto DSP, if specified.
  */
-u32 dsp_init(OUT u32 *init_status)
+u32 dsp_init(u32 *init_status)
 {
        char dev_node[MAXREGPATHLENGTH] = "TIOMAP1510";
        int status = -EPERM;
index 54f8580b4424312d6411550093269dbaede758ad..805d3ca53e7e48d8a6daf837b850cbb4d4400cde 100644 (file)
@@ -53,7 +53,7 @@ static u32 refs;
  *  Purpose:
  *      MGR Object gets created only once during driver Loading.
  */
-int mgr_create(OUT struct mgr_object **mgr_obj,
+int mgr_create(struct mgr_object **mgr_obj,
                      struct cfg_devnode *dev_node_obj)
 {
        int status = 0;
@@ -114,8 +114,8 @@ int mgr_destroy(struct mgr_object *hmgr_obj)
  *      Enumerate and get configuration information about nodes configured
  *      in the node database.
  */
-int mgr_enum_node_info(u32 node_id, OUT struct dsp_ndbprops *pndb_props,
-                             u32 undb_props_size, OUT u32 *pu_num_nodes)
+int mgr_enum_node_info(u32 node_id, struct dsp_ndbprops *pndb_props,
+                             u32 undb_props_size, u32 *pu_num_nodes)
 {
        int status = 0;
        struct dsp_uuid node_uuid, temp_uuid;
@@ -178,9 +178,9 @@ func_cont:
  *      DSP processors.
  */
 int mgr_enum_processor_info(u32 processor_id,
-                                  OUT struct dsp_processorinfo *
+                                  struct dsp_processorinfo *
                                   processor_info, u32 processor_info_size,
-                                  OUT u8 *pu_num_procs)
+                                  u8 *pu_num_procs)
 {
        int status = 0;
        int status1 = 0;
@@ -305,7 +305,7 @@ void mgr_exit(void)
  *      Retrieves the MGR handle. Accessor Function.
  */
 int mgr_get_dcd_handle(struct mgr_object *mgr_handle,
-                             OUT u32 *dcd_handle)
+                             u32 *dcd_handle)
 {
        int status = -EPERM;
        struct mgr_object *pmgr_obj = (struct mgr_object *)mgr_handle;
@@ -355,7 +355,7 @@ bool mgr_init(void)
  *      Block on any Bridge event(s)
  */
 int mgr_wait_for_bridge_events(struct dsp_notification **anotifications,
-                                     u32 count, OUT u32 *pu_index,
+                                     u32 count, u32 *pu_index,
                                      u32 utimeout)
 {
        int status;
index e35ee7df634b8e22581b969f64c13b188a92c365..6cf0be98b8b563a2746985b0066819b46d847385 100644 (file)
@@ -326,7 +326,7 @@ static u32 find_gcf(u32 a, u32 b);
  */
 int nldr_allocate(struct nldr_object *nldr_obj, void *priv_ref,
                         const struct dcd_nodeprops *node_props,
-                        OUT struct nldr_nodeobject **nldr_nodeobj,
+                        struct nldr_nodeobject **nldr_nodeobj,
                         bool *pf_phase_split)
 {
        struct nldr_nodeobject *nldr_node_obj = NULL;
@@ -425,7 +425,7 @@ int nldr_allocate(struct nldr_object *nldr_obj, void *priv_ref,
 /*
  *  ======== nldr_create ========
  */
-int nldr_create(OUT struct nldr_object **nldr,
+int nldr_create(struct nldr_object **nldr,
                       struct dev_object *hdev_obj,
                       const struct nldr_attrs *pattrs)
 {
@@ -776,7 +776,7 @@ int nldr_get_fxn_addr(struct nldr_nodeobject *nldr_node_obj,
  *  Given a NLDR object, retrieve RMM Manager Handle
  */
 int nldr_get_rmm_manager(struct nldr_object *nldr,
-                               OUT struct rmm_target_obj **rmm_mgr)
+                               struct rmm_target_obj **rmm_mgr)
 {
        int status = 0;
        struct nldr_object *nldr_obj = nldr;
index 069ee9e5e28ccb6fc85d897270c71e9aefc2f8f0..9f07c81fd1f106eff79eb16655d669466eb16bb6 100644 (file)
@@ -294,7 +294,7 @@ int node_allocate(struct proc_object *hprocessor,
                         const struct dsp_uuid *node_uuid,
                         const struct dsp_cbdata *pargs,
                         const struct dsp_nodeattrin *attr_in,
-                        OUT struct node_object **ph_node,
+                        struct node_object **ph_node,
                         struct process_context *pr_ctxt)
 {
        struct node_mgr *hnode_mgr;
@@ -685,8 +685,8 @@ func_end:
  *      Allocates buffer for zero copy messaging.
  */
 DBAPI node_alloc_msg_buf(struct node_object *hnode, u32 usize,
-                        OUT struct dsp_bufferattr *pattr,
-                        OUT u8 **pbuffer)
+                        struct dsp_bufferattr *pattr,
+                        u8 **pbuffer)
 {
        struct node_object *pnode = (struct node_object *)hnode;
        int status = 0;
@@ -1300,7 +1300,7 @@ func_end:
  *  Purpose:
  *      Create a NODE Manager object.
  */
-int node_create_mgr(OUT struct node_mgr **node_man,
+int node_create_mgr(struct node_mgr **node_man,
                           struct dev_object *hdev_obj)
 {
        u32 i;
@@ -1613,8 +1613,8 @@ int node_delete_mgr(struct node_mgr *hnode_mgr)
  *      Enumerate currently allocated nodes.
  */
 int node_enum_nodes(struct node_mgr *hnode_mgr, void **node_tab,
-                          u32 node_tab_size, OUT u32 *pu_num_nodes,
-                          OUT u32 *pu_allocated)
+                          u32 node_tab_size, u32 *pu_num_nodes,
+                          u32 *pu_allocated)
 {
        struct node_object *hnode;
        u32 i;
@@ -1716,7 +1716,7 @@ func_end:
  *      structure.
  */
 int node_get_attr(struct node_object *hnode,
-                        OUT struct dsp_nodeattr *pattr, u32 attr_size)
+                        struct dsp_nodeattr *pattr, u32 attr_size)
 {
        struct node_mgr *hnode_mgr;
        int status = 0;
@@ -1760,7 +1760,7 @@ int node_get_attr(struct node_object *hnode,
  *      host and a node.
  */
 int node_get_channel_id(struct node_object *hnode, u32 dir, u32 index,
-                              OUT u32 *chan_id)
+                              u32 *chan_id)
 {
        enum node_type node_type;
        int status = -EINVAL;
@@ -1802,7 +1802,7 @@ int node_get_channel_id(struct node_object *hnode, u32 dir, u32 index,
  *      Retrieve a message from a node on the DSP.
  */
 int node_get_message(struct node_object *hnode,
-                           OUT struct dsp_msg *message, u32 utimeout)
+                           struct dsp_msg *message, u32 utimeout)
 {
        struct node_mgr *hnode_mgr;
        enum node_type node_type;
@@ -2365,7 +2365,7 @@ func_end:
  *      Signal a node running on the DSP that it should exit its execute phase
  *      function.
  */
-int node_terminate(struct node_object *hnode, OUT int *pstatus)
+int node_terminate(struct node_object *hnode, int *pstatus)
 {
        struct node_object *pnode = (struct node_object *)hnode;
        struct node_mgr *hnode_mgr = NULL;
@@ -3005,7 +3005,7 @@ static int get_proc_props(struct node_mgr *hnode_mgr,
  */
 int node_get_uuid_props(void *hprocessor,
                               const struct dsp_uuid *node_uuid,
-                              OUT struct dsp_ndbprops *node_props)
+                              struct dsp_ndbprops *node_props)
 {
        struct node_mgr *hnode_mgr = NULL;
        struct dev_object *hdev_obj;
index be137ad39a7cfd2bdb363629bb704deca09abf17..4d3db7ed9ea52303f610eab52e566075163ea6b9 100644 (file)
@@ -582,8 +582,8 @@ int proc_detach(struct process_context *pr_ctxt)
  *      on a DSP processor.
  */
 int proc_enum_nodes(void *hprocessor, void **node_tab,
-                          u32 node_tab_size, OUT u32 *pu_num_nodes,
-                          OUT u32 *pu_allocated)
+                          u32 node_tab_size, u32 *pu_num_nodes,
+                          u32 *pu_allocated)
 {
        int status = -EPERM;
        struct proc_object *p_proc_object = (struct proc_object *)hprocessor;
@@ -849,7 +849,7 @@ int proc_invalidate_memory(void *hprocessor, void *pmpu_addr, u32 size)
  *      Enumerate the resources currently available on a processor.
  */
 int proc_get_resource_info(void *hprocessor, u32 resource_type,
-                                 OUT struct dsp_resourceinfo *resource_info,
+                                 struct dsp_resourceinfo *resource_info,
                                  u32 resource_info_size)
 {
        int status = -EPERM;
@@ -964,7 +964,7 @@ int proc_get_dev_object(void *hprocessor,
  *      Report the state of the specified DSP processor.
  */
 int proc_get_state(void *hprocessor,
-                         OUT struct dsp_processorstate *proc_state_obj,
+                         struct dsp_processorstate *proc_state_obj,
                          u32 state_info_size)
 {
        int status = 0;
index a439053c1e19e01dcc6b92d2de6cfad96a21b70a..73888e37385f2975d748af65fb5cc95aabe51a75 100644 (file)
@@ -98,7 +98,7 @@ static void delete_strm_mgr(struct strm_mgr *strm_mgr_obj);
  *      Allocates buffers for a stream.
  */
 int strm_allocate_buffer(struct strm_object *stream_obj, u32 usize,
-                               OUT u8 **ap_buffer, u32 num_bufs,
+                               u8 **ap_buffer, u32 num_bufs,
                                struct process_context *pr_ctxt)
 {
        int status = 0;
@@ -201,7 +201,7 @@ func_end:
  *  Purpose:
  *      Create a STRM manager object.
  */
-int strm_create(OUT struct strm_mgr **strm_man,
+int strm_create(struct strm_mgr **strm_man,
                       struct dev_object *dev_obj)
 {
        struct strm_mgr *strm_mgr_obj;
@@ -310,7 +310,7 @@ int strm_free_buffer(struct strm_object *stream_obj, u8 ** ap_buffer,
  *      Retrieves information about a stream.
  */
 int strm_get_info(struct strm_object *stream_obj,
-                        OUT struct stream_info *stream_info,
+                        struct stream_info *stream_info,
                         u32 stream_info_size)
 {
        struct bridge_drv_interface *intf_fxns;
@@ -469,7 +469,7 @@ int strm_issue(struct strm_object *stream_obj, u8 *pbuf, u32 ul_bytes,
  */
 int strm_open(struct node_object *hnode, u32 dir, u32 index,
                     struct strm_attr *pattr,
-                    OUT struct strm_object **strm_objct,
+                    struct strm_object **strm_objct,
                     struct process_context *pr_ctxt)
 {
        struct strm_mgr *strm_mgr_obj;
@@ -620,7 +620,7 @@ func_cont:
  *  Purpose:
  *      Relcaims a buffer from a stream.
  */
-int strm_reclaim(struct strm_object *stream_obj, OUT u8 ** buf_ptr,
+int strm_reclaim(struct strm_object *stream_obj, u8 ** buf_ptr,
                        u32 *nbytes, u32 *buff_size, u32 *pdw_arg)
 {
        struct bridge_drv_interface *intf_fxns;
@@ -747,7 +747,7 @@ int strm_register_notify(struct strm_object *stream_obj, u32 event_mask,
  *      Selects a ready stream.
  */
 int strm_select(struct strm_object **strm_tab, u32 strms,
-                      OUT u32 *pmask, u32 utimeout)
+                      u32 *pmask, u32 utimeout)
 {
        u32 index;
        struct chnl_info chnl_info_obj;
index f7e5e7f7f495bbe04eb36c9c9919caaa877333ac..4ab3cd748fc94683025b88d114e4ea3a6b7138c3 100644 (file)
@@ -51,7 +51,7 @@ void cfg_exit(void)
  *      Retreive the autostart mask, if any, for this board.
  */
 int cfg_get_auto_start(struct cfg_devnode *dev_node_obj,
-                             OUT u32 *auto_start)
+                             u32 *auto_start)
 {
        int status = 0;
        u32 dw_buf_size;
@@ -77,7 +77,7 @@ int cfg_get_auto_start(struct cfg_devnode *dev_node_obj,
  *      Retrieve the Device Object handle for a given devnode.
  */
 int cfg_get_dev_object(struct cfg_devnode *dev_node_obj,
-                             OUT u32 *value)
+                             u32 *value)
 {
        int status = 0;
        u32 dw_buf_size;
@@ -113,7 +113,7 @@ int cfg_get_dev_object(struct cfg_devnode *dev_node_obj,
  *      Retreive the default executable, if any, for this board.
  */
 int cfg_get_exec_file(struct cfg_devnode *dev_node_obj, u32 buf_size,
-                            OUT char *str_exec_file)
+                            char *str_exec_file)
 {
        int status = 0;
        struct drv_data *drv_datap = dev_get_drvdata(bridge);
@@ -143,7 +143,7 @@ int cfg_get_exec_file(struct cfg_devnode *dev_node_obj, u32 buf_size,
  *  Purpose:
  *      Retrieve the Object handle from the Registry
  */
-int cfg_get_object(OUT u32 *value, u8 dw_type)
+int cfg_get_object(u32 *value, u8 dw_type)
 {
        int status = -EINVAL;
        struct drv_data *drv_datap = dev_get_drvdata(bridge);