Home
last modified time | relevance | path

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

/linux/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()
/linux/drivers/misc/cxl/
A Dcontext.c140 if (offset >= ctx->afu->adapter->ps_size) in cxl_mmap_fault()
188 if (start + len > ctx->afu->adapter->ps_size) in cxl_context_iomap()
A Dof.c43 afu->adapter->ps_size = size; in read_phys_addr()
163 afu->psn_phys, afu->adapter->ps_size); in cxl_of_read_afu_properties()
A Dpci.c776 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs()
878 if (afu->psa && afu->adapter->ps_size < in cxl_afu_descriptor_looks_ok()
1279 u32 ps_off, ps_size; in cxl_read_vsec() local
1308 CXL_READ_VSEC_PS_SIZE(dev, vsec, &ps_size); in cxl_read_vsec()
1313 adapter->ps_size = ps_size * 64 * 1024; in cxl_read_vsec()
1388 if (adapter->ps_size > p2_size(dev) - adapter->native->ps_off) { in cxl_vsec_looks_ok()
1391 adapter->ps_size, p2_size(dev) - adapter->native->ps_off); in cxl_vsec_looks_ok()
A Dsysfs.c206 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show_master()
244 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show()
A Dcxl.h691 u64 ps_size; member
A Dguest.c596 ctx->psn_size = ctx->afu->adapter->ps_size; in attach_afu_directed()
A Dnative.c540 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
/linux/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()
/linux/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()
/linux/kernel/power/
A Denergy_model.c681 int ps_size; in em_table_dup() local
692 ps_size = sizeof(struct em_perf_state) * pd->nr_perf_states; in em_table_dup()
693 memcpy(new_ps, ps, ps_size); in em_table_dup()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
A Dhwmgr.h789 uint32_t ps_size; member
/linux/arch/powerpc/platforms/cell/spufs/
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/
A Damd_powerplay.c624 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()

Completed in 68 milliseconds