Lines Matching refs:le16_to_cpu
834 radeon_table->entries[i].clk = le16_to_cpu(entry->usClockLow) | in r600_parse_clk_voltage_dep_table()
836 radeon_table->entries[i].v = le16_to_cpu(entry->usVoltage); in r600_parse_clk_voltage_dep_table()
859 rdev->pm.dpm.backbias_response_time = le16_to_cpu(power_info->pplib.usBackbiasTime); in r600_get_platform_caps()
860 rdev->pm.dpm.voltage_response_time = le16_to_cpu(power_info->pplib.usVoltageTime); in r600_get_platform_caps()
890 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
894 le16_to_cpu(power_info->pplib3.usFanTableOffset)); in r600_parse_extended_power_table()
896 rdev->pm.dpm.fan.t_min = le16_to_cpu(fan_info->fan.usTMin); in r600_parse_extended_power_table()
897 rdev->pm.dpm.fan.t_med = le16_to_cpu(fan_info->fan.usTMed); in r600_parse_extended_power_table()
898 rdev->pm.dpm.fan.t_high = le16_to_cpu(fan_info->fan.usTHigh); in r600_parse_extended_power_table()
899 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table()
900 rdev->pm.dpm.fan.pwm_med = le16_to_cpu(fan_info->fan.usPWMMed); in r600_parse_extended_power_table()
901 rdev->pm.dpm.fan.pwm_high = le16_to_cpu(fan_info->fan.usPWMHigh); in r600_parse_extended_power_table()
903 rdev->pm.dpm.fan.t_max = le16_to_cpu(fan_info->fan2.usTMax); in r600_parse_extended_power_table()
910 le16_to_cpu(fan_info->fan3.usFanPWMMax); in r600_parse_extended_power_table()
913 le16_to_cpu(fan_info->fan3.usFanOutputSensitivity); in r600_parse_extended_power_table()
920 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
925 le16_to_cpu(power_info->pplib4.usVddcDependencyOnSCLKOffset)); in r600_parse_extended_power_table()
934 le16_to_cpu(power_info->pplib4.usVddciDependencyOnMCLKOffset)); in r600_parse_extended_power_table()
945 le16_to_cpu(power_info->pplib4.usVddcDependencyOnMCLKOffset)); in r600_parse_extended_power_table()
957 le16_to_cpu(power_info->pplib4.usMvddDependencyOnMCLKOffset)); in r600_parse_extended_power_table()
971 le16_to_cpu(power_info->pplib4.usMaxClockVoltageOnDCOffset)); in r600_parse_extended_power_table()
974 le16_to_cpu(clk_v->entries[0].usSclkLow) | in r600_parse_extended_power_table()
977 le16_to_cpu(clk_v->entries[0].usMclkLow) | in r600_parse_extended_power_table()
980 le16_to_cpu(clk_v->entries[0].usVddc); in r600_parse_extended_power_table()
982 le16_to_cpu(clk_v->entries[0].usVddci); in r600_parse_extended_power_table()
989 le16_to_cpu(power_info->pplib4.usVddcPhaseShedLimitsTableOffset)); in r600_parse_extended_power_table()
1004 le16_to_cpu(entry->usSclkLow) | (entry->ucSclkHigh << 16); in r600_parse_extended_power_table()
1006 le16_to_cpu(entry->usMclkLow) | (entry->ucMclkHigh << 16); in r600_parse_extended_power_table()
1008 le16_to_cpu(entry->usVoltage); in r600_parse_extended_power_table()
1018 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1023 rdev->pm.dpm.tdp_od_limit = le16_to_cpu(power_info->pplib5.usTDPODLimit); in r600_parse_extended_power_table()
1031 rdev->pm.dpm.load_line_slope = le16_to_cpu(power_info->pplib5.usLoadLineSlope); in r600_parse_extended_power_table()
1036 le16_to_cpu(power_info->pplib5.usCACLeakageTableOffset)); in r600_parse_extended_power_table()
1048 le16_to_cpu(entry->usVddc1); in r600_parse_extended_power_table()
1050 le16_to_cpu(entry->usVddc2); in r600_parse_extended_power_table()
1052 le16_to_cpu(entry->usVddc3); in r600_parse_extended_power_table()
1055 le16_to_cpu(entry->usVddc); in r600_parse_extended_power_table()
1067 if (le16_to_cpu(power_info->pplib.usTableSize) >= in r600_parse_extended_power_table()
1071 le16_to_cpu(power_info->pplib3.usExtendendedHeaderOffset)); in r600_parse_extended_power_table()
1072 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2) && in r600_parse_extended_power_table()
1076 le16_to_cpu(ext_hdr->usVCETableOffset) + 1); in r600_parse_extended_power_table()
1080 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1085 le16_to_cpu(ext_hdr->usVCETableOffset) + 1 + in r600_parse_extended_power_table()
1108 le16_to_cpu(vce_clk->usEVClkLow) | (vce_clk->ucEVClkHigh << 16); in r600_parse_extended_power_table()
1110 le16_to_cpu(vce_clk->usECClkLow) | (vce_clk->ucECClkHigh << 16); in r600_parse_extended_power_table()
1112 le16_to_cpu(entry->usVoltage); in r600_parse_extended_power_table()
1123 le16_to_cpu(vce_clk->usEVClkLow) | (vce_clk->ucEVClkHigh << 16); in r600_parse_extended_power_table()
1125 le16_to_cpu(vce_clk->usECClkLow) | (vce_clk->ucECClkHigh << 16); in r600_parse_extended_power_table()
1134 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3) && in r600_parse_extended_power_table()
1138 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1); in r600_parse_extended_power_table()
1142 le16_to_cpu(ext_hdr->usUVDTableOffset) + 1 + in r600_parse_extended_power_table()
1161 le16_to_cpu(uvd_clk->usVClkLow) | (uvd_clk->ucVClkHigh << 16); in r600_parse_extended_power_table()
1163 le16_to_cpu(uvd_clk->usDClkLow) | (uvd_clk->ucDClkHigh << 16); in r600_parse_extended_power_table()
1165 le16_to_cpu(entry->usVoltage); in r600_parse_extended_power_table()
1170 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4) && in r600_parse_extended_power_table()
1175 le16_to_cpu(ext_hdr->usSAMUTableOffset) + 1); in r600_parse_extended_power_table()
1190 le16_to_cpu(entry->usSAMClockLow) | (entry->ucSAMClockHigh << 16); in r600_parse_extended_power_table()
1192 le16_to_cpu(entry->usVoltage); in r600_parse_extended_power_table()
1197 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5) && in r600_parse_extended_power_table()
1201 le16_to_cpu(ext_hdr->usPPMTableOffset)); in r600_parse_extended_power_table()
1210 le16_to_cpu(ppm->usCpuCoreNumber); in r600_parse_extended_power_table()
1228 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6) && in r600_parse_extended_power_table()
1233 le16_to_cpu(ext_hdr->usACPTableOffset) + 1); in r600_parse_extended_power_table()
1248 le16_to_cpu(entry->usACPClockLow) | (entry->ucACPClockHigh << 16); in r600_parse_extended_power_table()
1250 le16_to_cpu(entry->usVoltage); in r600_parse_extended_power_table()
1255 if ((le16_to_cpu(ext_hdr->usSize) >= SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7) && in r600_parse_extended_power_table()
1258 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in r600_parse_extended_power_table()
1269 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in r600_parse_extended_power_table()
1271 le16_to_cpu(ppt->usMaximumPowerDeliveryLimit); in r600_parse_extended_power_table()
1276 le16_to_cpu(ext_hdr->usPowerTuneTableOffset)); in r600_parse_extended_power_table()
1280 rdev->pm.dpm.dyn_state.cac_tdp_table->tdp = le16_to_cpu(pt->usTDP); in r600_parse_extended_power_table()
1282 le16_to_cpu(pt->usConfigurableTDP); in r600_parse_extended_power_table()
1283 rdev->pm.dpm.dyn_state.cac_tdp_table->tdc = le16_to_cpu(pt->usTDC); in r600_parse_extended_power_table()
1285 le16_to_cpu(pt->usBatteryPowerLimit); in r600_parse_extended_power_table()
1287 le16_to_cpu(pt->usSmallPowerLimit); in r600_parse_extended_power_table()
1289 le16_to_cpu(pt->usLowCACLeakage); in r600_parse_extended_power_table()
1291 le16_to_cpu(pt->usHighCACLeakage); in r600_parse_extended_power_table()