Searched refs:ps_size (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/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() 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()
|
/Linux-v4.19/drivers/misc/cxl/ |
D | context.c | 144 if (offset >= ctx->afu->adapter->ps_size) in cxl_mmap_fault() 192 if (start + len > ctx->afu->adapter->ps_size) in cxl_context_iomap()
|
D | pci.c | 794 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs() 896 if (afu->psa && afu->adapter->ps_size < in cxl_afu_descriptor_looks_ok() 1295 u32 ps_off, ps_size; in cxl_read_vsec() local 1324 CXL_READ_VSEC_PS_SIZE(dev, vsec, &ps_size); in cxl_read_vsec() 1329 adapter->ps_size = ps_size * 64 * 1024; in cxl_read_vsec() 1404 if (adapter->ps_size > p2_size(dev) - adapter->native->ps_off) { in cxl_vsec_looks_ok() 1407 adapter->ps_size, p2_size(dev) - adapter->native->ps_off); in cxl_vsec_looks_ok()
|
D | of.c | 100 afu->adapter->ps_size = size; in read_phys_addr() 277 afu->psn_phys, afu->adapter->ps_size); in cxl_of_read_afu_properties()
|
D | sysfs.c | 210 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show_master() 248 return scnprintf(buf, PAGE_SIZE, "%llu\n", afu->adapter->ps_size); in mmio_size_show()
|
D | cxl.h | 693 u64 ps_size; member
|
D | guest.c | 592 ctx->psn_size = ctx->afu->adapter->ps_size; in attach_afu_directed()
|
D | native.c | 548 ctx->psn_size = ctx->afu->adapter->ps_size; in cxl_assign_psn_space()
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/ |
D | hwmgr.h | 749 uint32_t ps_size; member
|
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 596 ((unsigned long)hwmgr->ps + i * hwmgr->ps_size); in pp_dpm_get_pp_num_states()
|
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 318 unsigned long ps_size) in spufs_ps_fault() argument 327 if (offset >= ps_size) in spufs_ps_fault()
|