Searched refs:ps_size (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pp_psm.c | 45 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()
|
D | vega10_hwmgr.c | 5416 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/ |
D | context.c | 140 if (offset >= ctx->afu->adapter->ps_size) in cxl_mmap_fault() 188 if (start + len > ctx->afu->adapter->ps_size) in cxl_context_iomap()
|
D | pci.c | 791 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()
|
D | of.c | 96 afu->adapter->ps_size = size; in read_phys_addr() 273 afu->psn_phys, afu->adapter->ps_size); in cxl_of_read_afu_properties()
|
D | sysfs.c | 206 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()
|
D | cxl.h | 691 u64 ps_size; member
|
D | guest.c | 596 ctx->psn_size = ctx->afu->adapter->ps_size; in attach_afu_directed()
|
D | native.c | 545 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 791 uint32_t ps_size; member
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 312 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/ |
D | amd_powerplay.c | 575 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()
|