/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_psr.h | 48 void (*psr_get_residency)(struct dmub_psr *dmub, uint32_t *residency,
|
H A D | dmub_replay.h | 53 uint8_t panel_inst, uint32_t *residency, const bool is_start, const bool is_alpm);
|
H A D | dmub_replay.c | 238 * Get Replay residency from firmware. 241 uint32_t *residency, const bool is_start, const bool is_alpm) 256 dmub_srv_get_gpint_response(srv, residency); 258 *residency = 0; 240 dmub_replay_residency(struct dmub_replay *dmub, uint8_t panel_inst, uint32_t *residency, const bool is_start, const bool is_alpm) argument
|
H A D | dmub_psr.c | 446 * Get PSR residency from firmware. 448 static void dmub_psr_get_residency(struct dmub_psr *dmub, uint32_t *residency, uint8_t panel_inst) argument 453 dc_wake_and_execute_gpint(dmub->ctx, DMUB_GPINT__PSR_RESIDENCY, param, residency,
|
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.h | 54 void edp_get_psr_residency(const struct dc_link *link, uint32_t *residency); 64 unsigned int *residency, const bool is_start, const enum pr_residency_mode mode);
|
H A D | link_edp_panel_control.c | 853 void edp_get_psr_residency(const struct dc_link *link, uint32_t *residency) argument 862 // PSR residency measurements only supported on DMCUB 864 psr->funcs->psr_get_residency(psr, residency, panel_inst); 866 *residency = 0; 1059 unsigned int *residency, const bool is_start, const enum pr_residency_mode mode) 1068 if (!residency) 1072 replay->funcs->replay_residency(replay, panel_inst, residency, is_start, mode); 1074 *residency = 0; 1058 edp_replay_residency(const struct dc_link *link, unsigned int *residency, const bool is_start, const enum pr_residency_mode mode) argument
|
/linux-master/arch/x86/events/intel/ |
H A D | cstate.c | 2 * Support cstate residency counters 160 PMU_EVENT_ATTR_STRING(c1-residency, attr_cstate_core_c1, "event=0x00"); 161 PMU_EVENT_ATTR_STRING(c3-residency, attr_cstate_core_c3, "event=0x01"); 162 PMU_EVENT_ATTR_STRING(c6-residency, attr_cstate_core_c6, "event=0x02"); 163 PMU_EVENT_ATTR_STRING(c7-residency, attr_cstate_core_c7, "event=0x03"); 244 PMU_EVENT_ATTR_STRING(c2-residency, attr_cstate_pkg_c2, "event=0x00"); 245 PMU_EVENT_ATTR_STRING(c3-residency, attr_cstate_pkg_c3, "event=0x01"); 246 PMU_EVENT_ATTR_STRING(c6-residency, attr_cstate_pkg_c6, "event=0x02"); 247 PMU_EVENT_ATTR_STRING(c7-residency, attr_cstate_pkg_c7, "event=0x03"); 248 PMU_EVENT_ATTR_STRING(c8-residency, attr_cstate_pkg_c [all...] |
/linux-master/drivers/md/ |
H A D | dm-cache-policy.h | 115 dm_cblock_t (*residency)(struct dm_cache_policy *p); member in struct:dm_cache_policy
|
H A D | dm-cache-policy-internal.h | 79 return p->residency(p);
|
H A D | dm-cache-target.c | 3062 dm_cblock_t residency; local 3090 residency = policy_residency(cache->policy); 3097 (unsigned long long) from_cblock(residency),
|
H A D | dm-cache-policy-smq.c | 1700 mq->policy.residency = smq_residency;
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_idle.c | 23 * device/gt#/gtidle/idle_residency_ms - Provides residency of the idle state in ms 85 /* Add delta to extended raw driver copy of idle residency */ 89 /* residency multiplier in ns, convert to ms */ 130 u64 residency; local 133 residency = gtidle->idle_residency(pc); 136 return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency));
|
/linux-master/drivers/thermal/ |
H A D | thermal_debugfs.c | 74 * @residency: a ktime_t representing a state residency duration 81 ktime_t residency; member in union:cdev_record::__anon82 361 s64 duration = ktime_to_ms(entry->residency); 403 * Computes a transition and the duration of the previous state residency. 437 cdev_record->residency = ktime_add(cdev_record->residency, delta);
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | link.h | 275 const struct dc_link *link, uint32_t *residency); 290 unsigned int *residency, const bool is_start,
|
/linux-master/drivers/platform/x86/amd/pmc/ |
H A D | pmc.c | 543 u64 entry_time, exit_time, residency; local 563 residency = exit_time - entry_time; 564 do_div(residency, 48); 569 seq_printf(s, "Residency Time: %lld\n", residency);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gfx.h | 414 uint32_t gfx_off_residency; /* last logged residency */ 517 int amdgpu_get_gfx_off_residency(struct amdgpu_device *adev, u32 *residency);
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | vangogh_ppt.c | 2435 * @start: start/stop residency log 2437 * This function will be used to log gfxoff residency 2445 u32 residency; local 2452 start, &residency); 2455 adev->gfx.gfx_off_residency = residency; 2464 * @residency: placeholder for return value 2466 * This function will be used to get gfxoff residency. 2470 static u32 vangogh_get_gfxoff_residency(struct smu_context *smu, uint32_t *residency) argument 2474 *residency = adev->gfx.gfx_off_residency;
|
/linux-master/drivers/cpuidle/ |
H A D | sysfs.c | 320 define_one_state_ro(residency, show_state_target_residency);
|
/linux-master/drivers/pmdomain/ |
H A D | core.c | 2974 u32 residency; local 2993 err = of_property_read_u32(state_node, "min-residency-us", &residency); 2995 genpd_state->residency_ns = 1000LL * residency;
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | amdgpu_smu.h | 1154 * @get_gfx_off_residency: Average GFXOFF residency % during the logging interval 1156 u32 (*get_gfx_off_residency)(struct smu_context *smu, uint32_t *residency);
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 2957 * Read PSR state residency 2963 u32 residency = 0; local 2965 link->dc->link_srv->edp_get_psr_residency(link, &residency); 2967 *val = (u64)residency;
|
/linux-master/include/acpi/ |
H A D | actbl2.h | 917 u32 residency; member in struct:acpi_lpit_native
|