Lines Matching refs:host
39 int (*init)(struct host1x_channel *channel, struct host1x *host,
62 void (*show_channel_cdma)(struct host1x *host,
65 void (*show_channel_fifo)(struct host1x *host,
68 void (*show_mlocks)(struct host1x *host, struct output *output);
82 int (*init_host_sync)(struct host1x *host, u32 cpm,
85 struct host1x *host, u32 id, u32 thresh);
86 void (*enable_syncpt_intr)(struct host1x *host, u32 id);
87 void (*disable_syncpt_intr)(struct host1x *host, u32 id);
88 void (*disable_all_syncpt_intrs)(struct host1x *host);
89 int (*free_syncpt_irq)(struct host1x *host);
141 static inline void host1x_hw_syncpt_restore(struct host1x *host, in host1x_hw_syncpt_restore() argument
144 host->syncpt_op->restore(sp); in host1x_hw_syncpt_restore()
147 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host, in host1x_hw_syncpt_restore_wait_base() argument
150 host->syncpt_op->restore_wait_base(sp); in host1x_hw_syncpt_restore_wait_base()
153 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host, in host1x_hw_syncpt_load_wait_base() argument
156 host->syncpt_op->load_wait_base(sp); in host1x_hw_syncpt_load_wait_base()
159 static inline u32 host1x_hw_syncpt_load(struct host1x *host, in host1x_hw_syncpt_load() argument
162 return host->syncpt_op->load(sp); in host1x_hw_syncpt_load()
165 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host, in host1x_hw_syncpt_cpu_incr() argument
168 return host->syncpt_op->cpu_incr(sp); in host1x_hw_syncpt_cpu_incr()
171 static inline int host1x_hw_syncpt_patch_wait(struct host1x *host, in host1x_hw_syncpt_patch_wait() argument
175 return host->syncpt_op->patch_wait(sp, patch_addr); in host1x_hw_syncpt_patch_wait()
178 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm, in host1x_hw_intr_init_host_sync() argument
181 return host->intr_op->init_host_sync(host, cpm, syncpt_thresh_work); in host1x_hw_intr_init_host_sync()
184 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host, in host1x_hw_intr_set_syncpt_threshold() argument
187 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
190 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host, in host1x_hw_intr_enable_syncpt_intr() argument
193 host->intr_op->enable_syncpt_intr(host, id); in host1x_hw_intr_enable_syncpt_intr()
196 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host, in host1x_hw_intr_disable_syncpt_intr() argument
199 host->intr_op->disable_syncpt_intr(host, id); in host1x_hw_intr_disable_syncpt_intr()
202 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host) in host1x_hw_intr_disable_all_syncpt_intrs() argument
204 host->intr_op->disable_all_syncpt_intrs(host); in host1x_hw_intr_disable_all_syncpt_intrs()
207 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host) in host1x_hw_intr_free_syncpt_irq() argument
209 return host->intr_op->free_syncpt_irq(host); in host1x_hw_intr_free_syncpt_irq()
212 static inline int host1x_hw_channel_init(struct host1x *host, in host1x_hw_channel_init() argument
216 return host->channel_op->init(channel, host, chid); in host1x_hw_channel_init()
219 static inline int host1x_hw_channel_submit(struct host1x *host, in host1x_hw_channel_submit() argument
222 return host->channel_op->submit(job); in host1x_hw_channel_submit()
225 static inline void host1x_hw_cdma_start(struct host1x *host, in host1x_hw_cdma_start() argument
228 host->cdma_op->start(cdma); in host1x_hw_cdma_start()
231 static inline void host1x_hw_cdma_stop(struct host1x *host, in host1x_hw_cdma_stop() argument
234 host->cdma_op->stop(cdma); in host1x_hw_cdma_stop()
237 static inline void host1x_hw_cdma_flush(struct host1x *host, in host1x_hw_cdma_flush() argument
240 host->cdma_op->flush(cdma); in host1x_hw_cdma_flush()
243 static inline int host1x_hw_cdma_timeout_init(struct host1x *host, in host1x_hw_cdma_timeout_init() argument
247 return host->cdma_op->timeout_init(cdma, syncpt_id); in host1x_hw_cdma_timeout_init()
250 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host, in host1x_hw_cdma_timeout_destroy() argument
253 host->cdma_op->timeout_destroy(cdma); in host1x_hw_cdma_timeout_destroy()
256 static inline void host1x_hw_cdma_freeze(struct host1x *host, in host1x_hw_cdma_freeze() argument
259 host->cdma_op->freeze(cdma); in host1x_hw_cdma_freeze()
262 static inline void host1x_hw_cdma_resume(struct host1x *host, in host1x_hw_cdma_resume() argument
265 host->cdma_op->resume(cdma, getptr); in host1x_hw_cdma_resume()
268 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, in host1x_hw_cdma_timeout_cpu_incr() argument
274 host->cdma_op->timeout_cpu_incr(cdma, getptr, syncpt_incrs, syncval, in host1x_hw_cdma_timeout_cpu_incr()
278 static inline void host1x_hw_pushbuffer_init(struct host1x *host, in host1x_hw_pushbuffer_init() argument
281 host->cdma_pb_op->init(pb); in host1x_hw_pushbuffer_init()
284 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de) in host1x_hw_debug_init() argument
286 if (host->debug_op && host->debug_op->debug_init) in host1x_hw_debug_init()
287 host->debug_op->debug_init(de); in host1x_hw_debug_init()
290 static inline void host1x_hw_show_channel_cdma(struct host1x *host, in host1x_hw_show_channel_cdma() argument
294 host->debug_op->show_channel_cdma(host, channel, o); in host1x_hw_show_channel_cdma()
297 static inline void host1x_hw_show_channel_fifo(struct host1x *host, in host1x_hw_show_channel_fifo() argument
301 host->debug_op->show_channel_fifo(host, channel, o); in host1x_hw_show_channel_fifo()
304 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o) in host1x_hw_show_mlocks() argument
306 host->debug_op->show_mlocks(host, o); in host1x_hw_show_mlocks()