Lines Matching defs:host1x

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);
98 unsigned int nb_channels; /* host1x: number of channels supported */
99 unsigned int nb_pts; /* host1x: number of syncpoints supported */
100 unsigned int nb_bases; /* host1x: number of syncpoint bases supported */
101 unsigned int nb_mlocks; /* host1x: number of mlocks supported */
102 int (*init)(struct host1x *host1x); /* initialize per SoC ops */
121 * host1x during suspend/resume. To allow this, we need to leave
122 * host1x not in reset.
127 struct host1x {
175 void host1x_common_writel(struct host1x *host1x, u32 v, u32 r);
176 void host1x_hypervisor_writel(struct host1x *host1x, u32 r, u32 v);
177 u32 host1x_hypervisor_readl(struct host1x *host1x, u32 r);
178 void host1x_sync_writel(struct host1x *host1x, u32 r, u32 v);
179 u32 host1x_sync_readl(struct host1x *host1x, u32 r);
183 static inline void host1x_hw_syncpt_restore(struct host1x *host,
189 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host,
195 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host,
201 static inline u32 host1x_hw_syncpt_load(struct host1x *host,
207 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host,
214 struct host1x *host, struct host1x_syncpt *sp,
220 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host)
225 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm)
230 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host,
237 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host,
243 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host,
249 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host)
254 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host)
259 static inline int host1x_hw_channel_init(struct host1x *host,
266 static inline int host1x_hw_channel_submit(struct host1x *host,
272 static inline void host1x_hw_cdma_start(struct host1x *host,
278 static inline void host1x_hw_cdma_stop(struct host1x *host,
284 static inline void host1x_hw_cdma_flush(struct host1x *host,
290 static inline int host1x_hw_cdma_timeout_init(struct host1x *host,
296 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host,
302 static inline void host1x_hw_cdma_freeze(struct host1x *host,
308 static inline void host1x_hw_cdma_resume(struct host1x *host,
314 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host,
324 static inline void host1x_hw_pushbuffer_init(struct host1x *host,
330 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de)
336 static inline void host1x_hw_show_channel_cdma(struct host1x *host,
343 static inline void host1x_hw_show_channel_fifo(struct host1x *host,
350 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o)