예제 #1
0
static struct nvhost_channel *t30_alloc_nvhost_channel(
		struct nvhost_device *dev)
{
	return nvhost_alloc_channel_internal(dev->index,
		nvhost_get_host(dev)->info.nb_channels,
		&t30_num_alloc_channels);
}
예제 #2
0
static struct nvhost_channel *t114_alloc_nvhost_channel(
	struct platform_device *dev)
{
	struct nvhost_device_data *pdata = platform_get_drvdata(dev);
	return nvhost_alloc_channel_internal(pdata->index,
		nvhost_get_host(dev)->info.nb_channels,
		&t114_num_alloc_channels);
}
예제 #3
0
static struct nvhost_channel *t30_alloc_nvhost_channel(int chindex)
{
	return nvhost_alloc_channel_internal(chindex,
		T30_NVHOST_NUMCHANNELS, &t30_num_alloc_channels);
}