Lines Matching refs:tmpAdr

609     MS_U32 tmpAdr;  in MVD_SetHWBuffer()  local
612 tmpAdr = MemAlign(u32Add, MVD3_FW_IAP_BUF_ALIGN); in MVD_SetHWBuffer()
613 MVD_DEBUGINFO(printf("set MVD3_FW_IAP_BUF_ADR =%lx\n",tmpAdr)); in MVD_SetHWBuffer()
614 HAL_MVD_SetIAPBufferAddr(tmpAdr); in MVD_SetHWBuffer()
615 tmpAdr += MVD3_FW_IAP_BUF_LEN; in MVD_SetHWBuffer()
617 tmpAdr = MemAlign(tmpAdr, MVD3_FW_DP_BUF_ALIGN); in MVD_SetHWBuffer()
618 MVD_DEBUGINFO(printf("set MVD3_FW_DP_BUF_ADR=%lx\n",tmpAdr)); in MVD_SetHWBuffer()
619 HAL_MVD_SetDPBufferAddr(tmpAdr); in MVD_SetHWBuffer()
620 tmpAdr += MVD3_FW_DP_BUF_LEN; in MVD_SetHWBuffer()
622 tmpAdr = MemAlign(tmpAdr, MVD3_FW_MV_BUF_ALIGN); in MVD_SetHWBuffer()
623 MVD_DEBUGINFO(printf("set MVD3_FW_MV_BUF_ADR=%lx\n",tmpAdr)); in MVD_SetHWBuffer()
624 HAL_MVD_SetMVBufferAddr(tmpAdr); in MVD_SetHWBuffer()
625 tmpAdr += MVD3_FW_MV_BUF_LEN; in MVD_SetHWBuffer()
626 MVD_DEBUGINFO(printf("====> %s End of HW buffers = 0x%lx\n", __FUNCTION__, tmpAdr)); in MVD_SetHWBuffer()
628 return tmpAdr; in MVD_SetHWBuffer()
727 MS_U32 tmpAdr, tmpLen; in MVD_MVDSetInternalBuffAddr()
731 tmpAdr = u32start; in MVD_MVDSetInternalBuffAddr()
732 tmpAdr += MVD_FW_CODE_LEN; in MVD_MVDSetInternalBuffAddr()
734 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
735 MVD_DEBUGINFO(printf("set MVD3_FW_VOL_INFO_BUF_ADR 2=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
736 HAL_MVD_SetVolInfoBufferAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
738 pu8MVDGetVolBufStart = tmpAdr; in MVD_MVDSetInternalBuffAddr()
739 tmpAdr += MVD3_FW_VOL_INFO_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
740 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
757 MVD_DEBUGINFO(printf("set MVD3_FW_FRAME_INFO_BUF_ADR 3=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
758 HAL_MVD_SetFrameInfoBufferAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
760 pu8MVDGetFrameInfoBufStart = tmpAdr; in MVD_MVDSetInternalBuffAddr()
761 tmpAdr += MVD3_FW_FRAME_INFO_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
762 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
769 MVD_DEBUGINFO(printf("set MVD3_FW_DIVX_INFO_BUF_ADR=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
770 HAL_MVD_SetHeaderBufferAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
772 pu8MVDSetHeaderBufStart = tmpAdr; in MVD_MVDSetInternalBuffAddr()
773 tmpAdr += MVD3_FW_DIVX_INFO_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
775 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
777 MVD_DEBUGINFO(printf("set MVD3_FW_USER_DATA_BUF_ADR 4 =%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
778 HAL_MVD_SetUserDataBuf(tmpAdr, MVD3_FW_USER_DATA_BUF_LEN); in MVD_MVDSetInternalBuffAddr()
779 _stInternalMemCfg.u32UserDataBuf = tmpAdr; in MVD_MVDSetInternalBuffAddr()
783 tmpAdr += MVD3_FW_USER_DATA_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
785 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
786 MVD_DEBUGINFO(printf("set MVD3_FW_USER_DATA_BUF2 =%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
788 tmpAdr += MVD3_FW_USER_DATA_BUF_BACKUP_LEN; in MVD_MVDSetInternalBuffAddr()
790 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
792 tmpAdr += 0x10000; //sync to MM in MVD_MVDSetInternalBuffAddr()
793 tmpAdr += MVD3_FW_SLQ_TAB_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
795 tmpAdr = (MemAlign(tmpAdr, 0x1000));//4k align in MVD_MVDSetInternalBuffAddr()
796 MVD_DEBUGINFO(printf("set MVD3_FW_SLQ_TAB_TMPBUF_ADR=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
797 tmpAdr += MVD3_FW_SLQ_TAB_BUF_LEN; //sync to MM in MVD_MVDSetInternalBuffAddr()
799 u32MVDFWSLQTABTmpbufAdr = tmpAdr; in MVD_MVDSetInternalBuffAddr()
801 MVD_DEBUGINFO(printf("set u32MVDFWSLQTABTmpbufAdr=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
803 if ((u32start + u32len) < tmpAdr) in MVD_MVDSetInternalBuffAddr()
812 HAL_MVD_MemWrite4Byte(tmpAdr, 0xBE010000UL); in MVD_MVDSetInternalBuffAddr()
813 tmpAdr+=4; in MVD_MVDSetInternalBuffAddr()
814 HAL_MVD_MemWrite4Byte(tmpAdr, 0x000000FAUL); in MVD_MVDSetInternalBuffAddr()
815 tmpAdr+=4; in MVD_MVDSetInternalBuffAddr()
818 HAL_MVD_MemWrite4Byte(tmpAdr, 0x00UL); in MVD_MVDSetInternalBuffAddr()
819 tmpAdr+=4; in MVD_MVDSetInternalBuffAddr()
822 u32MVDFWPtsTblAddr = tmpAdr; in MVD_MVDSetInternalBuffAddr()
840 tmpAdr += MVD_FW_SLQTBL_PTS_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
844 tmpAdr += (MVD3_FW_SLQ_TAB_TMPBUF_LEN + MVD_FW_SLQTBL_PTS_BUF_LEN); in MVD_MVDSetInternalBuffAddr()
847 u32DynScalingAdd = tmpAdr; in MVD_MVDSetInternalBuffAddr()
850 HAL_MVD_SetDynamicScaleAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
860 tmpAdr += MVD_FW_DYN_SCALE_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
862 u32ScalerInfoAdd = tmpAdr; in MVD_MVDSetInternalBuffAddr()
865 tmpAdr += MVD_FW_SCALER_INFO_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
867 u32DecFrmInfoAdd = tmpAdr; in MVD_MVDSetInternalBuffAddr()
868 HAL_MVD_SetDecFrmInfoAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
872 tmpAdr += MVD_FW_DECFRM_INFO_BUF_LEN; in MVD_MVDSetInternalBuffAddr()
875 if (tmpAdr > MVD_FW_MPOOL_START_OFFSET) in MVD_MVDSetInternalBuffAddr()
886 tmpAdr = MVD_SetHWBuffer(tmpAdr); in MVD_MVDSetInternalBuffAddr()
893 HAL_MVD_MemGetMap(E_MVD_MMAP_FB, &tmpAdr, &tmpLen); in MVD_MVDSetInternalBuffAddr()
894 MVD_DEBUGINFO(printf("set MVD_FRAMEBUFFER_ADR=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
895 MDrv_MVD_SetFrameBuffAddr(tmpAdr); in MVD_MVDSetInternalBuffAddr()
910 tmpAdr += u32FbHdSize; in MVD_MVDSetInternalBuffAddr()
918 tmpAdr += u32FbSdSize; in MVD_MVDSetInternalBuffAddr()
925 MVD_DEBUGINFO(printf("MVD FB boundary =0x%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
926 tmpAdr = MVD_SetHWBuffer(tmpAdr); in MVD_MVDSetInternalBuffAddr()
930 HAL_MVD_MemGetMap(E_MVD_MMAP_BS, &tmpAdr, &tmpLen); in MVD_MVDSetInternalBuffAddr()
931 MVD_DEBUGINFO(printf("set MVD_BITSTREAM_ADR=%lx\n",tmpAdr)); in MVD_MVDSetInternalBuffAddr()
932 bRet = MDrv_MVD_SetBitStreamAddr(tmpAdr,tmpAdr+tmpLen); in MVD_MVDSetInternalBuffAddr()
933 u32ESBuffEnd = tmpAdr+tmpLen; in MVD_MVDSetInternalBuffAddr()