Lines Matching defs:msm_gpu_funcs
47 struct msm_gpu_funcs { struct
48 int (*get_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
50 int (*set_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
52 int (*hw_init)(struct msm_gpu *gpu);
53 int (*pm_suspend)(struct msm_gpu *gpu);
54 int (*pm_resume)(struct msm_gpu *gpu);
55 void (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit);
56 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
57 irqreturn_t (*irq)(struct msm_gpu *irq);
58 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
59 void (*recover)(struct msm_gpu *gpu);
60 void (*destroy)(struct msm_gpu *gpu);
63 void (*show)(struct msm_gpu *gpu, struct msm_gpu_state *state,
66 void (*debugfs_init)(struct msm_gpu *gpu, struct drm_minor *minor);
69 u64 (*gpu_busy)(struct msm_gpu *gpu, unsigned long *out_sample_rate);
70 struct msm_gpu_state *(*gpu_state_get)(struct msm_gpu *gpu);
71 int (*gpu_state_put)(struct msm_gpu_state *state);
72 unsigned long (*gpu_get_freq)(struct msm_gpu *gpu);
74 void (*gpu_set_freq)(struct msm_gpu *gpu, struct dev_pm_opp *opp,
76 struct msm_gem_address_space *(*create_address_space)
78 struct msm_gem_address_space *(*create_private_address_space)
80 uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);