aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/abe/abe_dm_addr.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-02-03 18:26:41 +0000
committerColin Cross <ccross@android.com>2011-06-14 10:07:00 -0700
commit8099b178d464039d8706bf6026073f809b49dc3b (patch)
tree2be0842688e2225779e7d1886c479c6e9da058f9 /sound/soc/omap/abe/abe_dm_addr.h
parent35937beecd4e2cdc1d7819d0987f6d6490e3852b (diff)
downloadkernel_samsung_tuna-8099b178d464039d8706bf6026073f809b49dc3b.zip
kernel_samsung_tuna-8099b178d464039d8706bf6026073f809b49dc3b.tar.gz
kernel_samsung_tuna-8099b178d464039d8706bf6026073f809b49dc3b.tar.bz2
ASoC: ABE HAL: Add ABE HAL 09.11
Add initial support for ABE HAL, based on version 09.11. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound/soc/omap/abe/abe_dm_addr.h')
-rw-r--r--sound/soc/omap/abe/abe_dm_addr.h360
1 files changed, 360 insertions, 0 deletions
diff --git a/sound/soc/omap/abe/abe_dm_addr.h b/sound/soc/omap/abe/abe_dm_addr.h
new file mode 100644
index 0000000..5d10e11
--- /dev/null
+++ b/sound/soc/omap/abe/abe_dm_addr.h
@@ -0,0 +1,360 @@
+/*
+
+ This file is provided under a dual BSD/GPLv2 license. When using or
+ redistributing this file, you may do so under either license.
+
+ GPL LICENSE SUMMARY
+
+ Copyright(c) 2010-2011 Texas Instruments Incorporated,
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of version 2 of the GNU General Public License as
+ published by the Free Software Foundation.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ The full GNU General Public License is included in this distribution
+ in the file called LICENSE.GPL.
+
+ BSD LICENSE
+
+ Copyright(c) 2010-2011 Texas Instruments Incorporated,
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ * Neither the name of Texas Instruments Incorporated nor the names of
+ its contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+*/
+
+#define OMAP_ABE_D_ATCDESCRIPTORS_ADDR 0x0
+#define OMAP_ABE_D_ATCDESCRIPTORS_SIZE 0x200
+
+#define OMAP_ABE_STACK_ADDR 0x200
+#define OMAP_ABE_STACK_SIZE 0x70
+
+#define OMAP_ABE_D_VERSION_ADDR 0x270
+#define OMAP_ABE_D_VERSION_SIZE 0x4
+
+#define OMAP_ABE_D_BT_DL_FIFO_ADDR 0x400
+#define OMAP_ABE_D_BT_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_BT_UL_FIFO_ADDR 0x600
+#define OMAP_ABE_D_BT_UL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MM_EXT_OUT_FIFO_ADDR 0x800
+#define OMAP_ABE_D_MM_EXT_OUT_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MM_EXT_IN_FIFO_ADDR 0xA00
+#define OMAP_ABE_D_MM_EXT_IN_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MM_UL2_FIFO_ADDR 0xC00
+#define OMAP_ABE_D_MM_UL2_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_VX_UL_FIFO_ADDR 0xE00
+#define OMAP_ABE_D_VX_UL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_VX_DL_FIFO_ADDR 0x1000
+#define OMAP_ABE_D_VX_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_DMIC_UL_FIFO_ADDR 0x1200
+#define OMAP_ABE_D_DMIC_UL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MM_UL_FIFO_ADDR 0x1400
+#define OMAP_ABE_D_MM_UL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MM_DL_FIFO_ADDR 0x1600
+#define OMAP_ABE_D_MM_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_TONES_DL_FIFO_ADDR 0x1800
+#define OMAP_ABE_D_TONES_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_VIB_DL_FIFO_ADDR 0x1A00
+#define OMAP_ABE_D_VIB_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MCPDM_DL_FIFO_ADDR 0x1C00
+#define OMAP_ABE_D_MCPDM_DL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_MCPDM_UL_FIFO_ADDR 0x1E00
+#define OMAP_ABE_D_MCPDM_UL_FIFO_SIZE 0x1E0
+
+#define OMAP_ABE_D_DEBUG_FIFO_ADDR 0x1FE0
+#define OMAP_ABE_D_DEBUG_FIFO_SIZE 0x60
+
+#define OMAP_ABE_D_DEBUG_FIFO_HAL_ADDR 0x2040
+#define OMAP_ABE_D_DEBUG_FIFO_HAL_SIZE 0x20
+
+#define OMAP_ABE_D_IODESCR_ADDR 0x2060
+#define OMAP_ABE_D_IODESCR_SIZE 0x280
+
+#define OMAP_ABE_D_ZERO_ADDR 0x22E0
+#define OMAP_ABE_D_ZERO_SIZE 0x4
+
+#define OMAP_ABE_DBG_TRACE1_ADDR 0x22E4
+#define OMAP_ABE_DBG_TRACE1_SIZE 0x1
+
+#define OMAP_ABE_DBG_TRACE2_ADDR 0x22E5
+#define OMAP_ABE_DBG_TRACE2_SIZE 0x1
+
+#define OMAP_ABE_DBG_TRACE3_ADDR 0x22E6
+#define OMAP_ABE_DBG_TRACE3_SIZE 0x1
+
+#define OMAP_ABE_D_MULTIFRAME_ADDR 0x22E8
+#define OMAP_ABE_D_MULTIFRAME_SIZE 0x190
+
+#define OMAP_ABE_D_TASKSLIST_ADDR 0x2478
+#define OMAP_ABE_D_TASKSLIST_SIZE 0x800
+
+#define OMAP_ABE_D_IDLETASK_ADDR 0x2C78
+#define OMAP_ABE_D_IDLETASK_SIZE 0x2
+
+#define OMAP_ABE_D_TYPELENGTHCHECK_ADDR 0x2C7A
+#define OMAP_ABE_D_TYPELENGTHCHECK_SIZE 0x2
+
+#define OMAP_ABE_D_MAXTASKBYTESINSLOT_ADDR 0x2C7C
+#define OMAP_ABE_D_MAXTASKBYTESINSLOT_SIZE 0x2
+
+#define OMAP_ABE_D_REWINDTASKBYTES_ADDR 0x2C7E
+#define OMAP_ABE_D_REWINDTASKBYTES_SIZE 0x2
+
+#define OMAP_ABE_D_PCURRENTTASK_ADDR 0x2C80
+#define OMAP_ABE_D_PCURRENTTASK_SIZE 0x2
+
+#define OMAP_ABE_D_PFASTLOOPBACK_ADDR 0x2C82
+#define OMAP_ABE_D_PFASTLOOPBACK_SIZE 0x2
+
+#define OMAP_ABE_D_PNEXTFASTLOOPBACK_ADDR 0x2C84
+#define OMAP_ABE_D_PNEXTFASTLOOPBACK_SIZE 0x4
+
+#define OMAP_ABE_D_PPCURRENTTASK_ADDR 0x2C88
+#define OMAP_ABE_D_PPCURRENTTASK_SIZE 0x2
+
+#define OMAP_ABE_D_SLOTCOUNTER_ADDR 0x2C8C
+#define OMAP_ABE_D_SLOTCOUNTER_SIZE 0x2
+
+#define OMAP_ABE_D_LOOPCOUNTER_ADDR 0x2C90
+#define OMAP_ABE_D_LOOPCOUNTER_SIZE 0x4
+
+#define OMAP_ABE_D_REWINDFLAG_ADDR 0x2C94
+#define OMAP_ABE_D_REWINDFLAG_SIZE 0x2
+
+#define OMAP_ABE_D_SLOT23_CTRL_ADDR 0x2C98
+#define OMAP_ABE_D_SLOT23_CTRL_SIZE 0x4
+
+#define OMAP_ABE_D_MCUIRQFIFO_ADDR 0x2C9C
+#define OMAP_ABE_D_MCUIRQFIFO_SIZE 0x40
+
+#define OMAP_ABE_D_PINGPONGDESC_ADDR 0x2CDC
+#define OMAP_ABE_D_PINGPONGDESC_SIZE 0x18
+
+#define OMAP_ABE_D_PP_MCU_IRQ_ADDR 0x2CF4
+#define OMAP_ABE_D_PP_MCU_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_CTRLPORTFIFO_ADDR 0x2D00
+#define OMAP_ABE_D_CTRLPORTFIFO_SIZE 0x10
+
+#define OMAP_ABE_D_IDLE_STATE_ADDR 0x2D10
+#define OMAP_ABE_D_IDLE_STATE_SIZE 0x4
+
+#define OMAP_ABE_D_STOP_REQUEST_ADDR 0x2D14
+#define OMAP_ABE_D_STOP_REQUEST_SIZE 0x4
+
+#define OMAP_ABE_D_REF0_ADDR 0x2D18
+#define OMAP_ABE_D_REF0_SIZE 0x2
+
+#define OMAP_ABE_D_DEBUGREGISTER_ADDR 0x2D1C
+#define OMAP_ABE_D_DEBUGREGISTER_SIZE 0x8C
+
+#define OMAP_ABE_D_GCOUNT_ADDR 0x2DA8
+#define OMAP_ABE_D_GCOUNT_SIZE 0x2
+
+#define OMAP_ABE_D_DCCOUNTER_ADDR 0x2DAC
+#define OMAP_ABE_D_DCCOUNTER_SIZE 0x4
+
+#define OMAP_ABE_D_DCSUM_ADDR 0x2DB0
+#define OMAP_ABE_D_DCSUM_SIZE 0x8
+
+#define OMAP_ABE_D_FASTCOUNTER_ADDR 0x2DB8
+#define OMAP_ABE_D_FASTCOUNTER_SIZE 0x4
+
+#define OMAP_ABE_D_SLOWCOUNTER_ADDR 0x2DBC
+#define OMAP_ABE_D_SLOWCOUNTER_SIZE 0x4
+
+#define OMAP_ABE_D_AUPLINKROUTING_ADDR 0x2DC0
+#define OMAP_ABE_D_AUPLINKROUTING_SIZE 0x20
+
+#define OMAP_ABE_D_VIRTAUDIOLOOP_ADDR 0x2DE0
+#define OMAP_ABE_D_VIRTAUDIOLOOP_SIZE 0x4
+
+#define OMAP_ABE_D_ASRCVARS_DL_VX_ADDR 0x2DE4
+#define OMAP_ABE_D_ASRCVARS_DL_VX_SIZE 0x20
+
+#define OMAP_ABE_D_ASRCVARS_UL_VX_ADDR 0x2E04
+#define OMAP_ABE_D_ASRCVARS_UL_VX_SIZE 0x20
+
+#define OMAP_ABE_D_COEFADDRESSES_VX_ADDR 0x2E24
+#define OMAP_ABE_D_COEFADDRESSES_VX_SIZE 0x20
+
+#define OMAP_ABE_D_ASRCVARS_MM_EXT_IN_ADDR 0x2E44
+#define OMAP_ABE_D_ASRCVARS_MM_EXT_IN_SIZE 0x20
+
+#define OMAP_ABE_D_COEFADDRESSES_MM_ADDR 0x2E64
+#define OMAP_ABE_D_COEFADDRESSES_MM_SIZE 0x20
+
+#define OMAP_ABE_D_APS_DL1_M_THRESHOLDS_ADDR 0x2E84
+#define OMAP_ABE_D_APS_DL1_M_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL1_M_IRQ_ADDR 0x2E8C
+#define OMAP_ABE_D_APS_DL1_M_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_APS_DL1_C_IRQ_ADDR 0x2E8E
+#define OMAP_ABE_D_APS_DL1_C_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_TRACEBUFADR_ADDR 0x2E90
+#define OMAP_ABE_D_TRACEBUFADR_SIZE 0x2
+
+#define OMAP_ABE_D_TRACEBUFOFFSET_ADDR 0x2E92
+#define OMAP_ABE_D_TRACEBUFOFFSET_SIZE 0x2
+
+#define OMAP_ABE_D_TRACEBUFLENGTH_ADDR 0x2E94
+#define OMAP_ABE_D_TRACEBUFLENGTH_SIZE 0x2
+
+#define OMAP_ABE_D_ASRCVARS_ECHO_REF_ADDR 0x2E98
+#define OMAP_ABE_D_ASRCVARS_ECHO_REF_SIZE 0x20
+
+#define OMAP_ABE_D_PEMPTY_ADDR 0x2EB8
+#define OMAP_ABE_D_PEMPTY_SIZE 0x4
+
+#define OMAP_ABE_D_APS_DL2_L_M_IRQ_ADDR 0x2EBC
+#define OMAP_ABE_D_APS_DL2_L_M_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_APS_DL2_L_C_IRQ_ADDR 0x2EBE
+#define OMAP_ABE_D_APS_DL2_L_C_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_APS_DL2_R_M_IRQ_ADDR 0x2EC0
+#define OMAP_ABE_D_APS_DL2_R_M_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_APS_DL2_R_C_IRQ_ADDR 0x2EC2
+#define OMAP_ABE_D_APS_DL2_R_C_IRQ_SIZE 0x2
+
+#define OMAP_ABE_D_APS_DL1_C_THRESHOLDS_ADDR 0x2EC4
+#define OMAP_ABE_D_APS_DL1_C_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_L_M_THRESHOLDS_ADDR 0x2ECC
+#define OMAP_ABE_D_APS_DL2_L_M_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_L_C_THRESHOLDS_ADDR 0x2ED4
+#define OMAP_ABE_D_APS_DL2_L_C_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_R_M_THRESHOLDS_ADDR 0x2EDC
+#define OMAP_ABE_D_APS_DL2_R_M_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_R_C_THRESHOLDS_ADDR 0x2EE4
+#define OMAP_ABE_D_APS_DL2_R_C_THRESHOLDS_SIZE 0x8
+
+#define OMAP_ABE_D_ECHO_REF_48_16_WRAP_ADDR 0x2EEC
+#define OMAP_ABE_D_ECHO_REF_48_16_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_ECHO_REF_48_8_WRAP_ADDR 0x2EF4
+#define OMAP_ABE_D_ECHO_REF_48_8_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_BT_UL_16_48_WRAP_ADDR 0x2EFC
+#define OMAP_ABE_D_BT_UL_16_48_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_BT_UL_8_48_WRAP_ADDR 0x2F04
+#define OMAP_ABE_D_BT_UL_8_48_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_BT_DL_48_16_WRAP_ADDR 0x2F0C
+#define OMAP_ABE_D_BT_DL_48_16_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_BT_DL_48_8_WRAP_ADDR 0x2F14
+#define OMAP_ABE_D_BT_DL_48_8_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_VX_DL_16_48_WRAP_ADDR 0x2F1C
+#define OMAP_ABE_D_VX_DL_16_48_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_VX_DL_8_48_WRAP_ADDR 0x2F24
+#define OMAP_ABE_D_VX_DL_8_48_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_VX_UL_48_16_WRAP_ADDR 0x2F2C
+#define OMAP_ABE_D_VX_UL_48_16_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_VX_UL_48_8_WRAP_ADDR 0x2F34
+#define OMAP_ABE_D_VX_UL_48_8_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL1_IRQS_WRAP_ADDR 0x2F3C
+#define OMAP_ABE_D_APS_DL1_IRQS_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_L_IRQS_WRAP_ADDR 0x2F44
+#define OMAP_ABE_D_APS_DL2_L_IRQS_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_APS_DL2_R_IRQS_WRAP_ADDR 0x2F4C
+#define OMAP_ABE_D_APS_DL2_R_IRQS_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_NEXTMULTIFRAME_ADDR 0x2F54
+#define OMAP_ABE_D_NEXTMULTIFRAME_SIZE 0x8
+
+#define OMAP_ABE_D_HW_TEST_ADDR 0x2F5C
+#define OMAP_ABE_D_HW_TEST_SIZE 0x8
+
+#define OMAP_ABE_D_TRACEBUFADR_HAL_ADDR 0x2F64
+#define OMAP_ABE_D_TRACEBUFADR_HAL_SIZE 0x4
+
+#define OMAP_ABE_D_DEBUG_HAL_TASK_ADDR 0x3000
+#define OMAP_ABE_D_DEBUG_HAL_TASK_SIZE 0x800
+
+#define OMAP_ABE_D_DEBUG_FW_TASK_ADDR 0x3800
+#define OMAP_ABE_D_DEBUG_FW_TASK_SIZE 0x100
+
+#define OMAP_ABE_D_FWMEMINIT_ADDR 0x3900
+#define OMAP_ABE_D_FWMEMINIT_SIZE 0x3C0
+
+#define OMAP_ABE_D_FWMEMINITDESCR_ADDR 0x3CC0
+#define OMAP_ABE_D_FWMEMINITDESCR_SIZE 0x10
+
+#define OMAP_ABE_D_ASRCVARS_BT_UL_ADDR 0x3CD0
+#define OMAP_ABE_D_ASRCVARS_BT_UL_SIZE 0x20
+
+#define OMAP_ABE_D_ASRCVARS_BT_DL_ADDR 0x3CF0
+#define OMAP_ABE_D_ASRCVARS_BT_DL_SIZE 0x20
+
+#define OMAP_ABE_D_BT_DL_48_8_OPP100_WRAP_ADDR 0x3D10
+#define OMAP_ABE_D_BT_DL_48_8_OPP100_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_BT_DL_48_16_OPP100_WRAP_ADDR 0x3D18
+#define OMAP_ABE_D_BT_DL_48_16_OPP100_WRAP_SIZE 0x8
+
+#define OMAP_ABE_D_PING_ADDR 0x4000
+#define OMAP_ABE_D_PING_SIZE 0x6000
+
+#define OMAP_ABE_D_PONG_ADDR 0xA000
+#define OMAP_ABE_D_PONG_SIZE 0x6000