Searched refs:ps_size (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/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 | 5443 ps = (struct pp_power_state *)((unsigned long)(hwmgr->ps) + hwmgr->ps_size * (hwmgr->num_ps - 1)); in vega10_odn_update_power_state()
|
/Linux-v6.6/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 | 782 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs() 884 if (afu->psa && afu->adapter->ps_size < in cxl_afu_descriptor_looks_ok() 1285 u32 ps_off, ps_size; in cxl_read_vsec() local 1314 CXL_READ_VSEC_PS_SIZE(dev, vsec, &ps_size); in cxl_read_vsec() 1319 adapter->ps_size = ps_size * 64 * 1024; in cxl_read_vsec() 1394 if (adapter->ps_size > p2_size(dev) - adapter->native->ps_off) { in cxl_vsec_looks_ok() 1397 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 | 540 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/powerplay/inc/ |
D | hwmgr.h | 789 uint32_t ps_size; member
|
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 622 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()
|