Lines Matching refs:host1x
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);
97 int (*init)(struct host1x *host1x); /* initialize per SoC ops */
105 struct host1x { struct
145 void host1x_hypervisor_writel(struct host1x *host1x, u32 r, u32 v); argument
146 u32 host1x_hypervisor_readl(struct host1x *host1x, u32 r);
147 void host1x_sync_writel(struct host1x *host1x, u32 r, u32 v);
148 u32 host1x_sync_readl(struct host1x *host1x, u32 r);
152 static inline void host1x_hw_syncpt_restore(struct host1x *host, in host1x_hw_syncpt_restore()
158 static inline void host1x_hw_syncpt_restore_wait_base(struct host1x *host, in host1x_hw_syncpt_restore_wait_base()
164 static inline void host1x_hw_syncpt_load_wait_base(struct host1x *host, in host1x_hw_syncpt_load_wait_base()
170 static inline u32 host1x_hw_syncpt_load(struct host1x *host, in host1x_hw_syncpt_load()
176 static inline int host1x_hw_syncpt_cpu_incr(struct host1x *host, in host1x_hw_syncpt_cpu_incr()
183 struct host1x *host, struct host1x_syncpt *sp, in host1x_hw_syncpt_assign_to_channel()
189 static inline void host1x_hw_syncpt_enable_protection(struct host1x *host) in host1x_hw_syncpt_enable_protection()
194 static inline int host1x_hw_intr_init_host_sync(struct host1x *host, u32 cpm, in host1x_hw_intr_init_host_sync()
200 static inline void host1x_hw_intr_set_syncpt_threshold(struct host1x *host, in host1x_hw_intr_set_syncpt_threshold()
207 static inline void host1x_hw_intr_enable_syncpt_intr(struct host1x *host, in host1x_hw_intr_enable_syncpt_intr()
213 static inline void host1x_hw_intr_disable_syncpt_intr(struct host1x *host, in host1x_hw_intr_disable_syncpt_intr()
219 static inline void host1x_hw_intr_disable_all_syncpt_intrs(struct host1x *host) in host1x_hw_intr_disable_all_syncpt_intrs()
224 static inline int host1x_hw_intr_free_syncpt_irq(struct host1x *host) in host1x_hw_intr_free_syncpt_irq()
229 static inline int host1x_hw_channel_init(struct host1x *host, in host1x_hw_channel_init()
236 static inline int host1x_hw_channel_submit(struct host1x *host, in host1x_hw_channel_submit()
242 static inline void host1x_hw_cdma_start(struct host1x *host, in host1x_hw_cdma_start()
248 static inline void host1x_hw_cdma_stop(struct host1x *host, in host1x_hw_cdma_stop()
254 static inline void host1x_hw_cdma_flush(struct host1x *host, in host1x_hw_cdma_flush()
260 static inline int host1x_hw_cdma_timeout_init(struct host1x *host, in host1x_hw_cdma_timeout_init()
267 static inline void host1x_hw_cdma_timeout_destroy(struct host1x *host, in host1x_hw_cdma_timeout_destroy()
273 static inline void host1x_hw_cdma_freeze(struct host1x *host, in host1x_hw_cdma_freeze()
279 static inline void host1x_hw_cdma_resume(struct host1x *host, in host1x_hw_cdma_resume()
285 static inline void host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, in host1x_hw_cdma_timeout_cpu_incr()
295 static inline void host1x_hw_pushbuffer_init(struct host1x *host, in host1x_hw_pushbuffer_init()
301 static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de) in host1x_hw_debug_init()
307 static inline void host1x_hw_show_channel_cdma(struct host1x *host, in host1x_hw_show_channel_cdma()
314 static inline void host1x_hw_show_channel_fifo(struct host1x *host, in host1x_hw_show_channel_fifo()
321 static inline void host1x_hw_show_mlocks(struct host1x *host, struct output *o) in host1x_hw_show_mlocks()