Home
last modified time | relevance | path

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

/Linux-v5.10/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()
127 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_ui_state()
148 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_get_state_by_classification()
165 memcpy(hwmgr->request_ps, state, hwmgr->ps_size); in psm_set_states()
168 state = (struct pp_power_state *)((unsigned long)state + hwmgr->ps_size); in psm_set_states()
220 *state = (struct pp_power_state *)((uintptr_t)*state + hwmgr->ps_size); in psm_set_user_performance_state()
255 memcpy(hwmgr->current_ps, hwmgr->request_ps, hwmgr->ps_size); in power_state_management()
Dvega10_hwmgr.c5146 ps = (struct pp_power_state *)((unsigned long)(hwmgr->ps) + hwmgr->ps_size * (hwmgr->num_ps - 1)); in vega10_odn_update_power_state()
/Linux-v5.10/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.c790 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs()
892 if (afu->psa && afu->adapter->ps_size < in cxl_afu_descriptor_looks_ok()
1291 u32 ps_off, ps_size; in cxl_read_vsec() local
1320 CXL_READ_VSEC_PS_SIZE(dev, vsec, &ps_size); in cxl_read_vsec()
1325 adapter->ps_size = ps_size * 64 * 1024; in cxl_read_vsec()
1400 if (adapter->ps_size > p2_size(dev) - adapter->native->ps_off) { in cxl_vsec_looks_ok()
1403 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.h689 u64 ps_size; member
Dguest.c590 ctx->psn_size = ctx->afu->adapter->ps_size; in attach_afu_directed()
Dnative.c544 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Dhwmgr.h791 uint32_t ps_size; member
/Linux-v5.10/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-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c625 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()