Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H 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()
H 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()
/linux/drivers/gpu/drm/radeon/
H 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()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dfile.c312 unsigned long ps_size) in spufs_ps_fault() argument
321 if (offset >= ps_size) in spufs_ps_fault()
/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c609 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()