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