Home
last modified time | relevance | path

Searched refs:from_pvr_device (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/imagination/
H A Dpvr_power.c37 drm_dev_unplug(from_pvr_device(pvr_dev)); in pvr_device_lost()
117 drm_err(from_pvr_device(pvr_dev), "Firmware failed to boot\n"); in pvr_power_fw_enable()
192 if (pm_runtime_get_if_in_use(from_pvr_device(pvr_dev)->dev) <= 0) in pvr_watchdog_worker()
201 drm_err(from_pvr_device(pvr_dev), "FW stalled, trying hard reset"); in pvr_watchdog_worker()
208 pm_runtime_put(from_pvr_device(pvr_dev)->dev); in pvr_watchdog_worker()
366 WARN_ON(pm_runtime_force_suspend(from_pvr_device(pvr_dev)->dev)); in pvr_power_reset()
372 err = pm_runtime_force_resume(from_pvr_device(pvr_dev)->dev); in pvr_power_reset()
392 drm_err(from_pvr_device(pvr_dev), "FW stalled, trying hard reset"); in pvr_power_reset()
409 drm_err(from_pvr_device(pvr_dev), "GPU device lost"); in pvr_power_reset()
H A Dpvr_device_info.c61 drm_warn(from_pvr_device(pvr_dev), "Unsupported quirks in firmware image"); in pvr_device_info_set_common()
63 drm_warn(from_pvr_device(pvr_dev), in pvr_device_info_set_common()
70 drm_warn(from_pvr_device(pvr_dev), in pvr_device_info_set_common()
73 drm_warn(from_pvr_device(pvr_dev), in pvr_device_info_set_common()
229 drm_warn(from_pvr_device(pvr_dev), "Unsupported features in firmware image"); in pvr_device_info_set_features()
235 drm_warn(from_pvr_device(pvr_dev), in pvr_device_info_set_features()
H A Dpvr_device.c54 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_device_reg_init()
96 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_device_clk_init()
167 pm_runtime_mark_last_busy(from_pvr_device(pvr_dev)->dev); in pvr_device_irq_thread_handler()
203 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_device_irq_init()
367 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_set_dma_info()
495 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_device_init()
H A Dpvr_power.h28 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_power_get()
36 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_power_put()
H A Dpvr_fw.c93 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_fw_validate()
287 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_fw_create_fwif_connection_ctl()
457 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_fw_create_structures()
633 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_fw_process()
950 err = drmm_mutex_init(from_pvr_device(pvr_dev), &fw_dev->fw_objs.lock); in pvr_fw_init()
986 drm_err(from_pvr_device(pvr_dev), "Firmware failed to boot\n"); in pvr_fw_init()
1097 if (!drm_dev_enter(from_pvr_device(pvr_dev), &idx)) { in pvr_fw_structure_cleanup()
H A Dpvr_fw_trace.c50 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_fw_trace_init()
153 if (!drm_dev_enter(from_pvr_device(pvr_dev), &idx)) { in update_logtype()
H A Dpvr_ccb.c58 err = drmm_mutex_init(from_pvr_device(pvr_dev), &pvr_ccb->lock); in pvr_ccb_init()
153 drm_info(from_pvr_device(pvr_dev), "Received unknown FWCCB command %x\n", in process_fwccb_command()
H A Dpvr_mmu.c132 if (!drm_dev_enter(from_pvr_device(pvr_dev), &idx)) in pvr_mmu_flush_exec()
259 struct device *dev = from_pvr_device(pvr_dev)->dev; in pvr_mmu_backing_page_init()
325 dev = from_pvr_device(page->pvr_dev)->dev; in pvr_mmu_backing_page_fini()
363 dev = from_pvr_device(pvr_dev)->dev; in pvr_mmu_backing_page_sync()
H A Dpvr_gem.c348 shmem_obj = drm_gem_shmem_create(from_pvr_device(pvr_dev), size); in pvr_gem_object_create()
H A Dpvr_fw_mips.c39 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in process_elf_command_stream()
H A Dpvr_device.h419 #define from_pvr_device(pvr_dev) (&(pvr_dev)->base) macro
H A Dpvr_fw_meta.c258 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in process_ldr_command_stream()
H A Dpvr_vm.c538 struct drm_device *drm_dev = from_pvr_device(pvr_dev); in pvr_vm_create_context()
H A Dpvr_queue.c1412 err = drmm_mutex_init(from_pvr_device(pvr_dev), &pvr_dev->queues.lock); in pvr_queue_device_init()