Home
last modified time | relevance | path

Searched refs:ps_size (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dpp_psm.c50 hwmgr->ps_size = 0; in psm_init_power_state_table()
54 hwmgr->ps_size = size; in psm_init_power_state_table()
139 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_ui_state()
160 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_state_by_classification()
177 memcpy(hwmgr->request_ps, state, hwmgr->ps_size); in psm_set_states()
180 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_set_states()
232 *state = (struct pp_power_state *)((uintptr_t)*state + hwmgr->ps_size); in psm_set_user_performance_state()
267 memcpy(hwmgr->current_ps, hwmgr->request_ps, hwmgr->ps_size); in power_state_management()
A Dvega10_hwmgr.c5497 ps = (struct pp_power_state *)((unsigned long)(hwmgr->ps) + hwmgr->ps_size * (hwmgr->num_ps - 1)); in vega10_odn_update_power_state()
/drivers/gpu/drm/radeon/
A Datom.c63 int ps_size, ws_size; member
225 if (idx < ctx->ps_size) in atom_get_src_int()
228 pr_info("PS index out of range: %i > %i\n", idx, ctx->ps_size); in atom_get_src_int()
504 if (idx >= ctx->ps_size) { in atom_put_dst()
505 pr_info("PS index out of range: %i > %i\n", idx, ctx->ps_size); in atom_put_dst()
641 …r = atom_execute_table_locked(ctx->ctx, idx, ctx->ps + ctx->ps_shift, ctx->ps_size - ctx->ps_shift… in atom_op_calltable()
1192 ectx.ps_size = params_size; in atom_execute_table_locked()
/drivers/gpu/drm/amd/amdgpu/
A Datom.c65 int ps_size, ws_size; member
227 if (idx < ctx->ps_size) in atom_get_src_int()
230 pr_info("PS index out of range: %i > %i\n", idx, ctx->ps_size); in atom_get_src_int()
505 if (idx >= ctx->ps_size) { in atom_put_dst()
506 pr_info("PS index out of range: %i > %i\n", idx, ctx->ps_size); in atom_put_dst()
642 …r = amdgpu_atom_execute_table_locked(ctx->ctx, idx, ctx->ps + ctx->ps_shift, ctx->ps_size - ctx->p… in atom_op_calltable()
1243 ectx.ps_size = params_size; in amdgpu_atom_execute_table_locked()
/drivers/gpu/drm/amd/pm/powerplay/inc/
A Dhwmgr.h788 uint32_t ps_size; member
/drivers/gpu/drm/amd/pm/powerplay/
A Damd_powerplay.c612 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()

Completed in 30 milliseconds