Lines Matching defs:msm_gpu_funcs
46 struct msm_gpu_funcs { struct
47 int (*get_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
49 int (*set_param)(struct msm_gpu *gpu, struct msm_file_private *ctx,
51 int (*hw_init)(struct msm_gpu *gpu);
56 int (*ucode_load)(struct msm_gpu *gpu);
58 int (*pm_suspend)(struct msm_gpu *gpu);
59 int (*pm_resume)(struct msm_gpu *gpu);
60 void (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit);
61 void (*flush)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
62 irqreturn_t (*irq)(struct msm_gpu *irq);
63 struct msm_ringbuffer *(*active_ring)(struct msm_gpu *gpu);
64 void (*recover)(struct msm_gpu *gpu);
65 void (*destroy)(struct msm_gpu *gpu);
68 void (*show)(struct msm_gpu *gpu, struct msm_gpu_state *state,
71 void (*debugfs_init)(struct msm_gpu *gpu, struct drm_minor *minor);
74 u64 (*gpu_busy)(struct msm_gpu *gpu, unsigned long *out_sample_rate);
75 struct msm_gpu_state *(*gpu_state_get)(struct msm_gpu *gpu);
76 int (*gpu_state_put)(struct msm_gpu_state *state);
77 unsigned long (*gpu_get_freq)(struct msm_gpu *gpu);
79 void (*gpu_set_freq)(struct msm_gpu *gpu, struct dev_pm_opp *opp,
81 struct msm_gem_address_space *(*create_address_space)
83 struct msm_gem_address_space *(*create_private_address_space)
85 uint32_t (*get_rptr)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
94 bool (*progress)(struct msm_gpu *gpu, struct msm_ringbuffer *ring);