#include <linux/device.h>
#include <linux/platform_device.h>
struct host1x_syncpt_base;
struct host1x_channel_ops {
int (*init)(struct host1x_channel *channel, struct host1x *host,
int (*submit)(struct host1x_job *job);
void (*start)(struct host1x_cdma *cdma);
void (*stop)(struct host1x_cdma *cdma);
void (*flush)(struct host1x_cdma *cdma);
int (*timeout_init)(struct host1x_cdma *cdma, unsigned int syncpt);
void (*timeout_destroy)(struct host1x_cdma *cdma);
void (*freeze)(struct host1x_cdma *cdma);
void (*resume)(struct host1x_cdma *cdma, u32 getptr);
void (*timeout_cpu_incr)(struct host1x_cdma *cdma, u32 getptr,
u32 syncpt_incrs, u32 syncval, u32 nr_slots);
struct host1x_pushbuffer_ops {
void (*init)(struct push_buffer *pb);
struct host1x_debug_ops {
void (*debug_init)(struct dentry *de);
void (*show_channel_cdma)(struct host1x *host,
struct host1x_channel *ch,
void (*show_channel_fifo)(struct host1x *host,
struct host1x_channel *ch,
void (*show_mlocks)(struct host1x *host, struct output *output);