Home
last modified time | relevance | path

Searched refs:mdma (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/
H A Dimg-mdc-dma.c118 struct mdc_dma *mdma; member
149 static inline u32 mdc_readl(struct mdc_dma *mdma, u32 reg) in mdc_readl() argument
151 return readl(mdma->regs + reg); in mdc_readl()
154 static inline void mdc_writel(struct mdc_dma *mdma, u32 val, u32 reg) in mdc_writel() argument
156 writel(val, mdma->regs + reg); in mdc_writel()
161 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl()
166 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel()
181 static inline struct device *mdma2dev(struct mdc_dma *mdma) in mdma2dev() argument
183 return mdma->dma_dev.dev; in mdma2dev()
210 struct mdc_dma *mdma in mdc_list_desc_config() local
262 struct mdc_dma *mdma = mdesc->chan->mdma; mdc_list_desc_free() local
290 struct mdc_dma *mdma = mchan->mdma; mdc_prep_dma_memcpy() local
372 struct mdc_dma *mdma = mchan->mdma; mdc_prep_dma_cyclic() local
453 struct mdc_dma *mdma = mchan->mdma; mdc_prep_slave_sg() local
526 struct mdc_dma *mdma = mchan->mdma; mdc_issue_desc() local
748 struct mdc_dma *mdma = mchan->mdma; mdc_free_chan_resources() local
811 struct mdc_dma *mdma = ofdma->of_dma_data; mdc_of_xlate() local
838 struct mdc_dma *mdma = mchan->mdma; pistachio_mdc_enable_chan() local
850 struct mdc_dma *mdma = mchan->mdma; pistachio_mdc_disable_chan() local
872 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_runtime_suspend() local
881 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_runtime_resume() local
888 struct mdc_dma *mdma; mdc_dma_probe() local
1025 struct mdc_dma *mdma = platform_get_drvdata(pdev); mdc_dma_remove() local
1050 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_suspend_late() local
[all...]
H A Dmpc512x_dma.c256 struct mpc_dma *mdma = dma_chan_to_mpc_dma(&mchan->chan); in mpc_dma_execute() local
300 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); in mpc_dma_execute()
303 mdma->tcd[cid].e_sg = 1; in mpc_dma_execute()
305 if (mdma->is_mpc8308) { in mpc_dma_execute()
307 out_8(&mdma->regs->dmassrt, cid); in mpc_dma_execute()
310 out_8(&mdma->regs->dmaserq, cid); in mpc_dma_execute()
313 out_8(&mdma->regs->dmassrt, cid); in mpc_dma_execute()
318 static void mpc_dma_irq_process(struct mpc_dma *mdma, u32 is, u32 es, int off) in mpc_dma_irq_process() argument
327 mchan = &mdma->channels[ch + off]; in mpc_dma_irq_process()
331 out_8(&mdma in mpc_dma_irq_process()
351 struct mpc_dma *mdma = data; mpc_dma_irq() local
376 mpc_dma_process_completed(struct mpc_dma *mdma) mpc_dma_process_completed() argument
419 struct mpc_dma *mdma = from_tasklet(mdma, t, tasklet); mpc_dma_tasklet() local
488 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_alloc_chan_resources() local
546 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_free_chan_resources() local
604 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_prep_memcpy() local
688 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_prep_slave_sg() local
832 struct mpc_dma *mdma = dma_chan_to_mpc_dma(&mchan->chan); mpc_dma_device_config() local
881 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_device_terminate_all() local
902 struct mpc_dma *mdma; mpc_dma_probe() local
1089 struct mpc_dma *mdma = dev_get_drvdata(dev); mpc_dma_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dimg-mdc-dma.c117 struct mdc_dma *mdma; member
148 static inline u32 mdc_readl(struct mdc_dma *mdma, u32 reg) in mdc_readl() argument
150 return readl(mdma->regs + reg); in mdc_readl()
153 static inline void mdc_writel(struct mdc_dma *mdma, u32 val, u32 reg) in mdc_writel() argument
155 writel(val, mdma->regs + reg); in mdc_writel()
160 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl()
165 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel()
180 static inline struct device *mdma2dev(struct mdc_dma *mdma) in mdma2dev() argument
182 return mdma->dma_dev.dev; in mdma2dev()
209 struct mdc_dma *mdma in mdc_list_desc_config() local
261 struct mdc_dma *mdma = mdesc->chan->mdma; mdc_list_desc_free() local
289 struct mdc_dma *mdma = mchan->mdma; mdc_prep_dma_memcpy() local
371 struct mdc_dma *mdma = mchan->mdma; mdc_prep_dma_cyclic() local
452 struct mdc_dma *mdma = mchan->mdma; mdc_prep_slave_sg() local
525 struct mdc_dma *mdma = mchan->mdma; mdc_issue_desc() local
747 struct mdc_dma *mdma = mchan->mdma; mdc_free_chan_resources() local
810 struct mdc_dma *mdma = ofdma->of_dma_data; mdc_of_xlate() local
837 struct mdc_dma *mdma = mchan->mdma; pistachio_mdc_enable_chan() local
849 struct mdc_dma *mdma = mchan->mdma; pistachio_mdc_disable_chan() local
871 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_runtime_suspend() local
880 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_runtime_resume() local
887 struct mdc_dma *mdma; mdc_dma_probe() local
1022 struct mdc_dma *mdma = platform_get_drvdata(pdev); mdc_dma_remove() local
1047 struct mdc_dma *mdma = dev_get_drvdata(dev); img_mdc_suspend_late() local
[all...]
H A Dmpc512x_dma.c256 struct mpc_dma *mdma = dma_chan_to_mpc_dma(&mchan->chan); in mpc_dma_execute() local
300 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); in mpc_dma_execute()
303 mdma->tcd[cid].e_sg = 1; in mpc_dma_execute()
305 if (mdma->is_mpc8308) { in mpc_dma_execute()
307 out_8(&mdma->regs->dmassrt, cid); in mpc_dma_execute()
310 out_8(&mdma->regs->dmaserq, cid); in mpc_dma_execute()
313 out_8(&mdma->regs->dmassrt, cid); in mpc_dma_execute()
318 static void mpc_dma_irq_process(struct mpc_dma *mdma, u32 is, u32 es, int off) in mpc_dma_irq_process() argument
327 mchan = &mdma->channels[ch + off]; in mpc_dma_irq_process()
331 out_8(&mdma in mpc_dma_irq_process()
351 struct mpc_dma *mdma = data; mpc_dma_irq() local
376 mpc_dma_process_completed(struct mpc_dma *mdma) mpc_dma_process_completed() argument
419 struct mpc_dma *mdma = from_tasklet(mdma, t, tasklet); mpc_dma_tasklet() local
488 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_alloc_chan_resources() local
546 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_free_chan_resources() local
604 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_prep_memcpy() local
688 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_prep_slave_sg() local
833 struct mpc_dma *mdma = dma_chan_to_mpc_dma(&mchan->chan); mpc_dma_device_config() local
882 struct mpc_dma *mdma = dma_chan_to_mpc_dma(chan); mpc_dma_device_terminate_all() local
903 struct mpc_dma *mdma; mpc_dma_probe() local
1090 struct mpc_dma *mdma = dev_get_drvdata(dev); mpc_dma_remove() local
[all...]
H A DMakefile72 obj-$(CONFIG_STM32_MDMA) += stm32-mdma.o
/kernel/linux/linux-5.10/drivers/rapidio/devices/
H A Dtsi721.c113 void __iomem *regs = priv->regs + TSI721_DMAC_BASE(priv->mdma.ch_id); in tsi721_maint_dma()
125 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma()
153 priv->mdma.ch_id, ch_stat); in tsi721_maint_dma()
1433 priv->mdma.ch_id = TSI721_DMACH_MAINT; in tsi721_bdma_maint_init()
1443 priv->mdma.bd_num = bd_num; in tsi721_bdma_maint_init()
1444 priv->mdma.bd_phys = bd_phys; in tsi721_bdma_maint_init()
1445 priv->mdma.bd_base = bd_ptr; in tsi721_bdma_maint_init()
1462 priv->mdma.bd_base = NULL; in tsi721_bdma_maint_init()
1466 priv->mdma.sts_phys = sts_phys; in tsi721_bdma_maint_init()
1467 priv->mdma in tsi721_bdma_maint_init()
1508 struct tsi721_bdma_maint *mdma = &priv->mdma; tsi721_bdma_maint_free() local
[all...]
H A Dtsi721.h889 struct tsi721_bdma_maint mdma; /* Maintenance rd/wr request channel */ member
/kernel/linux/linux-6.6/drivers/rapidio/devices/
H A Dtsi721.c113 void __iomem *regs = priv->regs + TSI721_DMAC_BASE(priv->mdma.ch_id); in tsi721_maint_dma()
125 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma()
153 priv->mdma.ch_id, ch_stat); in tsi721_maint_dma()
1433 priv->mdma.ch_id = TSI721_DMACH_MAINT; in tsi721_bdma_maint_init()
1443 priv->mdma.bd_num = bd_num; in tsi721_bdma_maint_init()
1444 priv->mdma.bd_phys = bd_phys; in tsi721_bdma_maint_init()
1445 priv->mdma.bd_base = bd_ptr; in tsi721_bdma_maint_init()
1462 priv->mdma.bd_base = NULL; in tsi721_bdma_maint_init()
1466 priv->mdma.sts_phys = sts_phys; in tsi721_bdma_maint_init()
1467 priv->mdma in tsi721_bdma_maint_init()
1508 struct tsi721_bdma_maint *mdma = &priv->mdma; tsi721_bdma_maint_free() local
[all...]
H A Dtsi721.h889 struct tsi721_bdma_maint mdma; /* Maintenance rd/wr request channel */ member
/kernel/linux/linux-5.10/drivers/dma/qcom/
H A Dhidma.c117 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed() local
141 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed()
405 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memcpy() local
420 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memcpy()
438 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memset() local
453 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memset()
533 struct hidma_dev *mdma = mchan->dmadev; in hidma_free_chan_resources() local
548 hidma_ll_free(mdma->lldev, mdesc->tre_ch); in hidma_free_chan_resources()
/kernel/linux/linux-6.6/drivers/dma/qcom/
H A Dhidma.c111 struct hidma_dev *mdma = to_hidma_dev(ddev); in hidma_process_completed() local
135 llstat = hidma_ll_status(mdma->lldev, mdesc->tre_ch); in hidma_process_completed()
398 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memcpy() local
413 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memcpy()
431 struct hidma_dev *mdma = mchan->dmadev; in hidma_prep_dma_memset() local
457 hidma_ll_set_transfer_params(mdma->lldev, mdesc->tre_ch, in hidma_prep_dma_memset()
537 struct hidma_dev *mdma = mchan->dmadev; in hidma_free_chan_resources() local
552 hidma_ll_free(mdma->lldev, mdesc->tre_ch); in hidma_free_chan_resources()
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-hash.c409 struct scatterlist *sg, int length, int mdma) in stm32_hash_xmit_dma()
433 if (mdma) in stm32_hash_xmit_dma()
408 stm32_hash_xmit_dma(struct stm32_hash_dev *hdev, struct scatterlist *sg, int length, int mdma) stm32_hash_xmit_dma() argument
/kernel/linux/linux-6.6/drivers/clk/stm32/
H A Dclk-stm32mp13.c885 static struct clk_stm32_gate mdma = { variable
887 .hw.init = CLK_HW_INIT("mdma", "ck_axi", &clk_stm32_gate_ops, 0),
1387 STM32_GATE_CFG(MDMA, mdma, SECF_NONE),
/kernel/linux/linux-6.6/drivers/crypto/stm32/
H A Dstm32-hash.c519 struct scatterlist *sg, int length, int mdma) in stm32_hash_xmit_dma()
544 if (mdma) in stm32_hash_xmit_dma()
518 stm32_hash_xmit_dma(struct stm32_hash_dev *hdev, struct scatterlist *sg, int length, int mdma) stm32_hash_xmit_dma() argument

Completed in 23 milliseconds