Home
last modified time | relevance | path

Searched refs:new_ps (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/radeon/
A Drs780_dpm.c426 struct radeon_ps *new_ps, in rs780_set_engine_clock_scaling() argument
474 struct radeon_ps *new_ps, in rs780_set_engine_clock_spc() argument
493 struct radeon_ps *new_ps, in rs780_activate_engine_clk_scaling() argument
523 struct radeon_ps *new_ps) in rs780_enable_voltage_scaling() argument
564 struct radeon_ps *new_ps, in rs780_set_uvd_clock_before_set_eng_clock() argument
570 if ((new_ps->vclk == old_ps->vclk) && in rs780_set_uvd_clock_before_set_eng_clock()
571 (new_ps->dclk == old_ps->dclk)) in rs780_set_uvd_clock_before_set_eng_clock()
577 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rs780_set_uvd_clock_before_set_eng_clock()
581 struct radeon_ps *new_ps, in rs780_set_uvd_clock_after_set_eng_clock() argument
588 (new_ps->dclk == old_ps->dclk)) in rs780_set_uvd_clock_after_set_eng_clock()
[all …]
A Dsumo_dpm.c670 pi->boost_pl = new_ps->levels[new_ps->num_levels - 1]; in sumo_patch_boost_state()
844 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in sumo_set_uvd_clock_before_set_eng_clock()
862 if (new_ps->levels[new_ps->num_levels - 1].sclk < in sumo_set_uvd_clock_after_set_eng_clock()
1187 pi->current_ps = *new_ps; in sumo_update_current_ps()
1198 pi->requested_ps = *new_ps; in sumo_update_requested_ps()
1306 sumo_patch_boost_state(rdev, new_ps); in sumo_dpm_set_power_state()
1315 sumo_program_wl(rdev, new_ps); in sumo_dpm_set_power_state()
1316 sumo_program_bsp(rdev, new_ps); in sumo_dpm_set_power_state()
1317 sumo_program_at(rdev, new_ps); in sumo_dpm_set_power_state()
1318 sumo_force_nbp_state(rdev, new_ps); in sumo_dpm_set_power_state()
[all …]
A Drv6xx_dpm.c966 struct radeon_ps *new_ps, in rv6xx_enable_static_voltage_control() argument
1046 struct radeon_ps *new_ps) in rv6xx_calculate_stepping_parameters() argument
1199 struct radeon_ps *new_ps, in rv6xx_set_sw_voltage_to_safe() argument
1229 struct radeon_ps *new_ps, in rv6xx_set_safe_backbias() argument
1243 struct radeon_ps *new_ps, in rv6xx_set_safe_pcie_gen2() argument
1305 struct radeon_ps *new_ps, in rv6xx_step_voltage_if_increasing() argument
1432 struct radeon_ps *new_ps) in rv6xx_generate_low_step() argument
1452 struct radeon_ps *new_ps) in rv6xx_generate_stepping_table() argument
1494 struct radeon_ps *new_ps, in rv6xx_enable_dynamic_pcie_gen2() argument
1525 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv6xx_set_uvd_clock_before_set_eng_clock()
[all …]
A Dtrinity_dpm.c804 for (i = 0; i < new_ps->num_levels; i++) { in trinity_program_power_levels_0_to_n()
925 if (new_ps->levels[new_ps->num_levels - 1].sclk >= in trinity_set_uvd_clock_before_set_eng_clock()
939 if (new_ps->levels[new_ps->num_levels - 1].sclk < in trinity_set_uvd_clock_after_set_eng_clock()
1030 pi->current_ps = *new_ps; in trinity_update_current_ps()
1041 pi->requested_ps = *new_ps; in trinity_update_requested_ps()
1151 DpmXNbPsLo(new_ps->DpmXNbPsLo) | in trinity_setup_nbp_sim()
1152 DpmXNbPsHi(new_ps->DpmXNbPsHi)); in trinity_setup_nbp_sim()
1192 struct radeon_ps *new_ps = &requested_ps; in trinity_dpm_pre_set_power_state() local
1194 trinity_update_requested_ps(rdev, new_ps); in trinity_dpm_pre_set_power_state()
1217 trinity_setup_nbp_sim(rdev, new_ps); in trinity_dpm_set_power_state()
[all …]
A Dkv_dpm.c984 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_current_ps() local
988 pi->current_ps = *new_ps; in kv_update_current_ps()
995 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps() local
999 pi->requested_ps = *new_ps; in kv_update_requested_ps()
1545 if (table->entries[i].clk <= new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1552 (table->entries[pi->lowest_valid].clk - new_ps->levels[new_ps->num_levels - 1].sclk)) in kv_set_valid_clock_range()
1571 new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1577 if ((new_ps->levels[0].sclk - in kv_set_valid_clock_range()
1580 new_ps->levels[new_ps->num_levels -1].sclk)) in kv_set_valid_clock_range()
1664 kv_update_requested_ps(rdev, new_ps); in kv_dpm_pre_set_power_state()
[all …]
A Dbtc_dpm.c2259 struct rv7xx_ps *new_ps = rv770_get_ps(rps); in btc_update_current_ps() local
2263 eg_pi->current_ps = *new_ps; in btc_update_current_ps()
2270 struct rv7xx_ps *new_ps = rv770_get_ps(rps); in btc_update_requested_ps() local
2274 eg_pi->requested_ps = *new_ps; in btc_update_requested_ps()
2292 struct radeon_ps *new_ps = &requested_ps; in btc_dpm_pre_set_power_state() local
2294 btc_update_requested_ps(rdev, new_ps); in btc_dpm_pre_set_power_state()
2304 struct radeon_ps *new_ps = &eg_pi->requested_rps; in btc_dpm_set_power_state() local
2324 btc_set_at_for_uvd(rdev, new_ps); in btc_dpm_set_power_state()
2326 btc_notify_uvd_to_smc(rdev, new_ps); in btc_dpm_set_power_state()
2327 ret = cypress_upload_sw_state(rdev, new_ps); in btc_dpm_set_power_state()
[all …]
A Dni_dpm.c3510 struct radeon_ps *new_ps, in ni_set_uvd_clock_before_set_eng_clock() argument
3516 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock()
3517 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock()
3524 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in ni_set_uvd_clock_before_set_eng_clock()
3528 struct radeon_ps *new_ps, in ni_set_uvd_clock_after_set_eng_clock() argument
3534 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock()
3535 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock()
3542 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in ni_set_uvd_clock_after_set_eng_clock()
3570 ni_pi->current_ps = *new_ps; in ni_update_current_ps()
3582 ni_pi->requested_ps = *new_ps; in ni_update_requested_ps()
[all …]
A Drv770_dpm.c1434 struct radeon_ps *new_ps, in rv770_set_uvd_clock_before_set_eng_clock() argument
1437 struct rv7xx_ps *new_state = rv770_get_ps(new_ps); in rv770_set_uvd_clock_before_set_eng_clock()
1440 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_before_set_eng_clock()
1441 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_before_set_eng_clock()
1447 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv770_set_uvd_clock_before_set_eng_clock()
1451 struct radeon_ps *new_ps, in rv770_set_uvd_clock_after_set_eng_clock() argument
1454 struct rv7xx_ps *new_state = rv770_get_ps(new_ps); in rv770_set_uvd_clock_after_set_eng_clock()
1457 if ((new_ps->vclk == old_ps->vclk) && in rv770_set_uvd_clock_after_set_eng_clock()
1458 (new_ps->dclk == old_ps->dclk)) in rv770_set_uvd_clock_after_set_eng_clock()
1464 radeon_set_uvd_clocks(rdev, new_ps->vclk, new_ps->dclk); in rv770_set_uvd_clock_after_set_eng_clock()
[all …]
A Dni_dpm.h242 struct radeon_ps *new_ps,
245 struct radeon_ps *new_ps,
A Drv770_dpm.h274 struct radeon_ps *new_ps,
277 struct radeon_ps *new_ps,
A Dcypress_dpm.c1956 struct radeon_ps *new_ps = rdev->pm.dpm.requested_ps; in cypress_dpm_set_power_state() local
1966 cypress_notify_link_speed_change_before_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
1968 rv770_set_uvd_clock_before_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
1974 ret = cypress_upload_sw_state(rdev, new_ps); in cypress_dpm_set_power_state()
1980 ret = cypress_upload_mc_reg_table(rdev, new_ps); in cypress_dpm_set_power_state()
1987 cypress_program_memory_timing_parameters(rdev, new_ps); in cypress_dpm_set_power_state()
1999 rv770_set_uvd_clock_after_set_eng_clock(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
2002 cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps); in cypress_dpm_set_power_state()
A Dsi_dpm.c6504 struct radeon_ps *new_ps = &requested_ps; in si_dpm_pre_set_power_state() local
6506 ni_update_requested_ps(rdev, new_ps); in si_dpm_pre_set_power_state()
6524 ret = si_populate_smc_tdp_limits(rdev, new_ps); in si_power_control_set_level()
6527 ret = si_populate_smc_tdp_limits_2(rdev, new_ps); in si_power_control_set_level()
6542 struct radeon_ps *new_ps = &eg_pi->requested_rps; in si_dpm_set_power_state() local
6564 ret = si_enable_smc_cac(rdev, new_ps, false); in si_dpm_set_power_state()
6574 ret = si_upload_sw_state(rdev, new_ps); in si_dpm_set_power_state()
6590 ret = si_upload_mc_reg_table(rdev, new_ps); in si_dpm_set_power_state()
6614 si_set_vce_clock(rdev, new_ps, old_ps); in si_dpm_set_power_state()
6622 ret = si_enable_smc_cac(rdev, new_ps, true); in si_dpm_set_power_state()
[all …]
A Dci_dpm.c5074 struct ci_ps *new_ps = ci_get_ps(rps); in ci_update_current_ps() local
5078 pi->current_ps = *new_ps; in ci_update_current_ps()
5085 struct ci_ps *new_ps = ci_get_ps(rps); in ci_update_requested_ps() local
5089 pi->requested_ps = *new_ps; in ci_update_requested_ps()
5097 struct radeon_ps *new_ps = &requested_ps; in ci_dpm_pre_set_power_state() local
5099 ci_update_requested_ps(rdev, new_ps); in ci_dpm_pre_set_power_state()
5109 struct radeon_ps *new_ps = &pi->requested_rps; in ci_dpm_post_set_power_state() local
5111 ci_update_current_ps(rdev, new_ps); in ci_dpm_post_set_power_state()
5317 struct radeon_ps *new_ps = &pi->requested_rps; in ci_dpm_set_power_state() local
5321 ci_find_dpm_states_clocks_in_dpm_table(rdev, new_ps); in ci_dpm_set_power_state()
[all …]
/linux/drivers/net/wireless/ath/
A Ddfs_pri_detector.c229 struct pri_sequence ps, *new_ps; in pseq_handler_create_sequences() local
285 new_ps = pool_get_pseq_elem(); in pseq_handler_create_sequences()
286 if (new_ps == NULL) { in pseq_handler_create_sequences()
287 new_ps = kmalloc(sizeof(*new_ps), GFP_ATOMIC); in pseq_handler_create_sequences()
288 if (new_ps == NULL) { in pseq_handler_create_sequences()
295 memcpy(new_ps, &ps, sizeof(ps)); in pseq_handler_create_sequences()
296 INIT_LIST_HEAD(&new_ps->head); in pseq_handler_create_sequences()
297 list_add(&new_ps->head, &pde->sequences); in pseq_handler_create_sequences()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dpp_psm.c242 struct pp_power_state *new_ps) in power_state_management() argument
248 if (new_ps != NULL) in power_state_management()
249 requested = new_ps; in power_state_management()
267 struct pp_power_state *new_ps) in psm_adjust_power_state_dynamic() argument
277 power_state_management(hwmgr, new_ps); in psm_adjust_power_state_dynamic()
A Dpp_psm.h38 struct pp_power_state *new_ps);
/linux/drivers/gpu/drm/amd/pm/powerplay/
A Dkv_dpm.c1225 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_current_ps() local
1229 pi->current_ps = *new_ps; in kv_update_current_ps()
1237 struct kv_ps *new_ps = kv_get_ps(rps); in kv_update_requested_ps() local
1241 pi->requested_ps = *new_ps; in kv_update_requested_ps()
1788 if (table->entries[i].clk <= new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1795 (table->entries[pi->lowest_valid].clk - new_ps->levels[new_ps->num_levels - 1].sclk)) in kv_set_valid_clock_range()
1814 new_ps->levels[new_ps->num_levels - 1].sclk) in kv_set_valid_clock_range()
1820 if ((new_ps->levels[0].sclk - in kv_set_valid_clock_range()
1823 new_ps->levels[new_ps->num_levels -1].sclk)) in kv_set_valid_clock_range()
1909 kv_update_requested_ps(adev, new_ps); in kv_dpm_pre_set_power_state()
[all …]
A Dsi_dpm.c3134 ni_pi->current_ps = *new_ps; in ni_update_current_ps()
3147 ni_pi->requested_ps = *new_ps; in ni_update_requested_ps()
3153 struct amdgpu_ps *new_ps, in ni_set_uvd_clock_before_set_eng_clock() argument
3159 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_before_set_eng_clock()
3160 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_before_set_eng_clock()
3167 amdgpu_asic_set_uvd_clocks(adev, new_ps->vclk, new_ps->dclk); in ni_set_uvd_clock_before_set_eng_clock()
3171 struct amdgpu_ps *new_ps, in ni_set_uvd_clock_after_set_eng_clock() argument
3177 if ((new_ps->vclk == old_ps->vclk) && in ni_set_uvd_clock_after_set_eng_clock()
3178 (new_ps->dclk == old_ps->dclk)) in ni_set_uvd_clock_after_set_eng_clock()
3185 amdgpu_asic_set_uvd_clocks(adev, new_ps->vclk, new_ps->dclk); in ni_set_uvd_clock_after_set_eng_clock()
[all …]
/linux/drivers/net/wireless/ath/carl9170/
A Drx.c79 bool new_ps; in carl9170_handle_ps() local
83 new_ps = (ps & CARL9170_PSM_COUNTER) != CARL9170_PSM_WAKE; in carl9170_handle_ps()
84 if (ar->ps.state != new_ps) { in carl9170_handle_ps()
85 if (!new_ps) { in carl9170_handle_ps()
92 ar->ps.state = new_ps; in carl9170_handle_ps()

Completed in 101 milliseconds