Lines Matching refs:getASICProfilingInfo
688 ATOM_ASIC_PROFILING_INFO_V3_4 *getASICProfilingInfo; in atomctrl_calculate_voltage_evv_on_sclk() local
715 getASICProfilingInfo = (ATOM_ASIC_PROFILING_INFO_V3_4 *) in atomctrl_calculate_voltage_evv_on_sclk()
720 if (!getASICProfilingInfo) in atomctrl_calculate_voltage_evv_on_sclk()
723 if (getASICProfilingInfo->asHeader.ucTableFormatRevision < 3 || in atomctrl_calculate_voltage_evv_on_sclk()
724 (getASICProfilingInfo->asHeader.ucTableFormatRevision == 3 && in atomctrl_calculate_voltage_evv_on_sclk()
725 getASICProfilingInfo->asHeader.ucTableContentRevision < 4)) in atomctrl_calculate_voltage_evv_on_sclk()
732 fRLL_LoadLine = Divide(getASICProfilingInfo->ulLoadLineSlop, 1000); in atomctrl_calculate_voltage_evv_on_sclk()
736 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
739 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM2), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
742 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM3), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
745 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM4), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
748 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM5), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
751 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM6), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
754 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM7), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
758 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM0), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
766 sRO_fuse = getASICProfilingInfo->sRoFuse; in atomctrl_calculate_voltage_evv_on_sclk()
787 sCACm_fuse = getASICProfilingInfo->sCACm; in atomctrl_calculate_voltage_evv_on_sclk()
808 sCACb_fuse = getASICProfilingInfo->sCACb; in atomctrl_calculate_voltage_evv_on_sclk()
828 sKt_Beta_fuse = getASICProfilingInfo->sKt_b; in atomctrl_calculate_voltage_evv_on_sclk()
850 sKv_m_fuse = getASICProfilingInfo->sKv_m; in atomctrl_calculate_voltage_evv_on_sclk()
872 sKv_b_fuse = getASICProfilingInfo->sKv_b; in atomctrl_calculate_voltage_evv_on_sclk()
904 sInput_FuseValues.usEfuseIndex = getASICProfilingInfo->usLkgEuseIndex; in atomctrl_calculate_voltage_evv_on_sclk()
905 sInput_FuseValues.ucBitShift = getASICProfilingInfo->ucLkgEfuseBitLSB; in atomctrl_calculate_voltage_evv_on_sclk()
906 sInput_FuseValues.ucBitLength = getASICProfilingInfo->ucLkgEfuseLength; in atomctrl_calculate_voltage_evv_on_sclk()
918 …fLn_MaxDivMin = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLkgEncodeLn_MaxDivMin), 1000… in atomctrl_calculate_voltage_evv_on_sclk()
919 fMin = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLkgEncodeMin), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
922 fLn_MaxDivMin, fMin, getASICProfilingInfo->ucLkgEfuseLength); in atomctrl_calculate_voltage_evv_on_sclk()
929 fSM_A0 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A0), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
930 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A0_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
931 fSM_A1 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A1), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
932 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A1_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
933 fSM_A2 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A2), 100000), in atomctrl_calculate_voltage_evv_on_sclk()
934 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A2_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
935 fSM_A3 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A3), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
936 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A3_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
937 fSM_A4 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A4), 1000000), in atomctrl_calculate_voltage_evv_on_sclk()
938 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A4_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
939 fSM_A5 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A5), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
940 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A5_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
941 fSM_A6 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A6), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
942 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A6_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
943 fSM_A7 = fMultiply(GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulSM_A7), 1000), in atomctrl_calculate_voltage_evv_on_sclk()
944 ConvertToFraction(uPow(-1, getASICProfilingInfo->ucSM_A7_sign))); in atomctrl_calculate_voltage_evv_on_sclk()
946 fMargin_RO_a = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_a)); in atomctrl_calculate_voltage_evv_on_sclk()
947 fMargin_RO_b = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_b)); in atomctrl_calculate_voltage_evv_on_sclk()
948 fMargin_RO_c = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_RO_c)); in atomctrl_calculate_voltage_evv_on_sclk()
950 fMargin_fixed = ConvertToFraction(le32_to_cpu(getASICProfilingInfo->ulMargin_fixed)); in atomctrl_calculate_voltage_evv_on_sclk()
953 le32_to_cpu(getASICProfilingInfo->ulMargin_Fmax_mean), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
955 le32_to_cpu(getASICProfilingInfo->ulMargin_plat_mean), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
957 le32_to_cpu(getASICProfilingInfo->ulMargin_Fmax_sigma), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
959 le32_to_cpu(getASICProfilingInfo->ulMargin_plat_sigma), 10000); in atomctrl_calculate_voltage_evv_on_sclk()
962 le32_to_cpu(getASICProfilingInfo->ulMargin_DC_sigma), 100); in atomctrl_calculate_voltage_evv_on_sclk()
974 le32_to_cpu(getASICProfilingInfo->ulMaxVddc), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()
975 fT_prod = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulBoardCoreTemp), 10); in atomctrl_calculate_voltage_evv_on_sclk()
976 fLKG_Factor = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulEvvLkgFactor), 100); in atomctrl_calculate_voltage_evv_on_sclk()
977 fT_FT = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulLeakageTemp), 10); in atomctrl_calculate_voltage_evv_on_sclk()
979 le32_to_cpu(getASICProfilingInfo->ulLeakageVoltage), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()
981 le32_to_cpu(getASICProfilingInfo->ulMinVddc), 1000), ConvertToFraction(4)); in atomctrl_calculate_voltage_evv_on_sclk()