NAME
alf_task_desc_set_int32 -
Sets the value for a specific integer field of the task descriptor.
SYNOPSIS
int alf_task_desc_set_int32
(alf_task_desc_handle_t task_desc_handle, ALF_TASK_DESC_FIELD_T field, unsigned
int value);
Parameters |
|
task_desc_handle [IN/OUT] |
Handle to the task descriptor structure |
field [IN] |
The field to be set. Possible inputs are - ALF_TASK_DESC_WB_PARM_CTX_BUF_SIZE: size of the work
block parameter buffer
- ALF_TASK_DESC_WB_IN_BUF_SIZE: size of the work block
input buffer
- ALF_TASK_DESC_WB_OUT_BUF_SIZE: size of the work block
output buffer
- ALF_TASK_DESC_WB_INOUT_BUF_SIZE: size of the work block
overlapped input/output buffer
- ALF_TASK_DESC_NUM_DTL_ENTRIES: maximum number of entries
for the data transfer list
- ALF_TASK_DESC_TSK_CTX_SIZE: size of the task context
buffer
- ALF_TASK_DESC_PARTITION_ON_ACCEL: specifies whether the
accelerator functions (alf_accel_input_dtl_prepare and alf_accel_output_dtl_prepare)
are invoked to generate data transfer lists for input and output data.
- ALF_TASK_DESC_MAX_STACK_SIZE:
|
value [IN] |
New value of the specified field |
DESCRIPTION
This function
sets the value for a specific integer field of the task descriptor. The
default value of an un-set field is zero (0).
RETURN VALUE
0 |
Successful |
less than 0 |
Errors occurred: - ALF_ERR_INVAL: Invalid input argument
- ALF_ERR_BADF: Invalid task descriptor handle
- ALF_ERR_NOSYS: The ALF_TASK_DESC_FIELD provided
is not supported.
- ALF_ERR_PERM: The API call is not permitted at the current
context
- ALF_ERR_RANGE: The specified value is out of the allowed
range
- ALF_ERR_GENERIC: Generic internal errors
|