Home
last modified time | relevance | path

Searched defs:kbdev (Results 101 – 125 of 214) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tl_reader.c64 struct kbase_device *kbdev = (struct kbase_device *)data; in kbase_csf_tl_debugfs_poll_interval_read() local
74 struct kbase_device *kbdev = (struct kbase_device *)data; in kbase_csf_tl_debugfs_poll_interval_write() local
89 void kbase_csf_tl_reader_debugfs_init(struct kbase_device *kbdev) in kbase_csf_tl_reader_debugfs_init()
109 struct kbase_device *kbdev = self->kbdev; in tl_reader_overflow_notify() local
132 struct kbase_device *kbdev = self->kbdev; in tl_reader_overflow_check() local
176 struct kbase_device *kbdev = self->kbdev; in kbase_csf_tl_reader_flush_buffer() local
292 struct kbase_device *kbdev) in tl_reader_init_late()
380 struct kbase_device *kbdev) in kbase_csf_tl_reader_start()
H A Dmali_kbase_csf_tiler_heap_reclaim.c189 static unsigned long reclaim_unused_heap_pages(struct kbase_device *kbdev) in reclaim_unused_heap_pages()
254 static unsigned long kbase_csf_tiler_heap_reclaim_count_free_pages(struct kbase_device *kbdev, in kbase_csf_tiler_heap_reclaim_count_free_pages()
265 static unsigned long kbase_csf_tiler_heap_reclaim_scan_free_pages(struct kbase_device *kbdev, in kbase_csf_tiler_heap_reclaim_scan_free_pages()
309 struct kbase_device *kbdev = in kbase_csf_tiler_heap_reclaim_count_objects() local
318 struct kbase_device *kbdev = in kbase_csf_tiler_heap_reclaim_scan_objects() local
331 void kbase_csf_tiler_heap_reclaim_mgr_init(struct kbase_device *kbdev) in kbase_csf_tiler_heap_reclaim_mgr_init()
349 void kbase_csf_tiler_heap_reclaim_mgr_term(struct kbase_device *kbdev) in kbase_csf_tiler_heap_reclaim_mgr_term()
H A Dmali_kbase_csf_protected_memory.c29 int kbase_csf_protected_memory_init(struct kbase_device *const kbdev) in kbase_csf_protected_memory_init()
64 void kbase_csf_protected_memory_term(struct kbase_device *const kbdev) in kbase_csf_protected_memory_term()
72 struct kbase_device *const kbdev, in kbase_csf_protected_memory_alloc()
135 struct kbase_device *const kbdev, in kbase_csf_protected_memory_free()
H A Dmali_kbase_csf_trace_buffer.c72 struct kbase_device *kbdev; member
127 int kbase_csf_firmware_trace_buffers_init(struct kbase_device *kbdev) in kbase_csf_firmware_trace_buffers_init()
226 void kbase_csf_firmware_trace_buffers_term(struct kbase_device *kbdev) in kbase_csf_firmware_trace_buffers_term()
248 int kbase_csf_firmware_parse_trace_buffer_entry(struct kbase_device *kbdev, in kbase_csf_firmware_parse_trace_buffer_entry()
304 void kbase_csf_firmware_reload_trace_buffers_data(struct kbase_device *kbdev) in kbase_csf_firmware_reload_trace_buffers_data()
374 struct kbase_device *kbdev, const char *name) in kbase_csf_firmware_get_trace_buffer()
397 struct kbase_device *kbdev = tb->kbdev; in kbasep_csf_firmware_trace_buffer_update_trace_enable_bit() local
430 struct kbase_device *kbdev = tb->kbdev; in kbase_csf_firmware_trace_buffer_update_trace_enable_bit() local
530 struct kbase_device *kbdev = tb->kbdev; in kbase_csf_firmware_trace_buffer_set_active_mask64() local
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/backend/
H A Dmali_kbase_hwcnt_backend_csf_if_fw.c80 struct kbase_device *kbdev; member
92 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_assert_lock_held() local
108 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_lock() local
124 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_unlock() local
167 struct kbase_device *kbdev = fw_ctx->kbdev; in kbasep_hwcnt_backend_csf_if_fw_cc_enable() local
201 struct kbase_device *kbdev = fw_ctx->kbdev; in kbasep_hwcnt_backend_csf_if_fw_cc_disable() local
282 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_ring_buf_alloc() local
505 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_dump_enable() local
572 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_dump_disable() local
607 struct kbase_device *kbdev; in kbasep_hwcnt_backend_csf_if_fw_dump_request() local
[all …]
H A Dmali_kbase_hwcnt_backend_jm.c46 struct kbase_device *kbdev; member
136 static int kbasep_hwcnt_backend_jm_gpu_info_init(struct kbase_device *kbdev, in kbasep_hwcnt_backend_jm_gpu_info_init()
253 struct kbase_device *kbdev = backend_jm->kctx->kbdev; in kbasep_hwcnt_backend_jm_cc_enable() local
298 struct kbase_device *kbdev = backend_jm->kctx->kbdev; in kbasep_hwcnt_backend_jm_cc_disable() local
327 static int kbasep_hwcnt_gpu_update_curr_config(struct kbase_device *kbdev, in kbasep_hwcnt_gpu_update_curr_config()
355 struct kbase_device *kbdev; in kbasep_hwcnt_backend_jm_dump_enable_nolock() local
416 struct kbase_device *kbdev; in kbasep_hwcnt_backend_jm_dump_enable() local
465 struct kbase_device *kbdev; in kbasep_hwcnt_backend_jm_dump_request() local
534 struct kbase_device *kbdev; in kbasep_hwcnt_backend_jm_dump_get() local
643 struct kbase_device *kbdev = kctx->kbdev; in kbasep_hwcnt_backend_jm_destroy() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
H A Dmali_kbase_clk_rate_trace.c31 static void *enumerate_gpu_clk(struct kbase_device *kbdev, in enumerate_gpu_clk()
45 static unsigned long get_gpu_clk_rate(struct kbase_device *kbdev, in get_gpu_clk_rate()
69 static int gpu_clk_notifier_register(struct kbase_device *kbdev, in gpu_clk_notifier_register()
89 static void gpu_clk_notifier_unregister(struct kbase_device *kbdev, in gpu_clk_notifier_unregister()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/device/backend/
H A Dmali_kbase_device_hw_jm.c39 static void kbase_report_gpu_fault(struct kbase_device *kbdev, int multiple) in kbase_report_gpu_fault()
57 void kbase_gpu_interrupt(struct kbase_device *kbdev, u32 val) in kbase_gpu_interrupt()
110 void kbase_reg_write(struct kbase_device *kbdev, u32 offset, u32 value) in kbase_reg_write()
125 u32 kbase_reg_read(struct kbase_device *kbdev, u32 offset) in kbase_reg_read()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_pbha.c129 bool kbasep_pbha_supported(struct kbase_device *kbdev) in kbasep_pbha_supported()
137 int kbase_pbha_record_settings(struct kbase_device *kbdev, bool runtime, in kbase_pbha_record_settings()
201 void kbase_pbha_write_settings(struct kbase_device *kbdev) in kbase_pbha_write_settings()
212 static int kbase_pbha_read_int_id_override_property(struct kbase_device *kbdev, in kbase_pbha_read_int_id_override_property()
254 static int kbase_pbha_read_propagate_bits_property(struct kbase_device *kbdev, in kbase_pbha_read_propagate_bits_property()
284 int kbase_pbha_read_dtb(struct kbase_device *kbdev) in kbase_pbha_read_dtb()
H A Dmali_kbase_config.c26 int kbasep_platform_device_init(struct kbase_device *kbdev) in kbasep_platform_device_init()
37 void kbasep_platform_device_term(struct kbase_device *kbdev) in kbasep_platform_device_term()
46 int kbasep_platform_device_late_init(struct kbase_device *kbdev) in kbasep_platform_device_late_init()
57 void kbasep_platform_device_late_term(struct kbase_device *kbdev) in kbasep_platform_device_late_term()
H A Dmali_kbase_dummy_job_wa.c61 static u32 wait_any(struct kbase_device *kbdev, off_t offset, u32 bits) in wait_any()
84 static int wait(struct kbase_device *kbdev, off_t offset, u32 bits, bool set) in wait()
113 static inline int run_job(struct kbase_device *kbdev, int as, int slot, in run_job()
154 int kbase_dummy_job_wa_execute(struct kbase_device *kbdev, u64 cores) in kbase_dummy_job_wa_execute()
245 struct kbase_device *const kbdev = dev_get_drvdata(dev); in dummy_job_wa_info_show() local
259 static bool wa_blob_load_needed(struct kbase_device *kbdev) in wa_blob_load_needed()
270 int kbase_dummy_job_wa_load(struct kbase_device *kbdev) in kbase_dummy_job_wa_load()
432 void kbase_dummy_job_wa_cleanup(struct kbase_device *kbdev) in kbase_dummy_job_wa_cleanup()
H A Dmali_kbase_pbha_debugfs.c34 struct kbase_device *kbdev = sfile->private; in int_id_overrides_show() local
81 struct kbase_device *kbdev = sfile->private; in int_id_overrides_write() local
124 struct kbase_device *kbdev = sfile->private; in propagate_bits_show() local
155 struct kbase_device *kbdev = sfile->private; in propagate_bits_write() local
206 void kbase_pbha_debugfs_init(struct kbase_device *kbdev) in kbase_pbha_debugfs_init()
H A Dmali_kbase_trace_gpu_mem.h31 static void kbase_trace_gpu_mem_usage(struct kbase_device *kbdev, in kbase_trace_gpu_mem_usage()
46 static inline void kbase_trace_gpu_mem_usage_dec(struct kbase_device *kbdev, in kbase_trace_gpu_mem_usage_dec()
61 static inline void kbase_trace_gpu_mem_usage_inc(struct kbase_device *kbdev, in kbase_trace_gpu_mem_usage_inc()
H A Dmali_kbase_dvfs_debugfs.c38 struct kbase_device *kbdev = file->private; in kbasep_dvfs_utilization_debugfs_show() local
68 void kbase_dvfs_status_debugfs_init(struct kbase_device *kbdev) in kbase_dvfs_status_debugfs_init()
90 void kbase_dvfs_status_debugfs_init(struct kbase_device *kbdev) in kbase_dvfs_status_debugfs_init()
H A Dmali_kbase_gpu_memory_debugfs.c46 struct kbase_device *kbdev = NULL; in kbasep_gpu_memory_seq_show() local
89 void kbasep_gpu_memory_debugfs_init(struct kbase_device *kbdev) in kbasep_gpu_memory_debugfs_init()
99 void kbasep_gpu_memory_debugfs_init(struct kbase_device *kbdev) {} in kbasep_gpu_memory_debugfs_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/mmu/backend/
H A Dmali_kbase_mmu_jm.c60 struct kbase_device *const kbdev = kctx->kbdev; in kbase_gpu_report_bus_fault_and_kill() local
114 struct kbase_device *kbdev; in kbase_mmu_report_fault_and_kill() local
203 static void kbase_mmu_interrupt_process(struct kbase_device *kbdev, in kbase_mmu_interrupt_process()
282 static void validate_protected_page_fault(struct kbase_device *kbdev) in validate_protected_page_fault()
303 void kbase_mmu_interrupt(struct kbase_device *kbdev, u32 irq_stat) in kbase_mmu_interrupt()
427 int kbase_mmu_as_init(struct kbase_device *kbdev, unsigned int i) in kbase_mmu_as_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_gpuprops_backend.c32 int kbase_backend_gpuprops_get(struct kbase_device *kbdev, in kbase_backend_gpuprops_get()
119 int kbase_backend_gpuprops_get_curr_config(struct kbase_device *kbdev, in kbase_backend_gpuprops_get_curr_config()
145 int kbase_backend_gpuprops_get_features(struct kbase_device *kbdev, in kbase_backend_gpuprops_get_features()
171 int kbase_backend_gpuprops_get_l2_features(struct kbase_device *kbdev, in kbase_backend_gpuprops_get_l2_features()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_device_hw.c120 void kbase_io_history_dump(struct kbase_device *kbdev) in kbase_io_history_dump()
152 void kbase_reg_write(struct kbase_device *kbdev, u16 offset, u32 value, in kbase_reg_write()
175 u32 kbase_reg_read(struct kbase_device *kbdev, u16 offset, in kbase_reg_read()
209 static void kbase_report_gpu_fault(struct kbase_device *kbdev, int multiple) in kbase_report_gpu_fault()
228 void kbase_gpu_interrupt(struct kbase_device *kbdev, u32 val) in kbase_gpu_interrupt()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_mmu.c78 static void kbase_mmu_sync_pgd(struct kbase_device *kbdev, in kbase_mmu_sync_pgd()
121 struct kbase_device *kbdev; in page_fault_worker() local
867 struct kbase_device *kbdev = kctx->kbdev; in kbase_mmu_flush_invalidate_noretain() local
910 struct kbase_device *kbdev; in kbase_mmu_flush_invalidate() local
999 void kbase_mmu_disable_as(struct kbase_device *kbdev, int as_nr) in kbase_mmu_disable_as()
1046 struct kbase_device *kbdev; in kbase_mmu_teardown_pages() local
1465 struct kbase_device *kbdev; in bus_fault_worker() local
1541 const char *kbase_exception_name(struct kbase_device *kbdev, u32 exception_code) in kbase_exception_name()
1709 static const char *access_type_name(struct kbase_device *kbdev, in access_type_name()
1741 struct kbase_device *kbdev; in kbase_mmu_report_fault_and_kill() local
[all …]
H A Dmali_kbase_gpu_memory_debugfs.c40 struct kbase_device *kbdev = NULL; in kbasep_gpu_memory_seq_show() local
81 void kbasep_gpu_memory_debugfs_init(struct kbase_device *kbdev) in kbasep_gpu_memory_debugfs_init()
93 void kbasep_gpu_memory_debugfs_init(struct kbase_device *kbdev) in kbasep_gpu_memory_debugfs_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c166 static void kbase_tlstream_current_devfreq_target(struct kbase_device *kbdev) in kbase_tlstream_current_devfreq_target()
184 int kbase_timeline_acquire(struct kbase_device *kbdev, u32 flags) in kbase_timeline_acquire()
329 struct kbase_device *const kbdev = kctx->kbdev; in kbase_timeline_pre_kbase_context_destroy() local
351 struct kbase_device *const kbdev = kctx->kbdev; in kbase_timeline_post_kbase_context_create() local
378 struct kbase_device *const kbdev = kctx->kbdev; in kbase_timeline_post_kbase_context_destroy() local
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/vexpress_6xvirtex7_10mhz/
H A Dmali_kbase_config_vexpress.c40 static int pm_callback_power_on(struct kbase_device *kbdev) in pm_callback_power_on()
46 static void pm_callback_power_off(struct kbase_device *kbdev) in pm_callback_power_off()
70 int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation) in kbase_platform_dvfs_event()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/vexpress/
H A Dmali_kbase_config_vexpress.c42 static int pm_callback_power_on(struct kbase_device *kbdev) in pm_callback_power_on()
48 static void pm_callback_power_off(struct kbase_device *kbdev) in pm_callback_power_off()
72 int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation) in kbase_platform_dvfs_event()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/vexpress_1xv7_a57/
H A Dmali_kbase_config_vexpress.c40 static int pm_callback_power_on(struct kbase_device *kbdev) in pm_callback_power_on()
46 static void pm_callback_power_off(struct kbase_device *kbdev) in pm_callback_power_off()
70 int kbase_platform_dvfs_event(struct kbase_device *kbdev, u32 utilisation) in kbase_platform_dvfs_event()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_mgm_integration_test/
H A Dmali_kutf_mgm_integration_test_main.c52 struct kbase_device *kbdev; member
71 struct kbase_device *kbdev = data->kbdev; in mali_kutf_mgm_pte_translation_test() local
136 struct kbase_device *kbdev; in mali_kutf_mgm_integration_create_fixture() local
164 struct kbase_device *kbdev = data->kbdev; in mali_kutf_mgm_integration_remove_fixture() local

123456789