/linux-master/drivers/gpu/host1x/ |
H A D | bus.h | 11 struct host1x; 15 int host1x_register(struct host1x *host1x); 16 int host1x_unregister(struct host1x *host1x);
|
H A D | intr.h | 3 * Tegra host1x Interrupt Management 11 struct host1x; 14 /* Initialize host1x sync point interrupt */ 15 int host1x_intr_init(struct host1x *host); 17 /* Deinitialize host1x sync point interrupt */ 18 void host1x_intr_deinit(struct host1x *host); 20 /* Enable host1x sync point interrupt */ 21 void host1x_intr_start(struct host1x *host); 23 /* Disable host1x sync point interrupt */ 24 void host1x_intr_stop(struct host1x *hos [all...] |
H A D | context.h | 14 struct host1x; 25 int host1x_memory_context_list_init(struct host1x *host1x); 28 static inline int host1x_memory_context_list_init(struct host1x *host1x) argument
|
H A D | debug.h | 3 * Tegra host1x Debug 13 struct host1x; 41 void host1x_debug_init(struct host1x *host1x); 42 void host1x_debug_deinit(struct host1x *host1x); 43 void host1x_debug_dump(struct host1x *host1x); 44 void host1x_debug_dump_syncpts(struct host1x *host1x); [all...] |
H A D | dev.h | 32 int (*init)(struct host1x_channel *channel, struct host1x *host, 55 void (*show_channel_cdma)(struct host1x *host, 58 void (*show_channel_fifo)(struct host1x *host, 61 void (*show_mlocks)(struct host1x *host, struct output *output); 73 void (*enable_protection)(struct host1x *host); 77 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 *hos 127 struct host1x { struct [all...] |
H A D | syncpt.h | 3 * Tegra host1x Syncpoints 12 #include <linux/host1x.h> 20 struct host1x; 39 struct host1x *host; 54 int host1x_syncpt_init(struct host1x *host); 57 void host1x_syncpt_deinit(struct host1x *host); 60 unsigned int host1x_syncpt_nb_pts(struct host1x *host); 63 unsigned int host1x_syncpt_nb_bases(struct host1x *host); 66 unsigned int host1x_syncpt_nb_mlocks(struct host1x *host); 108 /* Save host1x syn [all...] |
H A D | Makefile | 2 host1x-y = \ 21 host1x-$(CONFIG_IOMMU_API) += \ 24 obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
|
H A D | channel.h | 3 * Tegra host1x Channel 17 struct host1x; 41 struct host1x_channel *host1x_channel_get_index(struct host1x *host, 43 void host1x_channel_stop_all(struct host1x *host);
|
H A D | debug.c | 54 struct host1x *m = dev_get_drvdata(ch->dev->parent); 78 static void show_syncpts(struct host1x *m, struct output *o, bool show_all) 126 static void show_all(struct host1x *m, struct output *o, bool show_fifo) 170 static void host1x_debugfs_init(struct host1x *host1x) argument 172 struct dentry *de = debugfs_create_dir("tegra-host1x", NULL); 175 host1x->debugfs = de; 177 debugfs_create_file("status", S_IRUGO, de, host1x, &host1x_debug_fops); 178 debugfs_create_file("status_all", S_IRUGO, de, host1x, 184 host1x_hw_debug_init(host1x, d 194 host1x_debugfs_exit(struct host1x *host1x) argument 199 host1x_debug_init(struct host1x *host1x) argument 205 host1x_debug_deinit(struct host1x *host1x) argument 211 host1x_debug_dump(struct host1x *host1x) argument 220 host1x_debug_dump_syncpts(struct host1x *host1x) argument [all...] |
H A D | context.c | 21 int host1x_memory_context_list_init(struct host1x *host1x) argument 23 struct host1x_memory_context_list *cdl = &host1x->context_list; 24 struct device_node *node = host1x->dev->of_node; 45 ctx->host = host1x; 56 dev_set_name(&ctx->dev, "host1x-ctx.%d", i); 58 ctx->dev.parent = host1x->dev; 65 dev_err(host1x->dev, "could not add context device %d: %d\n", i, err); 72 dev_err(host1x->dev, "IOMMU configuration failed for context device %d: %d\n", 80 dev_err(host1x 118 host1x_memory_context_alloc(struct host1x *host1x, struct device *dev, struct pid *pid) argument [all...] |
H A D | cdma.c | 3 * Tegra host1x Command DMA 12 #include <linux/host1x.h> 17 #include <trace/events/host1x.h> 51 struct host1x *host1x = cdma_to_host1x(cdma); local 56 if (host1x->domain) { 57 iommu_unmap(host1x->domain, pb->dma, pb->alloc_size); 58 free_iova(&host1x->iova, iova_pfn(&host1x->iova, pb->dma)); 61 dma_free_wc(host1x 73 struct host1x *host1x = cdma_to_host1x(cdma); local 235 host1x_cdma_wait_pushbuffer_space(struct host1x *host1x, struct host1x_cdma *cdma, unsigned int needed) argument 366 struct host1x *host1x = cdma_to_host1x(cdma); local 532 struct host1x *host1x = cdma_to_host1x(cdma); local 550 struct host1x *host1x = cdma_to_host1x(cdma); local 594 struct host1x *host1x = cdma_to_host1x(cdma); local 626 struct host1x *host1x = cdma_to_host1x(cdma); local 668 struct host1x *host1x = cdma_to_host1x(cdma); local [all...] |
H A D | intr.c | 3 * Tegra host1x Interrupt Management 31 static void host1x_intr_update_hw_state(struct host1x *host, struct host1x_syncpt *sp) 45 void host1x_intr_add_fence_locked(struct host1x *host, struct host1x_syncpt_fence *fence) 55 bool host1x_intr_remove_fence(struct host1x *host, struct host1x_syncpt_fence *fence) 75 void host1x_intr_handle_interrupt(struct host1x *host, unsigned int id) 101 int host1x_intr_init(struct host1x *host) 117 void host1x_intr_deinit(struct host1x *host) 121 void host1x_intr_start(struct host1x *host) 135 void host1x_intr_stop(struct host1x *host)
|
H A D | bus.c | 9 #include <linux/host1x.h> 35 * @device: host1x device to add the subdevice to 36 * @driver: host1x driver containing the subdevices 87 * @device: host1x logical device 88 * @driver: host1x driver 184 * host1x_device_init() - initialize a host1x logical device 185 * @device: host1x logical device 187 * The driver for the host1x logical device can call this during execution of 246 * host1x_device_exit() - uninitialize host1x logical device 247 * @device: host1x logica 292 host1x_add_client(struct host1x *host1x, struct host1x_client *client) argument 314 host1x_del_client(struct host1x *host1x, struct host1x_client *client) argument 426 host1x_device_add(struct host1x *host1x, struct host1x_driver *driver) argument 488 host1x_device_del(struct host1x *host1x, struct host1x_device *device) argument 499 host1x_attach_driver(struct host1x *host1x, struct host1x_driver *driver) argument 521 host1x_detach_driver(struct host1x *host1x, struct host1x_driver *driver) argument 537 struct host1x *host1x = s->private; local 573 host1x_register(struct host1x *host1x) argument 601 host1x_unregister(struct host1x *host1x) argument 663 struct host1x *host1x; local 697 struct host1x *host1x; local 751 struct host1x *host1x; local 784 struct host1x *host1x; local [all...] |
/linux-master/drivers/gpu/host1x/hw/ |
H A D | host1x01.h | 10 struct host1x; 12 int host1x01_init(struct host1x *host);
|
H A D | host1x02.h | 11 struct host1x; 13 int host1x02_init(struct host1x *host);
|
H A D | host1x06.h | 11 struct host1x; 13 int host1x06_init(struct host1x *host);
|
H A D | host1x04.h | 11 struct host1x; 13 int host1x04_init(struct host1x *host);
|
H A D | host1x05.h | 11 struct host1x; 13 int host1x05_init(struct host1x *host);
|
H A D | host1x07.h | 11 struct host1x; 13 int host1x07_init(struct host1x *host);
|
H A D | host1x08.h | 11 struct host1x; 13 int host1x08_init(struct host1x *host);
|
H A D | syncpt_hw.c | 3 * Tegra host1x Syncpoints 19 struct host1x *host = sp->host; 30 struct host1x *host = sp->host; 43 struct host1x *host = sp->host; 55 struct host1x *host = sp->host; 78 struct host1x *host = sp->host; 107 struct host1x *host = sp->host; 117 * @host: host1x instance 122 static void syncpt_enable_protection(struct host1x *host)
|
H A D | intr_hw.c | 3 * Tegra host1x Interrupt Management 17 struct host1x *host; 24 struct host1x *host = irq_data->host; 45 static void host1x_intr_disable_all_syncpt_intrs(struct host1x *host) 57 static void intr_hw_init(struct host1x *host, u32 cpm) 91 host1x_intr_init_host_sync(struct host1x *host, u32 cpm) 118 static void host1x_intr_set_syncpt_threshold(struct host1x *host, 125 static void host1x_intr_enable_syncpt_intr(struct host1x *host, 132 static void host1x_intr_disable_syncpt_intr(struct host1x *host,
|
H A D | cdma_hw.c | 3 * Tegra host1x Command DMA 91 struct host1x *host1x = cdma_to_host1x(cdma); local 123 dev_dbg(host1x->dev, 170 static void cdma_hw_cmdproc_stop(struct host1x *host, struct host1x_channel *ch, 185 static void cdma_hw_teardown(struct host1x *host, struct host1x_channel *ch) 200 struct host1x *host = cdma_to_host1x(cdma); 228 struct host1x *host1x = cdma_to_host1x(cdma); local 231 dev_dbg(host1x 253 struct host1x *host1x = cdma_to_host1x(cdma); local 281 struct host1x *host1x; local [all...] |
H A D | host1x01.c | 23 int host1x01_init(struct host1x *host)
|
/linux-master/drivers/gpu/ |
H A D | Makefile | 2 # drm/tegra depends on host1x, so if both drivers are built-in care must be 5 obj-y += host1x/ drm/ vga/
|