Home
last modified time | relevance | path

Searched refs:cdma (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/gpu/host1x/hw/
Dcdma_hw.c39 static void cdma_timeout_cpu_incr(struct host1x_cdma *cdma, u32 getptr, in cdma_timeout_cpu_incr() argument
42 struct host1x *host1x = cdma_to_host1x(cdma); in cdma_timeout_cpu_incr()
43 struct push_buffer *pb = &cdma->push_buffer; in cdma_timeout_cpu_incr()
47 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
50 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
68 static void cdma_start(struct host1x_cdma *cdma) in cdma_start() argument
70 struct host1x_channel *ch = cdma_to_channel(cdma); in cdma_start()
72 if (cdma->running) in cdma_start()
75 cdma->last_pos = cdma->push_buffer.pos; in cdma_start()
81 host1x_ch_writel(ch, cdma->push_buffer.dma, HOST1X_CHANNEL_DMASTART); in cdma_start()
[all …]
Dchannel_hw.c32 static void trace_write_gather(struct host1x_cdma *cdma, struct host1x_bo *bo, in trace_write_gather() argument
35 struct device *dev = cdma_to_channel(cdma)->dev; in trace_write_gather()
63 struct host1x_cdma *cdma = &job->channel->cdma; in submit_gathers() local
71 trace_write_gather(cdma, g->bo, g->offset, op1 & 0xffff); in submit_gathers()
72 host1x_cdma_push(cdma, op1, op2); in submit_gathers()
86 host1x_cdma_push(&job->channel->cdma, in synchronize_syncpt_base()
125 err = host1x_cdma_begin(&ch->cdma, job); in channel_submit()
136 host1x_cdma_push(&ch->cdma, in channel_submit()
155 host1x_cdma_push(&ch->cdma, in channel_submit()
162 host1x_cdma_end(&ch->cdma, job); in channel_submit()
Ddebug_hw_1x06.c27 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma() local
42 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
57 show_channel_gathers(o, cdma); in host1x_debug_show_channel_cdma()
Ddebug_hw_1x01.c27 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma() local
41 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
72 show_channel_gathers(o, cdma); in host1x_debug_show_channel_cdma()
Ddebug_hw.c169 unsigned int words, struct host1x_cdma *cdma, in show_gather() argument
202 static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma) in show_channel_gathers() argument
206 list_for_each_entry(job, &cdma->sync_queue, list) { in show_channel_gathers()
231 show_gather(o, g->base + g->offset, g->words, cdma, in show_channel_gathers()
/Linux-v4.19/drivers/gpu/host1x/
Dcdma.c51 struct host1x_cdma *cdma = pb_to_cdma(pb); in host1x_pushbuffer_destroy() local
52 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_destroy()
73 struct host1x_cdma *cdma = pb_to_cdma(pb); in host1x_pushbuffer_init() local
74 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_init()
175 unsigned int host1x_cdma_wait_locked(struct host1x_cdma *cdma, in host1x_cdma_wait_locked() argument
179 struct push_buffer *pb = &cdma->push_buffer; in host1x_cdma_wait_locked()
184 space = list_empty(&cdma->sync_queue) ? 1 : 0; in host1x_cdma_wait_locked()
199 trace_host1x_wait_cdma(dev_name(cdma_to_channel(cdma)->dev), in host1x_cdma_wait_locked()
203 if (cdma->event != CDMA_EVENT_NONE) { in host1x_cdma_wait_locked()
204 mutex_unlock(&cdma->lock); in host1x_cdma_wait_locked()
[all …]
Dcdma.h85 #define cdma_to_channel(cdma) container_of(cdma, struct host1x_channel, cdma) argument
86 #define cdma_to_host1x(cdma) dev_get_drvdata(cdma_to_channel(cdma)->dev->parent) argument
89 int host1x_cdma_init(struct host1x_cdma *cdma);
90 int host1x_cdma_deinit(struct host1x_cdma *cdma);
91 int host1x_cdma_begin(struct host1x_cdma *cdma, struct host1x_job *job);
92 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2);
93 void host1x_cdma_end(struct host1x_cdma *cdma, struct host1x_job *job);
94 void host1x_cdma_update(struct host1x_cdma *cdma);
95 void host1x_cdma_peek(struct host1x_cdma *cdma, u32 dmaget, int slot,
97 unsigned int host1x_cdma_wait_locked(struct host1x_cdma *cdma,
[all …]
Ddev.h48 void (*start)(struct host1x_cdma *cdma);
49 void (*stop)(struct host1x_cdma *cdma);
50 void (*flush)(struct host1x_cdma *cdma);
51 int (*timeout_init)(struct host1x_cdma *cdma, unsigned int syncpt);
52 void (*timeout_destroy)(struct host1x_cdma *cdma);
53 void (*freeze)(struct host1x_cdma *cdma);
54 void (*resume)(struct host1x_cdma *cdma, u32 getptr);
55 void (*timeout_cpu_incr)(struct host1x_cdma *cdma, u32 getptr,
246 struct host1x_cdma *cdma) in host1x_hw_cdma_start() argument
248 host->cdma_op->start(cdma); in host1x_hw_cdma_start()
[all …]
Dchannel.c96 host1x_hw_cdma_stop(host, &channel->cdma); in release_channel()
97 host1x_cdma_deinit(&channel->cdma); in release_channel()
153 err = host1x_cdma_init(&channel->cdma); in host1x_channel_request()
Dchannel.h41 struct host1x_cdma cdma; member
DMakefile7 cdma.o \
Ddebug.c63 mutex_lock(&ch->cdma.lock); in show_channel()
70 mutex_unlock(&ch->cdma.lock); in show_channel()
Dintr.c114 host1x_cdma_update(&channel->cdma); in action_submit_complete()
/Linux-v4.19/sound/pci/
Dcs4281.c1808 struct cs4281_dma *cdma; in snd_cs4281_interrupt() local
1821 cdma = &chip->dma[dma]; in snd_cs4281_interrupt()
1824 val = snd_cs4281_peekBA0(chip, cdma->regHDSR); in snd_cs4281_interrupt()
1827 cdma->frag++; in snd_cs4281_interrupt()
1828 if ((val & BA0_HDSR_DHTC) && !(cdma->frag & 1)) { in snd_cs4281_interrupt()
1829 cdma->frag--; in snd_cs4281_interrupt()
1834 if ((val & BA0_HDSR_DTC) && (cdma->frag & 1)) { in snd_cs4281_interrupt()
1835 cdma->frag--; in snd_cs4281_interrupt()
1841 snd_pcm_period_elapsed(cdma->substream); in snd_cs4281_interrupt()
/Linux-v4.19/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt16 "xlnx,axi-cdma-1.00.a""
56 For CDMA: It should be "xlnx,axi-cdma-channel".