These APIs are not part of the core ALF API. They are specific to Cell
BE architecture. The following example demonstrates how these APIs are used
int alf_accel_input_dtl_prepare (void* p_task_context, void *p_parm_context,
void *p_dtl, unsigned int current_iter, unsigned int num_iter)
{
mfc_element_t *p_dma_list;
unsigned int max_entry, cnt;
ALF_ACCEL_DTL_BEGIN(p_dtl, ALF_IO_BUF_IN, 0);
ALF_ACCEL_DTL_ENTRY_ADD(p_dtl, 16, ALF_DATA_INT32, ea_global_data_1);
ALF_ACCEL_DTL_CBEA_DMA_LIST_BUFFER_GET(p_dtl, &p_dma_list, &max_entry);
for(cnt=0; cnt<100 && cnt <max_entry; cnt++)
{
p_dma_list[cnt] = ...;
}
ALF_ACCEL_DTL_CBEA_DMA_LIST_BUFFER_UPDATE(p_dtl, cnt);
ALF_ACCEL_DTL_ENTRY_ADD(p_dtl, 24, ALF_DATA_INT32, ea_global_data_2);
ALF_ACCEL_DTL_END(p_dtl);
}