123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805 |
- /*
- * Copyright (c) 2011-2018, 2020 The Linux Foundation. All rights reserved.
- *
- * Permission to use, copy, modify, and/or distribute this software for
- * any purpose with or without fee is hereby granted, provided that the
- * above copyright notice and this permission notice appear in all
- * copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
- * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
- * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
- * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
- #ifndef _AR6320DEF_H_
- #define _AR6320DEF_H_
- /* Base Addresses */
- #define AR6320_RTC_SOC_BASE_ADDRESS 0x00000000
- #define AR6320_RTC_WMAC_BASE_ADDRESS 0x00001000
- #define AR6320_MAC_COEX_BASE_ADDRESS 0x0000f000
- #define AR6320_BT_COEX_BASE_ADDRESS 0x00002000
- #define AR6320_SOC_CORE_BASE_ADDRESS 0x0003a000
- #define AR6320_WLAN_UART_BASE_ADDRESS 0x0000c000
- #define AR6320_WLAN_SI_BASE_ADDRESS 0x00010000
- #define AR6320_WLAN_GPIO_BASE_ADDRESS 0x00005000
- #define AR6320_WLAN_ANALOG_INTF_BASE_ADDRESS 0x00006000
- #define AR6320_WLAN_MAC_BASE_ADDRESS 0x00010000
- #define AR6320_EFUSE_BASE_ADDRESS 0x00024000
- #define AR6320_FPGA_REG_BASE_ADDRESS 0x00039000
- #define AR6320_WLAN_UART2_BASE_ADDRESS 0x00054c00
- #define AR6320_DBI_BASE_ADDRESS 0x0003c000
- #define AR6320_SCRATCH_3_ADDRESS 0x0028
- #define AR6320_TARG_DRAM_START 0x00400000
- #define AR6320_SOC_SYSTEM_SLEEP_OFFSET 0x000000c0
- #define AR6320_SOC_RESET_CONTROL_OFFSET 0x00000000
- #define AR6320_SOC_CLOCK_CONTROL_OFFSET 0x00000028
- #define AR6320_SOC_CLOCK_CONTROL_SI0_CLK_MASK 0x00000001
- #define AR6320_SOC_RESET_CONTROL_SI0_RST_MASK 0x00000000
- #define AR6320_WLAN_GPIO_PIN0_ADDRESS 0x00000068
- #define AR6320_WLAN_GPIO_PIN1_ADDRESS 0x0000006c
- #define AR6320_WLAN_GPIO_PIN0_CONFIG_MASK 0x00007800
- #define AR6320_WLAN_GPIO_PIN1_CONFIG_MASK 0x00007800
- #define AR6320_SOC_CPU_CLOCK_OFFSET 0x00000020
- #define AR6320_SOC_LPO_CAL_OFFSET 0x000000e0
- #define AR6320_WLAN_GPIO_PIN10_ADDRESS 0x00000090
- #define AR6320_WLAN_GPIO_PIN11_ADDRESS 0x00000094
- #define AR6320_WLAN_GPIO_PIN12_ADDRESS 0x00000098
- #define AR6320_WLAN_GPIO_PIN13_ADDRESS 0x0000009c
- #define AR6320_SOC_CPU_CLOCK_STANDARD_LSB 0
- #define AR6320_SOC_CPU_CLOCK_STANDARD_MASK 0x00000003
- #define AR6320_SOC_LPO_CAL_ENABLE_LSB 20
- #define AR6320_SOC_LPO_CAL_ENABLE_MASK 0x00100000
- #define AR6320_WLAN_SYSTEM_SLEEP_DISABLE_LSB 0
- #define AR6320_WLAN_SYSTEM_SLEEP_DISABLE_MASK 0x00000001
- #define AR6320_WLAN_RESET_CONTROL_COLD_RST_MASK 0x00000008
- #define AR6320_WLAN_RESET_CONTROL_WARM_RST_MASK 0x00000004
- #define AR6320_SI_CONFIG_BIDIR_OD_DATA_LSB 18
- #define AR6320_SI_CONFIG_BIDIR_OD_DATA_MASK 0x00040000
- #define AR6320_SI_CONFIG_I2C_LSB 16
- #define AR6320_SI_CONFIG_I2C_MASK 0x00010000
- #define AR6320_SI_CONFIG_POS_SAMPLE_LSB 7
- #define AR6320_SI_CONFIG_POS_SAMPLE_MASK 0x00000080
- #define AR6320_SI_CONFIG_INACTIVE_CLK_LSB 4
- #define AR6320_SI_CONFIG_INACTIVE_CLK_MASK 0x00000010
- #define AR6320_SI_CONFIG_INACTIVE_DATA_LSB 5
- #define AR6320_SI_CONFIG_INACTIVE_DATA_MASK 0x00000020
- #define AR6320_SI_CONFIG_DIVIDER_LSB 0
- #define AR6320_SI_CONFIG_DIVIDER_MASK 0x0000000f
- #define AR6320_SI_CONFIG_OFFSET 0x00000000
- #define AR6320_SI_TX_DATA0_OFFSET 0x00000008
- #define AR6320_SI_TX_DATA1_OFFSET 0x0000000c
- #define AR6320_SI_RX_DATA0_OFFSET 0x00000010
- #define AR6320_SI_RX_DATA1_OFFSET 0x00000014
- #define AR6320_SI_CS_OFFSET 0x00000004
- #define AR6320_SI_CS_DONE_ERR_MASK 0x00000400
- #define AR6320_SI_CS_DONE_INT_MASK 0x00000200
- #define AR6320_SI_CS_START_LSB 8
- #define AR6320_SI_CS_START_MASK 0x00000100
- #define AR6320_SI_CS_RX_CNT_LSB 4
- #define AR6320_SI_CS_RX_CNT_MASK 0x000000f0
- #define AR6320_SI_CS_TX_CNT_LSB 0
- #define AR6320_SI_CS_TX_CNT_MASK 0x0000000f
- #define AR6320_SR_WR_INDEX_ADDRESS 0x003c
- #define AR6320_DST_WATERMARK_ADDRESS 0x0050
- #define AR6320_RX_MSDU_END_4_FIRST_MSDU_LSB 14
- #define AR6320_RX_MSDU_END_4_FIRST_MSDU_MASK 0x00004000
- #define AR6320_RX_MPDU_START_0_RETRY_LSB 14
- #define AR6320_RX_MPDU_START_0_RETRY_MASK 0x00004000
- #define AR6320_RX_MPDU_START_0_SEQ_NUM_LSB 16
- #define AR6320_RX_MPDU_START_0_SEQ_NUM_MASK 0x0fff0000
- #define AR6320_RX_MPDU_START_2_TID_LSB 28
- #define AR6320_RX_MPDU_START_2_TID_MASK 0xf0000000
- #if (defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI))
- #define AR6320_SOC_PCIE_BASE_ADDRESS 0x00038000
- #define AR6320_CE_WRAPPER_BASE_ADDRESS 0x00034000
- #define AR6320_CE0_BASE_ADDRESS 0x00034400
- #define AR6320_CE1_BASE_ADDRESS 0x00034800
- #define AR6320_CE2_BASE_ADDRESS 0x00034c00
- #define AR6320_CE3_BASE_ADDRESS 0x00035000
- #define AR6320_CE4_BASE_ADDRESS 0x00035400
- #define AR6320_CE5_BASE_ADDRESS 0x00035800
- #define AR6320_CE6_BASE_ADDRESS 0x00035c00
- #define AR6320_CE7_BASE_ADDRESS 0x00036000
- #define AR6320_WLAN_ANALOG_INTF_PCIE_BASE_ADDRESS 0x00007800
- #define AR6320_CE_COUNT 8
- #define AR6320_CE_CTRL1_ADDRESS 0x0010
- #define AR6320_CE_CTRL1_DMAX_LENGTH_MASK 0x0000ffff
- #define AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS 0x0000
- #define AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK 0x0000ff00
- #define AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB 8
- #define AR6320_CE_CTRL1_DMAX_LENGTH_LSB 0
- #define AR6320_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK 0x00010000
- #define AR6320_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK 0x00020000
- #define AR6320_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB 16
- #define AR6320_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB 17
- #define AR6320_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_MASK 0x00000020
- #define AR6320_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_LSB 5
- #define AR6320_PCIE_SOC_WAKE_RESET 0x00000000
- #define AR6320_PCIE_SOC_WAKE_ADDRESS 0x0004
- #define AR6320_PCIE_SOC_WAKE_V_MASK 0x00000001
- #define AR6320_MUX_ID_MASK 0x0000
- #define AR6320_TRANSACTION_ID_MASK 0x3fff
- #define AR6320_PCIE_LOCAL_BASE_ADDRESS 0x80000
- #define AR6320_FW_IND_HELPER 4
- #define AR6320_PCIE_INTR_ENABLE_ADDRESS 0x0008
- #define AR6320_PCIE_INTR_CLR_ADDRESS 0x0014
- #define AR6320_PCIE_INTR_FIRMWARE_MASK 0x00000400
- #define AR6320_PCIE_INTR_CE0_MASK 0x00000800
- #define AR6320_PCIE_INTR_CE_MASK_ALL 0x0007f800
- #define AR6320_PCIE_INTR_CAUSE_ADDRESS 0x000c
- #define AR6320_SOC_RESET_CONTROL_CE_RST_MASK 0x00000001
- #endif
- #define AR6320_RX_MPDU_START_2_PN_47_32_LSB 0
- #define AR6320_RX_MPDU_START_2_PN_47_32_MASK 0x0000ffff
- #define AR6320_RX_MSDU_END_1_KEY_ID_OCT_MASK 0x000000ff
- #define AR6320_RX_MSDU_END_1_KEY_ID_OCT_LSB 0
- #define AR6320_RX_MSDU_END_1_EXT_WAPI_PN_63_48_LSB 16
- #define AR6320_RX_MSDU_END_1_EXT_WAPI_PN_63_48_MASK 0xffff0000
- #define AR6320_RX_MSDU_END_4_LAST_MSDU_LSB 15
- #define AR6320_RX_MSDU_END_4_LAST_MSDU_MASK 0x00008000
- #define AR6320_RX_ATTENTION_0_MCAST_BCAST_LSB 2
- #define AR6320_RX_ATTENTION_0_MCAST_BCAST_MASK 0x00000004
- #define AR6320_RX_ATTENTION_0_FRAGMENT_LSB 13
- #define AR6320_RX_ATTENTION_0_FRAGMENT_MASK 0x00002000
- #define AR6320_RX_ATTENTION_0_MPDU_LENGTH_ERR_MASK 0x08000000
- #define AR6320_RX_FRAG_INFO_0_RING2_MORE_COUNT_LSB 16
- #define AR6320_RX_FRAG_INFO_0_RING2_MORE_COUNT_MASK 0x00ff0000
- #define AR6320_RX_MSDU_START_0_MSDU_LENGTH_LSB 0
- #define AR6320_RX_MSDU_START_0_MSDU_LENGTH_MASK 0x00003fff
- #define AR6320_RX_MSDU_START_2_DECAP_FORMAT_OFFSET 0x00000008
- #define AR6320_RX_MSDU_START_2_DECAP_FORMAT_LSB 8
- #define AR6320_RX_MSDU_START_2_DECAP_FORMAT_MASK 0x00000300
- #define AR6320_RX_MPDU_START_0_ENCRYPTED_LSB 13
- #define AR6320_RX_MPDU_START_0_ENCRYPTED_MASK 0x00002000
- #define AR6320_RX_ATTENTION_0_MORE_DATA_MASK 0x00000400
- #define AR6320_RX_ATTENTION_0_MSDU_DONE_MASK 0x80000000
- #define AR6320_RX_ATTENTION_0_TCP_UDP_CHKSUM_FAIL_MASK 0x00040000
- #define AR6320_DST_WR_INDEX_ADDRESS 0x0040
- #define AR6320_SRC_WATERMARK_ADDRESS 0x004c
- #define AR6320_SRC_WATERMARK_LOW_MASK 0xffff0000
- #define AR6320_SRC_WATERMARK_HIGH_MASK 0x0000ffff
- #define AR6320_DST_WATERMARK_LOW_MASK 0xffff0000
- #define AR6320_DST_WATERMARK_HIGH_MASK 0x0000ffff
- #define AR6320_CURRENT_SRRI_ADDRESS 0x0044
- #define AR6320_CURRENT_DRRI_ADDRESS 0x0048
- #define AR6320_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK 0x00000002
- #define AR6320_HOST_IS_SRC_RING_LOW_WATERMARK_MASK 0x00000004
- #define AR6320_HOST_IS_DST_RING_HIGH_WATERMARK_MASK 0x00000008
- #define AR6320_HOST_IS_DST_RING_LOW_WATERMARK_MASK 0x00000010
- #define AR6320_HOST_IS_ADDRESS 0x0030
- #define AR6320_HOST_IS_COPY_COMPLETE_MASK 0x00000001
- #define AR6320_HOST_IE_ADDRESS 0x002c
- #define AR6320_HOST_IE_COPY_COMPLETE_MASK 0x00000001
- #define AR6320_SR_BA_ADDRESS 0x0000
- #define AR6320_SR_SIZE_ADDRESS 0x0004
- #define AR6320_DR_BA_ADDRESS 0x0008
- #define AR6320_DR_SIZE_ADDRESS 0x000c
- #define AR6320_MISC_IE_ADDRESS 0x0034
- #define AR6320_MISC_IS_AXI_ERR_MASK 0x00000400
- #define AR6320_MISC_IS_DST_ADDR_ERR_MASK 0x00000200
- #define AR6320_MISC_IS_SRC_LEN_ERR_MASK 0x00000100
- #define AR6320_MISC_IS_DST_MAX_LEN_VIO_MASK 0x00000080
- #define AR6320_MISC_IS_DST_RING_OVERFLOW_MASK 0x00000040
- #define AR6320_MISC_IS_SRC_RING_OVERFLOW_MASK 0x00000020
- #define AR6320_SRC_WATERMARK_LOW_LSB 16
- #define AR6320_SRC_WATERMARK_HIGH_LSB 0
- #define AR6320_DST_WATERMARK_LOW_LSB 16
- #define AR6320_DST_WATERMARK_HIGH_LSB 0
- #define AR6320_SOC_GLOBAL_RESET_ADDRESS 0x0008
- #define AR6320_RTC_STATE_ADDRESS 0x0000
- #define AR6320_RTC_STATE_COLD_RESET_MASK 0x00002000
- #define AR6320_RTC_STATE_V_MASK 0x00000007
- #define AR6320_RTC_STATE_V_LSB 0
- #define AR6320_RTC_STATE_V_ON 3
- #define AR6320_FW_IND_EVENT_PENDING 1
- #define AR6320_FW_IND_INITIALIZED 2
- #define AR6320_CPU_INTR_ADDRESS 0x0010
- #define AR6320_SOC_LF_TIMER_CONTROL0_ADDRESS 0x00000050
- #define AR6320_SOC_LF_TIMER_CONTROL0_ENABLE_MASK 0x00000004
- #define AR6320_SOC_LF_TIMER_STATUS0_ADDRESS 0x00000054
- #define AR6320_SOC_RESET_CONTROL_ADDRESS 0x00000000
- #define AR6320_SOC_RESET_CONTROL_CPU_WARM_RST_MASK 0x00000040
- #define AR6320_CORE_CTRL_ADDRESS 0x0000
- #define AR6320_CORE_CTRL_CPU_INTR_MASK 0x00002000
- #define AR6320_LOCAL_SCRATCH_OFFSET 0x000000c0
- #define AR6320_CLOCK_GPIO_OFFSET 0xffffffff
- #define AR6320_CLOCK_GPIO_BT_CLK_OUT_EN_LSB 0
- #define AR6320_CLOCK_GPIO_BT_CLK_OUT_EN_MASK 0
- #define AR6320_SOC_CHIP_ID_ADDRESS 0x000000f0
- #define AR6320_SOC_CHIP_ID_VERSION_MASK 0xfffc0000
- #define AR6320_SOC_CHIP_ID_VERSION_LSB 18
- #define AR6320_SOC_CHIP_ID_REVISION_MASK 0x00000f00
- #define AR6320_SOC_CHIP_ID_REVISION_LSB 8
- #if (defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI))
- #define AR6320_SOC_POWER_REG_OFFSET 0x0000010c
- /* Copy Engine Debug */
- #define AR6320_WLAN_DEBUG_INPUT_SEL_OFFSET 0x0000010c
- #define AR6320_WLAN_DEBUG_INPUT_SEL_SRC_MSB 3
- #define AR6320_WLAN_DEBUG_INPUT_SEL_SRC_LSB 0
- #define AR6320_WLAN_DEBUG_INPUT_SEL_SRC_MASK 0x0000000f
- #define AR6320_WLAN_DEBUG_CONTROL_OFFSET 0x00000108
- #define AR6320_WLAN_DEBUG_CONTROL_ENABLE_MSB 0
- #define AR6320_WLAN_DEBUG_CONTROL_ENABLE_LSB 0
- #define AR6320_WLAN_DEBUG_CONTROL_ENABLE_MASK 0x00000001
- #define AR6320_WLAN_DEBUG_OUT_OFFSET 0x00000110
- #define AR6320_WLAN_DEBUG_OUT_DATA_MSB 19
- #define AR6320_WLAN_DEBUG_OUT_DATA_LSB 0
- #define AR6320_WLAN_DEBUG_OUT_DATA_MASK 0x000fffff
- #define AR6320_AMBA_DEBUG_BUS_OFFSET 0x0000011c
- #define AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MSB 13
- #define AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_LSB 8
- #define AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MASK 0x00003f00
- #define AR6320_AMBA_DEBUG_BUS_SEL_MSB 4
- #define AR6320_AMBA_DEBUG_BUS_SEL_LSB 0
- #define AR6320_AMBA_DEBUG_BUS_SEL_MASK 0x0000001f
- #define AR6320_CE_WRAPPER_DEBUG_OFFSET 0x0008
- #define AR6320_CE_WRAPPER_DEBUG_SEL_MSB 5
- #define AR6320_CE_WRAPPER_DEBUG_SEL_LSB 0
- #define AR6320_CE_WRAPPER_DEBUG_SEL_MASK 0x0000003f
- #define AR6320_CE_DEBUG_OFFSET 0x0054
- #define AR6320_CE_DEBUG_SEL_MSB 5
- #define AR6320_CE_DEBUG_SEL_LSB 0
- #define AR6320_CE_DEBUG_SEL_MASK 0x0000003f
- /* End */
- /* PLL start */
- #define AR6320_EFUSE_OFFSET 0x0000032c
- #define AR6320_EFUSE_XTAL_SEL_MSB 10
- #define AR6320_EFUSE_XTAL_SEL_LSB 8
- #define AR6320_EFUSE_XTAL_SEL_MASK 0x00000700
- #define AR6320_BB_PLL_CONFIG_OFFSET 0x000002f4
- #define AR6320_BB_PLL_CONFIG_OUTDIV_MSB 20
- #define AR6320_BB_PLL_CONFIG_OUTDIV_LSB 18
- #define AR6320_BB_PLL_CONFIG_OUTDIV_MASK 0x001c0000
- #define AR6320_BB_PLL_CONFIG_FRAC_MSB 17
- #define AR6320_BB_PLL_CONFIG_FRAC_LSB 0
- #define AR6320_BB_PLL_CONFIG_FRAC_MASK 0x0003ffff
- #define AR6320_WLAN_PLL_SETTLE_TIME_MSB 10
- #define AR6320_WLAN_PLL_SETTLE_TIME_LSB 0
- #define AR6320_WLAN_PLL_SETTLE_TIME_MASK 0x000007ff
- #define AR6320_WLAN_PLL_SETTLE_OFFSET 0x0018
- #define AR6320_WLAN_PLL_SETTLE_SW_MASK 0x000007ff
- #define AR6320_WLAN_PLL_SETTLE_RSTMASK 0xffffffff
- #define AR6320_WLAN_PLL_SETTLE_RESET 0x00000400
- #define AR6320_WLAN_PLL_CONTROL_NOPWD_MSB 18
- #define AR6320_WLAN_PLL_CONTROL_NOPWD_LSB 18
- #define AR6320_WLAN_PLL_CONTROL_NOPWD_MASK 0x00040000
- #define AR6320_WLAN_PLL_CONTROL_BYPASS_MSB 16
- #define AR6320_WLAN_PLL_CONTROL_BYPASS_LSB 16
- #define AR6320_WLAN_PLL_CONTROL_BYPASS_MASK 0x00010000
- #define AR6320_WLAN_PLL_CONTROL_BYPASS_RESET 0x1
- #define AR6320_WLAN_PLL_CONTROL_CLK_SEL_MSB 15
- #define AR6320_WLAN_PLL_CONTROL_CLK_SEL_LSB 14
- #define AR6320_WLAN_PLL_CONTROL_CLK_SEL_MASK 0x0000c000
- #define AR6320_WLAN_PLL_CONTROL_CLK_SEL_RESET 0x0
- #define AR6320_WLAN_PLL_CONTROL_REFDIV_MSB 13
- #define AR6320_WLAN_PLL_CONTROL_REFDIV_LSB 10
- #define AR6320_WLAN_PLL_CONTROL_REFDIV_MASK 0x00003c00
- #define AR6320_WLAN_PLL_CONTROL_REFDIV_RESET 0x0
- #define AR6320_WLAN_PLL_CONTROL_DIV_MSB 9
- #define AR6320_WLAN_PLL_CONTROL_DIV_LSB 0
- #define AR6320_WLAN_PLL_CONTROL_DIV_MASK 0x000003ff
- #define AR6320_WLAN_PLL_CONTROL_DIV_RESET 0x11
- #define AR6320_WLAN_PLL_CONTROL_OFFSET 0x0014
- #define AR6320_WLAN_PLL_CONTROL_SW_MASK 0x001fffff
- #define AR6320_WLAN_PLL_CONTROL_RSTMASK 0xffffffff
- #define AR6320_WLAN_PLL_CONTROL_RESET 0x00010011
- #define AR6320_SOC_CORE_CLK_CTRL_OFFSET 0x00000114
- #define AR6320_SOC_CORE_CLK_CTRL_DIV_MSB 2
- #define AR6320_SOC_CORE_CLK_CTRL_DIV_LSB 0
- #define AR6320_SOC_CORE_CLK_CTRL_DIV_MASK 0x00000007
- #define AR6320_RTC_SYNC_STATUS_PLL_CHANGING_MSB 5
- #define AR6320_RTC_SYNC_STATUS_PLL_CHANGING_LSB 5
- #define AR6320_RTC_SYNC_STATUS_PLL_CHANGING_MASK 0x00000020
- #define AR6320_RTC_SYNC_STATUS_PLL_CHANGING_RESET 0x0
- #define AR6320_RTC_SYNC_STATUS_OFFSET 0x0244
- #define AR6320_SOC_CPU_CLOCK_OFFSET 0x00000020
- #define AR6320_SOC_CPU_CLOCK_STANDARD_MSB 1
- #define AR6320_SOC_CPU_CLOCK_STANDARD_LSB 0
- #define AR6320_SOC_CPU_CLOCK_STANDARD_MASK 0x00000003
- /* PLL end */
- #define AR6320_PCIE_INTR_CE_MASK(n) \
- (AR6320_PCIE_INTR_CE0_MASK << (n))
- #endif
- #define AR6320_DRAM_BASE_ADDRESS AR6320_TARG_DRAM_START
- #define AR6320_FW_INDICATOR_ADDRESS \
- (AR6320_SOC_CORE_BASE_ADDRESS + AR6320_SCRATCH_3_ADDRESS)
- #define AR6320_SYSTEM_SLEEP_OFFSET AR6320_SOC_SYSTEM_SLEEP_OFFSET
- #define AR6320_WLAN_SYSTEM_SLEEP_OFFSET 0x002c
- #define AR6320_WLAN_RESET_CONTROL_OFFSET AR6320_SOC_RESET_CONTROL_OFFSET
- #define AR6320_CLOCK_CONTROL_OFFSET AR6320_SOC_CLOCK_CONTROL_OFFSET
- #define AR6320_CLOCK_CONTROL_SI0_CLK_MASK AR6320_SOC_CLOCK_CONTROL_SI0_CLK_MASK
- #define AR6320_RESET_CONTROL_MBOX_RST_MASK 0x00000004
- #define AR6320_RESET_CONTROL_SI0_RST_MASK AR6320_SOC_RESET_CONTROL_SI0_RST_MASK
- #define AR6320_GPIO_BASE_ADDRESS AR6320_WLAN_GPIO_BASE_ADDRESS
- #define AR6320_GPIO_PIN0_OFFSET AR6320_WLAN_GPIO_PIN0_ADDRESS
- #define AR6320_GPIO_PIN1_OFFSET AR6320_WLAN_GPIO_PIN1_ADDRESS
- #define AR6320_GPIO_PIN0_CONFIG_MASK AR6320_WLAN_GPIO_PIN0_CONFIG_MASK
- #define AR6320_GPIO_PIN1_CONFIG_MASK AR6320_WLAN_GPIO_PIN1_CONFIG_MASK
- #define AR6320_SI_BASE_ADDRESS 0x00050000
- #define AR6320_CPU_CLOCK_OFFSET AR6320_SOC_CPU_CLOCK_OFFSET
- #define AR6320_LPO_CAL_OFFSET AR6320_SOC_LPO_CAL_OFFSET
- #define AR6320_GPIO_PIN10_OFFSET AR6320_WLAN_GPIO_PIN10_ADDRESS
- #define AR6320_GPIO_PIN11_OFFSET AR6320_WLAN_GPIO_PIN11_ADDRESS
- #define AR6320_GPIO_PIN12_OFFSET AR6320_WLAN_GPIO_PIN12_ADDRESS
- #define AR6320_GPIO_PIN13_OFFSET AR6320_WLAN_GPIO_PIN13_ADDRESS
- #define AR6320_CPU_CLOCK_STANDARD_LSB AR6320_SOC_CPU_CLOCK_STANDARD_LSB
- #define AR6320_CPU_CLOCK_STANDARD_MASK AR6320_SOC_CPU_CLOCK_STANDARD_MASK
- #define AR6320_LPO_CAL_ENABLE_LSB AR6320_SOC_LPO_CAL_ENABLE_LSB
- #define AR6320_LPO_CAL_ENABLE_MASK AR6320_SOC_LPO_CAL_ENABLE_MASK
- #define AR6320_ANALOG_INTF_BASE_ADDRESS AR6320_WLAN_ANALOG_INTF_BASE_ADDRESS
- #define AR6320_MBOX_BASE_ADDRESS 0x00008000
- #define AR6320_INT_STATUS_ENABLE_ERROR_LSB 7
- #define AR6320_INT_STATUS_ENABLE_ERROR_MASK 0x00000080
- #define AR6320_INT_STATUS_ENABLE_CPU_LSB 6
- #define AR6320_INT_STATUS_ENABLE_CPU_MASK 0x00000040
- #define AR6320_INT_STATUS_ENABLE_COUNTER_LSB 4
- #define AR6320_INT_STATUS_ENABLE_COUNTER_MASK 0x00000010
- #define AR6320_INT_STATUS_ENABLE_MBOX_DATA_LSB 0
- #define AR6320_INT_STATUS_ENABLE_MBOX_DATA_MASK 0x0000000f
- #define AR6320_ERROR_STATUS_ENABLE_RX_UNDERFLOW_LSB 17
- #define AR6320_ERROR_STATUS_ENABLE_RX_UNDERFLOW_MASK 0x00020000
- #define AR6320_ERROR_STATUS_ENABLE_TX_OVERFLOW_LSB 16
- #define AR6320_ERROR_STATUS_ENABLE_TX_OVERFLOW_MASK 0x00010000
- #define AR6320_COUNTER_INT_STATUS_ENABLE_BIT_LSB 24
- #define AR6320_COUNTER_INT_STATUS_ENABLE_BIT_MASK 0xff000000
- #define AR6320_INT_STATUS_ENABLE_ADDRESS 0x0828
- #define AR6320_CPU_INT_STATUS_ENABLE_BIT_LSB 8
- #define AR6320_CPU_INT_STATUS_ENABLE_BIT_MASK 0x0000ff00
- #define AR6320_HOST_INT_STATUS_ADDRESS 0x0800
- #define AR6320_CPU_INT_STATUS_ADDRESS 0x0801
- #define AR6320_ERROR_INT_STATUS_ADDRESS 0x0802
- #define AR6320_ERROR_INT_STATUS_WAKEUP_MASK 0x00040000
- #define AR6320_ERROR_INT_STATUS_WAKEUP_LSB 18
- #define AR6320_ERROR_INT_STATUS_RX_UNDERFLOW_MASK 0x00020000
- #define AR6320_ERROR_INT_STATUS_RX_UNDERFLOW_LSB 17
- #define AR6320_ERROR_INT_STATUS_TX_OVERFLOW_MASK 0x00010000
- #define AR6320_ERROR_INT_STATUS_TX_OVERFLOW_LSB 16
- #define AR6320_COUNT_DEC_ADDRESS 0x0840
- #define AR6320_HOST_INT_STATUS_CPU_MASK 0x00000040
- #define AR6320_HOST_INT_STATUS_CPU_LSB 6
- #define AR6320_HOST_INT_STATUS_ERROR_MASK 0x00000080
- #define AR6320_HOST_INT_STATUS_ERROR_LSB 7
- #define AR6320_HOST_INT_STATUS_COUNTER_MASK 0x00000010
- #define AR6320_HOST_INT_STATUS_COUNTER_LSB 4
- #define AR6320_RX_LOOKAHEAD_VALID_ADDRESS 0x0805
- #define AR6320_WINDOW_DATA_ADDRESS 0x0874
- #define AR6320_WINDOW_READ_ADDR_ADDRESS 0x087c
- #define AR6320_WINDOW_WRITE_ADDR_ADDRESS 0x0878
- #define AR6320_HOST_INT_STATUS_MBOX_DATA_MASK 0x0f
- #define AR6320_HOST_INT_STATUS_MBOX_DATA_LSB 0
- struct targetdef_s ar6320_targetdef = {
- .d_RTC_SOC_BASE_ADDRESS = AR6320_RTC_SOC_BASE_ADDRESS,
- .d_RTC_WMAC_BASE_ADDRESS = AR6320_RTC_WMAC_BASE_ADDRESS,
- .d_SYSTEM_SLEEP_OFFSET = AR6320_WLAN_SYSTEM_SLEEP_OFFSET,
- .d_WLAN_SYSTEM_SLEEP_OFFSET = AR6320_WLAN_SYSTEM_SLEEP_OFFSET,
- .d_WLAN_SYSTEM_SLEEP_DISABLE_LSB =
- AR6320_WLAN_SYSTEM_SLEEP_DISABLE_LSB,
- .d_WLAN_SYSTEM_SLEEP_DISABLE_MASK =
- AR6320_WLAN_SYSTEM_SLEEP_DISABLE_MASK,
- .d_CLOCK_CONTROL_OFFSET = AR6320_CLOCK_CONTROL_OFFSET,
- .d_CLOCK_CONTROL_SI0_CLK_MASK = AR6320_CLOCK_CONTROL_SI0_CLK_MASK,
- .d_RESET_CONTROL_OFFSET = AR6320_SOC_RESET_CONTROL_OFFSET,
- .d_RESET_CONTROL_MBOX_RST_MASK = AR6320_RESET_CONTROL_MBOX_RST_MASK,
- .d_RESET_CONTROL_SI0_RST_MASK = AR6320_RESET_CONTROL_SI0_RST_MASK,
- .d_WLAN_RESET_CONTROL_OFFSET = AR6320_WLAN_RESET_CONTROL_OFFSET,
- .d_WLAN_RESET_CONTROL_COLD_RST_MASK =
- AR6320_WLAN_RESET_CONTROL_COLD_RST_MASK,
- .d_WLAN_RESET_CONTROL_WARM_RST_MASK =
- AR6320_WLAN_RESET_CONTROL_WARM_RST_MASK,
- .d_GPIO_BASE_ADDRESS = AR6320_GPIO_BASE_ADDRESS,
- .d_GPIO_PIN0_OFFSET = AR6320_GPIO_PIN0_OFFSET,
- .d_GPIO_PIN1_OFFSET = AR6320_GPIO_PIN1_OFFSET,
- .d_GPIO_PIN0_CONFIG_MASK = AR6320_GPIO_PIN0_CONFIG_MASK,
- .d_GPIO_PIN1_CONFIG_MASK = AR6320_GPIO_PIN1_CONFIG_MASK,
- .d_SI_CONFIG_BIDIR_OD_DATA_LSB = AR6320_SI_CONFIG_BIDIR_OD_DATA_LSB,
- .d_SI_CONFIG_BIDIR_OD_DATA_MASK = AR6320_SI_CONFIG_BIDIR_OD_DATA_MASK,
- .d_SI_CONFIG_I2C_LSB = AR6320_SI_CONFIG_I2C_LSB,
- .d_SI_CONFIG_I2C_MASK = AR6320_SI_CONFIG_I2C_MASK,
- .d_SI_CONFIG_POS_SAMPLE_LSB = AR6320_SI_CONFIG_POS_SAMPLE_LSB,
- .d_SI_CONFIG_POS_SAMPLE_MASK = AR6320_SI_CONFIG_POS_SAMPLE_MASK,
- .d_SI_CONFIG_INACTIVE_CLK_LSB = AR6320_SI_CONFIG_INACTIVE_CLK_LSB,
- .d_SI_CONFIG_INACTIVE_CLK_MASK = AR6320_SI_CONFIG_INACTIVE_CLK_MASK,
- .d_SI_CONFIG_INACTIVE_DATA_LSB = AR6320_SI_CONFIG_INACTIVE_DATA_LSB,
- .d_SI_CONFIG_INACTIVE_DATA_MASK = AR6320_SI_CONFIG_INACTIVE_DATA_MASK,
- .d_SI_CONFIG_DIVIDER_LSB = AR6320_SI_CONFIG_DIVIDER_LSB,
- .d_SI_CONFIG_DIVIDER_MASK = AR6320_SI_CONFIG_DIVIDER_MASK,
- .d_SI_BASE_ADDRESS = AR6320_SI_BASE_ADDRESS,
- .d_SI_CONFIG_OFFSET = AR6320_SI_CONFIG_OFFSET,
- .d_SI_TX_DATA0_OFFSET = AR6320_SI_TX_DATA0_OFFSET,
- .d_SI_TX_DATA1_OFFSET = AR6320_SI_TX_DATA1_OFFSET,
- .d_SI_RX_DATA0_OFFSET = AR6320_SI_RX_DATA0_OFFSET,
- .d_SI_RX_DATA1_OFFSET = AR6320_SI_RX_DATA1_OFFSET,
- .d_SI_CS_OFFSET = AR6320_SI_CS_OFFSET,
- .d_SI_CS_DONE_ERR_MASK = AR6320_SI_CS_DONE_ERR_MASK,
- .d_SI_CS_DONE_INT_MASK = AR6320_SI_CS_DONE_INT_MASK,
- .d_SI_CS_START_LSB = AR6320_SI_CS_START_LSB,
- .d_SI_CS_START_MASK = AR6320_SI_CS_START_MASK,
- .d_SI_CS_RX_CNT_LSB = AR6320_SI_CS_RX_CNT_LSB,
- .d_SI_CS_RX_CNT_MASK = AR6320_SI_CS_RX_CNT_MASK,
- .d_SI_CS_TX_CNT_LSB = AR6320_SI_CS_TX_CNT_LSB,
- .d_SI_CS_TX_CNT_MASK = AR6320_SI_CS_TX_CNT_MASK,
- .d_BOARD_DATA_SZ = AR6320_BOARD_DATA_SZ,
- .d_BOARD_EXT_DATA_SZ = AR6320_BOARD_EXT_DATA_SZ,
- .d_MBOX_BASE_ADDRESS = AR6320_MBOX_BASE_ADDRESS,
- .d_LOCAL_SCRATCH_OFFSET = AR6320_LOCAL_SCRATCH_OFFSET,
- .d_CPU_CLOCK_OFFSET = AR6320_CPU_CLOCK_OFFSET,
- .d_LPO_CAL_OFFSET = AR6320_LPO_CAL_OFFSET,
- .d_GPIO_PIN10_OFFSET = AR6320_GPIO_PIN10_OFFSET,
- .d_GPIO_PIN11_OFFSET = AR6320_GPIO_PIN11_OFFSET,
- .d_GPIO_PIN12_OFFSET = AR6320_GPIO_PIN12_OFFSET,
- .d_GPIO_PIN13_OFFSET = AR6320_GPIO_PIN13_OFFSET,
- .d_CLOCK_GPIO_OFFSET = AR6320_CLOCK_GPIO_OFFSET,
- .d_CPU_CLOCK_STANDARD_LSB = AR6320_CPU_CLOCK_STANDARD_LSB,
- .d_CPU_CLOCK_STANDARD_MASK = AR6320_CPU_CLOCK_STANDARD_MASK,
- .d_LPO_CAL_ENABLE_LSB = AR6320_LPO_CAL_ENABLE_LSB,
- .d_LPO_CAL_ENABLE_MASK = AR6320_LPO_CAL_ENABLE_MASK,
- .d_CLOCK_GPIO_BT_CLK_OUT_EN_LSB = AR6320_CLOCK_GPIO_BT_CLK_OUT_EN_LSB,
- .d_CLOCK_GPIO_BT_CLK_OUT_EN_MASK =
- AR6320_CLOCK_GPIO_BT_CLK_OUT_EN_MASK,
- .d_ANALOG_INTF_BASE_ADDRESS = AR6320_ANALOG_INTF_BASE_ADDRESS,
- .d_WLAN_MAC_BASE_ADDRESS = AR6320_WLAN_MAC_BASE_ADDRESS,
- .d_FW_INDICATOR_ADDRESS = AR6320_FW_INDICATOR_ADDRESS,
- .d_DRAM_BASE_ADDRESS = AR6320_DRAM_BASE_ADDRESS,
- .d_SOC_CORE_BASE_ADDRESS = AR6320_SOC_CORE_BASE_ADDRESS,
- .d_CORE_CTRL_ADDRESS = AR6320_CORE_CTRL_ADDRESS,
- #if (defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI))
- .d_MSI_NUM_REQUEST = MSI_NUM_REQUEST,
- .d_MSI_ASSIGN_FW = MSI_ASSIGN_FW,
- #endif
- .d_CORE_CTRL_CPU_INTR_MASK = AR6320_CORE_CTRL_CPU_INTR_MASK,
- .d_SR_WR_INDEX_ADDRESS = AR6320_SR_WR_INDEX_ADDRESS,
- .d_DST_WATERMARK_ADDRESS = AR6320_DST_WATERMARK_ADDRESS,
- /* htt_rx.c */
- .d_RX_MSDU_END_4_FIRST_MSDU_MASK =
- AR6320_RX_MSDU_END_4_FIRST_MSDU_MASK,
- .d_RX_MSDU_END_4_FIRST_MSDU_LSB = AR6320_RX_MSDU_END_4_FIRST_MSDU_LSB,
- .d_RX_MPDU_START_0_RETRY_LSB = AR6320_RX_MPDU_START_0_RETRY_LSB,
- .d_RX_MPDU_START_0_RETRY_MASK = AR6320_RX_MPDU_START_0_RETRY_MASK,
- .d_RX_MPDU_START_0_SEQ_NUM_MASK = AR6320_RX_MPDU_START_0_SEQ_NUM_MASK,
- .d_RX_MPDU_START_0_SEQ_NUM_LSB = AR6320_RX_MPDU_START_0_SEQ_NUM_LSB,
- .d_RX_MPDU_START_2_PN_47_32_LSB = AR6320_RX_MPDU_START_2_PN_47_32_LSB,
- .d_RX_MPDU_START_2_PN_47_32_MASK =
- AR6320_RX_MPDU_START_2_PN_47_32_MASK,
- .d_RX_MPDU_START_2_TID_LSB = AR6320_RX_MPDU_START_2_TID_LSB,
- .d_RX_MPDU_START_2_TID_MASK = AR6320_RX_MPDU_START_2_TID_MASK,
- .d_RX_MSDU_END_1_KEY_ID_OCT_MASK =
- AR6320_RX_MSDU_END_1_KEY_ID_OCT_MASK,
- .d_RX_MSDU_END_1_KEY_ID_OCT_LSB = AR6320_RX_MSDU_END_1_KEY_ID_OCT_LSB,
- .d_RX_MSDU_END_1_EXT_WAPI_PN_63_48_MASK =
- AR6320_RX_MSDU_END_1_EXT_WAPI_PN_63_48_MASK,
- .d_RX_MSDU_END_1_EXT_WAPI_PN_63_48_LSB =
- AR6320_RX_MSDU_END_1_EXT_WAPI_PN_63_48_LSB,
- .d_RX_MSDU_END_4_LAST_MSDU_MASK = AR6320_RX_MSDU_END_4_LAST_MSDU_MASK,
- .d_RX_MSDU_END_4_LAST_MSDU_LSB = AR6320_RX_MSDU_END_4_LAST_MSDU_LSB,
- .d_RX_ATTENTION_0_MCAST_BCAST_MASK =
- AR6320_RX_ATTENTION_0_MCAST_BCAST_MASK,
- .d_RX_ATTENTION_0_MCAST_BCAST_LSB =
- AR6320_RX_ATTENTION_0_MCAST_BCAST_LSB,
- .d_RX_ATTENTION_0_FRAGMENT_MASK = AR6320_RX_ATTENTION_0_FRAGMENT_MASK,
- .d_RX_ATTENTION_0_FRAGMENT_LSB = AR6320_RX_ATTENTION_0_FRAGMENT_LSB,
- .d_RX_ATTENTION_0_MPDU_LENGTH_ERR_MASK =
- AR6320_RX_ATTENTION_0_MPDU_LENGTH_ERR_MASK,
- .d_RX_FRAG_INFO_0_RING2_MORE_COUNT_MASK =
- AR6320_RX_FRAG_INFO_0_RING2_MORE_COUNT_MASK,
- .d_RX_FRAG_INFO_0_RING2_MORE_COUNT_LSB =
- AR6320_RX_FRAG_INFO_0_RING2_MORE_COUNT_LSB,
- .d_RX_MSDU_START_0_MSDU_LENGTH_MASK =
- AR6320_RX_MSDU_START_0_MSDU_LENGTH_MASK,
- .d_RX_MSDU_START_0_MSDU_LENGTH_LSB =
- AR6320_RX_MSDU_START_0_MSDU_LENGTH_LSB,
- .d_RX_MSDU_START_2_DECAP_FORMAT_OFFSET =
- AR6320_RX_MSDU_START_2_DECAP_FORMAT_OFFSET,
- .d_RX_MSDU_START_2_DECAP_FORMAT_MASK =
- AR6320_RX_MSDU_START_2_DECAP_FORMAT_MASK,
- .d_RX_MSDU_START_2_DECAP_FORMAT_LSB =
- AR6320_RX_MSDU_START_2_DECAP_FORMAT_LSB,
- .d_RX_MPDU_START_0_ENCRYPTED_MASK =
- AR6320_RX_MPDU_START_0_ENCRYPTED_MASK,
- .d_RX_MPDU_START_0_ENCRYPTED_LSB =
- AR6320_RX_MPDU_START_0_ENCRYPTED_LSB,
- .d_RX_ATTENTION_0_MORE_DATA_MASK =
- AR6320_RX_ATTENTION_0_MORE_DATA_MASK,
- .d_RX_ATTENTION_0_MSDU_DONE_MASK =
- AR6320_RX_ATTENTION_0_MSDU_DONE_MASK,
- .d_RX_ATTENTION_0_TCP_UDP_CHKSUM_FAIL_MASK =
- AR6320_RX_ATTENTION_0_TCP_UDP_CHKSUM_FAIL_MASK,
- #if (defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI))
- .d_CE_COUNT = AR6320_CE_COUNT,
- .d_MSI_ASSIGN_CE_INITIAL = MSI_ASSIGN_CE_INITIAL,
- .d_PCIE_INTR_ENABLE_ADDRESS = AR6320_PCIE_INTR_ENABLE_ADDRESS,
- .d_PCIE_INTR_CLR_ADDRESS = AR6320_PCIE_INTR_CLR_ADDRESS,
- .d_PCIE_INTR_FIRMWARE_MASK = AR6320_PCIE_INTR_FIRMWARE_MASK,
- .d_PCIE_INTR_CE_MASK_ALL = AR6320_PCIE_INTR_CE_MASK_ALL,
- /* PLL start */
- .d_EFUSE_OFFSET = AR6320_EFUSE_OFFSET,
- .d_EFUSE_XTAL_SEL_MSB = AR6320_EFUSE_XTAL_SEL_MSB,
- .d_EFUSE_XTAL_SEL_LSB = AR6320_EFUSE_XTAL_SEL_LSB,
- .d_EFUSE_XTAL_SEL_MASK = AR6320_EFUSE_XTAL_SEL_MASK,
- .d_BB_PLL_CONFIG_OFFSET = AR6320_BB_PLL_CONFIG_OFFSET,
- .d_BB_PLL_CONFIG_OUTDIV_MSB = AR6320_BB_PLL_CONFIG_OUTDIV_MSB,
- .d_BB_PLL_CONFIG_OUTDIV_LSB = AR6320_BB_PLL_CONFIG_OUTDIV_LSB,
- .d_BB_PLL_CONFIG_OUTDIV_MASK = AR6320_BB_PLL_CONFIG_OUTDIV_MASK,
- .d_BB_PLL_CONFIG_FRAC_MSB = AR6320_BB_PLL_CONFIG_FRAC_MSB,
- .d_BB_PLL_CONFIG_FRAC_LSB = AR6320_BB_PLL_CONFIG_FRAC_LSB,
- .d_BB_PLL_CONFIG_FRAC_MASK = AR6320_BB_PLL_CONFIG_FRAC_MASK,
- .d_WLAN_PLL_SETTLE_TIME_MSB = AR6320_WLAN_PLL_SETTLE_TIME_MSB,
- .d_WLAN_PLL_SETTLE_TIME_LSB = AR6320_WLAN_PLL_SETTLE_TIME_LSB,
- .d_WLAN_PLL_SETTLE_TIME_MASK = AR6320_WLAN_PLL_SETTLE_TIME_MASK,
- .d_WLAN_PLL_SETTLE_OFFSET = AR6320_WLAN_PLL_SETTLE_OFFSET,
- .d_WLAN_PLL_SETTLE_SW_MASK = AR6320_WLAN_PLL_SETTLE_SW_MASK,
- .d_WLAN_PLL_SETTLE_RSTMASK = AR6320_WLAN_PLL_SETTLE_RSTMASK,
- .d_WLAN_PLL_SETTLE_RESET = AR6320_WLAN_PLL_SETTLE_RESET,
- .d_WLAN_PLL_CONTROL_NOPWD_MSB = AR6320_WLAN_PLL_CONTROL_NOPWD_MSB,
- .d_WLAN_PLL_CONTROL_NOPWD_LSB = AR6320_WLAN_PLL_CONTROL_NOPWD_LSB,
- .d_WLAN_PLL_CONTROL_NOPWD_MASK = AR6320_WLAN_PLL_CONTROL_NOPWD_MASK,
- .d_WLAN_PLL_CONTROL_BYPASS_MSB = AR6320_WLAN_PLL_CONTROL_BYPASS_MSB,
- .d_WLAN_PLL_CONTROL_BYPASS_LSB = AR6320_WLAN_PLL_CONTROL_BYPASS_LSB,
- .d_WLAN_PLL_CONTROL_BYPASS_MASK = AR6320_WLAN_PLL_CONTROL_BYPASS_MASK,
- .d_WLAN_PLL_CONTROL_BYPASS_RESET =
- AR6320_WLAN_PLL_CONTROL_BYPASS_RESET,
- .d_WLAN_PLL_CONTROL_CLK_SEL_MSB = AR6320_WLAN_PLL_CONTROL_CLK_SEL_MSB,
- .d_WLAN_PLL_CONTROL_CLK_SEL_LSB = AR6320_WLAN_PLL_CONTROL_CLK_SEL_LSB,
- .d_WLAN_PLL_CONTROL_CLK_SEL_MASK =
- AR6320_WLAN_PLL_CONTROL_CLK_SEL_MASK,
- .d_WLAN_PLL_CONTROL_CLK_SEL_RESET =
- AR6320_WLAN_PLL_CONTROL_CLK_SEL_RESET,
- .d_WLAN_PLL_CONTROL_REFDIV_MSB = AR6320_WLAN_PLL_CONTROL_REFDIV_MSB,
- .d_WLAN_PLL_CONTROL_REFDIV_LSB = AR6320_WLAN_PLL_CONTROL_REFDIV_LSB,
- .d_WLAN_PLL_CONTROL_REFDIV_MASK = AR6320_WLAN_PLL_CONTROL_REFDIV_MASK,
- .d_WLAN_PLL_CONTROL_REFDIV_RESET =
- AR6320_WLAN_PLL_CONTROL_REFDIV_RESET,
- .d_WLAN_PLL_CONTROL_DIV_MSB = AR6320_WLAN_PLL_CONTROL_DIV_MSB,
- .d_WLAN_PLL_CONTROL_DIV_LSB = AR6320_WLAN_PLL_CONTROL_DIV_LSB,
- .d_WLAN_PLL_CONTROL_DIV_MASK = AR6320_WLAN_PLL_CONTROL_DIV_MASK,
- .d_WLAN_PLL_CONTROL_DIV_RESET = AR6320_WLAN_PLL_CONTROL_DIV_RESET,
- .d_WLAN_PLL_CONTROL_OFFSET = AR6320_WLAN_PLL_CONTROL_OFFSET,
- .d_WLAN_PLL_CONTROL_SW_MASK = AR6320_WLAN_PLL_CONTROL_SW_MASK,
- .d_WLAN_PLL_CONTROL_RSTMASK = AR6320_WLAN_PLL_CONTROL_RSTMASK,
- .d_WLAN_PLL_CONTROL_RESET = AR6320_WLAN_PLL_CONTROL_RESET,
- .d_SOC_CORE_CLK_CTRL_OFFSET = AR6320_SOC_CORE_CLK_CTRL_OFFSET,
- .d_SOC_CORE_CLK_CTRL_DIV_MSB = AR6320_SOC_CORE_CLK_CTRL_DIV_MSB,
- .d_SOC_CORE_CLK_CTRL_DIV_LSB = AR6320_SOC_CORE_CLK_CTRL_DIV_LSB,
- .d_SOC_CORE_CLK_CTRL_DIV_MASK = AR6320_SOC_CORE_CLK_CTRL_DIV_MASK,
- .d_RTC_SYNC_STATUS_PLL_CHANGING_MSB =
- AR6320_RTC_SYNC_STATUS_PLL_CHANGING_MSB,
- .d_RTC_SYNC_STATUS_PLL_CHANGING_LSB =
- AR6320_RTC_SYNC_STATUS_PLL_CHANGING_LSB,
- .d_RTC_SYNC_STATUS_PLL_CHANGING_MASK =
- AR6320_RTC_SYNC_STATUS_PLL_CHANGING_MASK,
- .d_RTC_SYNC_STATUS_PLL_CHANGING_RESET =
- AR6320_RTC_SYNC_STATUS_PLL_CHANGING_RESET,
- .d_RTC_SYNC_STATUS_OFFSET = AR6320_RTC_SYNC_STATUS_OFFSET,
- .d_SOC_CPU_CLOCK_OFFSET = AR6320_SOC_CPU_CLOCK_OFFSET,
- .d_SOC_CPU_CLOCK_STANDARD_MSB = AR6320_SOC_CPU_CLOCK_STANDARD_MSB,
- .d_SOC_CPU_CLOCK_STANDARD_LSB = AR6320_SOC_CPU_CLOCK_STANDARD_LSB,
- .d_SOC_CPU_CLOCK_STANDARD_MASK = AR6320_SOC_CPU_CLOCK_STANDARD_MASK,
- /* PLL end */
- .d_SOC_POWER_REG_OFFSET = AR6320_SOC_POWER_REG_OFFSET,
- .d_PCIE_INTR_CAUSE_ADDRESS = AR6320_PCIE_INTR_CAUSE_ADDRESS,
- .d_SOC_RESET_CONTROL_ADDRESS = AR6320_SOC_RESET_CONTROL_ADDRESS,
- .d_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_MASK =
- AR6320_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_MASK,
- .d_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_LSB =
- AR6320_SOC_RESET_CONTROL_PCIE_RST_SHORT_OVRD_LSB,
- .d_SOC_RESET_CONTROL_CE_RST_MASK =
- AR6320_SOC_RESET_CONTROL_CE_RST_MASK,
- .d_SOC_RESET_CONTROL_CPU_WARM_RST_MASK =
- AR6320_SOC_RESET_CONTROL_CPU_WARM_RST_MASK,
- .d_CPU_INTR_ADDRESS = AR6320_CPU_INTR_ADDRESS,
- .d_SOC_LF_TIMER_CONTROL0_ADDRESS =
- AR6320_SOC_LF_TIMER_CONTROL0_ADDRESS,
- .d_SOC_LF_TIMER_CONTROL0_ENABLE_MASK =
- AR6320_SOC_LF_TIMER_CONTROL0_ENABLE_MASK,
- .d_SOC_LF_TIMER_STATUS0_ADDRESS =
- AR6320_SOC_LF_TIMER_STATUS0_ADDRESS,
- .d_WLAN_DEBUG_INPUT_SEL_OFFSET = AR6320_WLAN_DEBUG_INPUT_SEL_OFFSET,
- .d_WLAN_DEBUG_INPUT_SEL_SRC_MSB = AR6320_WLAN_DEBUG_INPUT_SEL_SRC_MSB,
- .d_WLAN_DEBUG_INPUT_SEL_SRC_LSB = AR6320_WLAN_DEBUG_INPUT_SEL_SRC_LSB,
- .d_WLAN_DEBUG_INPUT_SEL_SRC_MASK =
- AR6320_WLAN_DEBUG_INPUT_SEL_SRC_MASK,
- .d_WLAN_DEBUG_CONTROL_OFFSET = AR6320_WLAN_DEBUG_CONTROL_OFFSET,
- .d_WLAN_DEBUG_CONTROL_ENABLE_MSB =
- AR6320_WLAN_DEBUG_CONTROL_ENABLE_MSB,
- .d_WLAN_DEBUG_CONTROL_ENABLE_LSB =
- AR6320_WLAN_DEBUG_CONTROL_ENABLE_LSB,
- .d_WLAN_DEBUG_CONTROL_ENABLE_MASK =
- AR6320_WLAN_DEBUG_CONTROL_ENABLE_MASK,
- .d_WLAN_DEBUG_OUT_OFFSET = AR6320_WLAN_DEBUG_OUT_OFFSET,
- .d_WLAN_DEBUG_OUT_DATA_MSB = AR6320_WLAN_DEBUG_OUT_DATA_MSB,
- .d_WLAN_DEBUG_OUT_DATA_LSB = AR6320_WLAN_DEBUG_OUT_DATA_LSB,
- .d_WLAN_DEBUG_OUT_DATA_MASK = AR6320_WLAN_DEBUG_OUT_DATA_MASK,
- .d_AMBA_DEBUG_BUS_OFFSET = AR6320_AMBA_DEBUG_BUS_OFFSET,
- .d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MSB =
- AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MSB,
- .d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_LSB =
- AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_LSB,
- .d_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MASK =
- AR6320_AMBA_DEBUG_BUS_PCIE_DEBUG_SEL_MASK,
- .d_AMBA_DEBUG_BUS_SEL_MSB = AR6320_AMBA_DEBUG_BUS_SEL_MSB,
- .d_AMBA_DEBUG_BUS_SEL_LSB = AR6320_AMBA_DEBUG_BUS_SEL_LSB,
- .d_AMBA_DEBUG_BUS_SEL_MASK = AR6320_AMBA_DEBUG_BUS_SEL_MASK,
- #endif
- /* chip id start */
- .d_SOC_CHIP_ID_ADDRESS = AR6320_SOC_CHIP_ID_ADDRESS,
- .d_SOC_CHIP_ID_VERSION_MASK = AR6320_SOC_CHIP_ID_VERSION_MASK,
- .d_SOC_CHIP_ID_VERSION_LSB = AR6320_SOC_CHIP_ID_VERSION_LSB,
- .d_SOC_CHIP_ID_REVISION_MASK = AR6320_SOC_CHIP_ID_REVISION_MASK,
- .d_SOC_CHIP_ID_REVISION_LSB = AR6320_SOC_CHIP_ID_REVISION_LSB,
- /* chip id end */
- };
- struct hostdef_s ar6320_hostdef = {
- .d_INT_STATUS_ENABLE_ERROR_LSB = AR6320_INT_STATUS_ENABLE_ERROR_LSB,
- .d_INT_STATUS_ENABLE_ERROR_MASK = AR6320_INT_STATUS_ENABLE_ERROR_MASK,
- .d_INT_STATUS_ENABLE_CPU_LSB = AR6320_INT_STATUS_ENABLE_CPU_LSB,
- .d_INT_STATUS_ENABLE_CPU_MASK = AR6320_INT_STATUS_ENABLE_CPU_MASK,
- .d_INT_STATUS_ENABLE_COUNTER_LSB =
- AR6320_INT_STATUS_ENABLE_COUNTER_LSB,
- .d_INT_STATUS_ENABLE_COUNTER_MASK =
- AR6320_INT_STATUS_ENABLE_COUNTER_MASK,
- .d_INT_STATUS_ENABLE_MBOX_DATA_LSB =
- AR6320_INT_STATUS_ENABLE_MBOX_DATA_LSB,
- .d_INT_STATUS_ENABLE_MBOX_DATA_MASK =
- AR6320_INT_STATUS_ENABLE_MBOX_DATA_MASK,
- .d_ERROR_STATUS_ENABLE_RX_UNDERFLOW_LSB =
- AR6320_ERROR_STATUS_ENABLE_RX_UNDERFLOW_LSB,
- .d_ERROR_STATUS_ENABLE_RX_UNDERFLOW_MASK =
- AR6320_ERROR_STATUS_ENABLE_RX_UNDERFLOW_MASK,
- .d_ERROR_STATUS_ENABLE_TX_OVERFLOW_LSB =
- AR6320_ERROR_STATUS_ENABLE_TX_OVERFLOW_LSB,
- .d_ERROR_STATUS_ENABLE_TX_OVERFLOW_MASK =
- AR6320_ERROR_STATUS_ENABLE_TX_OVERFLOW_MASK,
- .d_COUNTER_INT_STATUS_ENABLE_BIT_LSB =
- AR6320_COUNTER_INT_STATUS_ENABLE_BIT_LSB,
- .d_COUNTER_INT_STATUS_ENABLE_BIT_MASK =
- AR6320_COUNTER_INT_STATUS_ENABLE_BIT_MASK,
- .d_INT_STATUS_ENABLE_ADDRESS = AR6320_INT_STATUS_ENABLE_ADDRESS,
- .d_CPU_INT_STATUS_ENABLE_BIT_LSB =
- AR6320_CPU_INT_STATUS_ENABLE_BIT_LSB,
- .d_CPU_INT_STATUS_ENABLE_BIT_MASK =
- AR6320_CPU_INT_STATUS_ENABLE_BIT_MASK,
- .d_HOST_INT_STATUS_ADDRESS = AR6320_HOST_INT_STATUS_ADDRESS,
- .d_CPU_INT_STATUS_ADDRESS = AR6320_CPU_INT_STATUS_ADDRESS,
- .d_ERROR_INT_STATUS_ADDRESS = AR6320_ERROR_INT_STATUS_ADDRESS,
- .d_ERROR_INT_STATUS_WAKEUP_MASK = AR6320_ERROR_INT_STATUS_WAKEUP_MASK,
- .d_ERROR_INT_STATUS_WAKEUP_LSB = AR6320_ERROR_INT_STATUS_WAKEUP_LSB,
- .d_ERROR_INT_STATUS_RX_UNDERFLOW_MASK =
- AR6320_ERROR_INT_STATUS_RX_UNDERFLOW_MASK,
- .d_ERROR_INT_STATUS_RX_UNDERFLOW_LSB =
- AR6320_ERROR_INT_STATUS_RX_UNDERFLOW_LSB,
- .d_ERROR_INT_STATUS_TX_OVERFLOW_MASK =
- AR6320_ERROR_INT_STATUS_TX_OVERFLOW_MASK,
- .d_ERROR_INT_STATUS_TX_OVERFLOW_LSB =
- AR6320_ERROR_INT_STATUS_TX_OVERFLOW_LSB,
- .d_COUNT_DEC_ADDRESS = AR6320_COUNT_DEC_ADDRESS,
- .d_HOST_INT_STATUS_CPU_MASK = AR6320_HOST_INT_STATUS_CPU_MASK,
- .d_HOST_INT_STATUS_CPU_LSB = AR6320_HOST_INT_STATUS_CPU_LSB,
- .d_HOST_INT_STATUS_ERROR_MASK = AR6320_HOST_INT_STATUS_ERROR_MASK,
- .d_HOST_INT_STATUS_ERROR_LSB = AR6320_HOST_INT_STATUS_ERROR_LSB,
- .d_HOST_INT_STATUS_COUNTER_MASK = AR6320_HOST_INT_STATUS_COUNTER_MASK,
- .d_HOST_INT_STATUS_COUNTER_LSB = AR6320_HOST_INT_STATUS_COUNTER_LSB,
- .d_RX_LOOKAHEAD_VALID_ADDRESS = AR6320_RX_LOOKAHEAD_VALID_ADDRESS,
- .d_WINDOW_DATA_ADDRESS = AR6320_WINDOW_DATA_ADDRESS,
- .d_WINDOW_READ_ADDR_ADDRESS = AR6320_WINDOW_READ_ADDR_ADDRESS,
- .d_WINDOW_WRITE_ADDR_ADDRESS = AR6320_WINDOW_WRITE_ADDR_ADDRESS,
- .d_SOC_GLOBAL_RESET_ADDRESS = AR6320_SOC_GLOBAL_RESET_ADDRESS,
- .d_RTC_STATE_ADDRESS = AR6320_RTC_STATE_ADDRESS,
- .d_RTC_STATE_COLD_RESET_MASK = AR6320_RTC_STATE_COLD_RESET_MASK,
- #if (defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI))
- .d_PCIE_LOCAL_BASE_ADDRESS = AR6320_PCIE_LOCAL_BASE_ADDRESS,
- .d_PCIE_SOC_WAKE_RESET = AR6320_PCIE_SOC_WAKE_RESET,
- .d_PCIE_SOC_WAKE_ADDRESS = AR6320_PCIE_SOC_WAKE_ADDRESS,
- .d_PCIE_SOC_WAKE_V_MASK = AR6320_PCIE_SOC_WAKE_V_MASK,
- .d_MUX_ID_MASK = AR6320_MUX_ID_MASK,
- .d_TRANSACTION_ID_MASK = AR6320_TRANSACTION_ID_MASK,
- .d_FW_IND_HELPER = AR6320_FW_IND_HELPER,
- .d_PCIE_SOC_RDY_STATUS_ADDRESS = PCIE_SOC_RDY_STATUS_ADDRESS,
- .d_PCIE_SOC_RDY_STATUS_BAR_MASK = PCIE_SOC_RDY_STATUS_BAR_MASK,
- .d_SOC_PCIE_BASE_ADDRESS = SOC_PCIE_BASE_ADDRESS,
- .d_MSI_MAGIC_ADR_ADDRESS = MSI_MAGIC_ADR_ADDRESS,
- .d_MSI_MAGIC_ADDRESS = MSI_MAGIC_ADDRESS,
- .d_HOST_CE_COUNT = 8,
- .d_ENABLE_MSI = 0,
- #endif
- .d_RTC_STATE_V_MASK = AR6320_RTC_STATE_V_MASK,
- .d_RTC_STATE_V_LSB = AR6320_RTC_STATE_V_LSB,
- .d_FW_IND_EVENT_PENDING = AR6320_FW_IND_EVENT_PENDING,
- .d_FW_IND_INITIALIZED = AR6320_FW_IND_INITIALIZED,
- .d_RTC_STATE_V_ON = AR6320_RTC_STATE_V_ON,
- #if defined(SDIO_3_0)
- .d_HOST_INT_STATUS_MBOX_DATA_MASK =
- AR6320_HOST_INT_STATUS_MBOX_DATA_MASK,
- .d_HOST_INT_STATUS_MBOX_DATA_LSB =
- AR6320_HOST_INT_STATUS_MBOX_DATA_LSB,
- #endif
- };
- #if defined(HIF_PCI) || defined(HIF_SNOC) || defined(HIF_AHB) || \
- defined(HIF_IPCI)
- struct ce_reg_def ar6320_ce_targetdef = {
- /* copy_engine.c */
- .d_DST_WR_INDEX_ADDRESS = AR6320_DST_WR_INDEX_ADDRESS,
- .d_SRC_WATERMARK_ADDRESS = AR6320_SRC_WATERMARK_ADDRESS,
- .d_SRC_WATERMARK_LOW_MASK = AR6320_SRC_WATERMARK_LOW_MASK,
- .d_SRC_WATERMARK_HIGH_MASK = AR6320_SRC_WATERMARK_HIGH_MASK,
- .d_DST_WATERMARK_LOW_MASK = AR6320_DST_WATERMARK_LOW_MASK,
- .d_DST_WATERMARK_HIGH_MASK = AR6320_DST_WATERMARK_HIGH_MASK,
- .d_CURRENT_SRRI_ADDRESS = AR6320_CURRENT_SRRI_ADDRESS,
- .d_CURRENT_DRRI_ADDRESS = AR6320_CURRENT_DRRI_ADDRESS,
- .d_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK =
- AR6320_HOST_IS_SRC_RING_HIGH_WATERMARK_MASK,
- .d_HOST_IS_SRC_RING_LOW_WATERMARK_MASK =
- AR6320_HOST_IS_SRC_RING_LOW_WATERMARK_MASK,
- .d_HOST_IS_DST_RING_HIGH_WATERMARK_MASK =
- AR6320_HOST_IS_DST_RING_HIGH_WATERMARK_MASK,
- .d_HOST_IS_DST_RING_LOW_WATERMARK_MASK =
- AR6320_HOST_IS_DST_RING_LOW_WATERMARK_MASK,
- .d_HOST_IS_ADDRESS = AR6320_HOST_IS_ADDRESS,
- .d_HOST_IS_COPY_COMPLETE_MASK = AR6320_HOST_IS_COPY_COMPLETE_MASK,
- .d_CE_WRAPPER_BASE_ADDRESS = AR6320_CE_WRAPPER_BASE_ADDRESS,
- .d_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS =
- AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_ADDRESS,
- .d_HOST_IE_ADDRESS = AR6320_HOST_IE_ADDRESS,
- .d_HOST_IE_COPY_COMPLETE_MASK = AR6320_HOST_IE_COPY_COMPLETE_MASK,
- .d_SR_BA_ADDRESS = AR6320_SR_BA_ADDRESS,
- .d_SR_SIZE_ADDRESS = AR6320_SR_SIZE_ADDRESS,
- .d_CE_CTRL1_ADDRESS = AR6320_CE_CTRL1_ADDRESS,
- .d_CE_CTRL1_DMAX_LENGTH_MASK = AR6320_CE_CTRL1_DMAX_LENGTH_MASK,
- .d_DR_BA_ADDRESS = AR6320_DR_BA_ADDRESS,
- .d_DR_SIZE_ADDRESS = AR6320_DR_SIZE_ADDRESS,
- .d_MISC_IE_ADDRESS = AR6320_MISC_IE_ADDRESS,
- .d_MISC_IS_AXI_ERR_MASK = AR6320_MISC_IS_AXI_ERR_MASK,
- .d_MISC_IS_DST_ADDR_ERR_MASK = AR6320_MISC_IS_DST_ADDR_ERR_MASK,
- .d_MISC_IS_SRC_LEN_ERR_MASK = AR6320_MISC_IS_SRC_LEN_ERR_MASK,
- .d_MISC_IS_DST_MAX_LEN_VIO_MASK = AR6320_MISC_IS_DST_MAX_LEN_VIO_MASK,
- .d_MISC_IS_DST_RING_OVERFLOW_MASK =
- AR6320_MISC_IS_DST_RING_OVERFLOW_MASK,
- .d_MISC_IS_SRC_RING_OVERFLOW_MASK =
- AR6320_MISC_IS_SRC_RING_OVERFLOW_MASK,
- .d_SRC_WATERMARK_LOW_LSB = AR6320_SRC_WATERMARK_LOW_LSB,
- .d_SRC_WATERMARK_HIGH_LSB = AR6320_SRC_WATERMARK_HIGH_LSB,
- .d_DST_WATERMARK_LOW_LSB = AR6320_DST_WATERMARK_LOW_LSB,
- .d_DST_WATERMARK_HIGH_LSB = AR6320_DST_WATERMARK_HIGH_LSB,
- .d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK =
- AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_MASK,
- .d_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB =
- AR6320_CE_WRAPPER_INTERRUPT_SUMMARY_HOST_MSI_LSB,
- .d_CE_CTRL1_DMAX_LENGTH_LSB = AR6320_CE_CTRL1_DMAX_LENGTH_LSB,
- .d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK =
- AR6320_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_MASK,
- .d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK =
- AR6320_CE_CTRL1_DST_RING_BYTE_SWAP_EN_MASK,
- .d_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB =
- AR6320_CE_CTRL1_SRC_RING_BYTE_SWAP_EN_LSB,
- .d_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB =
- AR6320_CE_CTRL1_DST_RING_BYTE_SWAP_EN_LSB,
- .d_CE_WRAPPER_DEBUG_OFFSET = AR6320_CE_WRAPPER_DEBUG_OFFSET,
- .d_CE_WRAPPER_DEBUG_SEL_MSB = AR6320_CE_WRAPPER_DEBUG_SEL_MSB,
- .d_CE_WRAPPER_DEBUG_SEL_LSB = AR6320_CE_WRAPPER_DEBUG_SEL_LSB,
- .d_CE_WRAPPER_DEBUG_SEL_MASK = AR6320_CE_WRAPPER_DEBUG_SEL_MASK,
- .d_CE_DEBUG_OFFSET = AR6320_CE_DEBUG_OFFSET,
- .d_CE_DEBUG_SEL_MSB = AR6320_CE_DEBUG_SEL_MSB,
- .d_CE_DEBUG_SEL_LSB = AR6320_CE_DEBUG_SEL_LSB,
- .d_CE_DEBUG_SEL_MASK = AR6320_CE_DEBUG_SEL_MASK,
- .d_CE0_BASE_ADDRESS = AR6320_CE0_BASE_ADDRESS,
- .d_CE1_BASE_ADDRESS = AR6320_CE1_BASE_ADDRESS,
- };
- #endif
- #endif
|