/linux-6.12.1/drivers/gpu/drm/panthor/ |
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 …]
|
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() 292 panthor_fw_get_csg_iface(struct panthor_device *ptdev, u32 csg_slot) in panthor_fw_get_csg_iface() 309 panthor_fw_get_cs_iface(struct panthor_device *ptdev, u32 csg_slot, u32 cs_slot) in panthor_fw_get_cs_iface() 328 static u32 panthor_fw_conv_timeout(struct panthor_device *ptdev, u32 timeout_us) in panthor_fw_conv_timeout() 361 static int panthor_fw_binary_iter_read(struct panthor_device *ptdev, in panthor_fw_binary_iter_read() 377 static int panthor_fw_binary_sub_iter_init(struct panthor_device *ptdev, in panthor_fw_binary_sub_iter_init() 396 static void panthor_fw_init_section_mem(struct panthor_device *ptdev, in panthor_fw_init_section_mem() 438 panthor_fw_alloc_queue_iface_mem(struct panthor_device *ptdev, in panthor_fw_alloc_queue_iface_mem() 477 panthor_fw_alloc_suspend_buf_mem(struct panthor_device *ptdev, size_t size) in panthor_fw_alloc_suspend_buf_mem() [all …]
|
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 …]
|
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 988 cs_slot_prog_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_prog_locked() 1032 cs_slot_reset_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_reset_locked() 1066 csg_slot_sync_priority_locked(struct panthor_device *ptdev, u32 csg_id) in csg_slot_sync_priority_locked() 1086 cs_slot_sync_queue_state_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id) in cs_slot_sync_queue_state_locked() [all …]
|
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()
|
D | panthor_mmu.c | 261 struct panthor_device *ptdev; member 504 static int wait_ready(struct panthor_device *ptdev, u32 as_nr) in wait_ready() 524 static int write_cmd(struct panthor_device *ptdev, u32 as_nr, u32 cmd) in write_cmd() 536 static void lock_region(struct panthor_device *ptdev, u32 as_nr, in lock_region() 571 static int mmu_hw_do_operation_locked(struct panthor_device *ptdev, int as_nr, in mmu_hw_do_operation_locked() 598 struct panthor_device *ptdev = vm->ptdev; in mmu_hw_do_operation() local 608 static int panthor_mmu_as_enable(struct panthor_device *ptdev, u32 as_nr, in panthor_mmu_as_enable() 629 static int panthor_mmu_as_disable(struct panthor_device *ptdev, u32 as_nr) in panthor_mmu_as_disable() 649 static u32 panthor_mmu_fault_mask(struct panthor_device *ptdev, u32 value) in panthor_mmu_fault_mask() 655 static u32 panthor_mmu_as_fault_mask(struct panthor_device *ptdev, u32 as) in panthor_mmu_as_fault_mask() [all …]
|
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
|
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()
|
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
|
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()
|
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
|
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-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.c | 32 struct panfrost_device *ptdev = dev_get_drvdata(dev); in panfrost_devfreq_target() local
|