Lines Matching refs:fwImage

325       pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V1_RECOVERY_FW_OFFSET]->pCESFW;  in openFwSoFile()
333 pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V1_LC_FW_OFFSET]->pCESFW; in openFwSoFile()
337 pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V1_FW_OFFSET]->pCESFW; in openFwSoFile()
349 pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V2_RECOVERY_FW_OFFSET]->pCESFW; in openFwSoFile()
357 pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V2_LC_FW_OFFSET]->pCESFW; in openFwSoFile()
361 pfwImageCtx->fwImage = currentFwLib->mwCESFW[MWCESFW_A1V2_FW_OFFSET]->pCESFW; in openFwSoFile()
364 if ((!(pfwImageCtx->fwImgSize)) || (NULL == pfwImageCtx->fwImage)) { in openFwSoFile()
428 pfwImageCtx->fwImage = (uint8_t *)malloc(sizeof(uint8_t) * pfwImageCtx->fwImgSize); in openFwBinFile()
429 if (NULL == pfwImageCtx->fwImage) in openFwBinFile()
436 ret_size = fread(pfwImageCtx->fwImage, sizeof(uint8_t), pfwImageCtx->fwImgSize, fptr); in openFwBinFile()
514 frame_payload_length = (fwImageCtx.fwImage[next_frame_first_byte_index] << 8) + in check_fw_update_required()
515 (fwImageCtx.fwImage[next_frame_first_byte_index + 1]); in check_fw_update_required()
521 mw_fw_major_ver = fwImageCtx.fwImage[index + MW_MAJOR_FW_VER_OFFSET]; in check_fw_update_required()
522 mw_fw_minor_ver = fwImageCtx.fwImage[index + MW_MINOR_FW_VER_OFFSET]; in check_fw_update_required()
1766 if (NULL == pfwImageCtx->fwImage) { in phLoadFwBinary()
1774 frame_payload_length = (pfwImageCtx->fwImage[next_frame_first_byte_index] << 8) + in phLoadFwBinary()
1775 (pfwImageCtx->fwImage[next_frame_first_byte_index + 1]); in phLoadFwBinary()
1791 memcpy(current_frame, &pfwImageCtx->fwImage[next_frame_first_byte_index], in phLoadFwBinary()
1813 if (pfwImageCtx->fwImage != NULL) { in phLoadFwBinary()
1815 free(pfwImageCtx->fwImage); in phLoadFwBinary()
1823 pfwImageCtx->fwImage = NULL; in phLoadFwBinary()