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