/linux-6.3-rc2/drivers/gpu/host1x/ |
A D | cdma.c | 220 cdma->event = event; in host1x_cdma_wait_locked() 224 mutex_lock(&cdma->lock); in host1x_cdma_wait_locked() 264 mutex_lock(&cdma->lock); in host1x_cdma_wait_pushbuffer_space() 516 cdma->running = false; in host1x_cdma_init() 517 cdma->torndown = false; in host1x_cdma_init() 534 if (cdma->running) { in host1x_cdma_deinit() 577 if (!cdma->running) in host1x_cdma_begin() 580 cdma->slots_free = 0; in host1x_cdma_begin() 581 cdma->slots_used = 0; in host1x_cdma_begin() 582 cdma->first_get = cdma->push_buffer.pos; in host1x_cdma_begin() [all …]
|
A D | cdma.h | 76 #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); 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, 90 unsigned int host1x_cdma_wait_locked(struct host1x_cdma *cdma, [all …]
|
A D | dev.h | 38 void (*start)(struct host1x_cdma *cdma); 39 void (*stop)(struct host1x_cdma *cdma); 266 struct host1x_cdma *cdma) in host1x_hw_cdma_start() argument 268 host->cdma_op->start(cdma); in host1x_hw_cdma_start() 274 host->cdma_op->stop(cdma); in host1x_hw_cdma_stop() 278 struct host1x_cdma *cdma) in host1x_hw_cdma_flush() argument 280 host->cdma_op->flush(cdma); in host1x_hw_cdma_flush() 290 struct host1x_cdma *cdma) in host1x_hw_cdma_timeout_destroy() argument 296 struct host1x_cdma *cdma) in host1x_hw_cdma_freeze() argument 298 host->cdma_op->freeze(cdma); in host1x_hw_cdma_freeze() [all …]
|
A D | channel.c | 78 host1x_hw_cdma_stop(host, &channel->cdma); in host1x_channel_stop() 89 host1x_hw_cdma_stop(host, &channel->cdma); in release_channel() 90 host1x_cdma_deinit(&channel->cdma); in release_channel() 147 err = host1x_cdma_init(&channel->cdma); in host1x_channel_request()
|
A D | channel.h | 31 struct host1x_cdma cdma; member
|
A D | Makefile | 7 cdma.o \
|
A D | debug.c | 62 mutex_lock(&ch->cdma.lock); in show_channel() 71 mutex_unlock(&ch->cdma.lock); in show_channel()
|
/linux-6.3-rc2/drivers/gpu/host1x/hw/ |
A D | cdma_hw.c | 48 if (cdma->running) in cdma_start() 51 cdma->last_pos = cdma->push_buffer.pos; in cdma_start() 81 cdma->running = true; in cdma_start() 95 if (cdma->running) in cdma_timeout_restart() 98 cdma->last_pos = cdma->push_buffer.pos; in cdma_timeout_restart() 127 cdma->last_pos); in cdma_timeout_restart() 147 if (cdma->push_buffer.pos != cdma->last_pos) { in cdma_flush() 150 cdma->last_pos = cdma->push_buffer.pos; in cdma_flush() 203 if (cdma->torndown && !cdma->running) { in cdma_freeze() 215 cdma->last_pos); in cdma_freeze() [all …]
|
A D | channel_hw.c | 53 struct host1x_cdma *cdma = &job->channel->cdma; in submit_wait() local 68 host1x_cdma_push_wide(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 214 struct host1x_cdma *cdma = &job->channel->cdma; in channel_program_cdma() local 221 host1x_cdma_push_wide(cdma, in channel_program_cdma() 248 host1x_cdma_push(cdma, in channel_program_cdma() 256 host1x_cdma_push(cdma, in channel_program_cdma() [all …]
|
A D | debug_hw.c | 160 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()
|
A D | debug_hw_1x06.c | 18 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()
|
A D | debug_hw_1x01.c | 18 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.3-rc2/Documentation/devicetree/bindings/dma/ |
A D | intel,ldma.yaml | 19 - intel,lgm-cdma 92 compatible = "intel,lgm-cdma";
|
/linux-6.3-rc2/sound/pci/ |
A D | cs4281.c | 1737 struct cs4281_dma *cdma; in snd_cs4281_interrupt() local 1750 cdma = &chip->dma[dma]; in snd_cs4281_interrupt() 1753 val = snd_cs4281_peekBA0(chip, cdma->regHDSR); in snd_cs4281_interrupt() 1756 cdma->frag++; in snd_cs4281_interrupt() 1757 if ((val & BA0_HDSR_DHTC) && !(cdma->frag & 1)) { in snd_cs4281_interrupt() 1758 cdma->frag--; in snd_cs4281_interrupt() 1763 if ((val & BA0_HDSR_DTC) && (cdma->frag & 1)) { in snd_cs4281_interrupt() 1764 cdma->frag--; in snd_cs4281_interrupt() 1770 snd_pcm_period_elapsed(cdma->substream); in snd_cs4281_interrupt()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/dma/xilinx/ |
A D | xilinx_dma.txt | 22 "xlnx,axi-cdma-1.00.a" 63 For CDMA: It should be "xlnx,axi-cdma-channel".
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_os.c | 4452 ha->elsrej.size, &ha->elsrej.cdma, GFP_KERNEL); in qla2x00_mem_alloc() 4991 ha->elsrej.c, ha->elsrej.cdma); in qla2x00_mem_free()
|
A D | qla_def.h | 352 dma_addr_t cdma; member
|
A D | qla_edif.c | 2556 a.tx_addr = vha->hw->elsrej.cdma; in qla24xx_auth_els()
|