/linux/drivers/gpu/host1x/ |
H A D | cdma.c | 19 #include "cdma.h" 50 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() 183 * Must be called with the cdma lock held. 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) in host1x_cdma_wait_locked() 236 host1x_cdma_wait_pushbuffer_space(struct host1x * host1x,struct host1x_cdma * cdma,unsigned int needed) host1x_cdma_wait_pushbuffer_space() argument 271 cdma_start_timer_locked(struct host1x_cdma * cdma,struct host1x_job * job) cdma_start_timer_locked() argument 292 stop_cdma_timer_locked(struct host1x_cdma * cdma) stop_cdma_timer_locked() argument 308 update_cdma_locked(struct host1x_cdma * cdma) update_cdma_locked() argument 361 host1x_cdma_update_sync_queue(struct host1x_cdma * cdma,struct device * dev) host1x_cdma_update_sync_queue() argument 493 struct host1x_cdma *cdma = container_of(work, struct host1x_cdma, update_work); cdma_update_work() local 503 host1x_cdma_init(struct host1x_cdma * cdma) host1x_cdma_init() argument 527 host1x_cdma_deinit(struct host1x_cdma * cdma) host1x_cdma_deinit() argument 546 host1x_cdma_begin(struct host1x_cdma * cdma,struct host1x_job * job) host1x_cdma_begin() argument 590 host1x_cdma_push(struct host1x_cdma * cdma,u32 op1,u32 op2) host1x_cdma_push() argument 617 host1x_cdma_push_wide(struct host1x_cdma * cdma,u32 op1,u32 op2,u32 op3,u32 op4) host1x_cdma_push_wide() argument 660 host1x_cdma_end(struct host1x_cdma * cdma,struct host1x_job * job) host1x_cdma_end() argument 684 host1x_cdma_update(struct host1x_cdma * cdma) host1x_cdma_update() argument [all...] |
H A D | cdma.h | 21 * cdma 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); 82 int host1x_cdma_begin(struct host1x_cdma *cdma, struct host1x_job *job); 83 void host1x_cdma_push(struct host1x_cdma *cdma, u3 [all...] |
H A D | dev.h | 16 #include "cdma.h" 39 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 281 host1x_hw_cdma_stop(struct host1x * host,struct host1x_cdma * cdma) host1x_hw_cdma_stop() argument 287 host1x_hw_cdma_flush(struct host1x * host,struct host1x_cdma * cdma) host1x_hw_cdma_flush() argument 293 host1x_hw_cdma_timeout_init(struct host1x * host,struct host1x_cdma * cdma) host1x_hw_cdma_timeout_init() argument 299 host1x_hw_cdma_timeout_destroy(struct host1x * host,struct host1x_cdma * cdma) host1x_hw_cdma_timeout_destroy() argument 305 host1x_hw_cdma_freeze(struct host1x * host,struct host1x_cdma * cdma) host1x_hw_cdma_freeze() argument 311 host1x_hw_cdma_resume(struct host1x * host,struct host1x_cdma * cdma,u32 getptr) host1x_hw_cdma_resume() argument 317 host1x_hw_cdma_timeout_cpu_incr(struct host1x * host,struct host1x_cdma * cdma,u32 getptr,u32 syncpt_incrs,u32 syncval,u32 nr_slots) host1x_hw_cdma_timeout_cpu_incr() argument [all...] |
H A D | channel.c | 80 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()
|
H A D | channel.h | 15 #include "cdma.h" 34 struct host1x_cdma cdma; member
|
H A D | Makefile | 7 cdma.o \
|
H A D | debug.c | 62 mutex_lock(&ch->cdma.lock); in show_channel() 71 mutex_unlock(&ch->cdma.lock); in show_channel()
|
/linux/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 12 #include "../cdma.h" 28 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 in cdma_start() 89 cdma_timeout_restart(struct host1x_cdma * cdma,u32 getptr) cdma_timeout_restart() argument 143 cdma_flush(struct host1x_cdma * cdma) cdma_flush() argument 154 cdma_stop(struct host1x_cdma * cdma) cdma_stop() argument 198 cdma_freeze(struct host1x_cdma * cdma) cdma_freeze() argument 226 cdma_resume(struct host1x_cdma * cdma,u32 getptr) cdma_resume() argument 241 timeout_release_mlock(struct host1x_cdma * cdma) timeout_release_mlock() argument 292 struct host1x_cdma *cdma; cdma_timeout_handler() local 344 cdma_timeout_init(struct host1x_cdma * cdma) cdma_timeout_init() argument 355 cdma_timeout_destroy(struct host1x_cdma * cdma) cdma_timeout_destroy() argument [all...] |
H A D | channel_hw.c | 21 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 in submit_gathers() local 214 struct host1x_cdma *cdma = &job->channel->cdma; channel_program_cdma() local [all...] |
H A D | debug_hw.c | 11 #include "../cdma.h" 160 unsigned int words, struct host1x_cdma *cdma, in show_gather() argument 184 if (cdma && voffset >= cdma->push_buffer.size) { in show_gather() 185 addr -= cdma->push_buffer.size; in show_gather() 186 voffset -= cdma->push_buffer.size; in show_gather() 202 static void show_channel_gathers(struct output *o, struct host1x_cdma *cdma) in show_channel_gathers() argument 204 struct push_buffer *pb = &cdma->push_buffer; in show_channel_gathers() 207 list_for_each_entry(job, &cdma->sync_queue, list) { in show_channel_gathers() 214 show_gather(o, pb->dma + job->first_get, job->num_slots * 2, cdma, in show_channel_gathers() [all...] |
H A D | debug_hw_1x06.c | 11 #include "../cdma.h" 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()
|
H A D | debug_hw_1x01.c | 11 #include "../cdma.h" 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/sound/pci/ |
H A D | cs4281.c | 1735 struct cs4281_dma *cdma; in snd_cs4281_interrupt() local 1748 cdma = &chip->dma[dma]; in snd_cs4281_interrupt() 1751 val = snd_cs4281_peekBA0(chip, cdma->regHDSR); in snd_cs4281_interrupt() 1754 cdma->frag++; in snd_cs4281_interrupt() 1755 if ((val & BA0_HDSR_DHTC) && !(cdma->frag & 1)) { in snd_cs4281_interrupt() 1756 cdma->frag--; in snd_cs4281_interrupt() 1761 if ((val & BA0_HDSR_DTC) && (cdma->frag & 1)) { in snd_cs4281_interrupt() 1762 cdma->frag--; in snd_cs4281_interrupt() 1768 snd_pcm_period_elapsed(cdma->substream); in snd_cs4281_interrupt()
|
/linux/Documentation/devicetree/bindings/dma/xilinx/ |
H A D | xilinx_dma.txt | 22 "xlnx,axi-cdma-1.00.a" 69 For CDMA: It should be "xlnx,axi-cdma-channel".
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 1148 a->tx_addr = vha->hw->lsrjt.cdma; in qla_nvme_ls_reject_iocb()
|
H A D | qla_os.c | 4459 &ha->elsrej.cdma, in qla2x00_mem_alloc() 4472 &ha->lsrjt.cdma, GFP_KERNEL); in qla2x00_mem_alloc() 4483 ha->elsrej.c, ha->elsrej.cdma); in qla2x00_mem_alloc() 5010 ha->elsrej.c, ha->elsrej.cdma); in qla2x00_mem_free() 5016 ha->lsrjt.cdma); in qla2x00_mem_free()
|
H A D | qla_edif.c | 2557 a.tx_addr = vha->hw->elsrej.cdma; in qla24xx_auth_els()
|