/*************************************************************************** * * Copyright 2015-2019 BES. * All rights reserved. All unpublished rights reserved. * * No part of this work may be used or reproduced in any form or by any * means, or stored in a database or retrieval system, without prior written * permission of BES. * * Use of this work is governed by a license granted by BES. * This work contains confidential and proprietary information of * BES. which is protected by copyright, trade secret, * trademark and other intellectual property rights. * ****************************************************************************/ #ifndef __REG_I2SIP_H_ #define __REG_I2SIP_H_ #include "plat_types.h" #define I2SIP_FIFO_DEPTH 8 #define I2SIP_CHAN_REG_SIZE 0x40 #define I2SIP_CHAN_REG(c, r) (c * I2SIP_CHAN_REG_SIZE + r) /* i2sip register */ /* enable register */ #define I2SIP_ENABLE_REG_REG_OFFSET 0x0 #define I2SIP_ENABLE_REG_I2S_ENABLE_SHIFT (0) #define I2SIP_ENABLE_REG_I2S_ENABLE_MASK ((0x1)<