Lines Matching defs:host

32 	int (*init)(struct host1x_channel *channel, struct host1x *host,
55 void (*show_channel_cdma)(struct host1x *host,
58 void (*show_channel_fifo)(struct host1x *host,
61 void (*show_mlocks)(struct host1x *host, struct output *output);
73 void (*enable_protection)(struct host1x *host);
77 int (*init_host_sync)(struct host1x *host, u32 cpm);
79 struct host1x *host, unsigned int id, u32 thresh);
80 void (*enable_syncpt_intr)(struct host1x *host, unsigned int id);
81 void (*disable_syncpt_intr)(struct host1x *host, unsigned int id);
82 void (*disable_all_syncpt_intrs)(struct host1x *host);
83 int (*free_syncpt_irq)(struct host1x *host);
176 static inline void host1x_hw_syncpt_restore(struct host1x *host,
179 host->syncpt_op->restore(sp);
182 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host,
185 host->syncpt_op->restore_wait_base(sp);
188 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host,
191 host->syncpt_op->load_wait_base(sp);
194 static inline u32 host1x_hw_syncpt_load(struct host1x *host,
197 return host->syncpt_op->load(sp);
200 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host,
203 return host->syncpt_op->cpu_incr(sp);
207 struct host1x *host, struct host1x_syncpt *sp,
210 return host->syncpt_op->assign_to_channel(sp, ch);
213 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host)
215 return host->syncpt_op->enable_protection(host);
218 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm)
220 return host->intr_op->init_host_sync(host, cpm);
223 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host,
227 host->intr_op->set_syncpt_threshold(host, id, thresh);
230 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host,
233 host->intr_op->enable_syncpt_intr(host, id);
236 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host,
239 host->intr_op->disable_syncpt_intr(host, id);
242 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host)
244 host->intr_op->disable_all_syncpt_intrs(host);
247 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host)
249 return host->intr_op->free_syncpt_irq(host);
252 static inline int host1x_hw_channel_init(struct host1x *host,
256 return host->channel_op->init(channel, host, id);
259 static inline int host1x_hw_channel_submit(struct host1x *host,
262 return host->channel_op->submit(job);
265 static inline void host1x_hw_cdma_start(struct host1x *host,
268 host->cdma_op->start(cdma);
271 static inline void host1x_hw_cdma_stop(struct host1x *host,
274 host->cdma_op->stop(cdma);
277 static inline void host1x_hw_cdma_flush(struct host1x *host,
280 host->cdma_op->flush(cdma);
283 static inline int host1x_hw_cdma_timeout_init(struct host1x *host,
286 return host->cdma_op->timeout_init(cdma);
289 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host,
292 host->cdma_op->timeout_destroy(cdma);
295 static inline void host1x_hw_cdma_freeze(struct host1x *host,
298 host->cdma_op->freeze(cdma);
301 static inline void host1x_hw_cdma_resume(struct host1x *host,
304 host->cdma_op->resume(cdma, getptr);
307 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host,
313 host->cdma_op->timeout_cpu_incr(cdma, getptr, syncpt_incrs, syncval,
317 static inline void host1x_hw_pushbuffer_init(struct host1x *host,
320 host->cdma_pb_op->init(pb);
323 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de)
325 if (host->debug_op && host->debug_op->debug_init)
326 host->debug_op->debug_init(de);
329 static inline void host1x_hw_show_channel_cdma(struct host1x *host,
333 host->debug_op->show_channel_cdma(host, channel, o);
336 static inline void host1x_hw_show_channel_fifo(struct host1x *host,
340 host->debug_op->show_channel_fifo(host, channel, o);
343 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o)
345 host->debug_op->show_mlocks(host, o);