Symbol: cpu_to_be16
sys/dev/drm/amd/amdgpu/ci_dpm.c
1131
fan_table.TempMin = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1132
fan_table.TempMed = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1133
fan_table.TempMax = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1135
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1136
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1138
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1140
fan_table.HystDown = cpu_to_be16(adev->pm.dpm.fan.t_hyst);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1142
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1144
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1146
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1153
fan_table.FdoMax = cpu_to_be16((u16)duty100);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1463
table->FpsHighT = cpu_to_be16(tmp);
sys/dev/drm/amd/amdgpu/ci_dpm.c
1466
table->FpsLowT = cpu_to_be16(tmp);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2350
smc_voltage_table->Voltage = cpu_to_be16(voltage_table->value * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2352
cpu_to_be16(smc_voltage_table->StdVoltageHiSidd);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2354
cpu_to_be16(smc_voltage_table->StdVoltageLoSidd);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2821
table->UvdLevel[count].MinVddc = cpu_to_be16(table->UvdLevel[count].MinVddc);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2853
table->VceLevel[count].MinVoltage = cpu_to_be16(table->VceLevel[count].MinVoltage);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2886
table->AcpLevel[count].MinVoltage = cpu_to_be16(table->AcpLevel[count].MinVoltage);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2918
table->SamuLevel[count].MinVoltage = cpu_to_be16(table->SamuLevel[count].MinVoltage);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3117
memory_level->ActivityLevel = cpu_to_be16(memory_level->ActivityLevel);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3237
cpu_to_be16((u16)pi->mclk_activity_target);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3298
state->VddcOffset = cpu_to_be16(state->VddcOffset);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3408
graphic_level->ActivityLevel = cpu_to_be16(graphic_level->ActivityLevel);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3497
pi->smc_state_table.MemoryLevel[0].ActivityLevel = cpu_to_be16(0x1F);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3827
table->TemperatureLimitHigh = cpu_to_be16(table->TemperatureLimitHigh);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3828
table->TemperatureLimitLow = cpu_to_be16(table->TemperatureLimitLow);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3829
table->VddcVddciDelta = cpu_to_be16(table->VddcVddciDelta);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3830
table->VoltageResponseTime = cpu_to_be16(table->VoltageResponseTime);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3831
table->PhaseResponseTime = cpu_to_be16(table->PhaseResponseTime);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3832
table->BootVddc = cpu_to_be16(table->BootVddc * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3833
table->BootVddci = cpu_to_be16(table->BootVddci * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3834
table->BootMVdd = cpu_to_be16(table->BootMVdd * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
462
pi->smc_powertune_table.TDC_VDDC_PkgLimit = cpu_to_be16(tdc_limit);
sys/dev/drm/amd/amdgpu/ci_dpm.c
4842
mc_reg_table->address[i].s0 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/amd/amdgpu/ci_dpm.c
4843
mc_reg_table->address[i].s1 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
500
cpu_to_be16(adev->pm.dpm.fan.fan_output_sensitivity);
sys/dev/drm/amd/amdgpu/ci_dpm.c
548
pi->smc_powertune_table.BapmVddCBaseLeakageHiSidd = cpu_to_be16(hi_sidd);
sys/dev/drm/amd/amdgpu/ci_dpm.c
549
pi->smc_powertune_table.BapmVddCBaseLeakageLoSidd = cpu_to_be16(lo_sidd);
sys/dev/drm/amd/amdgpu/ci_dpm.c
577
dpm_table->PPM_PkgPwrLimit = cpu_to_be16((u16)ppm->dgpu_tdp * 256 / 1000);
sys/dev/drm/amd/amdgpu/ci_dpm.c
578
dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256);
sys/dev/drm/amd/amdgpu/ci_dpm.c
580
dpm_table->PPM_PkgPwrLimit = cpu_to_be16(0);
sys/dev/drm/amd/amdgpu/ci_dpm.c
581
dpm_table->PPM_TemperatureLimit = cpu_to_be16(0);
sys/dev/drm/amd/amdgpu/ci_dpm.c
591
dpm_table->BAPMTI_R[i][j][k] = cpu_to_be16(*def1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
592
dpm_table->BAPMTI_RC[i][j][k] = cpu_to_be16(*def2);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1055
pi->samu_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1117
pi->acp_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1439
pi->fps_high_t = cpu_to_be16(tmp);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1447
pi->fps_low_t = cpu_to_be16(tmp);
sys/dev/drm/amd/amdgpu/kv_dpm.c
713
pi->graphics_level[index].AT = cpu_to_be16((u16)at);
sys/dev/drm/amd/amdgpu/kv_dpm.c
922
pi->uvd_level[i].MinVddNb = cpu_to_be16(table->entries[i].v);
sys/dev/drm/amd/amdgpu/kv_dpm.c
992
pi->vce_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/amd/amdgpu/si_dpm.c
2470
smc_state->levels[i].dpm2.PwrEfficiencyRatio = cpu_to_be16(pwr_efficiency_ratio);
sys/dev/drm/amd/amdgpu/si_dpm.c
2708
cpu_to_be16((u16)smc_leakage);
sys/dev/drm/amd/amdgpu/si_dpm.c
2744
cpu_to_be16((u16)smc_leakage);
sys/dev/drm/amd/amdgpu/si_dpm.c
4581
voltage->value = cpu_to_be16(table->entries[i].value);
sys/dev/drm/amd/amdgpu/si_dpm.c
4604
voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value);
sys/dev/drm/amd/amdgpu/si_dpm.c
4665
voltage->value = cpu_to_be16(value);
sys/dev/drm/amd/amdgpu/si_dpm.c
6047
cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/amd/amdgpu/si_dpm.c
6049
cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/amd/amdgpu/si_dpm.c
6498
fan_table.temp_min = cpu_to_be16((50 + adev->pm.dpm.fan.t_min) / 100);
sys/dev/drm/amd/amdgpu/si_dpm.c
6499
fan_table.temp_med = cpu_to_be16((50 + adev->pm.dpm.fan.t_med) / 100);
sys/dev/drm/amd/amdgpu/si_dpm.c
6500
fan_table.temp_max = cpu_to_be16((50 + adev->pm.dpm.fan.t_max) / 100);
sys/dev/drm/amd/amdgpu/si_dpm.c
6501
fan_table.slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/amdgpu/si_dpm.c
6502
fan_table.slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/amdgpu/si_dpm.c
6503
fan_table.fdo_min = cpu_to_be16(fdo_min);
sys/dev/drm/amd/amdgpu/si_dpm.c
6504
fan_table.hys_down = cpu_to_be16(adev->pm.dpm.fan.t_hyst);
sys/dev/drm/amd/amdgpu/si_dpm.c
6505
fan_table.hys_up = cpu_to_be16(1);
sys/dev/drm/amd/amdgpu/si_dpm.c
6506
fan_table.hys_slope = cpu_to_be16(1);
sys/dev/drm/amd/amdgpu/si_dpm.c
6507
fan_table.temp_resp_lim = cpu_to_be16(5);
sys/dev/drm/amd/amdgpu/si_dpm.c
6512
fan_table.fdo_max = cpu_to_be16((u16)duty100);
sys/dev/drm/amd/powerplay/inc/pp_endian.h
30
#define PP_HOST_TO_SMC_US(X) cpu_to_be16(X)
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2168
fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin) / 100);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2169
fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed) / 100);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2170
fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax) / 100);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2172
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2173
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2175
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2177
fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2179
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2181
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2183
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2189
fan_table.FdoMax = cpu_to_be16((uint16_t)duty100);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2786
cpu_to_be16(setting->sclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2787
levels[i].ActivityLevel = cpu_to_be16(setting->sclk_activity);
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2821
cpu_to_be16(setting->mclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2822
mclk_levels[i].ActivityLevel = cpu_to_be16(setting->mclk_activity);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2184
fan_table.TempMin = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2186
fan_table.TempMed = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2188
fan_table.TempMax = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2191
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2192
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2194
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2196
fan_table.HystDown = cpu_to_be16(hwmgr->
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2199
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2201
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2203
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2211
fan_table.FdoMax = cpu_to_be16((uint16_t)duty100);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2576
cpu_to_be16(setting->sclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2577
levels[i].ActivityLevel = cpu_to_be16(setting->sclk_activity);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2611
cpu_to_be16(setting->mclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2612
mclk_levels[i].ActivityLevel = cpu_to_be16(setting->mclk_activity);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2131
fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin) / 100);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2132
fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed) / 100);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2133
fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax) / 100);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2135
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2136
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2138
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2140
fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2142
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2144
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2146
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2152
fan_table.FdoMax = cpu_to_be16((uint16_t)duty100);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2061
fan_table.TempMin = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2063
fan_table.TempMed = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2065
fan_table.TempMax = cpu_to_be16((50 + hwmgr->
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2068
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2069
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2071
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2073
fan_table.HystDown = cpu_to_be16(hwmgr->
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2076
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2078
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2080
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2088
fan_table.FdoMax = cpu_to_be16((uint16_t)duty100);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2429
cpu_to_be16(setting->sclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2430
levels[i].ActivityLevel = cpu_to_be16(setting->sclk_activity);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2464
cpu_to_be16(setting->mclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2465
mclk_levels[i].ActivityLevel = cpu_to_be16(setting->mclk_activity);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2515
fan_table.TempMin = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMin) / 100);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2516
fan_table.TempMed = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMed) / 100);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2517
fan_table.TempMax = cpu_to_be16((50 + hwmgr->thermal_controller.advanceFanControlParameters.usTMax) / 100);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2519
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2520
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2522
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2524
fan_table.HystDown = cpu_to_be16(hwmgr->thermal_controller.advanceFanControlParameters.ucTHyst);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2526
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2528
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2530
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2536
fan_table.FdoMax = cpu_to_be16((uint16_t)duty100);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3174
cpu_to_be16(setting->sclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3175
levels[i].ActivityLevel = cpu_to_be16(setting->sclk_activity);
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3209
cpu_to_be16(setting->mclk_activity)) {
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
3210
mclk_levels[i].ActivityLevel = cpu_to_be16(setting->mclk_activity);
sys/dev/drm/radeon/ci_dpm.c
1027
fan_table.TempMin = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100);
sys/dev/drm/radeon/ci_dpm.c
1028
fan_table.TempMed = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100);
sys/dev/drm/radeon/ci_dpm.c
1029
fan_table.TempMax = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100);
sys/dev/drm/radeon/ci_dpm.c
1031
fan_table.Slope1 = cpu_to_be16(slope1);
sys/dev/drm/radeon/ci_dpm.c
1032
fan_table.Slope2 = cpu_to_be16(slope2);
sys/dev/drm/radeon/ci_dpm.c
1034
fan_table.FdoMin = cpu_to_be16(fdo_min);
sys/dev/drm/radeon/ci_dpm.c
1036
fan_table.HystDown = cpu_to_be16(rdev->pm.dpm.fan.t_hyst);
sys/dev/drm/radeon/ci_dpm.c
1038
fan_table.HystUp = cpu_to_be16(1);
sys/dev/drm/radeon/ci_dpm.c
1040
fan_table.HystSlope = cpu_to_be16(1);
sys/dev/drm/radeon/ci_dpm.c
1042
fan_table.TempRespLim = cpu_to_be16(5);
sys/dev/drm/radeon/ci_dpm.c
1049
fan_table.FdoMax = cpu_to_be16((u16)duty100);
sys/dev/drm/radeon/ci_dpm.c
1345
table->FpsHighT = cpu_to_be16(tmp);
sys/dev/drm/radeon/ci_dpm.c
1348
table->FpsLowT = cpu_to_be16(tmp);
sys/dev/drm/radeon/ci_dpm.c
2245
smc_voltage_table->Voltage = cpu_to_be16(voltage_table->value * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
2247
cpu_to_be16(smc_voltage_table->StdVoltageHiSidd);
sys/dev/drm/radeon/ci_dpm.c
2249
cpu_to_be16(smc_voltage_table->StdVoltageLoSidd);
sys/dev/drm/radeon/ci_dpm.c
2719
table->UvdLevel[count].MinVddc = cpu_to_be16(table->UvdLevel[count].MinVddc);
sys/dev/drm/radeon/ci_dpm.c
2751
table->VceLevel[count].MinVoltage = cpu_to_be16(table->VceLevel[count].MinVoltage);
sys/dev/drm/radeon/ci_dpm.c
2784
table->AcpLevel[count].MinVoltage = cpu_to_be16(table->AcpLevel[count].MinVoltage);
sys/dev/drm/radeon/ci_dpm.c
2816
table->SamuLevel[count].MinVoltage = cpu_to_be16(table->SamuLevel[count].MinVoltage);
sys/dev/drm/radeon/ci_dpm.c
3009
memory_level->ActivityLevel = cpu_to_be16(memory_level->ActivityLevel);
sys/dev/drm/radeon/ci_dpm.c
3127
cpu_to_be16((u16)pi->mclk_activity_target);
sys/dev/drm/radeon/ci_dpm.c
3188
state->VddcOffset = cpu_to_be16(state->VddcOffset);
sys/dev/drm/radeon/ci_dpm.c
3299
graphic_level->ActivityLevel = cpu_to_be16(graphic_level->ActivityLevel);
sys/dev/drm/radeon/ci_dpm.c
331
pi->smc_powertune_table.TDC_VDDC_PkgLimit = cpu_to_be16(tdc_limit);
sys/dev/drm/radeon/ci_dpm.c
3390
pi->smc_state_table.MemoryLevel[0].ActivityLevel = cpu_to_be16(0x1F);
sys/dev/drm/radeon/ci_dpm.c
369
cpu_to_be16(rdev->pm.dpm.fan.fan_output_sensitivity);
sys/dev/drm/radeon/ci_dpm.c
3716
table->TemperatureLimitHigh = cpu_to_be16(table->TemperatureLimitHigh);
sys/dev/drm/radeon/ci_dpm.c
3717
table->TemperatureLimitLow = cpu_to_be16(table->TemperatureLimitLow);
sys/dev/drm/radeon/ci_dpm.c
3718
table->VddcVddciDelta = cpu_to_be16(table->VddcVddciDelta);
sys/dev/drm/radeon/ci_dpm.c
3719
table->VoltageResponseTime = cpu_to_be16(table->VoltageResponseTime);
sys/dev/drm/radeon/ci_dpm.c
3720
table->PhaseResponseTime = cpu_to_be16(table->PhaseResponseTime);
sys/dev/drm/radeon/ci_dpm.c
3721
table->BootVddc = cpu_to_be16(table->BootVddc * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3722
table->BootVddci = cpu_to_be16(table->BootVddci * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3723
table->BootMVdd = cpu_to_be16(table->BootMVdd * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
417
pi->smc_powertune_table.BapmVddCBaseLeakageHiSidd = cpu_to_be16(hi_sidd);
sys/dev/drm/radeon/ci_dpm.c
418
pi->smc_powertune_table.BapmVddCBaseLeakageLoSidd = cpu_to_be16(lo_sidd);
sys/dev/drm/radeon/ci_dpm.c
446
dpm_table->PPM_PkgPwrLimit = cpu_to_be16((u16)ppm->dgpu_tdp * 256 / 1000);
sys/dev/drm/radeon/ci_dpm.c
447
dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256);
sys/dev/drm/radeon/ci_dpm.c
449
dpm_table->PPM_PkgPwrLimit = cpu_to_be16(0);
sys/dev/drm/radeon/ci_dpm.c
450
dpm_table->PPM_TemperatureLimit = cpu_to_be16(0);
sys/dev/drm/radeon/ci_dpm.c
460
dpm_table->BAPMTI_R[i][j][k] = cpu_to_be16(*def1);
sys/dev/drm/radeon/ci_dpm.c
461
dpm_table->BAPMTI_RC[i][j][k] = cpu_to_be16(*def2);
sys/dev/drm/radeon/ci_dpm.c
4727
mc_reg_table->address[i].s0 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/radeon/ci_dpm.c
4728
mc_reg_table->address[i].s1 = cpu_to_be16(pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/radeon/cypress_dpm.c
1233
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/cypress_dpm.c
412
voltage->value = cpu_to_be16(table->entries[i].value);
sys/dev/drm/radeon/cypress_dpm.c
664
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/cypress_dpm.c
670
voltage->value = cpu_to_be16(MVDD_LOW_VALUE);
sys/dev/drm/radeon/cypress_dpm.c
673
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/cypress_dpm.c
960
cpu_to_be16(eg_pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/radeon/cypress_dpm.c
962
cpu_to_be16(eg_pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/radeon/kv_dpm.c
1029
pi->acp_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/radeon/kv_dpm.c
1365
pi->fps_high_t = cpu_to_be16(tmp);
sys/dev/drm/radeon/kv_dpm.c
1373
pi->fps_low_t = cpu_to_be16(tmp);
sys/dev/drm/radeon/kv_dpm.c
627
pi->graphics_level[index].AT = cpu_to_be16((u16)at);
sys/dev/drm/radeon/kv_dpm.c
834
pi->uvd_level[i].MinVddNb = cpu_to_be16(table->entries[i].v);
sys/dev/drm/radeon/kv_dpm.c
904
pi->vce_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/radeon/kv_dpm.c
967
pi->samu_level[i].MinVoltage = cpu_to_be16(table->entries[i].v);
sys/dev/drm/radeon/ni_dpm.c
1309
voltage->value = cpu_to_be16(table->entries[i].value);
sys/dev/drm/radeon/ni_dpm.c
1329
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/ni_dpm.c
1335
voltage->value = cpu_to_be16(MVDD_LOW_VALUE);
sys/dev/drm/radeon/ni_dpm.c
1338
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/ni_dpm.c
1360
voltage->value = cpu_to_be16(value);
sys/dev/drm/radeon/ni_dpm.c
1676
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/ni_dpm.c
2933
cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/radeon/ni_dpm.c
2935
cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/radeon/rv770_dpm.c
1018
voltage->value = cpu_to_be16(MVDD_LOW_VALUE);
sys/dev/drm/radeon/rv770_dpm.c
1021
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/rv770_dpm.c
585
voltage->value = cpu_to_be16(vddc);
sys/dev/drm/radeon/rv770_dpm.c
603
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/rv770_dpm.c
609
voltage->value = cpu_to_be16(MVDD_LOW_VALUE);
sys/dev/drm/radeon/rv770_dpm.c
612
voltage->value = cpu_to_be16(MVDD_HIGH_VALUE);
sys/dev/drm/radeon/si_dpm.c
2375
smc_state->levels[i].dpm2.PwrEfficiencyRatio = cpu_to_be16(pwr_efficiency_ratio);
sys/dev/drm/radeon/si_dpm.c
2612
cpu_to_be16((u16)smc_leakage);
sys/dev/drm/radeon/si_dpm.c
2648
cpu_to_be16((u16)smc_leakage);
sys/dev/drm/radeon/si_dpm.c
4122
voltage->value = cpu_to_be16(table->entries[i].value);
sys/dev/drm/radeon/si_dpm.c
4145
voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value);
sys/dev/drm/radeon/si_dpm.c
4206
voltage->value = cpu_to_be16(value);
sys/dev/drm/radeon/si_dpm.c
5596
cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s0);
sys/dev/drm/radeon/si_dpm.c
5598
cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s1);
sys/dev/drm/radeon/si_dpm.c
6066
fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100);
sys/dev/drm/radeon/si_dpm.c
6067
fan_table.temp_med = cpu_to_be16((50 + rdev->pm.dpm.fan.t_med) / 100);
sys/dev/drm/radeon/si_dpm.c
6068
fan_table.temp_max = cpu_to_be16((50 + rdev->pm.dpm.fan.t_max) / 100);
sys/dev/drm/radeon/si_dpm.c
6070
fan_table.slope1 = cpu_to_be16(slope1);
sys/dev/drm/radeon/si_dpm.c
6071
fan_table.slope2 = cpu_to_be16(slope2);
sys/dev/drm/radeon/si_dpm.c
6073
fan_table.fdo_min = cpu_to_be16(fdo_min);
sys/dev/drm/radeon/si_dpm.c
6075
fan_table.hys_down = cpu_to_be16(rdev->pm.dpm.fan.t_hyst);
sys/dev/drm/radeon/si_dpm.c
6077
fan_table.hys_up = cpu_to_be16(1);
sys/dev/drm/radeon/si_dpm.c
6079
fan_table.hys_slope = cpu_to_be16(1);
sys/dev/drm/radeon/si_dpm.c
6081
fan_table.temp_resp_lim = cpu_to_be16(5);
sys/dev/drm/radeon/si_dpm.c
6088
fan_table.fdo_max = cpu_to_be16((u16)duty100);