2 * Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates.
5 * This program is free software; you may redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
10 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
11 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
12 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
13 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
14 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
15 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 #ifndef M00235_FDMA_PACKER_MEMMAP_PACKAGE_H
20 #define M00235_FDMA_PACKER_MEMMAP_PACKAGE_H
22 /*******************************************************************
24 * M00235_FDMA_PACKER_MEMMAP_PACKAGE_VHD_REGMAP
25 *******************************************************************/
26 struct m00235_fdma_packer_regmap
{
27 uint32_t control
; /* Reg 0x0000, Default=0x0 */
30 #define M00235_FDMA_PACKER_REG_CONTROL_OFST 0
32 /*******************************************************************
33 * Bit Mask for register
34 * M00235_FDMA_PACKER_MEMMAP_PACKAGE_VHD_BITMAP
35 *******************************************************************/
37 #define M00235_CONTROL_BITMAP_ENABLE_OFST (0)
38 #define M00235_CONTROL_BITMAP_ENABLE_MSK (0x1 << M00235_CONTROL_BITMAP_ENABLE_OFST)
39 #define M00235_CONTROL_BITMAP_PACK_FORMAT_OFST (1)
40 #define M00235_CONTROL_BITMAP_PACK_FORMAT_MSK (0x3 << M00235_CONTROL_BITMAP_PACK_FORMAT_OFST)
41 #define M00235_CONTROL_BITMAP_ENDIAN_FORMAT_OFST (3)
42 #define M00235_CONTROL_BITMAP_ENDIAN_FORMAT_MSK (0x1 << M00235_CONTROL_BITMAP_ENDIAN_FORMAT_OFST)
44 #endif /*M00235_FDMA_PACKER_MEMMAP_PACKAGE_H*/