Lines Matching refs:getASICProfilingInfo
689 ATOM_ASIC_PROFILING_INFO_V3_4 *getASICProfilingInfo; in atomctrl_calculate_voltage_evv_on_sclk() local
716 getASICProfilingInfo = (ATOM_ASIC_PROFILING_INFO_V3_4 *) in atomctrl_calculate_voltage_evv_on_sclk()
721 if (!getASICProfilingInfo) in atomctrl_calculate_voltage_evv_on_sclk()
724 if (getASICProfilingInfo->asHeader.ucTableFormatRevision < 3 || in atomctrl_calculate_voltage_evv_on_sclk()
725 (getASICProfilingInfo->asHeader.ucTableFormatRevision == 3 && in atomctrl_calculate_voltage_evv_on_sclk()
726 getASICProfilingInfo->asHeader.ucTableContentRevision < 4)) in atomctrl_calculate_voltage_evv_on_sclk()
733 fRLL_LoadLine = Divide(getASICProfilingInfo->ulLoadLineSlop, 1000); in atomctrl_calculate_voltage_evv_on_sclk()
737 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
740 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM2), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
743 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM3), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
746 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM4), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
749 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM5), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
752 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM6), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
755 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM7), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
759 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM0), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
767 sRO_fuse = getASICProfilingInfo->sRoFuse; in atomctrl_calculate_voltage_evv_on_sclk()
788 sCACm_fuse = getASICProfilingInfo->sCACm; in atomctrl_calculate_voltage_evv_on_sclk()
809 sCACb_fuse = getASICProfilingInfo->sCACb; in atomctrl_calculate_voltage_evv_on_sclk()
829 sKt_Beta_fuse = getASICProfilingInfo->sKt_b; in atomctrl_calculate_voltage_evv_on_sclk()
851 sKv_m_fuse = getASICProfilingInfo->sKv_m; in atomctrl_calculate_voltage_evv_on_sclk()
873 sKv_b_fuse = getASICProfilingInfo->sKv_b; in atomctrl_calculate_voltage_evv_on_sclk()
905 sInput_FuseValues.usEfuseIndex = getASICProfilingInfo->usLkgEuseIndex; in atomctrl_calculate_voltage_evv_on_sclk()
906 sInput_FuseValues.ucBitShift = getASICProfilingInfo->ucLkgEfuseBitLSB; in atomctrl_calculate_voltage_evv_on_sclk()
907 sInput_FuseValues.ucBitLength = getASICProfilingInfo->ucLkgEfuseLength; in atomctrl_calculate_voltage_evv_on_sclk()
919 …fLn_MaxDivMin = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLkgEncodeLn_MaxDivMin), 1000… in atomctrl_calculate_voltage_evv_on_sclk()
920 fMin = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLkgEncodeMin), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
923 fLn_MaxDivMin, fMin, getASICProfilingInfo->ucLkgEfuseLength); in atomctrl_calculate_voltage_evv_on_sclk()
930 fSM_A0 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A0), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
931 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A0_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
932 fSM_A1 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A1), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
933 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A1_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
934 fSM_A2 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A2), 100000), in atomctrl_calculate_voltage_evv_on_sclk()
935 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A2_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
936 fSM_A3 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A3), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
937 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A3_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
938 fSM_A4 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A4), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
939 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A4_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
940 fSM_A5 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A5), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
941 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A5_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
942 fSM_A6 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A6), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
943 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A6_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
944 fSM_A7 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A7), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
945 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A7_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
947 fMargin_RO_a = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_a)); in atomctrl_calculate_voltage_evv_on_sclk()
948 fMargin_RO_b = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_b)); in atomctrl_calculate_voltage_evv_on_sclk()
949 fMargin_RO_c = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_c)); in atomctrl_calculate_voltage_evv_on_sclk()
951 fMargin_fixed = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_fixed)); in atomctrl_calculate_voltage_evv_on_sclk()
954 le32_to_cpu(getASICProfilingInfo->ulMargin_Fmax_mean), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
956 le32_to_cpu(getASICProfilingInfo->ulMargin_plat_mean), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
958 le32_to_cpu(getASICProfilingInfo->ulMargin_Fmax_sigma), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
960 le32_to_cpu(getASICProfilingInfo->ulMargin_plat_sigma), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
963 le32_to_cpu(getASICProfilingInfo->ulMargin_DC_sigma), 100); in atomctrl_calculate_voltage_evv_on_sclk()
975 le32_to_cpu(getASICProfilingInfo->ulMaxVddc), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()
976 fT_prod = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulBoardCoreTemp), 10); in atomctrl_calculate_voltage_evv_on_sclk()
977 fLKG_Factor = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulEvvLkgFactor), 100); in atomctrl_calculate_voltage_evv_on_sclk()
978 fT_FT = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLeakageTemp), 10); in atomctrl_calculate_voltage_evv_on_sclk()
980 le32_to_cpu(getASICProfilingInfo->ulLeakageVoltage), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()
982 le32_to_cpu(getASICProfilingInfo->ulMinVddc), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()