#include <linux/slab.h>
#include <linux/module.h>
#include "channel.h"
#include "dev.h"
#include "job.h"
int host1x_channel_list_init(struct host1x_channel_list *chlist,
unsigned int num_channels)
{ … }
void host1x_channel_list_free(struct host1x_channel_list *chlist)
{ … }
int host1x_job_submit(struct host1x_job *job)
{ … }
EXPORT_SYMBOL(…);
struct host1x_channel *host1x_channel_get(struct host1x_channel *channel)
{ … }
EXPORT_SYMBOL(…);
struct host1x_channel *host1x_channel_get_index(struct host1x *host,
unsigned int index)
{ … }
void host1x_channel_stop(struct host1x_channel *channel)
{ … }
EXPORT_SYMBOL(…);
void host1x_channel_stop_all(struct host1x *host)
{ … }
static void release_channel(struct kref *kref)
{ … }
void host1x_channel_put(struct host1x_channel *channel)
{ … }
EXPORT_SYMBOL(…);
static struct host1x_channel *acquire_unused_channel(struct host1x *host)
{ … }
struct host1x_channel *host1x_channel_request(struct host1x_client *client)
{ … }
EXPORT_SYMBOL(…);