/linux/drivers/gpu/drm/panthor/ |
H A D | panthor_device.c | 25 static int panthor_clk_init(struct panthor_device *ptdev) in panthor_clk_init() 49 void panthor_device_unplug(struct panthor_device *ptdev) in panthor_device_unplug() 102 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_device_reset_cleanup() local 110 struct panthor_device *ptdev = container_of(work, struct panthor_device, reset.work); in panthor_device_reset_work() local 142 static bool panthor_device_is_initialized(struct panthor_device *ptdev) in panthor_device_is_initialized() 152 int panthor_device_init(struct panthor_device *ptdev) in panthor_device_init() 334 const char *panthor_exception_name(struct panthor_device *ptdev, u32 exception_code) in panthor_exception_name() 346 struct panthor_device *ptdev = vma->vm_private_data; in panthor_mmio_vm_fault() local 389 int panthor_device_mmap_io(struct panthor_device *ptdev, struct vm_area_struct *vma) in panthor_device_mmap_io() 420 struct panthor_device *ptdev = dev_get_drvdata(dev); in panthor_device_resume() local [all …]
|
H A D | panthor_fw.c | 267 struct panthor_vm *panthor_fw_vm(struct panthor_device *ptdev) in panthor_fw_vm() 279 panthor_fw_get_glb_iface(struct panthor_device *ptdev) in panthor_fw_get_glb_iface() 438 panthor_fw_alloc_queue_iface_mem(struct panthor_device *ptdev, in panthor_fw_alloc_queue_iface_mem() 695 static int panthor_fw_load(struct panthor_device *ptdev) in panthor_fw_load() 981 static int panthor_fw_start(struct panthor_device *ptdev) in panthor_fw_start() 1014 static void panthor_fw_stop(struct panthor_device *ptdev) in panthor_fw_stop() 1069 int panthor_fw_post_reset(struct panthor_device *ptdev) in panthor_fw_post_reset() 1130 void panthor_fw_unplug(struct panthor_device *ptdev) in panthor_fw_unplug() 1208 int panthor_fw_glb_wait_acks(struct panthor_device *ptdev, in panthor_fw_glb_wait_acks() 1281 struct panthor_device *ptdev = fw->irq.ptdev; in panthor_fw_ping_work() local [all …]
|
H A D | panthor_gpu.c | 80 static void panthor_gpu_init_info(struct panthor_device *ptdev) in panthor_gpu_init_info() 145 static void panthor_gpu_irq_handler(struct panthor_device *ptdev, u32 status) in panthor_gpu_irq_handler() 172 void panthor_gpu_unplug(struct panthor_device *ptdev) in panthor_gpu_unplug() 192 int panthor_gpu_init(struct panthor_device *ptdev) in panthor_gpu_init() 235 int panthor_gpu_block_power_off(struct panthor_device *ptdev, in panthor_gpu_block_power_off() 296 int panthor_gpu_block_power_on(struct panthor_device *ptdev, in panthor_gpu_block_power_on() 351 int panthor_gpu_l2_power_on(struct panthor_device *ptdev) in panthor_gpu_l2_power_on() 380 int panthor_gpu_flush_caches(struct panthor_device *ptdev, in panthor_gpu_flush_caches() 420 int panthor_gpu_soft_reset(struct panthor_device *ptdev) in panthor_gpu_soft_reset() 461 void panthor_gpu_suspend(struct panthor_device *ptdev) in panthor_gpu_suspend() [all …]
|
H A D | panthor_sched.c | 154 struct panthor_device *ptdev; member 525 struct panthor_device *ptdev; member 797 struct panthor_device *ptdev = group->ptdev; in panthor_queue_get_syncwait_obj() local 872 struct panthor_device *ptdev = group->ptdev; in group_release() local 906 struct panthor_device *ptdev = group->ptdev; in group_bind_locked() local 948 struct panthor_device *ptdev = group->ptdev; in group_unbind_locked() local 1375 struct panthor_device *ptdev = group->ptdev; in group_process_tiler_oom() local 1681 struct panthor_device *ptdev = sched->ptdev; in process_fw_events_work() local 1836 struct panthor_device *ptdev = group->ptdev; in group_is_idle() local 1943 struct panthor_device *ptdev = sched->ptdev; in tick_ctx_init() local [all …]
|
H A D | panthor_devfreq.c | 85 struct panthor_device *ptdev = dev_get_drvdata(dev); in panthor_devfreq_get_dev_status() local 119 int panthor_devfreq_init(struct panthor_device *ptdev) in panthor_devfreq_init() 231 int panthor_devfreq_resume(struct panthor_device *ptdev) in panthor_devfreq_resume() 243 int panthor_devfreq_suspend(struct panthor_device *ptdev) in panthor_devfreq_suspend() 253 void panthor_devfreq_record_busy(struct panthor_device *ptdev) in panthor_devfreq_record_busy() 269 void panthor_devfreq_record_idle(struct panthor_device *ptdev) in panthor_devfreq_record_idle()
|
H A D | panthor_mmu.c | 261 struct panthor_device *ptdev; member 598 struct panthor_device *ptdev = vm->ptdev; in mmu_hw_do_operation() local 684 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_release_as_locked() local 708 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_active() local 817 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_idle() local 881 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_flush_range() local 910 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_unmap_pages() local 940 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_map_pages() local 1764 void panthor_mmu_resume(struct panthor_device *ptdev) in panthor_mmu_resume() 1839 struct panthor_device *ptdev = vm->ptdev; in panthor_vm_free() local [all …]
|
H A D | panthor_gpu.h | 29 #define panthor_gpu_power_on(ptdev, type, mask, timeout_us) \ argument 41 #define panthor_gpu_power_off(ptdev, type, mask, timeout_us) \ argument
|
H A D | panthor_heap.c | 87 struct panthor_device *ptdev; member 102 static int panthor_heap_ctx_stride(struct panthor_device *ptdev) in panthor_heap_ctx_stride() 134 static int panthor_alloc_heap_chunk(struct panthor_device *ptdev, in panthor_alloc_heap_chunk() 203 static int panthor_alloc_heap_chunks(struct panthor_device *ptdev, in panthor_alloc_heap_chunks() 529 panthor_heap_pool_create(struct panthor_device *ptdev, struct panthor_vm *vm) in panthor_heap_pool_create()
|
H A D | panthor_drv.c | 492 struct panthor_device *ptdev = container_of(ctx->file->minor->dev, in panthor_submit_ctx_update_job_sync_signal_fences() local 593 struct panthor_device *ptdev = container_of(ctx->file->minor->dev, in panthor_submit_ctx_add_sync_deps_to_job() local 756 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_ioctl_dev_query() local 791 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_ioctl_vm_create() local 1274 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_open() local 1346 struct panthor_device *ptdev = pfile->ptdev; in panthor_mmap() local 1423 struct panthor_device *ptdev; in panthor_probe() local 1437 struct panthor_device *ptdev = platform_get_drvdata(pdev); in panthor_remove() local
|
H A D | panthor_device.h | 57 struct panthor_device *ptdev; member 172 struct panthor_device *ptdev; member 187 static inline void panthor_device_schedule_reset(struct panthor_device *ptdev) in panthor_device_schedule_reset() 199 static inline bool panthor_device_reset_is_pending(struct panthor_device *ptdev) in panthor_device_reset_is_pending()
|
H A D | panthor_gem.c | 74 panthor_kernel_bo_create(struct panthor_device *ptdev, struct panthor_vm *vm, in panthor_kernel_bo_create() 176 struct panthor_device *ptdev = container_of(ddev, struct panthor_device, base); in panthor_gem_create_object() local
|
H A D | panthor_fw.h | 490 static inline void panthor_fw_suspend(struct panthor_device *ptdev) in panthor_fw_suspend() 495 static inline int panthor_fw_resume(struct panthor_device *ptdev) in panthor_fw_resume()
|
/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 32 struct panfrost_device *ptdev = dev_get_drvdata(dev); in panfrost_devfreq_target() local
|