Lines Matching refs:msm_gpu
46 int (*get_param)(struct msm_gpu *gpu, uint32_t param, uint64_t *value);
47 int (*hw_init)(struct msm_gpu *gpu);
48 int (*pm_suspend)(struct msm_gpu *gpu);
49 int (*pm_resume)(struct msm_gpu *gpu);
50 void (*submit)(struct msm_gpu *gpu, struct msm_gem_submit *submit,
52 void (*flush)(struct msm_gpu *gpu);
53 void (*idle)(struct msm_gpu *gpu);
54 irqreturn_t (*irq)(struct msm_gpu *irq);
55 uint32_t (*last_fence)(struct msm_gpu *gpu);
56 void (*recover)(struct msm_gpu *gpu);
57 void (*destroy)(struct msm_gpu *gpu);
60 void (*show)(struct msm_gpu *gpu, struct seq_file *m);
64 struct msm_gpu { struct
129 static inline bool msm_gpu_active(struct msm_gpu *gpu) in msm_gpu_active() argument
147 static inline void gpu_write(struct msm_gpu *gpu, u32 reg, u32 data) in gpu_write()
152 static inline u32 gpu_read(struct msm_gpu *gpu, u32 reg) in gpu_read()
157 int msm_gpu_pm_suspend(struct msm_gpu *gpu);
158 int msm_gpu_pm_resume(struct msm_gpu *gpu);
160 void msm_gpu_perfcntr_start(struct msm_gpu *gpu);
161 void msm_gpu_perfcntr_stop(struct msm_gpu *gpu);
162 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime,
165 void msm_gpu_retire(struct msm_gpu *gpu);
166 void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit,
170 struct msm_gpu *gpu, const struct msm_gpu_funcs *funcs,
172 void msm_gpu_cleanup(struct msm_gpu *gpu);
174 struct msm_gpu *adreno_load_gpu(struct drm_device *dev);