Home
last modified time | relevance | path

Searched refs:cpu_to_be32 (Results 1 – 16 of 16) sorted by relevance

/dragonfly/sys/dev/drm/radeon/
H A Drv730_dpm.c109 sclk->sclk_value = cpu_to_be32(engine_clock); in rv730_populate_sclk_value()
187 mclk->mclk730.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv730_populate_mclk_value()
192 mclk->mclk730.vMPLL_SS = cpu_to_be32(mpll_ss); in rv730_populate_mclk_value()
193 mclk->mclk730.vMPLL_SS2 = cpu_to_be32(mpll_ss2); in rv730_populate_mclk_value()
328 cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl); in rv730_populate_smc_initial_state()
330 cpu_to_be32(pi->clk_regs.rv730.mpll_func_cntl2); in rv730_populate_smc_initial_state()
336 cpu_to_be32(pi->clk_regs.rv730.dll_cntl); in rv730_populate_smc_initial_state()
338 cpu_to_be32(pi->clk_regs.rv730.mpll_ss); in rv730_populate_smc_initial_state()
340 cpu_to_be32(pi->clk_regs.rv730.mpll_ss2); in rv730_populate_smc_initial_state()
343 cpu_to_be32(initial_state->low.mclk); in rv730_populate_smc_initial_state()
[all …]
H A Drv740_dpm.c177 sclk->sclk_value = cpu_to_be32(engine_clock); in rv740_populate_sclk_value()
178 sclk->vCG_SPLL_FUNC_CNTL = cpu_to_be32(spll_func_cntl); in rv740_populate_sclk_value()
179 sclk->vCG_SPLL_FUNC_CNTL_2 = cpu_to_be32(spll_func_cntl_2); in rv740_populate_sclk_value()
180 sclk->vCG_SPLL_FUNC_CNTL_3 = cpu_to_be32(spll_func_cntl_3); in rv740_populate_sclk_value()
272 mclk->mclk770.mclk_value = cpu_to_be32(memory_clock); in rv740_populate_mclk_value()
273 mclk->mclk770.vMPLL_AD_FUNC_CNTL = cpu_to_be32(mpll_ad_func_cntl); in rv740_populate_mclk_value()
275 mclk->mclk770.vMPLL_DQ_FUNC_CNTL = cpu_to_be32(mpll_dq_func_cntl); in rv740_populate_mclk_value()
277 mclk->mclk770.vMCLK_PWRMGT_CNTL = cpu_to_be32(mclk_pwrmgt_cntl); in rv740_populate_mclk_value()
278 mclk->mclk770.vDLL_CNTL = cpu_to_be32(dll_cntl); in rv740_populate_mclk_value()
279 mclk->mclk770.vMPLL_SS = cpu_to_be32(mpll_ss1); in rv740_populate_mclk_value()
[all …]
H A Drv770_dpm.c294 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t()
301 cpu_to_be32(a_t); in rv770_populate_smc_t()
317 cpu_to_be32(pi->psp); in rv770_populate_smc_sp()
1046 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in rv770_populate_smc_initial_state()
1049 cpu_to_be32(pi->clk_regs.rv770.mpll_ss1); in rv770_populate_smc_initial_state()
1051 cpu_to_be32(pi->clk_regs.rv770.mpll_ss2); in rv770_populate_smc_initial_state()
1054 cpu_to_be32(initial_state->low.mclk); in rv770_populate_smc_initial_state()
1068 cpu_to_be32(initial_state->low.sclk); in rv770_populate_smc_initial_state()
1128 cpu_to_be32(pi->vddc_table[i].low_smio); in rv770_populate_smc_vddc_table()
1133 cpu_to_be32(pi->vddc_mask_low); in rv770_populate_smc_vddc_table()
[all …]
H A Dni_dpm.c2140 spll_table->freq[i] = cpu_to_be32(tmp); in ni_init_smc_spll_table()
2144 spll_table->ss[i] = cpu_to_be32(tmp); in ni_init_smc_spll_table()
2279 mclk->mclk_value = cpu_to_be32(memory_clock); in ni_populate_mclk_value()
2285 mclk->vDLL_CNTL = cpu_to_be32(dll_cntl); in ni_populate_mclk_value()
2286 mclk->vMPLL_SS = cpu_to_be32(mpll_ss1); in ni_populate_mclk_value()
2287 mclk->vMPLL_SS2 = cpu_to_be32(mpll_ss2); in ni_populate_mclk_value()
2304 cpu_to_be32(pi->psp); in ni_populate_smc_sp()
2405 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2409 smc_state->levels[0].aT = cpu_to_be32(0); in ni_populate_smc_t()
2436 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
[all …]
H A Dcypress_dpm.c1254 cpu_to_be32(pi->clk_regs.rv770.dll_cntl); in cypress_populate_smc_initial_state()
1262 cpu_to_be32(initial_state->low.mclk); in cypress_populate_smc_initial_state()
1276 cpu_to_be32(initial_state->low.sclk); in cypress_populate_smc_initial_state()
1434 cpu_to_be32(mpll_ad_func_cntl); in cypress_populate_smc_acpi_state()
1436 cpu_to_be32(mpll_ad_func_cntl_2); in cypress_populate_smc_acpi_state()
1438 cpu_to_be32(mpll_dq_func_cntl); in cypress_populate_smc_acpi_state()
1440 cpu_to_be32(mpll_dq_func_cntl_2); in cypress_populate_smc_acpi_state()
1442 cpu_to_be32(mclk_pwrmgt_cntl); in cypress_populate_smc_acpi_state()
1448 cpu_to_be32(spll_func_cntl); in cypress_populate_smc_acpi_state()
1450 cpu_to_be32(spll_func_cntl_2); in cypress_populate_smc_acpi_state()
[all …]
H A Dsi_dpm.c4578 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
4580 cpu_to_be32(mclk_pwrmgt_cntl); in si_populate_smc_acpi_state()
4582 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
4586 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
4588 cpu_to_be32(mpll_func_cntl_1); in si_populate_smc_acpi_state()
4590 cpu_to_be32(mpll_func_cntl_2); in si_populate_smc_acpi_state()
4597 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
4599 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
4601 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
4603 cpu_to_be32(spll_func_cntl_4); in si_populate_smc_acpi_state()
[all …]
H A Dci_dpm.c2673 table->LinkLevel[i].DownT = cpu_to_be32(5); in ci_populate_smc_link_level()
2674 table->LinkLevel[i].UpT = cpu_to_be32(30); in ci_populate_smc_link_level()
3089 cpu_to_be32(pi->acpi_vddci * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
3099 cpu_to_be32(voltage_level.Voltage * VOLTAGE_SCALE); in ci_populate_smc_acpi_level()
3109 cpu_to_be32(pi->clock_registers.mpll_ad_func_cntl); in ci_populate_smc_acpi_level()
3111 cpu_to_be32(pi->clock_registers.mpll_dq_func_cntl); in ci_populate_smc_acpi_level()
3113 cpu_to_be32(pi->clock_registers.mpll_func_cntl); in ci_populate_smc_acpi_level()
3115 cpu_to_be32(pi->clock_registers.mpll_func_cntl_1); in ci_populate_smc_acpi_level()
3117 cpu_to_be32(pi->clock_registers.mpll_func_cntl_2); in ci_populate_smc_acpi_level()
3186 state->CcPwrDynRm = cpu_to_be32(state->CcPwrDynRm); in ci_populate_ulv_level()
[all …]
H A Dkv_dpm.c543 pi->graphics_level[index].SclkFrequency = cpu_to_be32(sclk); in kv_set_divider_value()
618 cpu_to_be32(kv_convert_2bit_index_to_voltage(rdev, vid)); in kv_set_vid()
700 low_sclk_interrupt_t = cpu_to_be32(pi->low_sclk_interrupt_t); in kv_update_sclk_t()
832 pi->uvd_level[i].VclkFrequency = cpu_to_be32(table->entries[i].vclk); in kv_populate_uvd_table()
833 pi->uvd_level[i].DclkFrequency = cpu_to_be32(table->entries[i].dclk); in kv_populate_uvd_table()
903 pi->vce_level[i].Frequency = cpu_to_be32(table->entries[i].evclk); in kv_populate_vce_table()
966 pi->samu_level[i].Frequency = cpu_to_be32(table->entries[i].clk); in kv_populate_samu_table()
1028 pi->acp_level[i].Frequency = cpu_to_be32(table->entries[i].clk); in kv_populate_acp_table()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.c5042 cpu_to_be32(dll_cntl); in si_populate_smc_acpi_state()
5044 cpu_to_be32(mclk_pwrmgt_cntl); in si_populate_smc_acpi_state()
5046 cpu_to_be32(mpll_ad_func_cntl); in si_populate_smc_acpi_state()
5050 cpu_to_be32(mpll_func_cntl); in si_populate_smc_acpi_state()
5052 cpu_to_be32(mpll_func_cntl_1); in si_populate_smc_acpi_state()
5054 cpu_to_be32(mpll_func_cntl_2); in si_populate_smc_acpi_state()
5061 cpu_to_be32(spll_func_cntl); in si_populate_smc_acpi_state()
5063 cpu_to_be32(spll_func_cntl_2); in si_populate_smc_acpi_state()
5065 cpu_to_be32(spll_func_cntl_3); in si_populate_smc_acpi_state()
5067 cpu_to_be32(spll_func_cntl_4); in si_populate_smc_acpi_state()
[all …]
/dragonfly/sys/dev/drm/amd/powerplay/inc/
H A Dpp_endian.h27 #define PP_HOST_TO_SMC_UL(X) cpu_to_be32(X)
/dragonfly/sys/dev/drm/include/linux/
H A Dkernel.h149 #define cpu_to_be32(x) htobe32(x) macro
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Dfiji_smumgr.c2216 fan_table.RefreshPeriod = cpu_to_be32((hwmgr-> in fiji_thermal_setup_fan_table()
H A Diceland_smumgr.c2149 …fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCyc… in iceland_thermal_setup_fan_table()
H A Dpolaris10_smumgr.c2087 fan_table.RefreshPeriod = cpu_to_be32((hwmgr-> in polaris10_thermal_setup_fan_table()
H A Dci_smumgr.c2186 …fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCyc… in ci_thermal_setup_fan_table()
H A Dtonga_smumgr.c2524 …fan_table.RefreshPeriod = cpu_to_be32((hwmgr->thermal_controller.advanceFanControlParameters.ulCyc… in tonga_thermal_setup_fan_table()