ALF_ACCEL_DTL_BEGIN

NAME

ALF_ACCEL_DTL_BEGIN - Marks the beginning of a data transfer list for the specified target buffer_type.

SYNOPSIS

ALF_ACCEL_DTL_BEGIN (void* p_dtl, ALF_IO_BUF_TYPE_T buf_type, unsigned int offset);

Parameters  
p_dtl[IN/OUT] Pointer to buffer for the data transfer list data structure.
buf_type
  • ALF_BUF_IN
  • ALF_BUF_OUT
  • ALF_OVL_IN
  • ALF_OVL_OUT
  • ALF_OVL_INOUT
offset[IN] Offset to the input or output buffer pointer in local memory to which the data transfer list refers to.

DESCRIPTION

This utility marks the beginning of a data transfer list for the specified target buffer_type. Further calls to function ALF_ACCEL_DTL_ENTRY_ADD refer to the currently opened data transfer list. You can create multiple data transfer lists per buffer type. However, only one data transfer list is opened for entry at any time.
Note: This API is for accelerator node side to generate the data transfer list entries. It may be implemented as macros on some platforms.

RETURN VALUE

None.