Enumerations

enum _axi_access_mode

Overview

AXI Devices addressing mode (32 bit/128 bit)

// enum values

XVSEC_MCAP_AXI_MODE_32B = 0
XVSEC_MCAP_AXI_MODE_128B

Enum values

ValueDescription
XVSEC_MCAP_AXI_MODE_32B

32-bit addressing mode

XVSEC_MCAP_AXI_MODE_128B

128-bit addressing mode

enum _data_transfer_mode

Overview

Indicates mode of data transfer for download functionality.

// enum values

XVSEC_MCAP_DATA_TR_MODE_FAST = 0
XVSEC_MCAP_DATA_TR_MODE_SLOW

Enum values

ValueDescription
XVSEC_MCAP_DATA_TR_MODE_FAST

Fast Transfer mode and the default one when not specified

XVSEC_MCAP_DATA_TR_MODE_SLOW

Slow Transfer mode

enum _file_operation_status

Overview

Indicates File operation(Download/Upload) result.

// enum values

XVSEC_MCAP_FILE_OP_SUCCESS = 0
XVSEC_MCAP_FILE_OP_FAIL_SLVERR = 1
XVSEC_MCAP_FILE_OP_FAIL_DECERR = 2
XVSEC_MCAP_FILE_OP_RESERVED = 3
XVSEC_MCAP_FILE_OP_FAILED
XVSEC_MCAP_FILE_OP_ZERO_FSIZE
XVSEC_MCAP_FILE_OP_INVALID_FSIZE
XVSEC_MCAP_FILE_OP_HW_BUSY
XVSEC_MCAP_FILE_PATH_TOO_LONG

Enum values

ValueDescription
XVSEC_MCAP_FILE_OP_SUCCESS

File Operation Successful

XVSEC_MCAP_FILE_OP_FAIL_SLVERR

File Operation failed with XVSEC-MCAP error SLVERR

XVSEC_MCAP_FILE_OP_FAIL_DECERR

File Operation failed with XVSEC-MCAP error DECERR

XVSEC_MCAP_FILE_OP_FAILED

File operation failed

XVSEC_MCAP_FILE_OP_ZERO_FSIZE

Zero size file is provided as input

XVSEC_MCAP_FILE_OP_INVALID_FSIZE

Valid File size is not provided

for 32-bit mode, file size must be multiple of 32-bits / 4 bytes

for 128-bit mode, file size must be multiple of 128-bits / 16 bytes

XVSEC_MCAP_FILE_OP_HW_BUSY

File operation failed with XVSEC-MCAP HW timeout on completion

XVSEC_MCAP_FILE_PATH_TOO_LONG

Provided file path is too long to fit in internal buffers

enum access_type_t

Overview

Register/Offset Access Type(Byte/Short/Word)

// enum values

ACCESS_BYTE = 0
ACCESS_SHORT
ACCESS_WORD

Enum values

ValueDescription
ACCESS_BYTE

8 bits access (read/write)

ACCESS_SHORT

16 bits access (read/write)

ACCESS_WORD

32 bits access (read/write)

enum mcap_revision_t

Overview

Revision ID for MCAP IP.

// enum values

MCAP_US = 0
MCAP_USPLUS
MCAP_VERSAL
INVALID_MCAP_REVISION

Enum values

ValueDescription
MCAP_US

MCAP Revision for Ultrascale device

MCAP_USPLUS

MCAP Revision for Ultrascale plus device

MCAP_VERSAL

MCAP Revision for Versal device

INVALID_MCAP_REVISION

Unsupported MCAP Revision by this Driver