Lines Matching full:host1x

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);
100 unsigned int nb_channels; /* host1x: number of channels supported */
101 unsigned int nb_pts; /* host1x: number of syncpoints supported */
102 unsigned int nb_bases; /* host1x: number of syncpoint bases supported */
103 unsigned int nb_mlocks; /* host1x: number of mlocks supported */
104 int (*init)(struct host1x *host1x); /* initialize per SoC ops */
123 * host1x during suspend/resume. To allow this, we need to leave
124 * host1x not in reset.
129 struct host1x { struct
177 void host1x_common_writel(struct host1x *host1x, u32 v, u32 r); argument
178 void host1x_hypervisor_writel(struct host1x *host1x, u32 v, u32 r);
179 u32 host1x_hypervisor_readl(struct host1x *host1x, u32 r);
180 void host1x_sync_writel(struct host1x *host1x, u32 v, u32 r);
181 u32 host1x_sync_readl(struct host1x *host1x, u32 r);
185 static inline void host1x_hw_syncpt_restore(struct host1x *host, in host1x_hw_syncpt_restore()
191 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host, in host1x_hw_syncpt_restore_wait_base()
197 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host, in host1x_hw_syncpt_load_wait_base()
203 static inline u32 host1x_hw_syncpt_load(struct host1x *host, in host1x_hw_syncpt_load()
209 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host, in host1x_hw_syncpt_cpu_incr()
216 struct host1x *host, struct host1x_syncpt *sp, in host1x_hw_syncpt_assign_to_channel()
222 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host) in host1x_hw_syncpt_enable_protection()
227 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm) in host1x_hw_intr_init_host_sync()
232 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host, in host1x_hw_intr_set_syncpt_threshold()
239 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host, in host1x_hw_intr_enable_syncpt_intr()
245 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host, in host1x_hw_intr_disable_syncpt_intr()
251 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host) in host1x_hw_intr_disable_all_syncpt_intrs()
256 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host) in host1x_hw_intr_free_syncpt_irq()
261 static inline int host1x_hw_channel_init(struct host1x *host, in host1x_hw_channel_init()
268 static inline int host1x_hw_channel_submit(struct host1x *host, in host1x_hw_channel_submit()
274 static inline void host1x_hw_cdma_start(struct host1x *host, in host1x_hw_cdma_start()
280 static inline void host1x_hw_cdma_stop(struct host1x *host, in host1x_hw_cdma_stop()
286 static inline void host1x_hw_cdma_flush(struct host1x *host, in host1x_hw_cdma_flush()
292 static inline int host1x_hw_cdma_timeout_init(struct host1x *host, in host1x_hw_cdma_timeout_init()
298 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host, in host1x_hw_cdma_timeout_destroy()
304 static inline void host1x_hw_cdma_freeze(struct host1x *host, in host1x_hw_cdma_freeze()
310 static inline void host1x_hw_cdma_resume(struct host1x *host, in host1x_hw_cdma_resume()
316 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, in host1x_hw_cdma_timeout_cpu_incr()
326 static inline void host1x_hw_pushbuffer_init(struct host1x *host, in host1x_hw_pushbuffer_init()
332 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de) in host1x_hw_debug_init()
338 static inline void host1x_hw_show_channel_cdma(struct host1x *host, in host1x_hw_show_channel_cdma()
345 static inline void host1x_hw_show_channel_fifo(struct host1x *host, in host1x_hw_show_channel_fifo()
352 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o) in host1x_hw_show_mlocks()