Home
last modified time | relevance | path

Searched refs:panfrost_device (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/panfrost/
Dpanfrost_gpu.h8 struct panfrost_device;
10 int panfrost_gpu_init(struct panfrost_device *pfdev);
11 void panfrost_gpu_fini(struct panfrost_device *pfdev);
13 u32 panfrost_gpu_get_latest_flush_id(struct panfrost_device *pfdev);
15 int panfrost_gpu_soft_reset(struct panfrost_device *pfdev);
16 void panfrost_gpu_power_on(struct panfrost_device *pfdev);
17 void panfrost_gpu_power_off(struct panfrost_device *pfdev);
19 void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev);
Dpanfrost_device.h19 struct panfrost_device;
77 void (*vendor_quirk)(struct panfrost_device *pfdev);
80 struct panfrost_device { struct
127 struct panfrost_device *pfdev; argument
139 struct panfrost_device *pfdev;
146 static inline struct panfrost_device *to_panfrost_device(struct drm_device *ddev) in to_panfrost_device()
151 static inline int panfrost_model_cmp(struct panfrost_device *pfdev, s32 id) in panfrost_model_cmp()
160 static inline bool panfrost_model_is_bifrost(struct panfrost_device *pfdev) in panfrost_model_is_bifrost()
165 static inline bool panfrost_model_eq(struct panfrost_device *pfdev, s32 id) in panfrost_model_eq()
172 int panfrost_device_init(struct panfrost_device *pfdev);
[all …]
Dpanfrost_mmu.h14 int panfrost_mmu_init(struct panfrost_device *pfdev);
15 void panfrost_mmu_fini(struct panfrost_device *pfdev);
16 void panfrost_mmu_reset(struct panfrost_device *pfdev);
18 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu);
19 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu);
23 struct panfrost_mmu *panfrost_mmu_ctx_create(struct panfrost_device *pfdev);
Dpanfrost_job.h10 struct panfrost_device;
19 struct panfrost_device *pfdev;
37 int panfrost_job_init(struct panfrost_device *pfdev);
38 void panfrost_job_fini(struct panfrost_device *pfdev);
44 void panfrost_job_enable_interrupts(struct panfrost_device *pfdev);
45 int panfrost_job_is_idle(struct panfrost_device *pfdev);
Dpanfrost_device.c21 static int panfrost_reset_init(struct panfrost_device *pfdev) in panfrost_reset_init()
32 static void panfrost_reset_fini(struct panfrost_device *pfdev) in panfrost_reset_fini()
37 static int panfrost_clk_init(struct panfrost_device *pfdev) in panfrost_clk_init()
80 static void panfrost_clk_fini(struct panfrost_device *pfdev) in panfrost_clk_fini()
86 static int panfrost_regulator_init(struct panfrost_device *pfdev) in panfrost_regulator_init()
119 static void panfrost_regulator_fini(struct panfrost_device *pfdev) in panfrost_regulator_fini()
127 static void panfrost_pm_domain_fini(struct panfrost_device *pfdev) in panfrost_pm_domain_fini()
142 static int panfrost_pm_domain_init(struct panfrost_device *pfdev) in panfrost_pm_domain_init()
200 int panfrost_device_init(struct panfrost_device *pfdev) in panfrost_device_init()
282 void panfrost_device_fini(struct panfrost_device *pfdev) in panfrost_device_fini()
[all …]
Dpanfrost_devfreq.h14 struct panfrost_device;
33 int panfrost_devfreq_init(struct panfrost_device *pfdev);
34 void panfrost_devfreq_fini(struct panfrost_device *pfdev);
36 void panfrost_devfreq_resume(struct panfrost_device *pfdev);
37 void panfrost_devfreq_suspend(struct panfrost_device *pfdev);
Dpanfrost_mmu.c29 static int wait_ready(struct panfrost_device *pfdev, u32 as_nr) in wait_ready()
48 static int write_cmd(struct panfrost_device *pfdev, u32 as_nr, u32 cmd) in write_cmd()
60 static void lock_region(struct panfrost_device *pfdev, u32 as_nr, in lock_region()
96 static int mmu_hw_do_operation_locked(struct panfrost_device *pfdev, int as_nr, in mmu_hw_do_operation_locked()
112 static int mmu_hw_do_operation(struct panfrost_device *pfdev, in mmu_hw_do_operation()
124 static void panfrost_mmu_enable(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_enable()
145 static void panfrost_mmu_disable(struct panfrost_device *pfdev, u32 as_nr) in panfrost_mmu_disable()
158 u32 panfrost_mmu_as_get(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_get()
224 void panfrost_mmu_as_put(struct panfrost_device *pfdev, struct panfrost_mmu *mmu) in panfrost_mmu_as_put()
230 void panfrost_mmu_reset(struct panfrost_device *pfdev) in panfrost_mmu_reset()
[all …]
Dpanfrost_job.c88 static struct dma_fence *panfrost_fence_create(struct panfrost_device *pfdev, int js_num) in panfrost_fence_create()
128 static void panfrost_job_write_affinity(struct panfrost_device *pfdev, in panfrost_job_write_affinity()
157 panfrost_dequeue_job(struct panfrost_device *pfdev, int slot) in panfrost_dequeue_job()
169 panfrost_enqueue_job(struct panfrost_device *pfdev, int slot, in panfrost_enqueue_job()
189 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_hw_submit()
277 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_push()
360 struct panfrost_device *pfdev = job->pfdev; in panfrost_job_run()
386 void panfrost_job_enable_interrupts(struct panfrost_device *pfdev) in panfrost_job_enable_interrupts()
399 static void panfrost_job_handle_err(struct panfrost_device *pfdev, in panfrost_job_handle_err()
453 static void panfrost_job_handle_done(struct panfrost_device *pfdev, in panfrost_job_handle_done()
[all …]
Dpanfrost_gem_shrinker.c21 struct panfrost_device *pfdev = in panfrost_gem_shrinker_count()
22 container_of(shrinker, struct panfrost_device, shrinker); in panfrost_gem_shrinker_count()
68 struct panfrost_device *pfdev = in panfrost_gem_shrinker_scan()
69 container_of(shrinker, struct panfrost_device, shrinker); in panfrost_gem_shrinker_scan()
102 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_shrinker_init()
117 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_shrinker_cleanup()
Dpanfrost_perfcnt.h8 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev);
9 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev);
10 int panfrost_perfcnt_init(struct panfrost_device *pfdev);
11 void panfrost_perfcnt_fini(struct panfrost_device *pfdev);
Dpanfrost_perfcnt.c38 void panfrost_perfcnt_clean_cache_done(struct panfrost_device *pfdev) in panfrost_perfcnt_clean_cache_done()
43 void panfrost_perfcnt_sample_done(struct panfrost_device *pfdev) in panfrost_perfcnt_sample_done()
48 static int panfrost_perfcnt_dump_locked(struct panfrost_device *pfdev) in panfrost_perfcnt_dump_locked()
71 static int panfrost_perfcnt_enable_locked(struct panfrost_device *pfdev, in panfrost_perfcnt_enable_locked()
180 static int panfrost_perfcnt_disable_locked(struct panfrost_device *pfdev, in panfrost_perfcnt_disable_locked()
213 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_perfcnt_enable()
240 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_perfcnt_dump()
272 struct panfrost_device *pfdev = pfile->pfdev; in panfrost_perfcnt_close()
284 int panfrost_perfcnt_init(struct panfrost_device *pfdev) in panfrost_perfcnt_init()
340 void panfrost_perfcnt_fini(struct panfrost_device *pfdev) in panfrost_perfcnt_fini()
Dpanfrost_gpu.c24 struct panfrost_device *pfdev = data; in panfrost_gpu_irq_handler()
56 int panfrost_gpu_soft_reset(struct panfrost_device *pfdev) in panfrost_gpu_soft_reset()
84 void panfrost_gpu_amlogic_quirk(struct panfrost_device *pfdev) in panfrost_gpu_amlogic_quirk()
95 static void panfrost_gpu_init_quirks(struct panfrost_device *pfdev) in panfrost_gpu_init_quirks()
222 static void panfrost_gpu_init_features(struct panfrost_device *pfdev) in panfrost_gpu_init_features()
329 static u64 panfrost_get_core_mask(struct panfrost_device *pfdev) in panfrost_get_core_mask()
352 void panfrost_gpu_power_on(struct panfrost_device *pfdev) in panfrost_gpu_power_on()
383 void panfrost_gpu_power_off(struct panfrost_device *pfdev) in panfrost_gpu_power_off()
407 int panfrost_gpu_init(struct panfrost_device *pfdev) in panfrost_gpu_init()
440 void panfrost_gpu_fini(struct panfrost_device *pfdev) in panfrost_gpu_fini()
[all …]
Dpanfrost_devfreq.c52 struct panfrost_device *pfdev = dev_get_drvdata(dev); in panfrost_devfreq_get_dev_status()
111 int panfrost_devfreq_init(struct panfrost_device *pfdev) in panfrost_devfreq_init()
202 void panfrost_devfreq_fini(struct panfrost_device *pfdev) in panfrost_devfreq_fini()
212 void panfrost_devfreq_resume(struct panfrost_device *pfdev) in panfrost_devfreq_resume()
224 void panfrost_devfreq_suspend(struct panfrost_device *pfdev) in panfrost_devfreq_suspend()
Dpanfrost_drv.c30 struct panfrost_device *pfdev = ddev->dev_private; in panfrost_ioctl_get_param()
238 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_submit()
398 struct panfrost_device *pfdev = dev->dev_private; in panfrost_ioctl_madvise()
470 struct panfrost_device *pfdev = dev->dev_private; in panfrost_open()
553 struct panfrost_device *pfdev; in panfrost_probe()
619 struct panfrost_device *pfdev = platform_get_drvdata(pdev); in panfrost_remove()
DMakefile5 panfrost_device.o \
Dpanfrost_dump.c77 struct panfrost_device *pfdev, in panfrost_core_dump_registers()
105 struct panfrost_device *pfdev = job->pfdev; in panfrost_core_dump()
Dpanfrost_gem.c20 struct panfrost_device *pfdev = obj->dev->dev_private; in panfrost_gem_free_object()
222 struct panfrost_device *pfdev = dev->dev_private; in panfrost_gem_create_object()
Dpanfrost_features.h121 static inline bool panfrost_has_hw_feature(struct panfrost_device *pfdev, in panfrost_has_hw_feature()
Dpanfrost_issues.h268 static inline bool panfrost_has_hw_issue(const struct panfrost_device *pfdev, in panfrost_has_hw_issue()