Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c45 hwmgr->ps_size = size = hwmgr->hwmgr_func->get_power_state_size(hwmgr) + in psm_init_power_state_table()
136 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_ui_state()
157 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_state_by_classification()
174 memcpy(hwmgr->request_ps, state, hwmgr->ps_size); in psm_set_states()
177 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_set_states()
229 *state = (struct pp_power_state *)((uintptr_t)*state + hwmgr->ps_size); in psm_set_user_performance_state()
264 memcpy(hwmgr->current_ps, hwmgr->request_ps, hwmgr->ps_size); in power_state_management()
Dvega10_hwmgr.c5416 ps = (struct pp_power_state *)((unsigned long)(hwmgr->ps) + hwmgr->ps_size * (hwmgr->num_ps - 1)); in vega10_odn_update_power_state()
/linux-6.1.9/drivers/misc/cxl/
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()
Dpci.c791 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs()
893 if (afu->psa && afu->adapter->ps_size < in cxl_afu_descriptor_looks_ok()
1294 u32 ps_off, ps_size; in cxl_read_vsec() local
1323 CXL_READ_VSEC_PS_SIZE(dev, vsec, &ps_size); in cxl_read_vsec()
1328 adapter->ps_size = ps_size * 64 * 1024; in cxl_read_vsec()
1403 if (adapter->ps_size > p2_size(dev) - adapter->native->ps_off) { in cxl_vsec_looks_ok()
1406 adapter->ps_size, p2_size(dev) - adapter->native->ps_off); in cxl_vsec_looks_ok()
Dof.c96 afu->adapter->ps_size = size; in read_phys_addr()
273 afu->psn_phys, afu->adapter->ps_size); in cxl_of_read_afu_properties()
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()
Dcxl.h691 u64 ps_size; member
Dguest.c596 ctx->psn_size = ctx->afu->adapter->ps_size; in attach_afu_directed()
Dnative.c545 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h791 uint32_t ps_size; member
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dfile.c312 unsigned long ps_size) in spufs_ps_fault() argument
321 if (offset >= ps_size) in spufs_ps_fault()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c575 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()