#include <linux/slab.h>
#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include "../cdma.h"
#include "../channel.h"
#include "../dev.h"
#include "../debug.h"
static void push_buffer_init(struct push_buffer *pb)
{ … }
static void cdma_timeout_cpu_incr(struct host1x_cdma *cdma, u32 getptr,
u32 syncpt_incrs, u32 syncval, u32 nr_slots)
{ … }
static void cdma_start(struct host1x_cdma *cdma)
{ … }
static void cdma_timeout_restart(struct host1x_cdma *cdma, u32 getptr)
{ … }
static void cdma_flush(struct host1x_cdma *cdma)
{ … }
static void cdma_stop(struct host1x_cdma *cdma)
{ … }
static void cdma_hw_cmdproc_stop(struct host1x *host, struct host1x_channel *ch,
bool stop)
{ … }
static void cdma_hw_teardown(struct host1x *host, struct host1x_channel *ch)
{ … }
static void cdma_freeze(struct host1x_cdma *cdma)
{ … }
static void cdma_resume(struct host1x_cdma *cdma, u32 getptr)
{ … }
static void timeout_release_mlock(struct host1x_cdma *cdma)
{ … }
static void cdma_timeout_handler(struct work_struct *work)
{ … }
static int cdma_timeout_init(struct host1x_cdma *cdma)
{ … }
static void cdma_timeout_destroy(struct host1x_cdma *cdma)
{ … }
static const struct host1x_cdma_ops host1x_cdma_ops = …;
static const struct host1x_pushbuffer_ops host1x_pushbuffer_ops = …;