Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/host1x/
Dcdma.c50 struct host1x_cdma *cdma = pb_to_cdma(pb); in host1x_pushbuffer_destroy() local
51 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_destroy()
72 struct host1x_cdma *cdma = pb_to_cdma(pb); in host1x_pushbuffer_init() local
73 struct host1x *host1x = cdma_to_host1x(cdma); in host1x_pushbuffer_init()
185 unsigned int host1x_cdma_wait_locked(struct host1x_cdma *cdma, in host1x_cdma_wait_locked() argument
189 struct push_buffer *pb = &cdma->push_buffer; in host1x_cdma_wait_locked()
194 space = list_empty(&cdma->sync_queue) ? 1 : 0; in host1x_cdma_wait_locked()
209 trace_host1x_wait_cdma(dev_name(cdma_to_channel(cdma)->dev), in host1x_cdma_wait_locked()
213 if (cdma->event != CDMA_EVENT_NONE) { in host1x_cdma_wait_locked()
214 mutex_unlock(&cdma->lock); in host1x_cdma_wait_locked()
[all …]
Dcdma.h76 #define cdma_to_channel(cdma) container_of(cdma, struct host1x_channel, cdma) argument
77 #define cdma_to_host1x(cdma) dev_get_drvdata(cdma_to_channel(cdma)->dev->parent) argument
80 int host1x_cdma_init(struct host1x_cdma *cdma);
81 int host1x_cdma_deinit(struct host1x_cdma *cdma);
82 int host1x_cdma_begin(struct host1x_cdma *cdma, struct host1x_job *job);
83 void host1x_cdma_push(struct host1x_cdma *cdma, u32 op1, u32 op2);
84 void host1x_cdma_push_wide(struct host1x_cdma *cdma, u32 op1, u32 op2,
86 void host1x_cdma_end(struct host1x_cdma *cdma, struct host1x_job *job);
87 void host1x_cdma_update(struct host1x_cdma *cdma);
88 void host1x_cdma_peek(struct host1x_cdma *cdma, u32 dmaget, int slot,
[all …]
Ddev.h39 void (*start)(struct host1x_cdma *cdma);
40 void (*stop)(struct host1x_cdma *cdma);
41 void (*flush)(struct host1x_cdma *cdma);
42 int (*timeout_init)(struct host1x_cdma *cdma);
43 void (*timeout_destroy)(struct host1x_cdma *cdma);
44 void (*freeze)(struct host1x_cdma *cdma);
45 void (*resume)(struct host1x_cdma *cdma, u32 getptr);
46 void (*timeout_cpu_incr)(struct host1x_cdma *cdma, u32 getptr,
275 struct host1x_cdma *cdma) in host1x_hw_cdma_start() argument
277 host->cdma_op->start(cdma); in host1x_hw_cdma_start()
[all …]
Dchannel.c80 host1x_hw_cdma_stop(host, &channel->cdma); in host1x_channel_stop()
110 host1x_hw_cdma_stop(host, &channel->cdma); in release_channel()
111 host1x_cdma_deinit(&channel->cdma); in release_channel()
173 err = host1x_cdma_init(&channel->cdma); in host1x_channel_request()
Dchannel.h34 struct host1x_cdma cdma; member
DMakefile7 cdma.o \
Ddebug.c62 mutex_lock(&ch->cdma.lock); in show_channel()
71 mutex_unlock(&ch->cdma.lock); in show_channel()
/linux-6.12.1/drivers/gpu/host1x/hw/
Dcdma_hw.c28 static void cdma_timeout_cpu_incr(struct host1x_cdma *cdma, u32 getptr, in cdma_timeout_cpu_incr() argument
34 host1x_syncpt_incr(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
37 host1x_syncpt_load(cdma->timeout.syncpt); in cdma_timeout_cpu_incr()
43 static void cdma_start(struct host1x_cdma *cdma) in cdma_start() argument
45 struct host1x_channel *ch = cdma_to_channel(cdma); in cdma_start()
48 if (cdma->running) in cdma_start()
51 cdma->last_pos = cdma->push_buffer.pos; in cdma_start()
52 start = cdma->push_buffer.dma; in cdma_start()
53 end = cdma->push_buffer.size + 4; in cdma_start()
63 host1x_ch_writel(ch, cdma->push_buffer.pos, HOST1X_CHANNEL_DMAPUT); in cdma_start()
[all …]
Dchannel_hw.c21 static void trace_write_gather(struct host1x_cdma *cdma, struct host1x_bo *bo, in trace_write_gather() argument
24 struct device *dev = cdma_to_channel(cdma)->dev; in trace_write_gather()
53 struct host1x_cdma *cdma = &job->channel->cdma; in submit_wait() local
68 host1x_cdma_push_wide(cdma, in submit_wait()
79 host1x_cdma_push_wide(&job->channel->cdma, in submit_wait()
85 host1x_cdma_push_wide(cdma, in submit_wait()
98 host1x_cdma_push(cdma, in submit_wait()
106 host1x_cdma_push(cdma, in submit_wait()
115 struct host1x_cdma *cdma = &job->channel->cdma; in submit_gathers() local
141 trace_write_gather(cdma, g->bo, g->offset, g->words); in submit_gathers()
[all …]
Ddebug_hw.c160 unsigned int words, struct host1x_cdma *cdma, in show_gather() argument
193 static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma) in show_channel_gathers() argument
195 struct push_buffer *pb = &cdma->push_buffer; in show_channel_gathers()
198 list_for_each_entry(job, &cdma->sync_queue, list) { in show_channel_gathers()
205 show_gather(o, pb->dma + job->first_get, job->num_slots * 2, cdma, in show_channel_gathers()
230 show_gather(o, g->base + g->offset, g->words, cdma, in show_channel_gathers()
Ddebug_hw_1x06.c18 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma() local
46 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
62 show_channel_gathers(o, cdma); in host1x_debug_show_channel_cdma()
Ddebug_hw_1x01.c18 struct host1x_cdma *cdma = &ch->cdma; in host1x_debug_show_channel_cdma() local
35 !ch->cdma.push_buffer.mapped) { in host1x_debug_show_channel_cdma()
67 show_channel_gathers(o, cdma); in host1x_debug_show_channel_cdma()
/linux-6.12.1/sound/pci/
Dcs4281.c1734 struct cs4281_dma *cdma; in snd_cs4281_interrupt() local
1747 cdma = &chip->dma[dma]; in snd_cs4281_interrupt()
1750 val = snd_cs4281_peekBA0(chip, cdma->regHDSR); in snd_cs4281_interrupt()
1753 cdma->frag++; in snd_cs4281_interrupt()
1754 if ((val & BA0_HDSR_DHTC) && !(cdma->frag & 1)) { in snd_cs4281_interrupt()
1755 cdma->frag--; in snd_cs4281_interrupt()
1760 if ((val & BA0_HDSR_DTC) && (cdma->frag & 1)) { in snd_cs4281_interrupt()
1761 cdma->frag--; in snd_cs4281_interrupt()
1767 snd_pcm_period_elapsed(cdma->substream); in snd_cs4281_interrupt()
/linux-6.12.1/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt22 "xlnx,axi-cdma-1.00.a"
69 For CDMA: It should be "xlnx,axi-cdma-channel".
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_nvme.c1149 a->tx_addr = vha->hw->lsrjt.cdma; in qla_nvme_ls_reject_iocb()
Dqla_os.c4472 &ha->elsrej.cdma, in qla2x00_mem_alloc()
4485 &ha->lsrjt.cdma, GFP_KERNEL); in qla2x00_mem_alloc()
4496 ha->elsrej.c, ha->elsrej.cdma); in qla2x00_mem_alloc()
5023 ha->elsrej.c, ha->elsrej.cdma); in qla2x00_mem_free()
5029 ha->lsrjt.cdma); in qla2x00_mem_free()
Dqla_def.h351 dma_addr_t cdma; member
357 dma_addr_t cdma; member
Dqla_edif.c2556 a.tx_addr = vha->hw->elsrej.cdma; in qla24xx_auth_els()