| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A D | intel_rps.c | 26 static struct intel_gt *rps_to_gt(struct intel_rps *rps) in rps_to_gt() 31 static struct drm_i915_private *rps_to_i915(struct intel_rps *rps) in rps_to_i915() 36 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore() 41 static u32 rps_pm_sanitize_mask(struct intel_rps *rps, u32 mask) in rps_pm_sanitize_mask() 53 struct intel_rps *rps = from_timer(rps, t, timer); in rps_timer() local 130 static void rps_start_timer(struct intel_rps *rps) in rps_start_timer() 137 static void rps_stop_timer(struct intel_rps *rps) in rps_stop_timer() 144 static u32 rps_pm_mask(struct intel_rps *rps, u8 val) in rps_pm_mask() 162 static void rps_reset_ei(struct intel_rps *rps) in rps_reset_ei() 167 static void rps_enable_interrupts(struct intel_rps *rps) in rps_enable_interrupts() [all …]
|
| H A D | intel_rps.h | 40 static inline bool intel_rps_is_enabled(const struct intel_rps *rps) in intel_rps_is_enabled() 45 static inline void intel_rps_set_enabled(struct intel_rps *rps) in intel_rps_set_enabled() 50 static inline void intel_rps_clear_enabled(struct intel_rps *rps) in intel_rps_clear_enabled() 55 static inline bool intel_rps_is_active(const struct intel_rps *rps) in intel_rps_is_active() 60 static inline void intel_rps_set_active(struct intel_rps *rps) in intel_rps_set_active() 65 static inline bool intel_rps_clear_active(struct intel_rps *rps) in intel_rps_clear_active() 70 static inline bool intel_rps_has_interrupts(const struct intel_rps *rps) in intel_rps_has_interrupts() 75 static inline void intel_rps_set_interrupts(struct intel_rps *rps) in intel_rps_set_interrupts() 80 static inline void intel_rps_clear_interrupts(struct intel_rps *rps) in intel_rps_clear_interrupts() 85 static inline bool intel_rps_uses_timer(const struct intel_rps *rps) in intel_rps_uses_timer() [all …]
|
| H A D | selftest_rps.c | 147 static u8 wait_for_freq(struct intel_rps *rps, u8 freq, int timeout_ms) in wait_for_freq() 184 static u8 rps_set_check(struct intel_rps *rps, u8 freq) in rps_set_check() 195 static void show_pstate_limits(struct intel_rps *rps) in show_pstate_limits() 215 struct intel_rps *rps = >->rps; in live_rps_clock_interval() local 367 struct intel_rps *rps = >->rps; in live_rps_control() local 494 static void show_pcu_config(struct intel_rps *rps) in show_pcu_config() 544 static u64 measure_frequency_at(struct intel_rps *rps, u32 *cntr, int *freq) in measure_frequency_at() 573 static u64 measure_cs_frequency_at(struct intel_rps *rps, in measure_cs_frequency_at() 599 struct intel_rps *rps = >->rps; in live_rps_frequency_cs() local 740 struct intel_rps *rps = >->rps; in live_rps_frequency_srm() local [all …]
|
| H A D | debugfs_gt_pm.c | 247 struct intel_rps *rps = >->rps; in frequency_show() local 491 struct intel_rps *rps = >->rps; in llc_show() local 557 struct intel_rps *rps = >->rps; in rps_boost_show() local
|
| H A D | selftest_llc.c | 27 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() local
|
| H A D | intel_llc.c | 51 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() local
|
| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | timer-oxnas-rps.c | 62 struct oxnas_rps_timer *rps = dev_id; in oxnas_rps_timer_irq() local 71 static void oxnas_rps_timer_config(struct oxnas_rps_timer *rps, in oxnas_rps_timer_config() 89 struct oxnas_rps_timer *rps = in oxnas_rps_timer_shutdown() local 99 struct oxnas_rps_timer *rps = in oxnas_rps_timer_set_periodic() local 109 struct oxnas_rps_timer *rps = in oxnas_rps_timer_set_oneshot() local 120 struct oxnas_rps_timer *rps = in oxnas_rps_timer_next_event() local 128 static int __init oxnas_rps_clockevent_init(struct oxnas_rps_timer *rps) in oxnas_rps_clockevent_init() 183 static int __init oxnas_rps_clocksource_init(struct oxnas_rps_timer *rps) in oxnas_rps_clocksource_init() 214 struct oxnas_rps_timer *rps; in oxnas_rps_timer_init() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_sysfs.c | 264 struct intel_rps *rps = &i915->gt.rps; in gt_act_freq_mhz_show() local 274 struct intel_rps *rps = &i915->gt.rps; in gt_cur_freq_mhz_show() local 283 struct intel_rps *rps = &i915->gt.rps; in gt_boost_freq_mhz_show() local 294 struct intel_rps *rps = &dev_priv->gt.rps; in gt_boost_freq_mhz_store() local 324 struct intel_rps *rps = &dev_priv->gt.rps; in vlv_rpe_freq_mhz_show() local 333 struct intel_rps *rps = &dev_priv->gt.rps; in gt_max_freq_mhz_show() local 344 struct intel_rps *rps = &dev_priv->gt.rps; in gt_max_freq_mhz_store() local 388 struct intel_rps *rps = &dev_priv->gt.rps; in gt_min_freq_mhz_show() local 399 struct intel_rps *rps = &dev_priv->gt.rps; in gt_min_freq_mhz_store() local 453 struct intel_rps *rps = &dev_priv->gt.rps; in gt_rp_mhz_show() local
|
| H A D | i915_debugfs.c | 787 struct intel_rps *rps = &dev_priv->gt.rps; in i915_frequency_info() local 1018 struct intel_rps *rps = &dev_priv->gt.rps; in i915_ring_freq_table() local 1214 struct intel_rps *rps = &dev_priv->gt.rps; in i915_rps_boost_info() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | sumo_dpm.c | 74 static struct sumo_ps *sumo_get_ps(struct radeon_ps *rps) in sumo_get_ps() 342 struct radeon_ps *rps) in sumo_program_bsp() 385 struct radeon_ps *rps) in sumo_program_at() 664 struct radeon_ps *rps) in sumo_patch_boost_state() 714 struct radeon_ps *rps, in sumo_enable_boost() 737 struct radeon_ps *rps) in sumo_program_wl() 985 struct radeon_ps *rps) in sumo_force_nbp_state() 1181 struct radeon_ps *rps) in sumo_update_current_ps() 1192 struct radeon_ps *rps) in sumo_update_requested_ps() 1403 struct radeon_ps *rps, in sumo_parse_pplib_non_clock_info() [all …]
|
| H A D | trinity_dpm.c | 348 static struct trinity_ps *trinity_get_ps(struct radeon_ps *rps) in trinity_get_ps() 870 struct radeon_ps *rps) in trinity_setup_uvd_clock_table() 896 static bool trinity_uvd_clocks_zero(struct radeon_ps *rps) in trinity_uvd_clocks_zero() 1068 struct radeon_ps *rps) in trinity_update_current_ps() 1079 struct radeon_ps *rps) in trinity_update_requested_ps() 1184 struct radeon_ps *rps) in trinity_setup_nbp_sim() 1205 struct radeon_ps *rps = &pi->current_rps; in trinity_dpm_force_performance_level() local 1452 struct radeon_ps *rps) in trinity_get_uvd_clock_index() 1471 struct radeon_ps *rps) in trinity_adjust_uvd_state() 1681 struct radeon_ps *rps, in trinity_parse_pplib_non_clock_info() [all …]
|
| H A D | rs780_dpm.c | 35 static struct igp_ps *rs780_get_ps(struct radeon_ps *rps) in rs780_get_ps() 719 struct radeon_ps *rps, in rs780_parse_pplib_non_clock_info() 749 struct radeon_ps *rps, in rs780_parse_pplib_clock_info() 940 struct radeon_ps *rps) in rs780_dpm_print_power_state() 985 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() local 1032 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level() local
|
| H A D | btc_dpm.c | 2096 struct radeon_ps *rps) in btc_apply_state_adjust_rules() 2259 struct radeon_ps *rps) in btc_update_current_ps() 2270 struct radeon_ps *rps) in btc_update_requested_ps() 2739 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_debugfs_print_current_performance_level() local 2764 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_sclk() local 2787 struct radeon_ps *rps = &eg_pi->current_rps; in btc_dpm_get_current_mclk() local
|
| H A D | ni_dpm.c | 734 struct ni_ps *ni_get_ps(struct radeon_ps *rps) in ni_get_ps() 787 struct radeon_ps *rps) in ni_apply_state_adjust_rules() 3560 struct radeon_ps *rps) in ni_update_current_ps() 3572 struct radeon_ps *rps) in ni_update_requested_ps() 3893 struct radeon_ps *rps, in ni_parse_pplib_non_clock_info() 3919 struct radeon_ps *rps, int index, in ni_parse_pplib_clock_info() 4281 struct radeon_ps *rps) in ni_dpm_print_power_state() 4306 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_debugfs_print_current_performance_level() local 4326 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_sclk() local 4344 struct radeon_ps *rps = &eg_pi->current_rps; in ni_dpm_get_current_mclk() local
|
| H A D | rv770_dpm.c | 47 struct rv7xx_ps *rv770_get_ps(struct radeon_ps *rps) in rv770_get_ps() 2144 struct radeon_ps *rps, in rv7xx_parse_pplib_non_clock_info() 2174 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info() 2433 struct radeon_ps *rps) in rv770_dpm_print_power_state() 2468 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_debugfs_print_current_performance_level() local 2497 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_sclk() local 2519 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_mclk() local
|
| H A D | rv6xx_dpm.c | 36 static struct rv6xx_ps *rv6xx_get_ps(struct radeon_ps *rps) in rv6xx_get_ps() 1795 struct radeon_ps *rps, in rv6xx_parse_pplib_non_clock_info() 1817 struct radeon_ps *rps, int index, in rv6xx_parse_pplib_clock_info() 2008 struct radeon_ps *rps) in rv6xx_dpm_print_power_state() 2031 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_debugfs_print_current_performance_level() local 2056 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_sclk() local 2079 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_mclk() local
|
| H A D | kv_dpm.c | 243 static struct kv_ps *kv_get_ps(struct radeon_ps *rps) in kv_get_ps() 1140 struct radeon_ps *rps) in kv_update_current_ps() 1151 struct radeon_ps *rps) in kv_update_requested_ps() 2584 struct radeon_ps *rps, in kv_parse_pplib_non_clock_info() 2611 struct radeon_ps *rps, int index, in kv_parse_pplib_clock_info() 2849 struct radeon_ps *rps) in kv_dpm_print_power_state()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/ |
| H A D | h265e_dpb.c | 219 void sort_delta_poc(H265eReferencePictureSet *rps) in sort_delta_poc() 256 void h265e_dpb_apply_rps(H265eDpb *dpb, H265eReferencePictureSet *rps, int curPoc) in h265e_dpb_apply_rps() 366 H265eReferencePictureSet *rps = slice->m_rps; in h265e_dpb_arrange_lt_rps() local 553 H265eReferencePictureSet * rps = (H265eReferencePictureSet*)&slice->m_localRPS; in h265e_dpb_cpb2rps() local
|
| H A D | h265e_slice.c | 77 H265eReferencePictureSet *rps = slice->m_rps; in h265e_slice_set_ref_list() local 281 void code_st_refpic_set(MppWriteCtx *bitIf, H265eReferencePictureSet* rps, RK_S32 idx) in code_st_refpic_set() 337 RK_S32 get_num_rps_cur_templist(H265eReferencePictureSet* rps) in get_num_rps_cur_templist() 356 H265eReferencePictureSet* rps = slice->m_rps; in h265e_code_slice_header() local
|
| H A D | h265e_syntax.c | 195 H265eReferencePictureSet* rps = slice->m_rps; in fill_ref_parameters() local
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/ |
| H A D | h265d_refs.c | 275 RefPicList *rps = s->rps; in mpp_hevc_frame_rps() local 367 const ShortTermRPS *rps = s->sh.short_term_rps; in mpp_hevc_frame_nb_refs() local
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_ps.c | 242 static MPP_RET parse_one_rps(BitReadCtx_t *bitctx, Avs2dRps_t *rps) in parse_one_rps() 284 Avs2dRps_t *rps = NULL; in avs2d_parse_sequence_header() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/ |
| H A D | kv_dpm.c | 370 static struct kv_ps *kv_get_ps(struct amdgpu_ps *rps) in kv_get_ps() 1223 struct amdgpu_ps *rps) in kv_update_current_ps() 1235 struct amdgpu_ps *rps) in kv_update_requested_ps() 2641 struct amdgpu_ps *rps, in kv_parse_pplib_non_clock_info() 2668 struct amdgpu_ps *rps, int index, in kv_parse_pplib_clock_info() 2883 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_dpm_print_power_state() local 3234 struct amdgpu_ps *rps = (struct amdgpu_ps *)request_ps; in kv_check_state_equal() local
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_rkv_reg.c | 46 MppBuffer rps; member 53 RK_U8 rps[RKV_RPS_SIZE]; member
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | test_kprobes.c | 242 struct kretprobe *rps[2] = {&rp, &rp2}; in test_kretprobes() local
|