Lines Matching defs:host

31 	int (*init)(struct host1x_channel *channel, struct host1x *host,
54 void (*show_channel_cdma)(struct host1x *host,
57 void (*show_channel_fifo)(struct host1x *host,
60 void (*show_mlocks)(struct host1x *host, struct output *output);
72 void (*enable_protection)(struct host1x *host);
76 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);
155 static inline void host1x_hw_syncpt_restore(struct host1x *host,
158 host->syncpt_op->restore(sp);
161 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host,
164 host->syncpt_op->restore_wait_base(sp);
167 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host,
170 host->syncpt_op->load_wait_base(sp);
173 static inline u32 host1x_hw_syncpt_load(struct host1x *host,
176 return host->syncpt_op->load(sp);
179 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host,
182 return host->syncpt_op->cpu_incr(sp);
186 struct host1x *host, struct host1x_syncpt *sp,
189 return host->syncpt_op->assign_to_channel(sp, ch);
192 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host)
194 return host->syncpt_op->enable_protection(host);
197 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm,
200 return host->intr_op->init_host_sync(host, cpm, syncpt_thresh_work);
203 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host,
207 host->intr_op->set_syncpt_threshold(host, id, thresh);
210 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host,
213 host->intr_op->enable_syncpt_intr(host, id);
216 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host,
219 host->intr_op->disable_syncpt_intr(host, id);
222 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host)
224 host->intr_op->disable_all_syncpt_intrs(host);
227 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host)
229 return host->intr_op->free_syncpt_irq(host);
232 static inline int host1x_hw_channel_init(struct host1x *host,
236 return host->channel_op->init(channel, host, id);
239 static inline int host1x_hw_channel_submit(struct host1x *host,
242 return host->channel_op->submit(job);
245 static inline void host1x_hw_cdma_start(struct host1x *host,
248 host->cdma_op->start(cdma);
251 static inline void host1x_hw_cdma_stop(struct host1x *host,
254 host->cdma_op->stop(cdma);
257 static inline void host1x_hw_cdma_flush(struct host1x *host,
260 host->cdma_op->flush(cdma);
263 static inline int host1x_hw_cdma_timeout_init(struct host1x *host,
267 return host->cdma_op->timeout_init(cdma, syncpt);
270 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host,
273 host->cdma_op->timeout_destroy(cdma);
276 static inline void host1x_hw_cdma_freeze(struct host1x *host,
279 host->cdma_op->freeze(cdma);
282 static inline void host1x_hw_cdma_resume(struct host1x *host,
285 host->cdma_op->resume(cdma, getptr);
288 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host,
294 host->cdma_op->timeout_cpu_incr(cdma, getptr, syncpt_incrs, syncval,
298 static inline void host1x_hw_pushbuffer_init(struct host1x *host,
301 host->cdma_pb_op->init(pb);
304 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de)
306 if (host->debug_op && host->debug_op->debug_init)
307 host->debug_op->debug_init(de);
310 static inline void host1x_hw_show_channel_cdma(struct host1x *host,
314 host->debug_op->show_channel_cdma(host, channel, o);
317 static inline void host1x_hw_show_channel_fifo(struct host1x *host,
321 host->debug_op->show_channel_fifo(host, channel, o);
324 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o)
326 host->debug_op->show_mlocks(host, o);