Home
last modified time | relevance | path

Searched defs:kbdev (Results 26 – 50 of 214) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_pm_policy.c131 static inline void kbase_timeline_pm_cores_func(struct kbase_device *kbdev, in kbase_timeline_pm_cores_func()
146 static inline void kbase_timeline_pm_cores_func(struct kbase_device *kbdev, in kbase_timeline_pm_cores_func()
158 static void kbasep_pm_do_poweroff_cores(struct kbase_device *kbdev) in kbasep_pm_do_poweroff_cores()
194 struct kbase_device *kbdev; in kbasep_pm_do_gpu_poweroff_callback() local
243 struct kbase_device *kbdev; in kbasep_pm_do_gpu_poweroff_wq() local
285 int kbase_pm_policy_init(struct kbase_device *kbdev) in kbase_pm_policy_init()
311 void kbase_pm_policy_term(struct kbase_device *kbdev) in kbase_pm_policy_term()
317 void kbase_pm_cancel_deferred_poweroff(struct kbase_device *kbdev) in kbase_pm_cancel_deferred_poweroff()
339 void kbase_pm_update_active(struct kbase_device *kbdev) in kbase_pm_update_active()
433 void kbase_pm_update_cores_state_nolock(struct kbase_device *kbdev) in kbase_pm_update_cores_state_nolock()
[all …]
H A Dmali_kbase_instr_backend.c37 static void kbasep_instr_hwcnt_cacheclean(struct kbase_device *kbdev) in kbasep_instr_hwcnt_cacheclean()
64 int kbase_instr_hwcnt_enable_internal(struct kbase_device *kbdev, in kbase_instr_hwcnt_enable_internal()
200 struct kbase_device *kbdev = kctx->kbdev; in kbase_instr_hwcnt_disable_internal() local
265 struct kbase_device *kbdev = kctx->kbdev; in kbase_instr_hwcnt_request_dump() local
313 struct kbase_device *kbdev = kctx->kbdev; in kbase_instr_hwcnt_dump_complete() local
334 struct kbase_device *kbdev; in kbasep_cache_clean_worker() local
364 void kbase_instr_hwcnt_sample_done(struct kbase_device *kbdev) in kbase_instr_hwcnt_sample_done()
386 void kbase_clean_caches_done(struct kbase_device *kbdev) in kbase_clean_caches_done()
416 struct kbase_device *kbdev = kctx->kbdev; in kbase_instr_hwcnt_wait_for_dump() local
445 struct kbase_device *kbdev = kctx->kbdev; in kbase_instr_hwcnt_clear() local
[all …]
H A Dmali_kbase_pm_ca.c43 int kbase_pm_ca_init(struct kbase_device *kbdev) in kbase_pm_ca_init()
54 void kbase_pm_ca_term(struct kbase_device *kbdev) in kbase_pm_ca_term()
72 *kbase_pm_ca_get_policy(struct kbase_device *kbdev) in kbase_pm_ca_get_policy()
81 void kbase_pm_ca_set_policy(struct kbase_device *kbdev, in kbase_pm_ca_set_policy()
135 u64 kbase_pm_ca_get_core_mask(struct kbase_device *kbdev) in kbase_pm_ca_get_core_mask()
154 void kbase_pm_ca_update_core_status(struct kbase_device *kbdev, u64 cores_ready, in kbase_pm_ca_update_core_status()
165 void kbase_pm_ca_instr_enable(struct kbase_device *kbdev) in kbase_pm_ca_instr_enable()
176 void kbase_pm_ca_instr_disable(struct kbase_device *kbdev) in kbase_pm_ca_instr_disable()
H A Dmali_kbase_pm_metrics.c69 int kbasep_pm_metrics_init(struct kbase_device *kbdev) in kbasep_pm_metrics_init()
107 void kbasep_pm_metrics_term(struct kbase_device *kbdev) in kbasep_pm_metrics_term()
127 static void kbase_pm_get_dvfs_utilisation_calc(struct kbase_device *kbdev, in kbase_pm_get_dvfs_utilisation_calc()
162 static void kbase_pm_reset_dvfs_utilisation_unlocked(struct kbase_device *kbdev, in kbase_pm_reset_dvfs_utilisation_unlocked()
180 void kbase_pm_reset_dvfs_utilisation(struct kbase_device *kbdev) in kbase_pm_reset_dvfs_utilisation()
189 void kbase_pm_get_dvfs_utilisation(struct kbase_device *kbdev, in kbase_pm_get_dvfs_utilisation()
222 int kbase_pm_get_dvfs_utilisation_old(struct kbase_device *kbdev, in kbase_pm_get_dvfs_utilisation_old()
279 void kbase_pm_get_dvfs_action(struct kbase_device *kbdev) in kbase_pm_get_dvfs_action()
315 bool kbase_pm_metrics_is_active(struct kbase_device *kbdev) in kbase_pm_metrics_is_active()
339 static void kbase_pm_metrics_active_calc(struct kbase_device *kbdev) in kbase_pm_metrics_active_calc()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_scheduler.h277 static inline void kbase_csf_scheduler_lock(struct kbase_device *kbdev) in kbase_csf_scheduler_lock()
287 static inline void kbase_csf_scheduler_unlock(struct kbase_device *kbdev) in kbase_csf_scheduler_unlock()
302 static inline void kbase_csf_scheduler_spin_lock(struct kbase_device *kbdev, in kbase_csf_scheduler_spin_lock()
315 static inline void kbase_csf_scheduler_spin_unlock(struct kbase_device *kbdev, in kbase_csf_scheduler_spin_unlock()
328 kbase_csf_scheduler_spin_lock_assert_held(struct kbase_device *kbdev) in kbase_csf_scheduler_spin_lock_assert_held()
371 struct kbase_device *kbdev) in kbase_csf_scheduler_protected_mode_in_use()
468 static inline bool kbase_csf_scheduler_all_csgs_idle(struct kbase_device *kbdev) in kbase_csf_scheduler_all_csgs_idle()
487 kbase_csf_scheduler_tick_advance_nolock(struct kbase_device *kbdev) in kbase_csf_scheduler_tick_advance_nolock()
511 static inline void kbase_csf_scheduler_tick_advance(struct kbase_device *kbdev) in kbase_csf_scheduler_tick_advance()
530 static inline void kbase_csf_scheduler_invoke_tick(struct kbase_device *kbdev) in kbase_csf_scheduler_invoke_tick()
[all …]
H A Dmali_kbase_debug_csf_fault.h80 static inline bool kbase_debug_csf_fault_dump_enabled(struct kbase_device *kbdev) in kbase_debug_csf_fault_dump_enabled()
92 static inline bool kbase_debug_csf_fault_dump_complete(struct kbase_device *kbdev) in kbase_debug_csf_fault_dump_complete()
107 static inline int kbase_debug_csf_fault_init(struct kbase_device *kbdev) in kbase_debug_csf_fault_init()
112 static inline void kbase_debug_csf_fault_term(struct kbase_device *kbdev) in kbase_debug_csf_fault_term()
116 static inline void kbase_debug_csf_fault_wait_completion(struct kbase_device *kbdev) in kbase_debug_csf_fault_wait_completion()
120 static inline bool kbase_debug_csf_fault_notify(struct kbase_device *kbdev, in kbase_debug_csf_fault_notify()
126 static inline bool kbase_debug_csf_fault_dump_enabled(struct kbase_device *kbdev) in kbase_debug_csf_fault_dump_enabled()
131 static inline bool kbase_debug_csf_fault_dump_complete(struct kbase_device *kbdev) in kbase_debug_csf_fault_dump_complete()
H A Dmali_kbase_debug_csf_fault.c33 static bool kbasep_fault_occurred(struct kbase_device *kbdev) in kbasep_fault_occurred()
45 void kbase_debug_csf_fault_wait_completion(struct kbase_device *kbdev) in kbase_debug_csf_fault_wait_completion()
61 static void kbase_debug_csf_fault_wakeup(struct kbase_device *kbdev) in kbase_debug_csf_fault_wakeup()
66 bool kbase_debug_csf_fault_notify(struct kbase_device *kbdev, in kbase_debug_csf_fault_notify()
105 struct kbase_device *kbdev; in debug_csf_fault_read() local
150 struct kbase_device *kbdev; in debug_csf_fault_open() local
176 struct kbase_device *kbdev; in debug_csf_fault_write() local
202 struct kbase_device *kbdev; in debug_csf_fault_release() local
237 void kbase_debug_csf_fault_debugfs_init(struct kbase_device *kbdev) in kbase_debug_csf_fault_debugfs_init()
250 int kbase_debug_csf_fault_init(struct kbase_device *kbdev) in kbase_debug_csf_fault_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/arbiter/
H A Dmali_kbase_arbif.c43 struct kbase_device *kbdev; in on_max_config() local
77 struct kbase_device *kbdev; in on_update_freq() local
101 struct kbase_device *kbdev; in on_gpu_stop() local
126 struct kbase_device *kbdev; in on_gpu_granted() local
151 struct kbase_device *kbdev; in on_gpu_lost() local
179 int kbase_arbif_init(struct kbase_device *kbdev) in kbase_arbif_init()
259 void kbase_arbif_destroy(struct kbase_device *kbdev) in kbase_arbif_destroy()
281 void kbase_arbif_get_max_config(struct kbase_device *kbdev) in kbase_arbif_get_max_config()
297 void kbase_arbif_gpu_request(struct kbase_device *kbdev) in kbase_arbif_gpu_request()
314 void kbase_arbif_gpu_stopped(struct kbase_device *kbdev, u8 gpu_required) in kbase_arbif_gpu_stopped()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_devfreq.c66 static unsigned long get_voltage(struct kbase_device *kbdev, unsigned long freq) in get_voltage()
94 void kbase_devfreq_opp_translate(struct kbase_device *kbdev, unsigned long freq, in kbase_devfreq_opp_translate()
140 struct kbase_device *kbdev = dev_get_drvdata(dev); in kbase_devfreq_opp_helper() local
251 struct kbase_device *kbdev = dev_get_drvdata(dev); in kbase_devfreq_target() local
276 void kbase_devfreq_force_freq(struct kbase_device *kbdev, unsigned long freq) in kbase_devfreq_force_freq()
286 struct kbase_device *kbdev = dev_get_drvdata(dev); in kbase_devfreq_cur_freq() local
296 struct kbase_device *kbdev = dev_get_drvdata(dev); in kbase_devfreq_status() local
314 static int kbase_devfreq_init_freq_table(struct kbase_device *kbdev, in kbase_devfreq_init_freq_table()
379 static void kbase_devfreq_term_freq_table(struct kbase_device *kbdev) in kbase_devfreq_term_freq_table()
387 static void kbase_devfreq_term_core_mask_table(struct kbase_device *kbdev) in kbase_devfreq_term_core_mask_table()
[all …]
H A Dmali_kbase_model_linux.c36 struct kbase_device *kbdev; member
44 struct kbase_device *kbdev = data->kbdev; in serve_job_irq() local
72 struct kbase_device *kbdev = data->kbdev; in serve_gpu_irq() local
92 struct kbase_device *kbdev = data->kbdev; in serve_mmu_irq() local
111 struct kbase_device *kbdev = gpu_device_get_data(model); in gpu_device_raise_irq() local
145 void kbase_reg_write(struct kbase_device *kbdev, u32 offset, u32 value) in kbase_reg_write()
156 u32 kbase_reg_read(struct kbase_device *kbdev, u32 offset) in kbase_reg_read()
169 int kbase_install_interrupts(struct kbase_device *kbdev) in kbase_install_interrupts()
191 void kbase_release_interrupts(struct kbase_device *kbdev) in kbase_release_interrupts()
198 void kbase_synchronize_irqs(struct kbase_device *kbdev) in kbase_synchronize_irqs()
[all …]
H A Dmali_kbase_pm_policy.c48 void kbase_pm_policy_init(struct kbase_device *kbdev) in kbase_pm_policy_init()
85 void kbase_pm_policy_term(struct kbase_device *kbdev) in kbase_pm_policy_term()
90 void kbase_pm_update_active(struct kbase_device *kbdev) in kbase_pm_update_active()
154 void kbase_pm_update_dynamic_cores_onoff(struct kbase_device *kbdev) in kbase_pm_update_dynamic_cores_onoff()
188 void kbase_pm_update_cores_state_nolock(struct kbase_device *kbdev) in kbase_pm_update_cores_state_nolock()
217 void kbase_pm_update_cores_state(struct kbase_device *kbdev) in kbase_pm_update_cores_state()
228 int kbase_pm_list_policies(struct kbase_device *kbdev, in kbase_pm_list_policies()
239 const struct kbase_pm_policy *kbase_pm_get_policy(struct kbase_device *kbdev) in kbase_pm_get_policy()
249 static int policy_change_wait_for_L2_off(struct kbase_device *kbdev) in policy_change_wait_for_L2_off()
286 void kbase_pm_set_policy(struct kbase_device *kbdev, in kbase_pm_set_policy()
H A Dmali_kbase_pm_metrics.c102 int kbasep_pm_metrics_init(struct kbase_device *kbdev) in kbasep_pm_metrics_init()
180 void kbasep_pm_metrics_term(struct kbase_device *kbdev) in kbasep_pm_metrics_term()
204 static void kbase_pm_get_dvfs_utilisation_calc(struct kbase_device *kbdev) in kbase_pm_get_dvfs_utilisation_calc()
314 static void kbase_pm_get_dvfs_utilisation_calc(struct kbase_device *kbdev, in kbase_pm_get_dvfs_utilisation_calc()
349 void kbase_pm_get_dvfs_metrics(struct kbase_device *kbdev, in kbase_pm_get_dvfs_metrics()
383 void kbase_pm_get_dvfs_action(struct kbase_device *kbdev) in kbase_pm_get_dvfs_action()
423 bool kbase_pm_metrics_is_active(struct kbase_device *kbdev) in kbase_pm_metrics_is_active()
431 void kbase_pm_metrics_start(struct kbase_device *kbdev) in kbase_pm_metrics_start()
445 void kbase_pm_metrics_stop(struct kbase_device *kbdev) in kbase_pm_metrics_stop()
465 static void kbase_pm_metrics_active_calc(struct kbase_device *kbdev) in kbase_pm_metrics_active_calc()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase.h249 static inline bool kbase_pm_is_suspending(struct kbase_device *kbdev) in kbase_pm_is_suspending()
382 #define KBASE_TRACE_ADD_SLOT(kbdev, code, ctx, katom, gpu_addr, jobslot) \ argument
394 #define KBASE_TRACE_ADD_SLOT_INFO(kbdev, code, ctx, katom, gpu_addr, jobslot, info_val) \ argument
406 #define KBASE_TRACE_ADD_REFCOUNT(kbdev, code, ctx, katom, gpu_addr, refcount) \ argument
417 #define KBASE_TRACE_ADD_REFCOUNT_INFO(kbdev, code, ctx, katom, gpu_addr, refcount, info_val) \ argument
429 #define KBASE_TRACE_ADD(kbdev, code, ctx, katom, gpu_addr, info_val) \ argument
434 #define KBASE_TRACE_CLEAR(kbdev) \ argument
438 #define KBASE_TRACE_DUMP(kbdev) \ argument
448 #define KBASE_TRACE_ADD_SLOT(kbdev, code, ctx, katom, gpu_addr, jobslot)\ argument
451 #define KBASE_TRACE_ADD_SLOT_INFO(kbdev, code, ctx, katom, gpu_addr, jobslot, info_val)\ argument
[all …]
H A Dmali_kbase_debug_job_fault.c24 static bool kbase_is_job_fault_event_pending(struct kbase_device *kbdev) in kbase_is_job_fault_event_pending()
39 struct kbase_device *kbdev = kctx->kbdev; in kbase_ctx_has_no_event_pending() local
61 static int kbase_job_fault_event_wait(struct kbase_device *kbdev, in kbase_job_fault_event_wait()
90 struct kbase_device *kbdev, struct list_head *event_list) in kbase_job_fault_event_dequeue()
123 static void kbase_job_fault_event_cleanup(struct kbase_device *kbdev) in kbase_job_fault_event_cleanup()
189 static void kbase_job_fault_event_post(struct kbase_device *kbdev, in kbase_job_fault_event_post()
259 struct kbase_device *kbdev = m->private; in debug_job_fault_show() local
301 struct kbase_device *kbdev = m->private; in debug_job_fault_next() local
312 struct kbase_device *kbdev = m->private; in debug_job_fault_start() local
344 struct kbase_device *kbdev = m->private; in debug_job_fault_stop() local
[all …]
H A Dmali_kbase_device.c66 static int kbase_device_as_init(struct kbase_device *kbdev, int i) in kbase_device_as_init()
111 static void kbase_device_as_term(struct kbase_device *kbdev, int i) in kbase_device_as_term()
118 static int kbase_device_all_as_init(struct kbase_device *kbdev) in kbase_device_all_as_init()
137 static void kbase_device_all_as_term(struct kbase_device *kbdev) in kbase_device_all_as_term()
145 int kbase_device_init(struct kbase_device * const kbdev) in kbase_device_init()
268 void kbase_device_term(struct kbase_device *kbdev) in kbase_device_term()
283 void kbase_device_free(struct kbase_device *kbdev) in kbase_device_free()
378 static int kbasep_trace_init(struct kbase_device *kbdev) in kbasep_trace_init()
392 static void kbasep_trace_term(struct kbase_device *kbdev) in kbasep_trace_term()
426 static void kbasep_trace_dump_msg(struct kbase_device *kbdev, struct kbase_trace *trace_msg) in kbasep_trace_dump_msg()
[all …]
H A Dmali_kbase_js.c82 static int kbasep_js_trace_get_refcnt(struct kbase_device *kbdev, in kbasep_js_trace_get_refcnt()
88 static int kbasep_js_trace_get_refcnt(struct kbase_device *kbdev, in kbasep_js_trace_get_refcnt()
131 static void kbase_js_sync_timers(struct kbase_device *kbdev) in kbase_js_sync_timers()
139 bool kbasep_js_runpool_retain_ctx_nolock(struct kbase_device *kbdev, in kbasep_js_runpool_retain_ctx_nolock()
418 int kbasep_js_devdata_init(struct kbase_device * const kbdev) in kbasep_js_devdata_init()
533 void kbasep_js_devdata_halt(struct kbase_device *kbdev) in kbasep_js_devdata_halt()
538 void kbasep_js_devdata_term(struct kbase_device *kbdev) in kbasep_js_devdata_term()
559 struct kbase_device *kbdev; in kbasep_js_kctx_init() local
601 struct kbase_device *kbdev; in kbasep_js_kctx_term() local
653 static bool kbase_js_ctx_list_add_pullable_nolock(struct kbase_device *kbdev, in kbase_js_ctx_list_add_pullable_nolock()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_pm.c41 int kbase_pm_powerup(struct kbase_device *kbdev, unsigned int flags) in kbase_pm_powerup()
46 void kbase_pm_halt(struct kbase_device *kbdev) in kbase_pm_halt()
51 void kbase_pm_context_active(struct kbase_device *kbdev) in kbase_pm_context_active()
57 int kbase_pm_context_active_handle_suspend(struct kbase_device *kbdev, in kbase_pm_context_active_handle_suspend()
114 void kbase_pm_context_idle(struct kbase_device *kbdev) in kbase_pm_context_idle()
147 int kbase_pm_driver_suspend(struct kbase_device *kbdev) in kbase_pm_driver_suspend()
235 void kbase_pm_driver_resume(struct kbase_device *kbdev, bool arb_gpu_start) in kbase_pm_driver_resume()
286 int kbase_pm_suspend(struct kbase_device *kbdev) in kbase_pm_suspend()
301 void kbase_pm_resume(struct kbase_device *kbdev) in kbase_pm_resume()
H A Dmali_kbase_debug_job_fault.c28 static bool kbase_is_job_fault_event_pending(struct kbase_device *kbdev) in kbase_is_job_fault_event_pending()
67 struct kbase_device *kbdev = kctx->kbdev; in kbase_ctx_has_no_event_pending() local
88 static int wait_for_job_fault(struct kbase_device *kbdev) in wait_for_job_fault()
107 static int kbase_job_fault_event_wait(struct kbase_device *kbdev, in kbase_job_fault_event_wait()
140 struct kbase_device *kbdev, struct list_head *event_list) in kbase_job_fault_event_dequeue()
221 static void kbase_job_fault_event_post(struct kbase_device *kbdev, in kbase_job_fault_event_post()
294 struct kbase_device *kbdev = m->private; in debug_job_fault_show() local
336 struct kbase_device *kbdev = m->private; in debug_job_fault_next() local
347 struct kbase_device *kbdev = m->private; in debug_job_fault_start() local
379 struct kbase_device *kbdev = m->private; in debug_job_fault_stop() local
[all …]
H A Dmali_kbase_js.c134 static void kbase_js_sync_timers(struct kbase_device *kbdev) in kbase_js_sync_timers()
373 struct kbase_device *kbdev = kctx->kbdev; in jsctx_tree_add() local
432 bool kbase_js_atom_runs_before(struct kbase_device *kbdev, in kbase_js_atom_runs_before()
493 int kbasep_js_devdata_init(struct kbase_device * const kbdev) in kbasep_js_devdata_init()
608 void kbasep_js_devdata_halt(struct kbase_device *kbdev) in kbasep_js_devdata_halt()
613 void kbasep_js_devdata_term(struct kbase_device *kbdev) in kbasep_js_devdata_term()
679 struct kbase_device *kbdev; in kbasep_js_kctx_term() local
878 static bool kbase_js_ctx_list_add_pullable_nolock(struct kbase_device *kbdev, in kbase_js_ctx_list_add_pullable_nolock()
919 static bool kbase_js_ctx_list_add_pullable_head_nolock(struct kbase_device *kbdev, in kbase_js_ctx_list_add_pullable_head_nolock()
962 static bool kbase_js_ctx_list_add_pullable_head(struct kbase_device *kbdev, in kbase_js_ctx_list_add_pullable_head()
[all …]
H A Dmali_kbase_ctx_sched.c46 int kbase_ctx_sched_init(struct kbase_device *kbdev) in kbase_ctx_sched_init()
61 void kbase_ctx_sched_term(struct kbase_device *kbdev) in kbase_ctx_sched_term()
90 struct kbase_device *const kbdev = kctx->kbdev; in kbasep_ctx_sched_find_as_for_ctx() local
112 struct kbase_device *const kbdev = kctx->kbdev; in kbase_ctx_sched_retain_ctx() local
160 struct kbase_device *const kbdev = kctx->kbdev; in kbase_ctx_sched_retain_ctx_refcount() local
186 struct kbase_device *const kbdev = kctx->kbdev; in kbase_ctx_sched_release_ctx() local
212 struct kbase_device *const kbdev = kctx->kbdev; in kbase_ctx_sched_remove_ctx() local
233 void kbase_ctx_sched_restore_all_as(struct kbase_device *kbdev) in kbase_ctx_sched_restore_all_as()
280 struct kbase_device *kbdev, size_t as_nr) in kbase_ctx_sched_as_to_ctx_refcount()
303 struct kbase_context *kbase_ctx_sched_as_to_ctx(struct kbase_device *kbdev, in kbase_ctx_sched_as_to_ctx()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/debug/backend/
H A Dmali_kbase_debug_coresight_csf.c45 struct kbase_device *kbdev, u32 reg_addr, u8 op_type) in validate_reg_addr()
71 struct kbase_device *kbdev; in validate_op() local
159 static int execute_op(struct kbase_device *kbdev, struct kbase_debug_coresight_csf_op *op) in execute_op()
219 static int coresight_config_enable(struct kbase_device *kbdev, in coresight_config_enable()
249 static int coresight_config_disable(struct kbase_device *kbdev, in coresight_config_disable()
285 struct kbase_device *kbdev; in kbase_debug_coresight_csf_register() local
358 struct kbase_device *kbdev; in kbase_debug_coresight_csf_unregister() local
404 struct kbase_device *kbdev; in kbase_debug_coresight_csf_config_create() local
470 struct kbase_device *kbdev; in kbase_debug_coresight_csf_config_enable() local
544 struct kbase_device *kbdev; in kbase_debug_coresight_csf_config_disable() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/platform/devicetree/
H A Dmali_kbase_runtime_pm.c23 static int pm_callback_power_on(struct kbase_device *kbdev) in pm_callback_power_on()
37 static void pm_callback_power_off(struct kbase_device *kbdev) in pm_callback_power_off()
44 int kbase_device_runtime_init(struct kbase_device *kbdev) in kbase_device_runtime_init()
52 void kbase_device_runtime_disable(struct kbase_device *kbdev) in kbase_device_runtime_disable()
58 static int pm_callback_runtime_on(struct kbase_device *kbdev) in pm_callback_runtime_on()
65 static void pm_callback_runtime_off(struct kbase_device *kbdev) in pm_callback_runtime_off()
70 static void pm_callback_resume(struct kbase_device *kbdev) in pm_callback_resume()
77 static void pm_callback_suspend(struct kbase_device *kbdev) in pm_callback_suspend()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/mmu/
H A Dmali_kbase_mmu_hw_direct.c170 static int wait_ready(struct kbase_device *kbdev, unsigned int as_nr) in wait_ready()
202 static int write_cmd(struct kbase_device *kbdev, int as_nr, u32 cmd) in write_cmd()
223 static int wait_cores_power_trans_complete(struct kbase_device *kbdev) in wait_cores_power_trans_complete()
267 static int apply_hw_issue_GPU2019_3901_wa(struct kbase_device *kbdev, u32 *mmu_cmd, in apply_hw_issue_GPU2019_3901_wa()
312 void kbase_mmu_hw_configure(struct kbase_device *kbdev, struct kbase_as *as) in kbase_mmu_hw_configure()
378 static void mmu_command_instr(struct kbase_device *kbdev, u32 kctx_id, u32 cmd, u64 lock_addr, in mmu_command_instr()
393 static int mmu_hw_set_lock_addr(struct kbase_device *kbdev, int as_nr, u64 *lock_addr, in mmu_hw_set_lock_addr()
421 static int mmu_hw_do_lock_no_wait(struct kbase_device *kbdev, struct kbase_as *as, u64 *lock_addr, in mmu_hw_do_lock_no_wait()
443 static int mmu_hw_do_lock(struct kbase_device *kbdev, struct kbase_as *as, in mmu_hw_do_lock()
464 int kbase_mmu_hw_do_lock(struct kbase_device *kbdev, struct kbase_as *as, in kbase_mmu_hw_do_lock()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/device/
H A Dmali_kbase_device_hw.c31 bool kbase_is_gpu_removed(struct kbase_device *kbdev) in kbase_is_gpu_removed()
41 static int busy_wait_on_irq(struct kbase_device *kbdev, u32 irq_bit) in busy_wait_on_irq()
90 int kbase_gpu_cache_flush_pa_range_and_busy_wait(struct kbase_device *kbdev, phys_addr_t phys, in kbase_gpu_cache_flush_pa_range_and_busy_wait()
119 int kbase_gpu_cache_flush_and_busy_wait(struct kbase_device *kbdev, in kbase_gpu_cache_flush_and_busy_wait()
178 void kbase_gpu_start_cache_clean_nolock(struct kbase_device *kbdev, in kbase_gpu_start_cache_clean_nolock()
207 void kbase_gpu_start_cache_clean(struct kbase_device *kbdev, u32 flush_op) in kbase_gpu_start_cache_clean()
216 void kbase_gpu_cache_clean_wait_complete(struct kbase_device *kbdev) in kbase_gpu_cache_clean_wait_complete()
225 void kbase_clean_caches_done(struct kbase_device *kbdev) in kbase_clean_caches_done()
259 static inline bool get_cache_clean_flag(struct kbase_device *kbdev) in get_cache_clean_flag()
271 void kbase_gpu_wait_cache_clean(struct kbase_device *kbdev) in kbase_gpu_wait_cache_clean()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/
H A Dmali_kbase_csf_ipa_control.c72 struct kbase_device *kbdev; member
80 static int wait_status(struct kbase_device *kbdev, u32 flags) in wait_status()
99 static int apply_select_config(struct kbase_device *kbdev, u64 *select) in apply_select_config()
146 static u64 read_value_cnt(struct kbase_device *kbdev, u8 type, int select_idx) in read_value_cnt()
209 static int update_select_registers(struct kbase_device *kbdev) in update_select_registers()
220 static inline void calc_prfcnt_delta(struct kbase_device *kbdev, in calc_prfcnt_delta()
280 struct kbase_device *kbdev = listener_data->kbdev; in kbase_ipa_control_rate_change_notify() local
328 void kbase_ipa_control_init(struct kbase_device *kbdev) in kbase_ipa_control_init()
369 void kbase_ipa_control_term(struct kbase_device *kbdev) in kbase_ipa_control_term()
397 static void session_read_raw_values(struct kbase_device *kbdev, in session_read_raw_values()
[all …]

123456789