Home
last modified time | relevance | path

Searched refs:host1x (Results 1 – 63 of 63) sorted by relevance

/linux-4.4.14/drivers/gpu/host1x/
Ddev.h39 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 …]
Ddebug.c47 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 …]
Dbus.c218 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 …]
Ddebug.h24 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);
Dcdma.c52 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 …]
Dsyncpt.h29 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);
Dintr.h25 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);
Dbus.h22 struct host1x;
26 int host1x_register(struct host1x *host1x);
27 int host1x_unregister(struct host1x *host1x);
Ddev.c39 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()
DKconfig2 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
Dsyncpt.c34 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 …]
Dchannel.c27 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()
Dintr.c99 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()
Dchannel.h26 struct host1x;
41 int host1x_channel_list_init(struct host1x *host);
DMakefile1 host1x-y = \
15 obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
Djob.c139 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/
Dcdma_hw.c42 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 …]
Dintr_hw.c34 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()
Dsyncpt_hw.c29 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()
Dhost1x01.h21 struct host1x;
23 int host1x01_init(struct host1x *host);
Dhost1x04.h22 struct host1x;
24 int host1x04_init(struct host1x *host);
Dhost1x02.h22 struct host1x;
24 int host1x02_init(struct host1x *host);
Dchannel_hw.c76 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()
Dhost1x04.c32 int host1x04_init(struct host1x *host) in host1x04_init()
Dhost1x02.c32 int host1x02_init(struct host1x *host) in host1x02_init()
Dhost1x01.c32 int host1x01_init(struct host1x *host) in host1x01_init()
Ddebug_hw.c178 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/
Dhost1x.h24 #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/
Dnvidia,tegra20-host1x.txt1 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 …]
Dnvidia,tegra114-mipi.txt29 host1x@50000000 {
/linux-4.4.14/drivers/gpu/
DMakefile4 obj-$(CONFIG_TEGRA_HOST1X) += host1x/
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddrm.c484 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/
DKconfig22 source "drivers/gpu/host1x/Kconfig"
/linux-4.4.14/include/linux/
Dhost1x.h132 struct host1x;
134 struct host1x_syncpt *host1x_syncpt_get(struct host1x *host, u32 id);
/linux-4.4.14/arch/arm/boot/dts/
Dtegra20-iris-512.dts14 host1x@50000000 {
Dtegra20-plutux.dts9 host1x@50000000 {
Dtegra20-tec.dts9 host1x@50000000 {
Dtegra20-medcom-wide.dts17 host1x@50000000 {
Dtegra30-colibri-eval-v3.dts18 host1x@50000000 {
Dtegra30-apalis-eval.dts36 host1x@50000000 {
Dtegra114.dtsi13 host1x@50000000 {
14 compatible = "nvidia,tegra114-host1x", "simple-bus";
20 reset-names = "host1x";
Dtegra20.dtsi12 host1x@50000000 {
13 compatible = "nvidia,tegra20-host1x", "simple-bus";
19 reset-names = "host1x";
Dtegra30.dtsi90 host1x@50000000 {
91 compatible = "nvidia,tegra30-host1x", "simple-bus";
97 reset-names = "host1x";
Dtegra114-tn7.dts35 host1x@50000000 {
Dtegra124.dtsi84 host1x@0,50000000 {
85 compatible = "nvidia,tegra124-host1x", "simple-bus";
91 reset-names = "host1x";
Dtegra30-colibri.dtsi16 host1x@50000000 {
Dtegra20-trimslice.dts20 host1x@50000000 {
Dtegra20-tamonten.dtsi17 host1x@50000000 {
Dtegra20-colibri-512.dtsi16 host1x@50000000 {
Dtegra20-paz00.dts21 host1x@50000000 {
Dtegra124-nyan.dtsi15 host1x@0,50000000 {
Dtegra20-whistler.dts20 host1x@50000000 {
Dtegra20-ventana.dts20 host1x@50000000 {
Dtegra30-cardhu.dtsi67 host1x@50000000 {
Dtegra30-apalis.dtsi35 host1x@50000000 {
Dtegra20-harmony.dts20 host1x@50000000 {
Dtegra20-seaboard.dts20 host1x@50000000 {
Dtegra114-roth.dts35 host1x@50000000 {
Dtegra124-venice2.dts20 host1x@0,50000000 {
Dtegra114-dalmore.dts25 host1x@50000000 {
Dtegra124-jetson-tk1.dts42 host1x@0,50000000 {
Dtegra30-beaver.dts46 host1x@50000000 {
/linux-4.4.14/
DMAINTAINERS3716 F: drivers/gpu/host1x/
3717 F: include/linux/host1x.h
3719 F: Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt