1/* SPDX-License-Identifier: BSD-3-Clause */
2/* Copyright(c) 2007-2022 Intel Corporation */
3/******************************************************************************
4 * @file icp_adf_esram.h
5 *
6 * @description
7 *      This file contains the ADF interface to retrieve eSRAM information
8 *
9 *****************************************************************************/
10#ifndef ICP_ADF_ESRAM_H
11#define ICP_ADF_ESRAM_H
12
13/*
14 * icp_adf_esramGetAddress
15 *
16 * Description:
17 * Returns the eSRAM's physical and virtual addresses and its size in bytes.
18 *
19 * Returns:
20 *   CPA_STATUS_SUCCESS   on success
21 *   CPA_STATUS_FAIL      on failure
22 */
23CpaStatus icp_adf_esramGetAddress(icp_accel_dev_t *accel_dev,
24				  Cpa32U accelNumber,
25				  Cpa64U *pPhysAddr,
26				  Cpa64U *pVirtAddr,
27				  Cpa32U *pSize);
28
29#endif /* ICP_ADF_ESRAM_H */
30