Lines Matching refs:host

33 	int (*init)(struct host1x_channel *channel, struct host1x *host,
56 void (*show_channel_cdma)(struct host1x *host,
59 void (*show_channel_fifo)(struct host1x *host,
62 void (*show_mlocks)(struct host1x *host, struct output *output);
74 void (*enable_protection)(struct host1x *host);
78 int (*init_host_sync)(struct host1x *host, u32 cpm);
80 struct host1x *host, unsigned int id, u32 thresh);
81 void (*enable_syncpt_intr)(struct host1x *host, unsigned int id);
82 void (*disable_syncpt_intr)(struct host1x *host, unsigned int id);
83 void (*disable_all_syncpt_intrs)(struct host1x *host);
84 int (*free_syncpt_irq)(struct host1x *host);
188 static inline void host1x_hw_syncpt_restore(struct host1x *host, in host1x_hw_syncpt_restore() argument
191 host->syncpt_op->restore(sp); in host1x_hw_syncpt_restore()
194 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host, in host1x_hw_syncpt_restore_wait_base() argument
197 host->syncpt_op->restore_wait_base(sp); in host1x_hw_syncpt_restore_wait_base()
200 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host, in host1x_hw_syncpt_load_wait_base() argument
203 host->syncpt_op->load_wait_base(sp); in host1x_hw_syncpt_load_wait_base()
206 static inline u32 host1x_hw_syncpt_load(struct host1x *host, in host1x_hw_syncpt_load() argument
209 return host->syncpt_op->load(sp); in host1x_hw_syncpt_load()
212 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host, in host1x_hw_syncpt_cpu_incr() argument
215 return host->syncpt_op->cpu_incr(sp); in host1x_hw_syncpt_cpu_incr()
219 struct host1x *host, struct host1x_syncpt *sp, in host1x_hw_syncpt_assign_to_channel() argument
222 return host->syncpt_op->assign_to_channel(sp, ch); in host1x_hw_syncpt_assign_to_channel()
225 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host) in host1x_hw_syncpt_enable_protection() argument
227 return host->syncpt_op->enable_protection(host); in host1x_hw_syncpt_enable_protection()
230 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm) in host1x_hw_intr_init_host_sync() argument
232 return host->intr_op->init_host_sync(host, cpm); in host1x_hw_intr_init_host_sync()
235 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host, in host1x_hw_intr_set_syncpt_threshold() argument
239 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
242 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host, in host1x_hw_intr_enable_syncpt_intr() argument
245 host->intr_op->enable_syncpt_intr(host, id); in host1x_hw_intr_enable_syncpt_intr()
248 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host, in host1x_hw_intr_disable_syncpt_intr() argument
251 host->intr_op->disable_syncpt_intr(host, id); in host1x_hw_intr_disable_syncpt_intr()
254 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host) in host1x_hw_intr_disable_all_syncpt_intrs() argument
256 host->intr_op->disable_all_syncpt_intrs(host); in host1x_hw_intr_disable_all_syncpt_intrs()
259 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host) in host1x_hw_intr_free_syncpt_irq() argument
261 return host->intr_op->free_syncpt_irq(host); in host1x_hw_intr_free_syncpt_irq()
264 static inline int host1x_hw_channel_init(struct host1x *host, in host1x_hw_channel_init() argument
268 return host->channel_op->init(channel, host, id); in host1x_hw_channel_init()
271 static inline int host1x_hw_channel_submit(struct host1x *host, in host1x_hw_channel_submit() argument
274 return host->channel_op->submit(job); in host1x_hw_channel_submit()
277 static inline void host1x_hw_cdma_start(struct host1x *host, in host1x_hw_cdma_start() argument
280 host->cdma_op->start(cdma); in host1x_hw_cdma_start()
283 static inline void host1x_hw_cdma_stop(struct host1x *host, in host1x_hw_cdma_stop() argument
286 host->cdma_op->stop(cdma); in host1x_hw_cdma_stop()
289 static inline void host1x_hw_cdma_flush(struct host1x *host, in host1x_hw_cdma_flush() argument
292 host->cdma_op->flush(cdma); in host1x_hw_cdma_flush()
295 static inline int host1x_hw_cdma_timeout_init(struct host1x *host, in host1x_hw_cdma_timeout_init() argument
298 return host->cdma_op->timeout_init(cdma); in host1x_hw_cdma_timeout_init()
301 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host, in host1x_hw_cdma_timeout_destroy() argument
304 host->cdma_op->timeout_destroy(cdma); in host1x_hw_cdma_timeout_destroy()
307 static inline void host1x_hw_cdma_freeze(struct host1x *host, in host1x_hw_cdma_freeze() argument
310 host->cdma_op->freeze(cdma); in host1x_hw_cdma_freeze()
313 static inline void host1x_hw_cdma_resume(struct host1x *host, in host1x_hw_cdma_resume() argument
316 host->cdma_op->resume(cdma, getptr); in host1x_hw_cdma_resume()
319 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, in host1x_hw_cdma_timeout_cpu_incr() argument
325 host->cdma_op->timeout_cpu_incr(cdma, getptr, syncpt_incrs, syncval, in host1x_hw_cdma_timeout_cpu_incr()
329 static inline void host1x_hw_pushbuffer_init(struct host1x *host, in host1x_hw_pushbuffer_init() argument
332 host->cdma_pb_op->init(pb); in host1x_hw_pushbuffer_init()
335 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de) in host1x_hw_debug_init() argument
337 if (host->debug_op && host->debug_op->debug_init) in host1x_hw_debug_init()
338 host->debug_op->debug_init(de); in host1x_hw_debug_init()
341 static inline void host1x_hw_show_channel_cdma(struct host1x *host, in host1x_hw_show_channel_cdma() argument
345 host->debug_op->show_channel_cdma(host, channel, o); in host1x_hw_show_channel_cdma()
348 static inline void host1x_hw_show_channel_fifo(struct host1x *host, in host1x_hw_show_channel_fifo() argument
352 host->debug_op->show_channel_fifo(host, channel, o); in host1x_hw_show_channel_fifo()
355 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o) in host1x_hw_show_mlocks() argument
357 host->debug_op->show_mlocks(host, o); in host1x_hw_show_mlocks()