/linux-4.4.14/drivers/gpu/host1x/ |
D | dev.h | 39 int (*init)(struct host1x_channel *channel, struct host1x *host, 62 void (*show_channel_cdma)(struct host1x *host, 65 void (*show_channel_fifo)(struct host1x *host, 68 void (*show_mlocks)(struct host1x *host, struct output *output); 82 int (*init_host_sync)(struct host1x *host, u32 cpm, 85 struct host1x *host, u32 id, u32 thresh); 86 void (*enable_syncpt_intr)(struct host1x *host, u32 id); 87 void (*disable_syncpt_intr)(struct host1x *host, u32 id); 88 void (*disable_all_syncpt_intrs)(struct host1x *host); 89 int (*free_syncpt_irq)(struct host1x *host); [all …]
|
D | debug.c | 47 struct host1x *m = dev_get_drvdata(ch->dev->parent); in show_channels() 63 static void show_syncpts(struct host1x *m, struct output *o) in show_syncpts() 87 static void show_all(struct host1x *m, struct output *o) in show_all() 99 static void show_all_no_fifo(struct host1x *host1x, struct output *o) in show_all_no_fifo() argument 103 host1x_hw_show_mlocks(host1x, o); in show_all_no_fifo() 104 show_syncpts(host1x, o); in show_all_no_fifo() 107 host1x_for_each_channel(host1x, ch) in show_all_no_fifo() 155 static void host1x_debugfs_init(struct host1x *host1x) in host1x_debugfs_init() argument 163 host1x->debugfs = de; in host1x_debugfs_init() 165 debugfs_create_file("status", S_IRUGO, de, host1x, &host1x_debug_fops); in host1x_debugfs_init() [all …]
|
D | bus.c | 218 static int host1x_add_client(struct host1x *host1x, in host1x_add_client() argument 224 mutex_lock(&host1x->devices_lock); in host1x_add_client() 226 list_for_each_entry(device, &host1x->devices, list) { in host1x_add_client() 230 mutex_unlock(&host1x->devices_lock); in host1x_add_client() 236 mutex_unlock(&host1x->devices_lock); in host1x_add_client() 240 static int host1x_del_client(struct host1x *host1x, in host1x_del_client() argument 246 mutex_lock(&host1x->devices_lock); in host1x_del_client() 248 list_for_each_entry_safe(device, dt, &host1x->devices, list) { in host1x_del_client() 252 mutex_unlock(&host1x->devices_lock); in host1x_del_client() 258 mutex_unlock(&host1x->devices_lock); in host1x_del_client() [all …]
|
D | debug.h | 24 struct host1x; 46 void host1x_debug_init(struct host1x *host1x); 47 void host1x_debug_deinit(struct host1x *host1x); 48 void host1x_debug_dump(struct host1x *host1x); 49 void host1x_debug_dump_syncpts(struct host1x *host1x);
|
D | cdma.c | 52 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_destroy() local 55 dma_free_writecombine(host1x->dev, pb->size_bytes + 4, in host1x_pushbuffer_destroy() 68 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_init() local 79 pb->mapped = dma_alloc_writecombine(host1x->dev, pb->size_bytes + 4, in host1x_pushbuffer_init() 84 host1x_hw_pushbuffer_init(host1x, pb); in host1x_pushbuffer_init() 178 struct host1x *host = cdma_to_host1x(cdma); in cdma_start_timer_locked() 217 struct host1x *host1x = cdma_to_host1x(cdma); in update_cdma_locked() local 230 host1x_syncpt_get(host1x, job->syncpt_id); in update_cdma_locked() 276 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_cdma_update_sync_queue() local 338 host1x_hw_cdma_timeout_cpu_incr(host1x, cdma, job->first_get, in host1x_cdma_update_sync_queue() [all …]
|
D | syncpt.h | 29 struct host1x; 46 struct host1x *host; 55 int host1x_syncpt_init(struct host1x *host); 58 void host1x_syncpt_deinit(struct host1x *host); 61 int host1x_syncpt_nb_pts(struct host1x *host); 64 int host1x_syncpt_nb_bases(struct host1x *host); 67 int host1x_syncpt_nb_mlocks(struct host1x *host); 110 void host1x_syncpt_save(struct host1x *host); 113 void host1x_syncpt_restore(struct host1x *host);
|
D | intr.h | 25 struct host1x; 78 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, 87 void host1x_intr_put_ref(struct host1x *host, u32 id, void *ref); 90 int host1x_intr_init(struct host1x *host, unsigned int irq_sync); 93 void host1x_intr_deinit(struct host1x *host); 96 void host1x_intr_start(struct host1x *host); 99 void host1x_intr_stop(struct host1x *host);
|
D | bus.h | 22 struct host1x; 26 int host1x_register(struct host1x *host1x); 27 int host1x_unregister(struct host1x *host1x);
|
D | dev.c | 39 void host1x_sync_writel(struct host1x *host1x, u32 v, u32 r) in host1x_sync_writel() argument 41 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_writel() 46 u32 host1x_sync_readl(struct host1x *host1x, u32 r) in host1x_sync_readl() argument 48 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_readl() 102 struct host1x *host; in host1x_probe() 196 struct host1x *host = platform_get_drvdata(pdev); in host1x_remove()
|
D | Kconfig | 2 tristate "NVIDIA Tegra host1x driver" 5 Driver for the NVIDIA Tegra host1x hardware. 7 The Tegra host1x module is the DMA engine for register access to 9 by host1x are referred to as clients. host1x includes some other
|
D | syncpt.c | 34 host1x_syncpt_base_request(struct host1x *host) in host1x_syncpt_base_request() 56 static struct host1x_syncpt *host1x_syncpt_alloc(struct host1x *host, in host1x_syncpt_alloc() 110 void host1x_syncpt_restore(struct host1x *host) in host1x_syncpt_restore() 126 void host1x_syncpt_save(struct host1x *host) in host1x_syncpt_save() 340 int host1x_syncpt_init(struct host1x *host) in host1x_syncpt_init() 380 struct host1x *host = dev_get_drvdata(dev->parent); in host1x_syncpt_request() 399 void host1x_syncpt_deinit(struct host1x *host) in host1x_syncpt_deinit() 434 int host1x_syncpt_nb_pts(struct host1x *host) in host1x_syncpt_nb_pts() 439 int host1x_syncpt_nb_bases(struct host1x *host) in host1x_syncpt_nb_bases() 444 int host1x_syncpt_nb_mlocks(struct host1x *host) in host1x_syncpt_nb_mlocks() [all …]
|
D | channel.c | 27 int host1x_channel_list_init(struct host1x *host) in host1x_channel_list_init() 42 struct host1x *host = dev_get_drvdata(job->channel->dev->parent); in host1x_job_submit() 71 struct host1x *host = dev_get_drvdata(channel->dev->parent); in host1x_channel_put() 85 struct host1x *host = dev_get_drvdata(dev->parent); in host1x_channel_request() 125 struct host1x *host = dev_get_drvdata(channel->dev->parent); in host1x_channel_free()
|
D | intr.c | 99 static void reset_threshold_interrupt(struct host1x *host, in reset_threshold_interrupt() 164 static int process_wait_list(struct host1x *host, in process_wait_list() 206 struct host1x *host = syncpt->host; in syncpt_thresh_work() 212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, in host1x_intr_add_action() 257 void host1x_intr_put_ref(struct host1x *host, u32 id, void *ref) in host1x_intr_put_ref() 273 int host1x_intr_init(struct host1x *host, unsigned int irq_sync) in host1x_intr_init() 299 void host1x_intr_deinit(struct host1x *host) in host1x_intr_deinit() 305 void host1x_intr_start(struct host1x *host) in host1x_intr_start() 320 void host1x_intr_stop(struct host1x *host) in host1x_intr_stop()
|
D | channel.h | 26 struct host1x; 41 int host1x_channel_list_init(struct host1x *host);
|
D | Makefile | 1 host1x-y = \ 15 obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
|
D | job.c | 139 static int do_waitchks(struct host1x_job *job, struct host1x *host, in do_waitchks() 512 struct host1x *host = dev_get_drvdata(dev->parent); in host1x_job_pin()
|
/linux-4.4.14/drivers/gpu/host1x/hw/ |
D | cdma_hw.c | 42 struct host1x *host1x = cdma_to_host1x(cdma); in cdma_timeout_cpu_incr() local 57 dev_dbg(host1x->dev, "%s: NOP at %pad+%#x\n", __func__, in cdma_timeout_cpu_incr() 105 struct host1x *host1x = cdma_to_host1x(cdma); in cdma_timeout_restart() local 129 dev_dbg(host1x->dev, in cdma_timeout_restart() 180 struct host1x *host = cdma_to_host1x(cdma); in cdma_freeze() 211 struct host1x *host1x = cdma_to_host1x(cdma); in cdma_resume() local 215 dev_dbg(host1x->dev, in cdma_resume() 219 cmdproc_stop = host1x_sync_readl(host1x, HOST1X_SYNC_CMDPROC_STOP); in cdma_resume() 221 host1x_sync_writel(host1x, cmdproc_stop, HOST1X_SYNC_CMDPROC_STOP); in cdma_resume() 235 struct host1x *host1x; in cdma_timeout_handler() local [all …]
|
D | intr_hw.c | 34 struct host1x *host = syncpt->host; in host1x_intr_syncpt_handle() 46 struct host1x *host = dev_id; in syncpt_thresh_isr() 63 static void _host1x_intr_disable_all_syncpt_intrs(struct host1x *host) in _host1x_intr_disable_all_syncpt_intrs() 75 static int _host1x_intr_init_host_sync(struct host1x *host, u32 cpm, in _host1x_intr_init_host_sync() 108 static void _host1x_intr_set_syncpt_threshold(struct host1x *host, in _host1x_intr_set_syncpt_threshold() 114 static void _host1x_intr_enable_syncpt_intr(struct host1x *host, u32 id) in _host1x_intr_enable_syncpt_intr() 120 static void _host1x_intr_disable_syncpt_intr(struct host1x *host, u32 id) in _host1x_intr_disable_syncpt_intr() 128 static int _host1x_free_syncpt_irq(struct host1x *host) in _host1x_free_syncpt_irq()
|
D | syncpt_hw.c | 29 struct host1x *host = sp->host; in syncpt_restore() 39 struct host1x *host = sp->host; in syncpt_restore_wait_base() 49 struct host1x *host = sp->host; in syncpt_read_wait_base() 59 struct host1x *host = sp->host; in syncpt_load() 82 struct host1x *host = sp->host; in syncpt_cpu_incr()
|
D | host1x01.h | 21 struct host1x; 23 int host1x01_init(struct host1x *host);
|
D | host1x04.h | 22 struct host1x; 24 int host1x04_init(struct host1x *host);
|
D | host1x02.h | 22 struct host1x; 24 int host1x02_init(struct host1x *host);
|
D | channel_hw.c | 76 struct host1x *host = dev_get_drvdata(job->channel->dev->parent); in synchronize_syncpt_base() 99 struct host1x *host = dev_get_drvdata(ch->dev->parent); in channel_submit() 178 static int host1x_channel_init(struct host1x_channel *ch, struct host1x *dev, in host1x_channel_init()
|
D | host1x04.c | 32 int host1x04_init(struct host1x *host) in host1x04_init()
|
D | host1x02.c | 32 int host1x02_init(struct host1x *host) in host1x02_init()
|
D | host1x01.c | 32 int host1x01_init(struct host1x *host) in host1x01_init()
|
D | debug_hw.c | 178 static void host1x_debug_show_channel_cdma(struct host1x *host, in host1x_debug_show_channel_cdma() 232 static void host1x_debug_show_channel_fifo(struct host1x *host, in host1x_debug_show_channel_fifo() 291 static void host1x_debug_show_mlocks(struct host1x *host, struct output *o) in host1x_debug_show_mlocks()
|
/linux-4.4.14/include/trace/events/ |
D | host1x.h | 24 #define TRACE_SYSTEM host1x 34 DECLARE_EVENT_CLASS(host1x, 42 DEFINE_EVENT(host1x, host1x_channel_open, 47 DEFINE_EVENT(host1x, host1x_channel_release, 52 DEFINE_EVENT(host1x, host1x_cdma_begin, 57 DEFINE_EVENT(host1x, host1x_cdma_end,
|
/linux-4.4.14/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-host1x.txt | 1 NVIDIA Tegra host1x 4 - compatible: "nvidia,tegra<chip>-host1x" 8 in the host1x address space. Should be 1. 10 range in the host1x address space. Should be 1. 11 - ranges: The mapping of the host1x address space to the CPU address space. 17 - host1x 19 The host1x top-level node defines a number of children, each representing one 20 of the following host1x client modules: 250 host1x { 251 compatible = "nvidia,tegra20-host1x", "simple-bus"; [all …]
|
D | nvidia,tegra114-mipi.txt | 29 host1x@50000000 {
|
/linux-4.4.14/drivers/gpu/ |
D | Makefile | 4 obj-$(CONFIG_TEGRA_HOST1X) += host1x/
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | drm.c | 484 struct host1x *host = dev_get_drvdata(drm->dev->parent); in tegra_syncpt_read() 499 struct host1x *host1x = dev_get_drvdata(drm->dev->parent); in tegra_syncpt_incr() local 503 sp = host1x_syncpt_get(host1x, args->id); in tegra_syncpt_incr() 513 struct host1x *host1x = dev_get_drvdata(drm->dev->parent); in tegra_syncpt_wait() local 517 sp = host1x_syncpt_get(host1x, args->id); in tegra_syncpt_wait()
|
/linux-4.4.14/drivers/video/ |
D | Kconfig | 22 source "drivers/gpu/host1x/Kconfig"
|
/linux-4.4.14/include/linux/ |
D | host1x.h | 132 struct host1x; 134 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | tegra20-iris-512.dts | 14 host1x@50000000 {
|
D | tegra20-plutux.dts | 9 host1x@50000000 {
|
D | tegra20-tec.dts | 9 host1x@50000000 {
|
D | tegra20-medcom-wide.dts | 17 host1x@50000000 {
|
D | tegra30-colibri-eval-v3.dts | 18 host1x@50000000 {
|
D | tegra30-apalis-eval.dts | 36 host1x@50000000 {
|
D | tegra114.dtsi | 13 host1x@50000000 { 14 compatible = "nvidia,tegra114-host1x", "simple-bus"; 20 reset-names = "host1x";
|
D | tegra20.dtsi | 12 host1x@50000000 { 13 compatible = "nvidia,tegra20-host1x", "simple-bus"; 19 reset-names = "host1x";
|
D | tegra30.dtsi | 90 host1x@50000000 { 91 compatible = "nvidia,tegra30-host1x", "simple-bus"; 97 reset-names = "host1x";
|
D | tegra114-tn7.dts | 35 host1x@50000000 {
|
D | tegra124.dtsi | 84 host1x@0,50000000 { 85 compatible = "nvidia,tegra124-host1x", "simple-bus"; 91 reset-names = "host1x";
|
D | tegra30-colibri.dtsi | 16 host1x@50000000 {
|
D | tegra20-trimslice.dts | 20 host1x@50000000 {
|
D | tegra20-tamonten.dtsi | 17 host1x@50000000 {
|
D | tegra20-colibri-512.dtsi | 16 host1x@50000000 {
|
D | tegra20-paz00.dts | 21 host1x@50000000 {
|
D | tegra124-nyan.dtsi | 15 host1x@0,50000000 {
|
D | tegra20-whistler.dts | 20 host1x@50000000 {
|
D | tegra20-ventana.dts | 20 host1x@50000000 {
|
D | tegra30-cardhu.dtsi | 67 host1x@50000000 {
|
D | tegra30-apalis.dtsi | 35 host1x@50000000 {
|
D | tegra20-harmony.dts | 20 host1x@50000000 {
|
D | tegra20-seaboard.dts | 20 host1x@50000000 {
|
D | tegra114-roth.dts | 35 host1x@50000000 {
|
D | tegra124-venice2.dts | 20 host1x@0,50000000 {
|
D | tegra114-dalmore.dts | 25 host1x@50000000 {
|
D | tegra124-jetson-tk1.dts | 42 host1x@0,50000000 {
|
D | tegra30-beaver.dts | 46 host1x@50000000 {
|
/linux-4.4.14/ |
D | MAINTAINERS | 3716 F: drivers/gpu/host1x/ 3717 F: include/linux/host1x.h 3719 F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt
|