1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2014-2015 Cisco Systems, Inc. and/or its affiliates.
7 #ifndef M00460_EVCNT_MEMMAP_PACKAGE_H
8 #define M00460_EVCNT_MEMMAP_PACKAGE_H
10 /*******************************************************************
12 * M00460_EVCNT_MEMMAP_PACKAGE_VHD_REGMAP
13 *******************************************************************/
14 struct m00460_evcnt_regmap
{
15 uint32_t control
; /* Reg 0x0000, Default=0x0 */
16 uint32_t count
; /* Reg 0x0004 */
19 #define M00460_EVCNT_REG_CONTROL_OFST 0
20 #define M00460_EVCNT_REG_COUNT_OFST 4
22 /*******************************************************************
23 * Bit Mask for register
24 * M00460_EVCNT_MEMMAP_PACKAGE_VHD_BITMAP
25 *******************************************************************/
27 #define M00460_CONTROL_BITMAP_ENABLE_OFST (0)
28 #define M00460_CONTROL_BITMAP_ENABLE_MSK (0x1 << M00460_CONTROL_BITMAP_ENABLE_OFST)
29 #define M00460_CONTROL_BITMAP_CLEAR_OFST (1)
30 #define M00460_CONTROL_BITMAP_CLEAR_MSK (0x1 << M00460_CONTROL_BITMAP_CLEAR_OFST)
32 #endif /*M00460_EVCNT_MEMMAP_PACKAGE_H*/