Lines Matching defs:gpu
25 static int enable_pwrrail(struct msm_gpu *gpu) in enable_pwrrail()
49 static int disable_pwrrail(struct msm_gpu *gpu) in disable_pwrrail()
58 static int enable_clk(struct msm_gpu *gpu) in enable_clk()
70 static int disable_clk(struct msm_gpu *gpu) in disable_clk()
88 static int enable_axi(struct msm_gpu *gpu) in enable_axi()
93 static int disable_axi(struct msm_gpu *gpu) in disable_axi()
99 int msm_gpu_pm_resume(struct msm_gpu *gpu) in msm_gpu_pm_resume()
125 int msm_gpu_pm_suspend(struct msm_gpu *gpu) in msm_gpu_pm_suspend()
151 void msm_gpu_show_fdinfo(struct msm_gpu *gpu, struct msm_file_private *ctx, in msm_gpu_show_fdinfo()
159 int msm_gpu_hw_init(struct msm_gpu *gpu) in msm_gpu_hw_init()
181 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_read() local
216 struct msm_gpu *gpu = data; in msm_gpu_devcoredump_free() local
257 static void msm_gpu_crashstate_capture(struct msm_gpu *gpu, in msm_gpu_crashstate_capture()
299 static void msm_gpu_crashstate_capture(struct msm_gpu *gpu, in msm_gpu_crashstate_capture()
355 struct msm_gpu *gpu = container_of(work, struct msm_gpu, recover_work); in recover_worker() local
453 struct msm_gpu *gpu = container_of(work, struct msm_gpu, fault_work); in fault_worker() local
489 static void hangcheck_timer_reset(struct msm_gpu *gpu) in hangcheck_timer_reset()
496 static bool made_progress(struct msm_gpu *gpu, struct msm_ringbuffer *ring) in made_progress()
513 struct msm_gpu *gpu = from_timer(gpu, t, hangcheck_timer); in hangcheck_handler() local
550 static int update_hw_cntrs(struct msm_gpu *gpu, uint32_t ncntrs, uint32_t *cntrs) in update_hw_cntrs()
570 static void update_sw_cntrs(struct msm_gpu *gpu) in update_sw_cntrs()
594 void msm_gpu_perfcntr_start(struct msm_gpu *gpu) in msm_gpu_perfcntr_start()
610 void msm_gpu_perfcntr_stop(struct msm_gpu *gpu) in msm_gpu_perfcntr_stop()
617 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, in msm_gpu_perfcntr_sample()
647 static void retire_submit(struct msm_gpu *gpu, struct msm_ringbuffer *ring, in retire_submit()
696 static void retire_submits(struct msm_gpu *gpu) in retire_submits()
731 struct msm_gpu *gpu = container_of(work, struct msm_gpu, retire_work); in retire_worker() local
737 void msm_gpu_retire(struct msm_gpu *gpu) in msm_gpu_retire()
749 void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit) in msm_gpu_submit()
796 struct msm_gpu *gpu = data; in irq_handler() local
800 static int get_clocks(struct platform_device *pdev, struct msm_gpu *gpu) in get_clocks()
822 msm_gpu_create_private_address_space(struct msm_gpu *gpu, struct task_struct *task) in msm_gpu_create_private_address_space()
845 struct msm_gpu *gpu, const struct msm_gpu_funcs *funcs, in msm_gpu_init()
999 void msm_gpu_cleanup(struct msm_gpu *gpu) in msm_gpu_cleanup()