/hardware/ti/wlan/wl1271/stad/src/Sta_Management/ |
authSm.c | 109 auth_t *pHandle; 113 pHandle = (auth_t*)os_memoryAlloc(hOs, sizeof(auth_t)); 114 if (pHandle == NULL) 119 os_memoryZero(hOs, pHandle, sizeof(auth_t)); 121 pHandle->hOs = hOs; 124 status = fsm_Create(hOs, &pHandle->pAuthSm, AUTH_SM_MAX_NUM_STATES, AUTH_SM_MAX_NUM_EVENTS); 127 os_memoryFree(hOs, pHandle, sizeof(auth_t)); 131 return pHandle; 156 auth_t *pHandle; 158 pHandle = (auth_t*)hAuth [all...] |
mlmeSm.c | 109 mlme_t *pHandle; 113 pHandle = (mlme_t*)os_memoryAlloc(hOs, sizeof(mlme_t)); 114 if (pHandle == NULL) 120 os_memoryZero(hOs, pHandle, sizeof(mlme_t)); 122 pHandle->hOs = hOs; 125 status = fsm_Create(hOs, &pHandle->pMlmeSm, MLME_SM_NUM_STATES, MLME_SM_NUM_EVENTS); 128 os_memoryFree(hOs, pHandle, sizeof(mlme_t)); 132 return pHandle; 157 mlme_t *pHandle; 159 pHandle = (mlme_t*)hMlme [all...] |
mlmeParser.c | 97 mlme_t *pHandle = (mlme_t *)hMlme; 122 os_memoryZero (pHandle->hOs, &(pHandle->tempFrameInfo), sizeof(mlmeIEParsingParams_t)); 127 status = mlmeParser_getFrameType(pHandle, (TI_UINT16 *)&pMgmtFrame->hdr.fc, &msgType); 130 RxBufFree(pHandle->hOs, pBuffer); 134 pParam = (paramInfo_t *)os_memoryAlloc(pHandle->hOs, sizeof(paramInfo_t)); 137 RxBufFree(pHandle->hOs, pBuffer); 141 pHandle->tempFrameInfo.frame.subType = msgType; 145 ctrlData_getParam(pHandle->hCtrlData, pParam); 151 pHandle->tempFrameInfo.myBssid = TI_TRUE [all...] |
assocSM.c | 153 assoc_t *pHandle; 157 pHandle = (assoc_t*)os_memoryAlloc(hOs, sizeof(assoc_t)); 158 if (pHandle == NULL) 163 os_memoryZero(hOs, pHandle, sizeof(assoc_t)); 165 pHandle->hOs = hOs; 168 status = fsm_Create(hOs, &pHandle->pAssocSm, ASSOC_SM_NUM_STATES, ASSOC_SM_NUM_EVENTS); 171 os_memoryFree(hOs, pHandle, sizeof(assoc_t)); 175 return pHandle; 200 assoc_t *pHandle; 202 pHandle = (assoc_t*)hAssoc [all...] |
openAuthSm.c | 113 auth_t *pHandle; 149 pHandle = (auth_t*)hAuth; 151 status = fsm_Config(pHandle->pAuthSm, &openAuth_smMatrix[0][0], 158 pHandle->currentState = OPEN_AUTH_SM_STATE_IDLE; 205 auth_t *pHandle; 208 pHandle = (auth_t*)hAuth; 210 if (pHandle == NULL) 220 TRACE0(pHandle->hReport, REPORT_SEVERITY_SM, "OPEN_AUTH_SM: DEBUG recieved authentication message with wrong algorithm \n"); 221 rsn_reportAuthFailure(pHandle->hRsn, RSN_AUTH_STATUS_INVALID_TYPE); 225 if ((pHandle->authType==AUTH_LEGACY_RESERVED1) && (authAlgo !=AUTH_LEGACY_RESERVED1) [all...] |
mlmeBuilder.c | 82 mlme_t *pHandle = (mlme_t*)hMlme; 90 pPktCtrlBlk = TWD_txCtrlBlk_Alloc (pHandle->hTWD); 91 pPktBuffer = txCtrl_AllocPacketBuffer (pHandle->hTxCtrl, 96 TRACE0(pHandle->hReport, REPORT_SEVERITY_ERROR , ": No memory\n"); 97 TWD_txCtrlBlk_Free (pHandle->hTWD, pPktCtrlBlk); 103 status = mlmeBuilder_buildFrameCtrl (pHandle, type, (TI_UINT16 *)&pDot11Header->fc, setWepOpt); 106 txCtrl_FreePacket (pHandle->hTxCtrl, pPktCtrlBlk, TI_NOK); 110 status = ctrlData_getParamBssid(pHandle->hCtrlData, CTRL_DATA_CURRENT_BSSID_PARAM, daBssid); 113 txCtrl_FreePacket (pHandle->hTxCtrl, pPktCtrlBlk, TI_NOK); 120 status = ctrlData_getParamBssid(pHandle->hCtrlData, CTRL_DATA_MAC_ADDRESS, saBssid) [all...] |
sharedKeyAuthSm.c | 111 auth_t *pHandle; 163 pHandle = (auth_t*)hAuth; 165 status = fsm_Config(pHandle->pAuthSm, &sharedKeyAuth_smMatrix[0][0], 172 pHandle->currentState = SHARED_KEY_AUTH_SM_STATE_IDLE; 220 auth_t *pHandle; 224 pHandle = (auth_t*)hAuth; 226 if (pHandle == NULL) 235 TRACE0(pHandle->hReport, REPORT_SEVERITY_SM, "SHARED_KEY_AUTH_SM: DEBUG recieved authentication message with wrong algorithm \n"); 242 pHandle->authData.status = pFrame->content.auth.status; 243 pHandle->authData.pChalange = (char *)(pFrame->content.auth.pChallenge->text) [all...] |
/hardware/ti/omap4xxx/domx/mm_osal/src/ |
timm_osal_pipes.c | 95 TIMM_OSAL_PIPE *pHandle = TIMM_OSAL_NULL; 97 pHandle = 101 if (TIMM_OSAL_NULL == pHandle) 106 TIMM_OSAL_Memset(pHandle, 0x0, sizeof(TIMM_OSAL_PIPE)); 108 pHandle->pfd[0] = -1; 109 pHandle->pfd[1] = -1; 110 if (SUCCESS != pipe(pHandle->pfd)) 116 pHandle->pipeSize = pipeSize; 117 pHandle->messageSize = messageSize; 118 pHandle->isFixedMessage = isFixedMessage [all...] |
timm_osal_task.c | 115 TIMM_OSAL_TASK *pHandle = TIMM_OSAL_NULL; 122 pHandle = 125 if (pHandle == TIMM_OSAL_NULL) 132 TIMM_OSAL_Memset((TIMM_OSAL_PTR) pHandle, 0, sizeof(TIMM_OSAL_TASK)); 135 pHandle->uArgc = uArgc; 136 pHandle->pArgv = pArgv; 138 pHandle->isCreated = TIMM_OSAL_FALSE; 141 if (SUCCESS != pthread_attr_init(&pHandle->ThreadAttr)) 148 if (SUCCESS != pthread_attr_getschedparam(&pHandle->ThreadAttr, 156 if (SUCCESS != pthread_attr_setschedparam(&pHandle->ThreadAttr [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/ |
LCML_DspCodec.c | 137 LCML_DSP_INTERFACE* pHandle; 150 pHandle = (LCML_DSP_INTERFACE*)*hInterface; 161 pHandle->pCodecinterfacehandle = dspcodecinterface; 168 LCML_MALLOC(pHandle->dspCodec,sizeof(LCML_DSP),LCML_DSP); 169 if(pHandle->dspCodec == NULL) 174 memset(pHandle->dspCodec, 0, sizeof(LCML_DSP)); 176 pthread_mutex_init (&pHandle->mutex, NULL); 178 OMX_PRINT2 (dspcodecinterface->dbg, "GetHandle application handle %p dspCodec %p",pHandle, pHandle->dspCodec); 226 LCML_DSP_INTERFACE * phandle; local 532 LCML_DSP_INTERFACE * phandle; local 864 LCML_DSP_INTERFACE * phandle; local 1157 LCML_DSP_INTERFACE * phandle; local [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec_secure.c | 22 OMX_COMPONENTTYPE *pHandle = NULL; 28 pHandle = (OMX_COMPONENTTYPE *) hComponent; 34 pHandle->pComponentPrivate = 39 PROXY_assert(pHandle->pComponentPrivate != NULL, 44 (PROXY_COMPONENT_PRIVATE *) pHandle->pComponentPrivate; 95 pHandle->ComponentDeInit = PROXY_VIDDEC_Secure_ComponentDeInit; 104 TIMM_OSAL_Free(pHandle->pComponentPrivate); 105 pHandle->pComponentPrivate = NULL; 113 OMX_COMPONENTTYPE *pHandle = NULL; 119 pHandle = (OMX_COMPONENTTYPE *) hComponent [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
OMX_ComponentRegistry.h | 16 OMX_HANDLETYPE* pHandle[MAX_CONCURRENT_INSTANCES];
|
/hardware/msm7k/libgralloc-qsd8k/ |
gpu.h | 56 buffer_handle_t* pHandle); 58 buffer_handle_t* pHandle); 59 int gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle); 62 buffer_handle_t* pHandle, int* pStride); 65 int usage, buffer_handle_t* pHandle, int* pStride);
|
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
mainSecSm.c | 110 mainSec_t *pHandle; 114 pHandle = (mainSec_t*)os_memoryAlloc(hOs, sizeof(mainSec_t)); 115 if (pHandle == NULL) 120 os_memoryZero(hOs, pHandle, sizeof(mainSec_t)); 123 status = fsm_Create(hOs, &pHandle->pMainSecSm, MAIN_SEC_MAX_NUM_STATES, MAIN_SEC_MAX_NUM_EVENTS); 126 os_memoryFree(hOs, pHandle, sizeof(mainSec_t)); 130 pHandle->pMainKeys = mainKeys_create(hOs); 131 if (pHandle->pMainKeys == NULL) 133 fsm_Unload(hOs, pHandle->pMainSecSm); 134 os_memoryFree(hOs, pHandle, sizeof(mainSec_t)) [all...] |
mainKeysSm.c | 89 mainKeys_t *pHandle; 93 pHandle = (mainKeys_t*)os_memoryAlloc(hOs, sizeof(mainKeys_t)); 94 if (pHandle == NULL) 99 os_memoryZero(hOs, pHandle, sizeof(mainKeys_t)); 102 status = fsm_Create(hOs, &pHandle->pMainKeysSm, MAIN_KEYS_NUM_STATES, MAIN_KEYS_NUM_EVENTS); 105 os_memoryFree(hOs, pHandle, sizeof(mainKeys_t)); 109 pHandle->pKeyParser = keyParser_create(hOs); 110 if (pHandle->pKeyParser == NULL) 112 fsm_Unload(hOs, pHandle->pMainKeysSm); 113 os_memoryFree(hOs, pHandle, sizeof(mainKeys_t)) [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
OMX_JpegDec_Thread.c | 79 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pThreadData; 83 JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 126 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 127 pComponentPrivate->pHandle->pApplicationPrivate, 160 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 161 pComponentPrivate->pHandle->pApplicationPrivate, 175 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 176 pComponentPrivate->pHandle->pApplicationPrivate, 187 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 188 pComponentPrivate->pHandle->pApplicationPrivate [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
OMX_WbAmrEnc_Utils.c | 111 LCML_DSP_INTERFACE *pHandle = (LCML_DSP_INTERFACE *)pComponent; 112 WBAMRENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; 260 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 299 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 352 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 354 (WBAMRENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 441 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 443 pHandle->pComponentPrivate; 523 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 525 pHandle->pComponentPrivate 1701 LCML_DSP_INTERFACE * phandle; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
OMX_AacDec_Utils.c | 98 * @param pHandle This is component handle allocated by the OMX core. 119 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 120 AACDEC_COMPONENT_PRIVATE *pComponentPrivate = (AACDEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 266 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 280 ((AACDEC_COMPONENT_PRIVATE *) pTemp->pPlatformPrivate)->pHandle = pHandle; 301 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 315 ((AACDEC_COMPONENT_PRIVATE *)pTemp->pPlatformPrivate)->pHandle = pHandle; 353 * @param pHandle This is component handle allocated by the OMX core [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDec_Utils.c | 116 LCML_DSP_INTERFACE *pHandle = (LCML_DSP_INTERFACE *)pComponent; 120 pComponentPrivate = pHandle->pComponentPrivate; 122 OMX_PRDSP1(pComponentPrivate->dbg, "pHandle = %p\n",pHandle); 123 OMX_PRDSP1(pComponentPrivate->dbg, "pHandle->pComponentPrivate = %p\n",pHandle->pComponentPrivate); 294 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 328 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 385 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 387 (WBAMR_DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate 1744 LCML_DSP_INTERFACE * phandle; local 2511 LCML_DSP_INTERFACE *phandle = (LCML_DSP_INTERFACE *)args[6]; local [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDec_Thread.c | 82 extern OMX_ERRORTYPE VIDDEC_HandleCommand (OMX_HANDLETYPE pHandle, OMX_U32 nParam1); 89 extern OMX_ERRORTYPE VIDDEC_Start_ComponentThread(OMX_HANDLETYPE pHandle); 187 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 188 pComponentPrivate->pHandle->pApplicationPrivate, 217 /*pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 218 pComponentPrivate->pHandle->pApplicationPrivate, 237 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 238 pComponentPrivate->pHandle->pApplicationPrivate, 248 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 249 pComponentPrivate->pHandle->pApplicationPrivate [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.c | 100 static OMX_ERRORTYPE VPP_SetZoom(OMX_HANDLETYPE pHandle, int speed, int factor, int limit, int xoff, int yoff); 101 static OMX_ERRORTYPE VPP_SetContrast(OMX_HANDLETYPE pHandle, int Contrast); 102 static OMX_ERRORTYPE VPP_FrostedGlassEffect(OMX_HANDLETYPE pHandle, int IsOverlay); 103 static OMX_ERRORTYPE VPP_SetCrop(OMX_HANDLETYPE pHandle, int XStart, int XSize, int YStart, int YSize); 104 static OMX_ERRORTYPE VPP_SetMirroring(OMX_HANDLETYPE pHandle, int IsRGBOutput); 105 static OMX_ERRORTYPE VPP_SetRotationAngle(OMX_HANDLETYPE pHandle, int IsRGBOutput,int Angle); 106 static OMX_ERRORTYPE VPP_SetDithering(OMX_HANDLETYPE pHandle, int IsRGBOutput); 107 static OMX_ERRORTYPE VPP_SetColorRange(OMX_HANDLETYPE pHandle, int nColorRange); 154 static OMX_ERRORTYPE WaitForState(OMX_HANDLETYPE* pHandle, OMX_STATETYPE DesiredState) 159 OMX_COMPONENTTYPE *pComponent = (OMX_COMPONENTTYPE *)pHandle; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
OMX_AmrDec_Utils.c | 123 LCML_DSP_INTERFACE *pHandle = (LCML_DSP_INTERFACE *)pComponent; 128 pComponentPrivate = pHandle->pComponentPrivate; 304 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 339 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 396 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 398 (AMRDEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 476 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 478 pHandle->pComponentPrivate; 568 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 570 pHandle->pComponentPrivate 1720 LCML_DSP_INTERFACE * phandle; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Dec_Utils.c | 103 * @param pHandle This is component handle allocated by the OMX core. 123 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 124 MP3DEC_COMPONENT_PRIVATE *pComponentPrivate =(MP3DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 288 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 300 ((MP3DEC_COMPONENT_PRIVATE *) pTemp->pPlatformPrivate)->pHandle = pHandle; 323 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 336 ((MP3DEC_COMPONENT_PRIVATE *)pTemp->pPlatformPrivate)->pHandle = pHandle; 367 * @param pHandle This is component handle allocated by the OMX core. [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDec_Utils.c | 120 LCML_DSP_INTERFACE *pHandle; 125 pHandle = (LCML_DSP_INTERFACE *)pComponent; 133 OMX_PRINT2(pComponentPrivate->dbg, "%d :: WMADECFill_LCMLInitParams - pHandle = %p",__LINE__, 134 pHandle); 308 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 358 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 403 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 405 (WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 462 pComponentPrivate->cbInfo.EventHandler(pComponentPrivate->pHandle, 463 pComponentPrivate->pHandle->pApplicationPrivate 1911 LCML_DSP_INTERFACE *phandle; local [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
OMX_G726Dec_Utils.c | 97 * @param pHandle This is component handle allocated by the OMX core. 118 OMX_COMPONENTTYPE *pHandle = (OMX_COMPONENTTYPE *)pComponent; 120 (G726DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 293 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 305 ((G726DEC_COMPONENT_PRIVATE *) pTemp->pPlatformPrivate)->pHandle = pHandle; 324 pTemp->pPlatformPrivate = pHandle->pComponentPrivate; 332 ((G726DEC_COMPONENT_PRIVATE *)pTemp->pPlatformPrivate)->pHandle = pHandle; 356 * @param pHandle This is component handle allocated by the OMX core 1313 LCML_DSP_INTERFACE * phandle = NULL; local [all...] |