Lines Matching refs:status

92 	int status = 0;  in DspManager_Open()  local
106 status = open(BRIDGE_DRIVER_NAME, O_RDWR); in DspManager_Open()
107 if (status >= 0) in DspManager_Open()
108 hMediaFile = status; in DspManager_Open()
111 if (status >= 0) { in DspManager_Open()
114 status = DSP_SOK; in DspManager_Open()
116 status = DSP_EFAIL; in DspManager_Open()
124 return status; in DspManager_Open()
133 int status = 0; in DspManager_Close() local
138 status = close(hMediaFile); in DspManager_Close()
139 if (status >= 0) in DspManager_Close()
143 if (status >= 0) { in DspManager_Close()
146 status = DSP_SOK; in DspManager_Close()
148 status = DSP_EFAIL; in DspManager_Close()
155 return status; in DspManager_Close()
167 DSP_STATUS status = DSP_SOK; in DSPManager_EnumNodeInfo() local
185 status = DSPTRAP_Trap(&tempStruct, in DSPManager_EnumNodeInfo()
188 status = DSP_ESIZE; in DSPManager_EnumNodeInfo()
194 status = DSP_EPOINTER; in DSPManager_EnumNodeInfo()
199 return status; in DSPManager_EnumNodeInfo()
212 DSP_STATUS status = DSP_SOK; in DSPManager_EnumProcessorInfo() local
232 status = DSPTRAP_Trap(&tempStruct, in DSPManager_EnumProcessorInfo()
235 status = DSP_ESIZE; in DSPManager_EnumProcessorInfo()
241 status = DSP_EPOINTER; in DSPManager_EnumProcessorInfo()
246 return status; in DSPManager_EnumProcessorInfo()
257 DSP_STATUS status = DSP_SOK; in DSPManager_WaitForEvents() local
274 status = DSPTRAP_Trap(&tempStruct, CMD_MGR_WAIT_OFFSET); in DSPManager_WaitForEvents()
281 status = DSP_EPOINTER; in DSPManager_WaitForEvents()
284 return status; in DSPManager_WaitForEvents()
295 DSP_STATUS status = DSP_SOK; in DSPManager_RegisterObject() local
311 status = DSP_EINVALIDARG; in DSPManager_RegisterObject()
314 if (DSP_SUCCEEDED(status)) { in DSPManager_RegisterObject()
319 status = DSPTRAP_Trap(&tempStruct, in DSPManager_RegisterObject()
327 return status; in DSPManager_RegisterObject()
338 DSP_STATUS status = DSP_SOK; in DSPManager_UnregisterObject() local
353 status = DSP_EINVALIDARG; in DSPManager_UnregisterObject()
356 if (DSP_SUCCEEDED(status)) { in DSPManager_UnregisterObject()
360 status = DSPTRAP_Trap(&tempStruct, in DSPManager_UnregisterObject()
369 return status; in DSPManager_UnregisterObject()
380 DSP_STATUS status = DSP_SOK; in DSPManager_GetProcResourceInfo() local
386 status = DSP_EINVALIDARG; in DSPManager_GetProcResourceInfo()
388 if (DSP_SUCCEEDED(status)) { in DSPManager_GetProcResourceInfo()
391 status = DSPTRAP_Trap(&tempStruct, CMD_MGR_RESOUCES_OFFSET); in DSPManager_GetProcResourceInfo()
394 return status; in DSPManager_GetProcResourceInfo()