Symbol: cpu_to_be32
sys/dev/drm/amd/amdgpu/ci_dpm.c
1150
fan_table.RefreshPeriod = cpu_to_be32((adev->pm.dpm.fan.cycle_delay *
sys/dev/drm/amd/amdgpu/ci_dpm.c
1477
low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2375
table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2398
table->VddciLevelCount = cpu_to_be32(table->VddciLevelCount);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2421
table->MvddLevelCount = cpu_to_be32(table->MvddLevelCount);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2675
arb_regs->McArbDramTiming = cpu_to_be32(dram_timing);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2676
arb_regs->McArbDramTiming2 = cpu_to_be32(dram_timing2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2775
table->LinkLevel[i].DownT = cpu_to_be32(5);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2776
table->LinkLevel[i].UpT = cpu_to_be32(30);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2819
table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2820
table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2852
table->VceLevel[count].Frequency = cpu_to_be32(table->VceLevel[count].Frequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2885
table->AcpLevel[count].Frequency = cpu_to_be32(table->AcpLevel[count].Frequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
2917
table->SamuLevel[count].Frequency = cpu_to_be32(table->SamuLevel[count].Frequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3111
memory_level->MinVddc = cpu_to_be32(memory_level->MinVddc * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3112
memory_level->MinVddcPhases = cpu_to_be32(memory_level->MinVddcPhases);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3113
memory_level->MinVddci = cpu_to_be32(memory_level->MinVddci * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3114
memory_level->MinMvdd = cpu_to_be32(memory_level->MinMvdd * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3116
memory_level->MclkFrequency = cpu_to_be32(memory_level->MclkFrequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3118
memory_level->MpllFuncCntl = cpu_to_be32(memory_level->MpllFuncCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3119
memory_level->MpllFuncCntl_1 = cpu_to_be32(memory_level->MpllFuncCntl_1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3120
memory_level->MpllFuncCntl_2 = cpu_to_be32(memory_level->MpllFuncCntl_2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3121
memory_level->MpllAdFuncCntl = cpu_to_be32(memory_level->MpllAdFuncCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3122
memory_level->MpllDqFuncCntl = cpu_to_be32(memory_level->MpllDqFuncCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3123
memory_level->MclkPwrmgtCntl = cpu_to_be32(memory_level->MclkPwrmgtCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3124
memory_level->DllCntl = cpu_to_be32(memory_level->DllCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3125
memory_level->MpllSs1 = cpu_to_be32(memory_level->MpllSs1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3126
memory_level->MpllSs2 = cpu_to_be32(memory_level->MpllSs2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3146
table->ACPILevel.MinVddc = cpu_to_be32(pi->acpi_vddc * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3148
table->ACPILevel.MinVddc = cpu_to_be32(pi->min_vddc_in_pp_table * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3179
table->ACPILevel.Flags = cpu_to_be32(table->ACPILevel.Flags);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3180
table->ACPILevel.MinVddcPhases = cpu_to_be32(table->ACPILevel.MinVddcPhases);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3181
table->ACPILevel.SclkFrequency = cpu_to_be32(table->ACPILevel.SclkFrequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3182
table->ACPILevel.CgSpllFuncCntl = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3183
table->ACPILevel.CgSpllFuncCntl2 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3184
table->ACPILevel.CgSpllFuncCntl3 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl3);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3185
table->ACPILevel.CgSpllFuncCntl4 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl4);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3186
table->ACPILevel.SpllSpreadSpectrum = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3187
table->ACPILevel.SpllSpreadSpectrum2 = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3188
table->ACPILevel.CcPwrDynRm = cpu_to_be32(table->ACPILevel.CcPwrDynRm);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3189
table->ACPILevel.CcPwrDynRm1 = cpu_to_be32(table->ACPILevel.CcPwrDynRm1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3197
cpu_to_be32(pi->acpi_vddci * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3200
cpu_to_be32(pi->min_vddci_in_pp_table * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3207
cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3216
table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3217
table->MemoryACPILevel.MclkPwrmgtCntl = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3219
cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3221
cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3223
cpu_to_be32(pi->clock_registers.mpll_func_cntl);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3225
cpu_to_be32(pi->clock_registers.mpll_func_cntl_1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3227
cpu_to_be32(pi->clock_registers.mpll_func_cntl_2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3228
table->MemoryACPILevel.MpllSs1 = cpu_to_be32(pi->clock_registers.mpll_ss1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3229
table->MemoryACPILevel.MpllSs2 = cpu_to_be32(pi->clock_registers.mpll_ss2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3296
state->CcPwrDynRm = cpu_to_be32(state->CcPwrDynRm);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3297
state->CcPwrDynRm1 = cpu_to_be32(state->CcPwrDynRm1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3404
graphic_level->Flags = cpu_to_be32(graphic_level->Flags);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3405
graphic_level->MinVddc = cpu_to_be32(graphic_level->MinVddc * VOLTAGE_SCALE);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3406
graphic_level->MinVddcPhases = cpu_to_be32(graphic_level->MinVddcPhases);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3407
graphic_level->SclkFrequency = cpu_to_be32(graphic_level->SclkFrequency);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3409
graphic_level->CgSpllFuncCntl3 = cpu_to_be32(graphic_level->CgSpllFuncCntl3);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3410
graphic_level->CgSpllFuncCntl4 = cpu_to_be32(graphic_level->CgSpllFuncCntl4);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3411
graphic_level->SpllSpreadSpectrum = cpu_to_be32(graphic_level->SpllSpreadSpectrum);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3412
graphic_level->SpllSpreadSpectrum2 = cpu_to_be32(graphic_level->SpllSpreadSpectrum2);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3413
graphic_level->CcPwrDynRm = cpu_to_be32(graphic_level->CcPwrDynRm);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3414
graphic_level->CcPwrDynRm1 = cpu_to_be32(graphic_level->CcPwrDynRm1);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3821
table->SystemFlags = cpu_to_be32(table->SystemFlags);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3822
table->SmioMaskVddcVid = cpu_to_be32(table->SmioMaskVddcVid);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3823
table->SmioMaskVddcPhase = cpu_to_be32(table->SmioMaskVddcPhase);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3824
table->SmioMaskVddciVid = cpu_to_be32(table->SmioMaskVddciVid);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3825
table->SmioMaskMvddVid = cpu_to_be32(table->SmioMaskMvddVid);
sys/dev/drm/amd/amdgpu/ci_dpm.c
3826
table->SclkStepSize = cpu_to_be32(table->SclkStepSize);
sys/dev/drm/amd/amdgpu/ci_dpm.c
4861
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/amd/amdgpu/ci_dpm.c
584
dpm_table->BAPM_TEMP_GRADIENT = cpu_to_be32(pt_defaults->bapm_temp_gradient);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1054
pi->samu_level[i].Frequency = cpu_to_be32(table->entries[i].clk);
sys/dev/drm/amd/amdgpu/kv_dpm.c
1116
pi->acp_level[i].Frequency = cpu_to_be32(table->entries[i].clk);
sys/dev/drm/amd/amdgpu/kv_dpm.c
675
pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk);
sys/dev/drm/amd/amdgpu/kv_dpm.c
704
cpu_to_be32(kv_convert_2bit_index_to_voltage(adev, vid));
sys/dev/drm/amd/amdgpu/kv_dpm.c
788
low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t);
sys/dev/drm/amd/amdgpu/kv_dpm.c
920
pi->uvd_level[i].VclkFrequency = cpu_to_be32(table->entries[i].vclk);
sys/dev/drm/amd/amdgpu/kv_dpm.c
921
pi->uvd_level[i].DclkFrequency = cpu_to_be32(table->entries[i].dclk);
sys/dev/drm/amd/amdgpu/kv_dpm.c
991
pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk);
sys/dev/drm/amd/amdgpu/si_dpm.c
2274
cpu_to_be32(si_scale_power_for_smc(tdp_limit, scaling_factor) * 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
2276
cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
2278
cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
2292
papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp);
sys/dev/drm/amd/amdgpu/si_dpm.c
2293
papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max);
sys/dev/drm/amd/amdgpu/si_dpm.c
2294
papm_parm->dGPU_T_Warning = cpu_to_be32(95);
sys/dev/drm/amd/amdgpu/si_dpm.c
2295
papm_parm->dGPU_T_Hysteresis = cpu_to_be32(5);
sys/dev/drm/amd/amdgpu/si_dpm.c
2324
cpu_to_be32(si_scale_power_for_smc(adev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
2326
cpu_to_be32(si_scale_power_for_smc((adev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000);
sys/dev/drm/amd/amdgpu/si_dpm.c
2526
smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle);
sys/dev/drm/amd/amdgpu/si_dpm.c
2527
smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2);
sys/dev/drm/amd/amdgpu/si_dpm.c
2597
dte_tables->K = cpu_to_be32(table_size);
sys/dev/drm/amd/amdgpu/si_dpm.c
2598
dte_tables->T0 = cpu_to_be32(dte_data->t0);
sys/dev/drm/amd/amdgpu/si_dpm.c
2599
dte_tables->MaxT = cpu_to_be32(dte_data->max_t);
sys/dev/drm/amd/amdgpu/si_dpm.c
2603
dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold);
sys/dev/drm/amd/amdgpu/si_dpm.c
2609
dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]);
sys/dev/drm/amd/amdgpu/si_dpm.c
2610
dte_tables->R[i] = cpu_to_be32(dte_data->r[i]);
sys/dev/drm/amd/amdgpu/si_dpm.c
2617
dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]);
sys/dev/drm/amd/amdgpu/si_dpm.c
2618
dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]);
sys/dev/drm/amd/amdgpu/si_dpm.c
2800
cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size);
sys/dev/drm/amd/amdgpu/si_dpm.c
2803
cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min);
sys/dev/drm/amd/amdgpu/si_dpm.c
2804
cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step);
sys/dev/drm/amd/amdgpu/si_dpm.c
2805
cac_tables->R_LL = cpu_to_be32(load_line_slope);
sys/dev/drm/amd/amdgpu/si_dpm.c
2806
cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime);
sys/dev/drm/amd/amdgpu/si_dpm.c
2807
cac_tables->calculation_repeats = cpu_to_be32(2);
sys/dev/drm/amd/amdgpu/si_dpm.c
2808
cac_tables->dc_cac = cpu_to_be32(0);
sys/dev/drm/amd/amdgpu/si_dpm.c
2811
cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0);
sys/dev/drm/amd/amdgpu/si_dpm.c
2812
cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step);
sys/dev/drm/amd/amdgpu/si_dpm.c
2991
spll_table->freq[i] = cpu_to_be32(tmp);
sys/dev/drm/amd/amdgpu/si_dpm.c
2995
spll_table->ss[i] = cpu_to_be32(tmp);
sys/dev/drm/amd/amdgpu/si_dpm.c
4506
table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
sys/dev/drm/amd/amdgpu/si_dpm.c
4528
cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
sys/dev/drm/amd/amdgpu/si_dpm.c
4542
cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
sys/dev/drm/amd/amdgpu/si_dpm.c
4550
cpu_to_be32(si_pi->mvdd_voltage_table.mask_low);
sys/dev/drm/amd/amdgpu/si_dpm.c
4559
cpu_to_be32(si_pi->vddc_phase_shed_table.mask_low);
sys/dev/drm/amd/amdgpu/si_dpm.c
4775
arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing);
sys/dev/drm/amd/amdgpu/si_dpm.c
4776
arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2);
sys/dev/drm/amd/amdgpu/si_dpm.c
4841
cpu_to_be32(si_pi->clock_registers.dll_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4843
cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4845
cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4847
cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4849
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4851
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_1);
sys/dev/drm/amd/amdgpu/si_dpm.c
4853
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
4855
cpu_to_be32(si_pi->clock_registers.mpll_ss1);
sys/dev/drm/amd/amdgpu/si_dpm.c
4857
cpu_to_be32(si_pi->clock_registers.mpll_ss2);
sys/dev/drm/amd/amdgpu/si_dpm.c
4860
cpu_to_be32(initial_state->performance_levels[0].mclk);
sys/dev/drm/amd/amdgpu/si_dpm.c
4863
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
4865
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
4867
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_3);
sys/dev/drm/amd/amdgpu/si_dpm.c
4869
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_4);
sys/dev/drm/amd/amdgpu/si_dpm.c
4871
cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum);
sys/dev/drm/amd/amdgpu/si_dpm.c
4873
cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
4876
cpu_to_be32(initial_state->performance_levels[0].sclk);
sys/dev/drm/amd/amdgpu/si_dpm.c
4916
table->initialState.levels[0].aT = cpu_to_be32(reg);
sys/dev/drm/amd/amdgpu/si_dpm.c
4917
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/amd/amdgpu/si_dpm.c
4942
table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/amd/amdgpu/si_dpm.c
4945
table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/amd/amdgpu/si_dpm.c
5042
cpu_to_be32(dll_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5044
cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5046
cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5048
cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5050
cpu_to_be32(mpll_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5052
cpu_to_be32(mpll_func_cntl_1);
sys/dev/drm/amd/amdgpu/si_dpm.c
5054
cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5056
cpu_to_be32(si_pi->clock_registers.mpll_ss1);
sys/dev/drm/amd/amdgpu/si_dpm.c
5058
cpu_to_be32(si_pi->clock_registers.mpll_ss2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5061
cpu_to_be32(spll_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5063
cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5065
cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/amd/amdgpu/si_dpm.c
5067
cpu_to_be32(spll_func_cntl_4);
sys/dev/drm/amd/amdgpu/si_dpm.c
5084
table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/amd/amdgpu/si_dpm.c
5087
table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/amd/amdgpu/si_dpm.c
5322
sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value);
sys/dev/drm/amd/amdgpu/si_dpm.c
5323
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL);
sys/dev/drm/amd/amdgpu/si_dpm.c
5324
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5325
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3);
sys/dev/drm/amd/amdgpu/si_dpm.c
5326
sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4);
sys/dev/drm/amd/amdgpu/si_dpm.c
5327
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM);
sys/dev/drm/amd/amdgpu/si_dpm.c
5328
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5409
mclk->mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/amd/amdgpu/si_dpm.c
5410
mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5411
mclk->vMPLL_FUNC_CNTL_1 = cpu_to_be32(mpll_func_cntl_1);
sys/dev/drm/amd/amdgpu/si_dpm.c
5412
mclk->vMPLL_FUNC_CNTL_2 = cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5413
mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5414
mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5415
mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5416
mclk->vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/amd/amdgpu/si_dpm.c
5417
mclk->vMPLL_SS = cpu_to_be32(mpll_ss1);
sys/dev/drm/amd/amdgpu/si_dpm.c
5418
mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/amd/amdgpu/si_dpm.c
5432
smc_state->levels[i].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/amd/amdgpu/si_dpm.c
5435
cpu_to_be32(pi->psp);
sys/dev/drm/amd/amdgpu/si_dpm.c
5563
smc_state->levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/amd/amdgpu/si_dpm.c
5567
smc_state->levels[0].aT = cpu_to_be32(0);
sys/dev/drm/amd/amdgpu/si_dpm.c
5585
smc_state->levels[i].aT = cpu_to_be32(a_t);
sys/dev/drm/amd/amdgpu/si_dpm.c
5590
smc_state->levels[i + 1].aT = cpu_to_be32(a_t);
sys/dev/drm/amd/amdgpu/si_dpm.c
6064
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/amd/amdgpu/si_dpm.c
6510
fan_table.refresh_period = cpu_to_be32((adev->pm.dpm.fan.cycle_delay *
sys/dev/drm/amd/powerplay/inc/pp_endian.h
27
#define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X)
sys/dev/drm/amd/powerplay/smumgr/ci_smumgr.c
2187
fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600);
sys/dev/drm/amd/powerplay/smumgr/fiji_smumgr.c
2207
fan_table.RefreshPeriod = cpu_to_be32((hwmgr->
sys/dev/drm/amd/powerplay/smumgr/iceland_smumgr.c
2150
fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600);
sys/dev/drm/amd/powerplay/smumgr/polaris10_smumgr.c
2084
fan_table.RefreshPeriod = cpu_to_be32((hwmgr->
sys/dev/drm/amd/powerplay/smumgr/tonga_smumgr.c
2534
fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay * reference_clock) / 1600);
sys/dev/drm/radeon/ci_dpm.c
1046
fan_table.RefreshPeriod = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay *
sys/dev/drm/radeon/ci_dpm.c
1359
low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t);
sys/dev/drm/radeon/ci_dpm.c
2270
table->VddcLevelCount = cpu_to_be32(table->VddcLevelCount);
sys/dev/drm/radeon/ci_dpm.c
2293
table->VddciLevelCount = cpu_to_be32(table->VddciLevelCount);
sys/dev/drm/radeon/ci_dpm.c
2316
table->MvddLevelCount = cpu_to_be32(table->MvddLevelCount);
sys/dev/drm/radeon/ci_dpm.c
2573
arb_regs->McArbDramTiming = cpu_to_be32(dram_timing);
sys/dev/drm/radeon/ci_dpm.c
2574
arb_regs->McArbDramTiming2 = cpu_to_be32(dram_timing2);
sys/dev/drm/radeon/ci_dpm.c
2673
table->LinkLevel[i].DownT = cpu_to_be32(5);
sys/dev/drm/radeon/ci_dpm.c
2674
table->LinkLevel[i].UpT = cpu_to_be32(30);
sys/dev/drm/radeon/ci_dpm.c
2717
table->UvdLevel[count].VclkFrequency = cpu_to_be32(table->UvdLevel[count].VclkFrequency);
sys/dev/drm/radeon/ci_dpm.c
2718
table->UvdLevel[count].DclkFrequency = cpu_to_be32(table->UvdLevel[count].DclkFrequency);
sys/dev/drm/radeon/ci_dpm.c
2750
table->VceLevel[count].Frequency = cpu_to_be32(table->VceLevel[count].Frequency);
sys/dev/drm/radeon/ci_dpm.c
2783
table->AcpLevel[count].Frequency = cpu_to_be32(table->AcpLevel[count].Frequency);
sys/dev/drm/radeon/ci_dpm.c
2815
table->SamuLevel[count].Frequency = cpu_to_be32(table->SamuLevel[count].Frequency);
sys/dev/drm/radeon/ci_dpm.c
3003
memory_level->MinVddc = cpu_to_be32(memory_level->MinVddc * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3004
memory_level->MinVddcPhases = cpu_to_be32(memory_level->MinVddcPhases);
sys/dev/drm/radeon/ci_dpm.c
3005
memory_level->MinVddci = cpu_to_be32(memory_level->MinVddci * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3006
memory_level->MinMvdd = cpu_to_be32(memory_level->MinMvdd * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3008
memory_level->MclkFrequency = cpu_to_be32(memory_level->MclkFrequency);
sys/dev/drm/radeon/ci_dpm.c
3010
memory_level->MpllFuncCntl = cpu_to_be32(memory_level->MpllFuncCntl);
sys/dev/drm/radeon/ci_dpm.c
3011
memory_level->MpllFuncCntl_1 = cpu_to_be32(memory_level->MpllFuncCntl_1);
sys/dev/drm/radeon/ci_dpm.c
3012
memory_level->MpllFuncCntl_2 = cpu_to_be32(memory_level->MpllFuncCntl_2);
sys/dev/drm/radeon/ci_dpm.c
3013
memory_level->MpllAdFuncCntl = cpu_to_be32(memory_level->MpllAdFuncCntl);
sys/dev/drm/radeon/ci_dpm.c
3014
memory_level->MpllDqFuncCntl = cpu_to_be32(memory_level->MpllDqFuncCntl);
sys/dev/drm/radeon/ci_dpm.c
3015
memory_level->MclkPwrmgtCntl = cpu_to_be32(memory_level->MclkPwrmgtCntl);
sys/dev/drm/radeon/ci_dpm.c
3016
memory_level->DllCntl = cpu_to_be32(memory_level->DllCntl);
sys/dev/drm/radeon/ci_dpm.c
3017
memory_level->MpllSs1 = cpu_to_be32(memory_level->MpllSs1);
sys/dev/drm/radeon/ci_dpm.c
3018
memory_level->MpllSs2 = cpu_to_be32(memory_level->MpllSs2);
sys/dev/drm/radeon/ci_dpm.c
3038
table->ACPILevel.MinVddc = cpu_to_be32(pi->acpi_vddc * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3040
table->ACPILevel.MinVddc = cpu_to_be32(pi->min_vddc_in_pp_table * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3071
table->ACPILevel.Flags = cpu_to_be32(table->ACPILevel.Flags);
sys/dev/drm/radeon/ci_dpm.c
3072
table->ACPILevel.MinVddcPhases = cpu_to_be32(table->ACPILevel.MinVddcPhases);
sys/dev/drm/radeon/ci_dpm.c
3073
table->ACPILevel.SclkFrequency = cpu_to_be32(table->ACPILevel.SclkFrequency);
sys/dev/drm/radeon/ci_dpm.c
3074
table->ACPILevel.CgSpllFuncCntl = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl);
sys/dev/drm/radeon/ci_dpm.c
3075
table->ACPILevel.CgSpllFuncCntl2 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl2);
sys/dev/drm/radeon/ci_dpm.c
3076
table->ACPILevel.CgSpllFuncCntl3 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl3);
sys/dev/drm/radeon/ci_dpm.c
3077
table->ACPILevel.CgSpllFuncCntl4 = cpu_to_be32(table->ACPILevel.CgSpllFuncCntl4);
sys/dev/drm/radeon/ci_dpm.c
3078
table->ACPILevel.SpllSpreadSpectrum = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum);
sys/dev/drm/radeon/ci_dpm.c
3079
table->ACPILevel.SpllSpreadSpectrum2 = cpu_to_be32(table->ACPILevel.SpllSpreadSpectrum2);
sys/dev/drm/radeon/ci_dpm.c
3080
table->ACPILevel.CcPwrDynRm = cpu_to_be32(table->ACPILevel.CcPwrDynRm);
sys/dev/drm/radeon/ci_dpm.c
3081
table->ACPILevel.CcPwrDynRm1 = cpu_to_be32(table->ACPILevel.CcPwrDynRm1);
sys/dev/drm/radeon/ci_dpm.c
3089
cpu_to_be32(pi->acpi_vddci * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3092
cpu_to_be32(pi->min_vddci_in_pp_table * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3099
cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3106
table->MemoryACPILevel.DllCntl = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/ci_dpm.c
3107
table->MemoryACPILevel.MclkPwrmgtCntl = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/ci_dpm.c
3109
cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl);
sys/dev/drm/radeon/ci_dpm.c
3111
cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl);
sys/dev/drm/radeon/ci_dpm.c
3113
cpu_to_be32(pi->clock_registers.mpll_func_cntl);
sys/dev/drm/radeon/ci_dpm.c
3115
cpu_to_be32(pi->clock_registers.mpll_func_cntl_1);
sys/dev/drm/radeon/ci_dpm.c
3117
cpu_to_be32(pi->clock_registers.mpll_func_cntl_2);
sys/dev/drm/radeon/ci_dpm.c
3118
table->MemoryACPILevel.MpllSs1 = cpu_to_be32(pi->clock_registers.mpll_ss1);
sys/dev/drm/radeon/ci_dpm.c
3119
table->MemoryACPILevel.MpllSs2 = cpu_to_be32(pi->clock_registers.mpll_ss2);
sys/dev/drm/radeon/ci_dpm.c
3186
state->CcPwrDynRm = cpu_to_be32(state->CcPwrDynRm);
sys/dev/drm/radeon/ci_dpm.c
3187
state->CcPwrDynRm1 = cpu_to_be32(state->CcPwrDynRm1);
sys/dev/drm/radeon/ci_dpm.c
3295
graphic_level->Flags = cpu_to_be32(graphic_level->Flags);
sys/dev/drm/radeon/ci_dpm.c
3296
graphic_level->MinVddc = cpu_to_be32(graphic_level->MinVddc * VOLTAGE_SCALE);
sys/dev/drm/radeon/ci_dpm.c
3297
graphic_level->MinVddcPhases = cpu_to_be32(graphic_level->MinVddcPhases);
sys/dev/drm/radeon/ci_dpm.c
3298
graphic_level->SclkFrequency = cpu_to_be32(graphic_level->SclkFrequency);
sys/dev/drm/radeon/ci_dpm.c
3300
graphic_level->CgSpllFuncCntl3 = cpu_to_be32(graphic_level->CgSpllFuncCntl3);
sys/dev/drm/radeon/ci_dpm.c
3301
graphic_level->CgSpllFuncCntl4 = cpu_to_be32(graphic_level->CgSpllFuncCntl4);
sys/dev/drm/radeon/ci_dpm.c
3302
graphic_level->SpllSpreadSpectrum = cpu_to_be32(graphic_level->SpllSpreadSpectrum);
sys/dev/drm/radeon/ci_dpm.c
3303
graphic_level->SpllSpreadSpectrum2 = cpu_to_be32(graphic_level->SpllSpreadSpectrum2);
sys/dev/drm/radeon/ci_dpm.c
3304
graphic_level->CcPwrDynRm = cpu_to_be32(graphic_level->CcPwrDynRm);
sys/dev/drm/radeon/ci_dpm.c
3305
graphic_level->CcPwrDynRm1 = cpu_to_be32(graphic_level->CcPwrDynRm1);
sys/dev/drm/radeon/ci_dpm.c
3710
table->SystemFlags = cpu_to_be32(table->SystemFlags);
sys/dev/drm/radeon/ci_dpm.c
3711
table->SmioMaskVddcVid = cpu_to_be32(table->SmioMaskVddcVid);
sys/dev/drm/radeon/ci_dpm.c
3712
table->SmioMaskVddcPhase = cpu_to_be32(table->SmioMaskVddcPhase);
sys/dev/drm/radeon/ci_dpm.c
3713
table->SmioMaskVddciVid = cpu_to_be32(table->SmioMaskVddciVid);
sys/dev/drm/radeon/ci_dpm.c
3714
table->SmioMaskMvddVid = cpu_to_be32(table->SmioMaskMvddVid);
sys/dev/drm/radeon/ci_dpm.c
3715
table->SclkStepSize = cpu_to_be32(table->SclkStepSize);
sys/dev/drm/radeon/ci_dpm.c
453
dpm_table->BAPM_TEMP_GRADIENT = cpu_to_be32(pt_defaults->bapm_temp_gradient);
sys/dev/drm/radeon/ci_dpm.c
4746
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/radeon/cypress_dpm.c
1248
cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1250
cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1252
cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1254
cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1256
cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1258
cpu_to_be32(pi->clk_regs.rv770.dll_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1261
cpu_to_be32(pi->clk_regs.rv770.mpll_ss1);
sys/dev/drm/radeon/cypress_dpm.c
1263
cpu_to_be32(pi->clk_regs.rv770.mpll_ss2);
sys/dev/drm/radeon/cypress_dpm.c
1266
cpu_to_be32(initial_state->low.mclk);
sys/dev/drm/radeon/cypress_dpm.c
1269
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1271
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1273
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_3);
sys/dev/drm/radeon/cypress_dpm.c
1275
cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum);
sys/dev/drm/radeon/cypress_dpm.c
1277
cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/cypress_dpm.c
1280
cpu_to_be32(initial_state->low.sclk);
sys/dev/drm/radeon/cypress_dpm.c
1301
table->initialState.levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/cypress_dpm.c
1303
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/cypress_dpm.c
1438
cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1440
cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1442
cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1444
cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1446
cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1447
table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1452
cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
1454
cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
1456
cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/cypress_dpm.c
1523
table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
sys/dev/drm/radeon/cypress_dpm.c
1541
cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
sys/dev/drm/radeon/cypress_dpm.c
1559
cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
sys/dev/drm/radeon/cypress_dpm.c
601
mclk->mclk770.mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/cypress_dpm.c
602
mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
603
mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
604
mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/cypress_dpm.c
605
mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/cypress_dpm.c
606
mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/cypress_dpm.c
607
mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/cypress_dpm.c
608
mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1);
sys/dev/drm/radeon/cypress_dpm.c
609
mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/radeon/cypress_dpm.c
825
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/radeon/kv_dpm.c
1028
pi->acp_level[i].Frequency = cpu_to_be32(table->entries[i].clk);
sys/dev/drm/radeon/kv_dpm.c
543
pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk);
sys/dev/drm/radeon/kv_dpm.c
618
cpu_to_be32(kv_convert_2bit_index_to_voltage(rdev, vid));
sys/dev/drm/radeon/kv_dpm.c
700
low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t);
sys/dev/drm/radeon/kv_dpm.c
832
pi->uvd_level[i].VclkFrequency = cpu_to_be32(table->entries[i].vclk);
sys/dev/drm/radeon/kv_dpm.c
833
pi->uvd_level[i].DclkFrequency = cpu_to_be32(table->entries[i].dclk);
sys/dev/drm/radeon/kv_dpm.c
903
pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk);
sys/dev/drm/radeon/kv_dpm.c
966
pi->samu_level[i].Frequency = cpu_to_be32(table->entries[i].clk);
sys/dev/drm/radeon/ni_dpm.c
1265
table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
sys/dev/drm/radeon/ni_dpm.c
1280
cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
sys/dev/drm/radeon/ni_dpm.c
1295
cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
sys/dev/drm/radeon/ni_dpm.c
1483
cpu_to_be32(ni_scale_power_for_smc(tdp_limit, scaling_factor));
sys/dev/drm/radeon/ni_dpm.c
1485
cpu_to_be32(ni_scale_power_for_smc(near_tdp_limit, scaling_factor));
sys/dev/drm/radeon/ni_dpm.c
1487
cpu_to_be32(ni_scale_power_for_smc((near_tdp_limit * NISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100,
sys/dev/drm/radeon/ni_dpm.c
1490
cpu_to_be32(ni_scale_power_for_smc(power_boost_limit, scaling_factor));
sys/dev/drm/radeon/ni_dpm.c
1629
arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing);
sys/dev/drm/radeon/ni_dpm.c
1630
arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2);
sys/dev/drm/radeon/ni_dpm.c
1691
cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1693
cpu_to_be32(ni_pi->clock_registers.mpll_ad_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1695
cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1697
cpu_to_be32(ni_pi->clock_registers.mpll_dq_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1699
cpu_to_be32(ni_pi->clock_registers.mclk_pwrmgt_cntl);
sys/dev/drm/radeon/ni_dpm.c
1701
cpu_to_be32(ni_pi->clock_registers.dll_cntl);
sys/dev/drm/radeon/ni_dpm.c
1703
cpu_to_be32(ni_pi->clock_registers.mpll_ss1);
sys/dev/drm/radeon/ni_dpm.c
1705
cpu_to_be32(ni_pi->clock_registers.mpll_ss2);
sys/dev/drm/radeon/ni_dpm.c
1707
cpu_to_be32(initial_state->performance_levels[0].mclk);
sys/dev/drm/radeon/ni_dpm.c
1710
cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1712
cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1714
cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_3);
sys/dev/drm/radeon/ni_dpm.c
1716
cpu_to_be32(ni_pi->clock_registers.cg_spll_func_cntl_4);
sys/dev/drm/radeon/ni_dpm.c
1718
cpu_to_be32(ni_pi->clock_registers.cg_spll_spread_spectrum);
sys/dev/drm/radeon/ni_dpm.c
1720
cpu_to_be32(ni_pi->clock_registers.cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/ni_dpm.c
1722
cpu_to_be32(initial_state->performance_levels[0].sclk);
sys/dev/drm/radeon/ni_dpm.c
1752
table->initialState.levels[0].aT = cpu_to_be32(reg);
sys/dev/drm/radeon/ni_dpm.c
1754
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/ni_dpm.c
1782
table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/radeon/ni_dpm.c
1785
table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/radeon/ni_dpm.c
1903
table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1904
table->ACPIState.levels[0].mclk.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1905
table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1906
table->ACPIState.levels[0].mclk.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1907
table->ACPIState.levels[0].mclk.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/ni_dpm.c
1908
table->ACPIState.levels[0].mclk.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/ni_dpm.c
1912
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
1913
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
1914
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/ni_dpm.c
1915
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(spll_func_cntl_4);
sys/dev/drm/radeon/ni_dpm.c
1930
table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/radeon/ni_dpm.c
1933
table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/radeon/ni_dpm.c
2076
sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value);
sys/dev/drm/radeon/ni_dpm.c
2077
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL);
sys/dev/drm/radeon/ni_dpm.c
2078
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2);
sys/dev/drm/radeon/ni_dpm.c
2079
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3);
sys/dev/drm/radeon/ni_dpm.c
2080
sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4);
sys/dev/drm/radeon/ni_dpm.c
2081
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM);
sys/dev/drm/radeon/ni_dpm.c
2082
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2);
sys/dev/drm/radeon/ni_dpm.c
2140
spll_table->freq[i] = cpu_to_be32(tmp);
sys/dev/drm/radeon/ni_dpm.c
2144
spll_table->ss[i] = cpu_to_be32(tmp);
sys/dev/drm/radeon/ni_dpm.c
2283
mclk->mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/ni_dpm.c
2284
mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
2285
mclk->vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
2286
mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/ni_dpm.c
2287
mclk->vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/ni_dpm.c
2288
mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/ni_dpm.c
2289
mclk->vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/ni_dpm.c
2290
mclk->vMPLL_SS = cpu_to_be32(mpll_ss1);
sys/dev/drm/radeon/ni_dpm.c
2291
mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/radeon/ni_dpm.c
2305
smc_state->levels[i].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/ni_dpm.c
2308
cpu_to_be32(pi->psp);
sys/dev/drm/radeon/ni_dpm.c
2409
smc_state->levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/ni_dpm.c
2413
smc_state->levels[0].aT = cpu_to_be32(0);
sys/dev/drm/radeon/ni_dpm.c
2440
smc_state->levels[i].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/ni_dpm.c
2446
smc_state->levels[i + 1].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/ni_dpm.c
2589
smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle);
sys/dev/drm/radeon/ni_dpm.c
2590
smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2);
sys/dev/drm/radeon/ni_dpm.c
2670
cpu_to_be32(threshold / 512));
sys/dev/drm/radeon/ni_dpm.c
2951
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/radeon/ni_dpm.c
3082
cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(smc_leakage);
sys/dev/drm/radeon/ni_dpm.c
3088
cac_tables->cac_lkge_lut[i][j] = cpu_to_be32(max_leakage);
sys/dev/drm/radeon/ni_dpm.c
3128
cpu_to_be32(ni_scale_power_for_smc(smc_leakage, scaling_factor));
sys/dev/drm/radeon/ni_dpm.c
3134
cpu_to_be32(ni_scale_power_for_smc(max_leakage, scaling_factor));
sys/dev/drm/radeon/ni_dpm.c
3184
cac_tables->pwr_const = cpu_to_be32(ni_pi->cac_data.pwr_const);
sys/dev/drm/radeon/ni_dpm.c
3185
cac_tables->dc_cacValue = cpu_to_be32(ni_pi->cac_data.dc_cac_value);
sys/dev/drm/radeon/ni_dpm.c
3186
cac_tables->bif_cacValue = cpu_to_be32(ni_pi->cac_data.bif_cac_value);
sys/dev/drm/radeon/rv730_dpm.c
109
sclk->sclk_value = cpu_to_be32(engine_clock);
sys/dev/drm/radeon/rv730_dpm.c
110
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
111
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv730_dpm.c
112
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/rv730_dpm.c
113
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum);
sys/dev/drm/radeon/rv730_dpm.c
114
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/rv730_dpm.c
186
mclk->mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv730_dpm.c
187
mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv730_dpm.c
188
mclk->mclk730.mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/rv730_dpm.c
189
mclk->mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
190
mclk->mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/radeon/rv730_dpm.c
191
mclk->mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3);
sys/dev/drm/radeon/rv730_dpm.c
192
mclk->mclk730.vMPLL_SS = cpu_to_be32(mpll_ss);
sys/dev/drm/radeon/rv730_dpm.c
193
mclk->mclk730.vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/radeon/rv730_dpm.c
297
table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
298
table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL2 = cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/radeon/rv730_dpm.c
299
table->ACPIState.levels[0].mclk.mclk730.vMPLL_FUNC_CNTL3 = cpu_to_be32(mpll_func_cntl_3);
sys/dev/drm/radeon/rv730_dpm.c
300
table->ACPIState.levels[0].mclk.mclk730.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv730_dpm.c
301
table->ACPIState.levels[0].mclk.mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv730_dpm.c
305
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
306
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv730_dpm.c
307
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/rv730_dpm.c
328
cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
330
cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl2);
sys/dev/drm/radeon/rv730_dpm.c
332
cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl3);
sys/dev/drm/radeon/rv730_dpm.c
334
cpu_to_be32(pi->clk_regs.rv730.mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv730_dpm.c
336
cpu_to_be32(pi->clk_regs.rv730.dll_cntl);
sys/dev/drm/radeon/rv730_dpm.c
338
cpu_to_be32(pi->clk_regs.rv730.mpll_ss);
sys/dev/drm/radeon/rv730_dpm.c
340
cpu_to_be32(pi->clk_regs.rv730.mpll_ss2);
sys/dev/drm/radeon/rv730_dpm.c
343
cpu_to_be32(initial_state->low.mclk);
sys/dev/drm/radeon/rv730_dpm.c
346
cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl);
sys/dev/drm/radeon/rv730_dpm.c
348
cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl_2);
sys/dev/drm/radeon/rv730_dpm.c
350
cpu_to_be32(pi->clk_regs.rv730.cg_spll_func_cntl_3);
sys/dev/drm/radeon/rv730_dpm.c
352
cpu_to_be32(pi->clk_regs.rv730.cg_spll_spread_spectrum);
sys/dev/drm/radeon/rv730_dpm.c
354
cpu_to_be32(pi->clk_regs.rv730.cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/rv730_dpm.c
357
cpu_to_be32(initial_state->low.sclk);
sys/dev/drm/radeon/rv730_dpm.c
372
table->initialState.levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/rv730_dpm.c
374
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/rv740_dpm.c
177
sclk->sclk_value = cpu_to_be32(engine_clock);
sys/dev/drm/radeon/rv740_dpm.c
178
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
179
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
180
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/rv740_dpm.c
181
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum);
sys/dev/drm/radeon/rv740_dpm.c
182
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/rv740_dpm.c
276
mclk->mclk770.mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/rv740_dpm.c
277
mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
278
mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
279
mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
280
mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
281
mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv740_dpm.c
282
mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv740_dpm.c
283
mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1);
sys/dev/drm/radeon/rv740_dpm.c
284
mclk->mclk770.vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/radeon/rv740_dpm.c
378
table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
379
table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
380
table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
381
table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
382
table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv740_dpm.c
383
table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv740_dpm.c
387
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv740_dpm.c
388
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv740_dpm.c
389
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/rv770_dpm.c
1036
cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
1038
cpu_to_be32(pi->clk_regs.rv770.mpll_ad_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
1040
cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
1042
cpu_to_be32(pi->clk_regs.rv770.mpll_dq_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
1044
cpu_to_be32(pi->clk_regs.rv770.mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv770_dpm.c
1046
cpu_to_be32(pi->clk_regs.rv770.dll_cntl);
sys/dev/drm/radeon/rv770_dpm.c
1049
cpu_to_be32(pi->clk_regs.rv770.mpll_ss1);
sys/dev/drm/radeon/rv770_dpm.c
1051
cpu_to_be32(pi->clk_regs.rv770.mpll_ss2);
sys/dev/drm/radeon/rv770_dpm.c
1054
cpu_to_be32(initial_state->low.mclk);
sys/dev/drm/radeon/rv770_dpm.c
1057
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
1059
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
1061
cpu_to_be32(pi->clk_regs.rv770.cg_spll_func_cntl_3);
sys/dev/drm/radeon/rv770_dpm.c
1063
cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum);
sys/dev/drm/radeon/rv770_dpm.c
1065
cpu_to_be32(pi->clk_regs.rv770.cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/rv770_dpm.c
1068
cpu_to_be32(initial_state->low.sclk);
sys/dev/drm/radeon/rv770_dpm.c
1082
table->initialState.levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/rv770_dpm.c
1084
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/rv770_dpm.c
1128
cpu_to_be32(pi->vddc_table[i].low_smio);
sys/dev/drm/radeon/rv770_dpm.c
1133
cpu_to_be32(pi->vddc_mask_low);
sys/dev/drm/radeon/rv770_dpm.c
1154
cpu_to_be32(pi->mvdd_low_smio[MVDD_HIGH_INDEX]);
sys/dev/drm/radeon/rv770_dpm.c
1156
cpu_to_be32(pi->mvdd_low_smio[MVDD_LOW_INDEX]);
sys/dev/drm/radeon/rv770_dpm.c
1160
cpu_to_be32(pi->mvdd_mask_low);
sys/dev/drm/radeon/rv770_dpm.c
294
smc_state->levels[i].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/rv770_dpm.c
301
cpu_to_be32(a_t);
sys/dev/drm/radeon/rv770_dpm.c
314
smc_state->levels[i].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/rv770_dpm.c
317
cpu_to_be32(pi->psp);
sys/dev/drm/radeon/rv770_dpm.c
477
mclk->mclk770.mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/rv770_dpm.c
478
mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
479
mclk->mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
480
mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
481
mclk->mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
482
mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv770_dpm.c
483
mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv770_dpm.c
560
sclk->sclk_value = cpu_to_be32(engine_clock);
sys/dev/drm/radeon/rv770_dpm.c
561
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
562
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
563
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/rv770_dpm.c
564
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(cg_spll_spread_spectrum);
sys/dev/drm/radeon/rv770_dpm.c
565
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/rv770_dpm.c
986
table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
987
table->ACPIState.levels[0].mclk.mclk770.vMPLL_AD_FUNC_CNTL_2 = cpu_to_be32(mpll_ad_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
988
table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
989
table->ACPIState.levels[0].mclk.mclk770.vMPLL_DQ_FUNC_CNTL_2 = cpu_to_be32(mpll_dq_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
991
table->ACPIState.levels[0].mclk.mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/rv770_dpm.c
992
table->ACPIState.levels[0].mclk.mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/rv770_dpm.c
996
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/rv770_dpm.c
997
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/rv770_dpm.c
998
table->ACPIState.levels[0].sclk.vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/si_dpm.c
2185
cpu_to_be32(si_scale_power_for_smc(tdp_limit, scaling_factor) * 1000);
sys/dev/drm/radeon/si_dpm.c
2187
cpu_to_be32(si_scale_power_for_smc(near_tdp_limit, scaling_factor) * 1000);
sys/dev/drm/radeon/si_dpm.c
2189
cpu_to_be32(si_scale_power_for_smc((near_tdp_limit * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000);
sys/dev/drm/radeon/si_dpm.c
2203
papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp);
sys/dev/drm/radeon/si_dpm.c
2204
papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max);
sys/dev/drm/radeon/si_dpm.c
2205
papm_parm->dGPU_T_Warning = cpu_to_be32(95);
sys/dev/drm/radeon/si_dpm.c
2206
papm_parm->dGPU_T_Hysteresis = cpu_to_be32(5);
sys/dev/drm/radeon/si_dpm.c
2235
cpu_to_be32(si_scale_power_for_smc(rdev->pm.dpm.near_tdp_limit_adjusted, scaling_factor) * 1000);
sys/dev/drm/radeon/si_dpm.c
2237
cpu_to_be32(si_scale_power_for_smc((rdev->pm.dpm.near_tdp_limit_adjusted * SISLANDS_DPM2_TDP_SAFE_LIMIT_PERCENT) / 100, scaling_factor) * 1000);
sys/dev/drm/radeon/si_dpm.c
2431
smc_state->levels[i].SQPowerThrottle = cpu_to_be32(sq_power_throttle);
sys/dev/drm/radeon/si_dpm.c
2432
smc_state->levels[i].SQPowerThrottle_2 = cpu_to_be32(sq_power_throttle2);
sys/dev/drm/radeon/si_dpm.c
2502
dte_tables->K = cpu_to_be32(table_size);
sys/dev/drm/radeon/si_dpm.c
2503
dte_tables->T0 = cpu_to_be32(dte_data->t0);
sys/dev/drm/radeon/si_dpm.c
2504
dte_tables->MaxT = cpu_to_be32(dte_data->max_t);
sys/dev/drm/radeon/si_dpm.c
2508
dte_tables->Tthreshold = cpu_to_be32(dte_data->t_threshold);
sys/dev/drm/radeon/si_dpm.c
2514
dte_tables->tau[i] = cpu_to_be32(dte_data->tau[i]);
sys/dev/drm/radeon/si_dpm.c
2515
dte_tables->R[i] = cpu_to_be32(dte_data->r[i]);
sys/dev/drm/radeon/si_dpm.c
2522
dte_tables->Tdep_tau[i] = cpu_to_be32(dte_data->tdep_tau[i]);
sys/dev/drm/radeon/si_dpm.c
2523
dte_tables->Tdep_R[i] = cpu_to_be32(dte_data->tdep_r[i]);
sys/dev/drm/radeon/si_dpm.c
2704
cac_tables->l2numWin_TDP = cpu_to_be32(si_pi->dyn_powertune_data.l2_lta_window_size);
sys/dev/drm/radeon/si_dpm.c
2707
cac_tables->lkge_lut_V0 = cpu_to_be32((u32)vddc_min);
sys/dev/drm/radeon/si_dpm.c
2708
cac_tables->lkge_lut_Vstep = cpu_to_be32((u32)vddc_step);
sys/dev/drm/radeon/si_dpm.c
2709
cac_tables->R_LL = cpu_to_be32(load_line_slope);
sys/dev/drm/radeon/si_dpm.c
2710
cac_tables->WinTime = cpu_to_be32(si_pi->dyn_powertune_data.wintime);
sys/dev/drm/radeon/si_dpm.c
2711
cac_tables->calculation_repeats = cpu_to_be32(2);
sys/dev/drm/radeon/si_dpm.c
2712
cac_tables->dc_cac = cpu_to_be32(0);
sys/dev/drm/radeon/si_dpm.c
2715
cac_tables->lkge_lut_T0 = cpu_to_be32((u32)t0);
sys/dev/drm/radeon/si_dpm.c
2716
cac_tables->lkge_lut_Tstep = cpu_to_be32((u32)t_step);
sys/dev/drm/radeon/si_dpm.c
2894
spll_table->freq[i] = cpu_to_be32(tmp);
sys/dev/drm/radeon/si_dpm.c
2898
spll_table->ss[i] = cpu_to_be32(tmp);
sys/dev/drm/radeon/si_dpm.c
4047
table->lowSMIO[i] |= cpu_to_be32(voltage_table->entries[i].smio_low);
sys/dev/drm/radeon/si_dpm.c
4069
cpu_to_be32(eg_pi->vddc_voltage_table.mask_low);
sys/dev/drm/radeon/si_dpm.c
4083
cpu_to_be32(eg_pi->vddci_voltage_table.mask_low);
sys/dev/drm/radeon/si_dpm.c
4091
cpu_to_be32(si_pi->mvdd_voltage_table.mask_low);
sys/dev/drm/radeon/si_dpm.c
4100
cpu_to_be32(si_pi->vddc_phase_shed_table.mask_low);
sys/dev/drm/radeon/si_dpm.c
4314
arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing);
sys/dev/drm/radeon/si_dpm.c
4315
arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2);
sys/dev/drm/radeon/si_dpm.c
4380
cpu_to_be32(si_pi->clock_registers.dll_cntl);
sys/dev/drm/radeon/si_dpm.c
4382
cpu_to_be32(si_pi->clock_registers.mclk_pwrmgt_cntl);
sys/dev/drm/radeon/si_dpm.c
4384
cpu_to_be32(si_pi->clock_registers.mpll_ad_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4386
cpu_to_be32(si_pi->clock_registers.mpll_dq_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4388
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4390
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_1);
sys/dev/drm/radeon/si_dpm.c
4392
cpu_to_be32(si_pi->clock_registers.mpll_func_cntl_2);
sys/dev/drm/radeon/si_dpm.c
4394
cpu_to_be32(si_pi->clock_registers.mpll_ss1);
sys/dev/drm/radeon/si_dpm.c
4396
cpu_to_be32(si_pi->clock_registers.mpll_ss2);
sys/dev/drm/radeon/si_dpm.c
4399
cpu_to_be32(initial_state->performance_levels[0].mclk);
sys/dev/drm/radeon/si_dpm.c
4402
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4404
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_2);
sys/dev/drm/radeon/si_dpm.c
4406
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_3);
sys/dev/drm/radeon/si_dpm.c
4408
cpu_to_be32(si_pi->clock_registers.cg_spll_func_cntl_4);
sys/dev/drm/radeon/si_dpm.c
4410
cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum);
sys/dev/drm/radeon/si_dpm.c
4412
cpu_to_be32(si_pi->clock_registers.cg_spll_spread_spectrum_2);
sys/dev/drm/radeon/si_dpm.c
4415
cpu_to_be32(initial_state->performance_levels[0].sclk);
sys/dev/drm/radeon/si_dpm.c
4455
table->initialState.levels[0].aT = cpu_to_be32(reg);
sys/dev/drm/radeon/si_dpm.c
4457
table->initialState.levels[0].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/si_dpm.c
4483
table->initialState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/radeon/si_dpm.c
4486
table->initialState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/radeon/si_dpm.c
4582
cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/si_dpm.c
4584
cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/si_dpm.c
4586
cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4588
cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4590
cpu_to_be32(mpll_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4592
cpu_to_be32(mpll_func_cntl_1);
sys/dev/drm/radeon/si_dpm.c
4594
cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/radeon/si_dpm.c
4596
cpu_to_be32(si_pi->clock_registers.mpll_ss1);
sys/dev/drm/radeon/si_dpm.c
4598
cpu_to_be32(si_pi->clock_registers.mpll_ss2);
sys/dev/drm/radeon/si_dpm.c
4601
cpu_to_be32(spll_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4603
cpu_to_be32(spll_func_cntl_2);
sys/dev/drm/radeon/si_dpm.c
4605
cpu_to_be32(spll_func_cntl_3);
sys/dev/drm/radeon/si_dpm.c
4607
cpu_to_be32(spll_func_cntl_4);
sys/dev/drm/radeon/si_dpm.c
4624
table->ACPIState.levels[0].SQPowerThrottle = cpu_to_be32(reg);
sys/dev/drm/radeon/si_dpm.c
4627
table->ACPIState.levels[0].SQPowerThrottle_2 = cpu_to_be32(reg);
sys/dev/drm/radeon/si_dpm.c
4863
sclk->sclk_value = cpu_to_be32(sclk_tmp.sclk_value);
sys/dev/drm/radeon/si_dpm.c
4864
sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL);
sys/dev/drm/radeon/si_dpm.c
4865
sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_2);
sys/dev/drm/radeon/si_dpm.c
4866
sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_3);
sys/dev/drm/radeon/si_dpm.c
4867
sclk->vCG_SPLL_FUNC_CNTL_4 = cpu_to_be32(sclk_tmp.vCG_SPLL_FUNC_CNTL_4);
sys/dev/drm/radeon/si_dpm.c
4868
sclk->vCG_SPLL_SPREAD_SPECTRUM = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM);
sys/dev/drm/radeon/si_dpm.c
4869
sclk->vCG_SPLL_SPREAD_SPECTRUM_2 = cpu_to_be32(sclk_tmp.vCG_SPLL_SPREAD_SPECTRUM_2);
sys/dev/drm/radeon/si_dpm.c
4950
mclk->mclk_value = cpu_to_be32(memory_clock);
sys/dev/drm/radeon/si_dpm.c
4951
mclk->vMPLL_FUNC_CNTL = cpu_to_be32(mpll_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4952
mclk->vMPLL_FUNC_CNTL_1 = cpu_to_be32(mpll_func_cntl_1);
sys/dev/drm/radeon/si_dpm.c
4953
mclk->vMPLL_FUNC_CNTL_2 = cpu_to_be32(mpll_func_cntl_2);
sys/dev/drm/radeon/si_dpm.c
4954
mclk->vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4955
mclk->vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl);
sys/dev/drm/radeon/si_dpm.c
4956
mclk->vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl);
sys/dev/drm/radeon/si_dpm.c
4957
mclk->vDLL_CNTL = cpu_to_be32(dll_cntl);
sys/dev/drm/radeon/si_dpm.c
4958
mclk->vMPLL_SS = cpu_to_be32(mpll_ss1);
sys/dev/drm/radeon/si_dpm.c
4959
mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2);
sys/dev/drm/radeon/si_dpm.c
4973
smc_state->levels[i].bSP = cpu_to_be32(pi->dsp);
sys/dev/drm/radeon/si_dpm.c
4976
cpu_to_be32(pi->psp);
sys/dev/drm/radeon/si_dpm.c
5104
smc_state->levels[0].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/si_dpm.c
5108
smc_state->levels[0].aT = cpu_to_be32(0);
sys/dev/drm/radeon/si_dpm.c
5126
smc_state->levels[i].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/si_dpm.c
5131
smc_state->levels[i + 1].aT = cpu_to_be32(a_t);
sys/dev/drm/radeon/si_dpm.c
5613
data->value[i] = cpu_to_be32(entry->mc_data[j]);
sys/dev/drm/radeon/si_dpm.c
6085
fan_table.refresh_period = cpu_to_be32((rdev->pm.dpm.fan.cycle_delay *