@@ -23,8 +23,8 @@
#ifndef _CHNL_SM_
#define _CHNL_SM_
-#include <dspbridge/wcd.h>
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspapi.h>
+#include <dspbridge/dspdefs.h>
#include <dspbridge/list.h>
#include <dspbridge/ntfy.h>
@@ -20,7 +20,7 @@
#ifndef _WCD_
#define _WCD_
-#include <dspbridge/wcdioctl.h>
+#include <dspbridge/dspapi-ioctl.h>
/*
* ======== api_call_dev_ioctl ========
@@ -26,7 +26,7 @@
#include <dspbridge/dehdefs.h>
#include <dspbridge/nodedefs.h>
#include <dspbridge/dispdefs.h>
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
#include <dspbridge/dmm.h>
#include <dspbridge/host_os.h>
@@ -3,7 +3,7 @@
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
- * Definition of common include typedef between wmd.h and dev.h. Required
+ * Definition of common include typedef between dspdefs.h and dev.h. Required
* to break circular dependency between WMD and DEV include files.
*
* Copyright (C) 2008 Texas Instruments, Inc.
@@ -3,7 +3,7 @@
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
- * Definition of common struct between wmd.h and drv.h.
+ * Definition of common struct between dspdefs.h and drv.h.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
similarity index 99%
rename from arch/arm/plat-omap/include/dspbridge/wcdioctl.h
rename to arch/arm/plat-omap/include/dspbridge/dspapi-ioctl.h
@@ -1,5 +1,5 @@
/*
- * wcdioctl.h
+ * dspapi-ioctl.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
similarity index 99%
rename from arch/arm/plat-omap/include/dspbridge/wcd.h
rename to arch/arm/plat-omap/include/dspbridge/dspapi.h
@@ -1,5 +1,5 @@
/*
- * wcd.h
+ * dspapi.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
similarity index 97%
rename from arch/arm/plat-omap/include/dspbridge/wmdchnl.h
rename to arch/arm/plat-omap/include/dspbridge/dspchnl.h
@@ -1,5 +1,5 @@
/*
- * wmdchnl.h
+ * dspchnl.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
@@ -8,7 +8,7 @@
* by every class of WMD channel library.
*
* Notes:
- * The function comment headers reside in wmd.h.
+ * The function comment headers reside in dspdefs.h.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
similarity index 99%
rename from arch/arm/plat-omap/include/dspbridge/wmd.h
rename to arch/arm/plat-omap/include/dspbridge/dspdefs.h
@@ -1,5 +1,5 @@
/*
- * wmd.h
+ * dspdefs.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
similarity index 98%
rename from arch/arm/plat-omap/include/dspbridge/wmddeh.h
rename to arch/arm/plat-omap/include/dspbridge/dspdeh.h
@@ -1,5 +1,5 @@
/*
- * wmddeh.h
+ * dspdeh.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
@@ -7,7 +7,7 @@
* interface tables.
*
* Notes:
- * Function comment headers reside with the function typedefs in wmd.h.
+ * Function comment headers reside with the function typedefs in dspdefs.h.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
similarity index 95%
rename from arch/arm/plat-omap/include/dspbridge/wmdio.h
rename to arch/arm/plat-omap/include/dspbridge/dspio.h
@@ -1,5 +1,5 @@
/*
- * wmdio.h
+ * dspio.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
@@ -7,7 +7,7 @@
* driver interface tables.
*
* Notes:
- * Function comment headers reside in wmd.h.
+ * Function comment headers reside in dspdefs.h.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
similarity index 99%
rename from arch/arm/plat-omap/include/dspbridge/wmdioctl.h
rename to arch/arm/plat-omap/include/dspbridge/dspioctl.h
@@ -1,5 +1,5 @@
/*
- * wmdioctl.h
+ * dspioctl.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
similarity index 96%
rename from arch/arm/plat-omap/include/dspbridge/wmdmsg.h
rename to arch/arm/plat-omap/include/dspbridge/dspmsg.h
@@ -1,5 +1,5 @@
/*
- * wmdmsg.h
+ * dspmsg.h
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
@@ -8,7 +8,7 @@
* implemented by every class of WMD channel library.
*
* Notes:
- * Function comment headers reside in wmd.h.
+ * Function comment headers reside in dspdefs.h.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
@@ -8,7 +8,7 @@ libservices = services/sync.o \
libcore = core/chnl_sm.o core/msg_sm.o core/io_sm.o core/tiomap3430.o \
core/tiomap3430_pwr.o core/tiomap_io.o \
core/mmu_fault.o core/ue_deh.o core/wdt.o
-libpmgr = pmgr/chnl.o pmgr/io.o pmgr/msg.o pmgr/cod.o pmgr/dev.o pmgr/wcd.o \
+libpmgr = pmgr/chnl.o pmgr/io.o pmgr/msg.o pmgr/cod.o pmgr/dev.o pmgr/dspapi.o \
pmgr/dmm.o pmgr/cmm.o pmgr/dbll.o
librmgr = rmgr/dbdcd.o rmgr/disp.o rmgr/drv.o rmgr/mgr.o rmgr/node.o \
rmgr/proc.o rmgr/pwr.o rmgr/rmm.o rmgr/strm.o rmgr/dspdrv.o \
@@ -20,7 +20,7 @@
#define _DEH_
#include <dspbridge/ntfy.h>
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/* DEH Manager: only one created per board: */
struct deh_mgr {
@@ -25,7 +25,7 @@
#include <mach-omap2/cm-regbits-34xx.h>
#include <dspbridge/devdefs.h>
#include <hw_defs.h>
-#include <dspbridge/wmdioctl.h> /* for bridge_ioctl_extproc defn */
+#include <dspbridge/dspioctl.h> /* for bridge_ioctl_extproc defn */
#include <dspbridge/sync.h>
#include <dspbridge/clk.h>
@@ -58,8 +58,8 @@
#include <dspbridge/sync.h>
/* ----------------------------------- Mini-Driver */
-#include <dspbridge/wmd.h>
-#include <dspbridge/wmdchnl.h>
+#include <dspbridge/dspdefs.h>
+#include <dspbridge/dspchnl.h>
#include "_tiomap.h"
/* ----------------------------------- Platform Manager */
@@ -47,9 +47,9 @@
#include <hw_mmu.h>
/* Mini Driver */
-#include <dspbridge/wmddeh.h>
-#include <dspbridge/wmdio.h>
-#include <dspbridge/wmdioctl.h>
+#include <dspbridge/dspdeh.h>
+#include <dspbridge/dspio.h>
+#include <dspbridge/dspioctl.h>
#include <dspbridge/wdt.h>
#include <_tiomap.h>
#include <tiomap_io.h>
@@ -29,7 +29,7 @@
#include <dspbridge/drv.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmddeh.h>
+#include <dspbridge/dspdeh.h>
/* ------------------------------------ Hardware Abstraction Layer */
#include <hw_defs.h>
@@ -36,7 +36,7 @@
/* ----------------------------------- This */
#include <_msg_sm.h>
-#include <dspbridge/wmdmsg.h>
+#include <dspbridge/dspmsg.h>
/* ----------------------------------- Function Prototypes */
static dsp_status add_new_msg(struct lst_list *msgList);
@@ -41,17 +41,17 @@
#include <hw_mmu.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmd.h>
-#include <dspbridge/wmdchnl.h>
-#include <dspbridge/wmddeh.h>
-#include <dspbridge/wmdio.h>
-#include <dspbridge/wmdmsg.h>
+#include <dspbridge/dspdefs.h>
+#include <dspbridge/dspchnl.h>
+#include <dspbridge/dspdeh.h>
+#include <dspbridge/dspio.h>
+#include <dspbridge/dspmsg.h>
#include <dspbridge/pwr.h>
#include <dspbridge/io_sm.h>
/* ----------------------------------- Platform Manager */
#include <dspbridge/dev.h>
-#include <dspbridge/wcd.h>
+#include <dspbridge/dspapi.h>
#include <dspbridge/dmm.h>
#include <dspbridge/wdt.h>
@@ -35,7 +35,7 @@
#include <dspbridge/pwr_sh.h>
/* ----------------------------------- Mini Driver */
-#include <dspbridge/wmddeh.h>
+#include <dspbridge/dspdeh.h>
#include <dspbridge/wdt.h>
/* ----------------------------------- specific to this file */
@@ -33,11 +33,11 @@
#include <dspbridge/drv.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmddeh.h>
+#include <dspbridge/dspdeh.h>
/* ----------------------------------- Platform Manager */
#include <dspbridge/dev.h>
-#include <dspbridge/wcd.h>
+#include <dspbridge/dspapi.h>
#include <dspbridge/wdt.h>
/* ------------------------------------ Hardware Abstraction Layer */
@@ -19,7 +19,7 @@
#include <dspbridge/std.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/errbase.h>
-#include <dspbridge/wmddeh.h>
+#include <dspbridge/dspdeh.h>
#include <dspbridge/dev.h>
#include <dspbridge/_chnl_sm.h>
#include <dspbridge/wdt.h>
@@ -21,7 +21,7 @@
#define CHNLOBJ_
#include <dspbridge/chnldefs.h>
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/*
* This struct is the first field in a chnl_mgr struct, as implemented in
@@ -43,7 +43,7 @@
#include <dspbridge/node.h>
/* ----------------------------------- Others */
-#include <dspbridge/wcd.h> /* WCD version info. */
+#include <dspbridge/dspapi.h> /* WCD version info. */
#include <dspbridge/chnl.h>
#include <dspbridge/io.h>
similarity index 99%
rename from drivers/dsp/bridge/pmgr/wcd.c
rename to drivers/dsp/bridge/pmgr/dspapi.c
@@ -1,5 +1,5 @@
/*
- * wcd.c
+ * dspapi.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
@@ -80,7 +80,7 @@ static u32 api_c_refs;
/*
* Function tables.
* The order of these functions MUST be the same as the order of the command
- * numbers defined in wcdioctl.h This is how an IOCTL number in user mode
+ * numbers defined in dspapi-ioctl.h This is how an IOCTL number in user mode
* turns into a function call in kernel mode.
*/
@@ -21,7 +21,7 @@
#define IOOBJ_
#include <dspbridge/devdefs.h>
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/*
* This struct is the first field in a io_mgr struct, as implemented in
@@ -28,7 +28,7 @@
#include <dspbridge/dbc.h>
/* ----------------------------------- Mini Driver */
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/* ----------------------------------- Platform Manager */
#include <dspbridge/dev.h>
@@ -20,7 +20,7 @@
#ifndef MSGOBJ_
#define MSGOBJ_
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
#include <dspbridge/msgdefs.h>
@@ -32,7 +32,7 @@
#include <dspbridge/sync.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/* ----------------------------------- Platform Manager */
#include <dspbridge/dev.h>
@@ -40,7 +40,7 @@
#include <dspbridge/proc.h>
#include <dspbridge/strm.h>
#include <dspbridge/nodepriv.h>
-#include <dspbridge/wmdchnl.h>
+#include <dspbridge/dspchnl.h>
#include <dspbridge/resourcecleanup.h>
/* ----------------------------------- Defines, Data Structures, Typedefs */
@@ -45,7 +45,7 @@
#include <dspbridge/reg.h>
/* ----------------------------------- Platform Manager */
-#include <dspbridge/wcdioctl.h>
+#include <dspbridge/dspapi-ioctl.h>
#include <dspbridge/_dcd.h>
#include <dspbridge/dspdrv.h>
@@ -48,8 +48,8 @@
#include <dspbridge/rms_sh.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmd.h>
-#include <dspbridge/wmdioctl.h>
+#include <dspbridge/dspdefs.h>
+#include <dspbridge/dspioctl.h>
/* ----------------------------------- Others */
#include <dspbridge/gb.h>
@@ -33,8 +33,8 @@
#include <dspbridge/ntfy.h>
#include <dspbridge/sync.h>
/* ----------------------------------- Mini Driver */
-#include <dspbridge/wmd.h>
-#include <dspbridge/wmddeh.h>
+#include <dspbridge/dspdefs.h>
+#include <dspbridge/dspdeh.h>
/* ----------------------------------- Platform Manager */
#include <dspbridge/cod.h>
#include <dspbridge/dev.h>
@@ -50,7 +50,7 @@
/* ----------------------------------- Others */
#include <dspbridge/dbdcd.h>
#include <dspbridge/msg.h>
-#include <dspbridge/wmdioctl.h>
+#include <dspbridge/dspioctl.h>
#include <dspbridge/drv.h>
#include <dspbridge/reg.h>
@@ -30,7 +30,7 @@
#include <dspbridge/dev.h>
/* ----------------------------------- Link Driver */
-#include <dspbridge/wmdioctl.h>
+#include <dspbridge/dspioctl.h>
/*
* ======== pwr_sleep_dsp ========
@@ -31,7 +31,7 @@
#include <dspbridge/sync.h>
/* ----------------------------------- Mini Driver */
-#include <dspbridge/wmd.h>
+#include <dspbridge/dspdefs.h>
/* ----------------------------------- Resource Manager */
#include <dspbridge/nodepriv.h>