Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/qat/qat_api/common/include/lac_sal.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
* @retVal CPA_STATUS_RESOURCE Instance memory not successfully allocated | * @retVal CPA_STATUS_RESOURCE Instance memory not successfully allocated | ||||
* @retVal CPA_STATUS_FAIL Unsupported service type | * @retVal CPA_STATUS_FAIL Unsupported service type | ||||
* | * | ||||
*****************************************************************************/ | *****************************************************************************/ | ||||
CpaStatus SalCtrl_ServiceCreate(sal_service_type_t service, | CpaStatus SalCtrl_ServiceCreate(sal_service_type_t service, | ||||
Cpa32U instance_num, | Cpa32U instance_num, | ||||
sal_service_t **pObj); | sal_service_t **pObj); | ||||
/** | /****************************************************************************** | ||||
******************************************************************************* | |||||
* @ingroup SalCtl | * @ingroup SalCtl | ||||
* @description | * @description | ||||
* This macro goes through the 'list' passed in as a parameter. For each | * This macro goes through the 'list' passed in as a parameter. For each | ||||
* element found in the list, it peforms a cast to the type of the element | * element found in the list, it peforms a cast to the type of the element | ||||
* given by the 'type' parameter. Finally, it calls the function given by | * given by the 'type' parameter. Finally, it calls the function given by | ||||
* the 'function' parameter, passing itself and the device as parameters. | * the 'function' parameter, passing itself and the device as parameters. | ||||
* | * | ||||
* In case of error (i.e. 'function' does not return _SUCCESS or _RETRY) | * In case of error (i.e. 'function' does not return _SUCCESS or _RETRY) | ||||
▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines |