blob: 09b0decd78c01a34d46193df4d8a44619ef211fa [file] [log] [blame]
/*
* All Rights Reserved
*
* MARVELL CONFIDENTIAL
* Copyright 2012 Marvell International Ltd All Rights Reserved.
* The source code contained or described herein and all documents related to
* the source code ("Material") are owned by Marvell International Ltd or its
* suppliers or licensors. Title to the Material remains with Marvell International Ltd
* or its suppliers and licensors. The Material contains trade secrets and
* proprietary and confidential information of Marvell or its suppliers and
* licensors. The Material is protected by worldwide copyright and trade secret
* laws and treaty provisions. No part of the Material may be used, copied,
* reproduced, modified, published, uploaded, posted, transmitted, distributed,
* or disclosed in any way without Marvell's prior express written permission.
*
* No license under any patent, copyright, trade secret or other intellectual
* property right is granted to or conferred upon you by disclosure or delivery
* of the Materials, either expressly, by implication, inducement, estoppel or
* otherwise. Any license under such intellectual property rights must be
* express and approved by Marvell in writing.
*
*/
#ifndef __H_ACM_USTICA__
#define __H_ACM_USTICA__
#include "acm_ach.h"
#define NUM_OF_REGS (sizeof(reg_cache)/sizeof(reg_cache[0]))
#define USTICA_ID_REG 0
typedef struct {
unsigned char reg_index;
unsigned char reg_default;
unsigned char reg_value;
// Field of reg_prior represent when will this register be reset;
// 0x00 --- with this value, the register will not be reset,
// 0x01~0xff --- with these values, the register will be reset with ascending sequence;
// If someone would like to modify the resetting sequences in the table,
// only need to modify this field in reg_cache.
unsigned char reg_prior;
} Ustica_RegisterCache;
static Ustica_RegisterCache reg_cache[] = {
{0x48, 0x00, 0x00, 0x01}, {0x49, 0x00, 0x00, 0x01}, {0x4A, 0x00, 0x00, 0x01}, {0x4B, 0x00, 0x00, 0x01}, {0x4C, 0x00, 0x00, 0x01}
};
unsigned char Ustica_GetRegNumId(unsigned char reg_index);
#endif