1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef _BYPASS_DRIVER_H 8 #define _BYPASS_DRIVER_H 9 10 #include "driver_defs.h" 11 12 /****************************************************************************** 13 * FUNCTION PROTOTYPES 14 ******************************************************************************/ 15 /****************************************************************************************************/ 16 /** 17 * @brief This function is used to perform the BYPASS operation in one integrated process. 18 * 19 * 20 * @param[in] pInputBuffInfo A structure which represents the data input buffer. 21 * @param[in] inputDataAddrType - the memory address input type: SRAM_ADDR or DLLI_ADDR. 22 * @param[in] pOutputBuffInfo A structure which represents the data output buffer. 23 * @param[in] outputDataAddrType - the memory address input type: SRAM_ADDR or DLLI_ADDR. 24 * @param[in] blockSize - number of bytes to copy. 25 * 26 * @return drvError_t - On success BYPASS_DRV_OK is returned, on failure a value defined in driver_defs.h 27 * 28 */ 29 drvError_t ProcessBypass(CCBuffInfo_t *pInputBuffInf, dataAddrType_t inputDataAddrType, 30 CCBuffInfo_t *pOutputBuffInfo, dataAddrType_t outputDataAddrType, 31 uint32_t blockSize); 32 33 #endif /* _BYPASS_DRIVER_H */ 34 35