Home
last modified time | relevance | path

Searched refs:vdesc (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/dma/
H A Ddma-jz4780.c119 struct virt_dma_desc vdesc; member
170 struct virt_dma_desc *vdesc) in to_jz4780_dma_desc()
172 return container_of(vdesc, struct jz4780_dma_desc, vdesc); in to_jz4780_dma_desc()
254 static void jz4780_dma_desc_free(struct virt_dma_desc *vdesc) in jz4780_dma_desc_free() argument
256 struct jz4780_dma_desc *desc = to_jz4780_dma_desc(vdesc); in jz4780_dma_desc_free()
257 struct jz4780_dma_chan *jzchan = to_jz4780_dma_chan(vdesc->tx.chan); in jz4780_dma_desc_free()
374 jz4780_dma_desc_free(&jzchan->desc->vdesc); in jz4780_dma_prep_slave_sg()
395 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_slave_sg()
421 jz4780_dma_desc_free(&jzchan->desc->vdesc); in jz4780_dma_prep_dma_cyclic()
169 to_jz4780_dma_desc( struct virt_dma_desc *vdesc) to_jz4780_dma_desc() argument
481 struct virt_dma_desc *vdesc; jz4780_dma_begin() local
637 struct virt_dma_desc *vdesc; jz4780_dma_tx_status() local
[all...]
H A Ddma-axi-dmac.c109 struct virt_dma_desc vdesc; member
161 static struct axi_dmac_desc *to_axi_dmac_desc(struct virt_dma_desc *vdesc) in to_axi_dmac_desc() argument
163 return container_of(vdesc, struct axi_dmac_desc, vdesc); in to_axi_dmac_desc()
206 struct virt_dma_desc *vdesc; in axi_dmac_start_transfer() local
219 vdesc = vchan_next_desc(&chan->vchan); in axi_dmac_start_transfer()
220 if (!vdesc) in axi_dmac_start_transfer()
222 list_move_tail(&vdesc->node, &chan->active_descs); in axi_dmac_start_transfer()
223 desc = to_axi_dmac_desc(vdesc); in axi_dmac_start_transfer()
262 if (chan->hw_cyclic && desc->cyclic && !desc->vdesc in axi_dmac_start_transfer()
686 axi_dmac_desc_free(struct virt_dma_desc *vdesc) axi_dmac_desc_free() argument
[all...]
H A Didma64.c115 struct virt_dma_desc *vdesc; in idma64_start_transfer() local
118 vdesc = vchan_next_desc(&idma64c->vchan); in idma64_start_transfer()
119 if (!vdesc) { in idma64_start_transfer()
124 list_del(&vdesc->node); in idma64_start_transfer()
125 idma64c->desc = to_idma64_desc(vdesc); in idma64_start_transfer()
151 vchan_cookie_complete(&desc->vdesc); in idma64_chan_irq()
222 static void idma64_vdesc_free(struct virt_dma_desc *vdesc) in idma64_vdesc_free() argument
224 struct idma64_chan *idma64c = to_idma64_chan(vdesc->tx.chan); in idma64_vdesc_free()
226 idma64_desc_free(idma64c, to_idma64_desc(vdesc)); in idma64_vdesc_free()
326 return vchan_tx_prep(&idma64c->vchan, &desc->vdesc, flag in idma64_prep_slave_sg()
369 struct virt_dma_desc *vdesc; idma64_tx_status() local
[all...]
H A Dfsl-edma-common.c147 void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc() argument
152 fsl_desc = to_fsl_edma_desc(vdesc); in fsl_edma_free_desc()
271 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue()
317 struct virt_dma_desc *vdesc; in fsl_edma_tx_status() local
329 vdesc = vchan_find_desc(&fsl_chan->vchan, cookie); in fsl_edma_tx_status()
330 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status()
332 fsl_edma_desc_residue(fsl_chan, vdesc, true); in fsl_edma_tx_status()
333 else if (vdesc) in fsl_edma_tx_status()
335 fsl_edma_desc_residue(fsl_chan, vdesc, false); in fsl_edma_tx_status()
514 return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flag in fsl_edma_prep_dma_cyclic()
270 fsl_edma_desc_residue(struct fsl_edma_chan *fsl_chan, struct virt_dma_desc *vdesc, bool in_progress) fsl_edma_desc_residue() argument
592 struct virt_dma_desc *vdesc; fsl_edma_xfer_desc() local
[all...]
H A Dst_fdma.c29 return container_of(vd, struct st_fdma_desc, vdesc); in to_st_fdma_desc()
76 struct virt_dma_desc *vdesc; in st_fdma_xfer_desc() local
79 vdesc = vchan_next_desc(&fchan->vchan); in st_fdma_xfer_desc()
80 if (!vdesc) in st_fdma_xfer_desc()
83 fchan->fdesc = to_st_fdma_desc(vdesc); in st_fdma_xfer_desc()
144 list_del(&fchan->fdesc->vdesc.node); in st_fdma_irq_handler()
145 vchan_cookie_complete(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
149 vchan_cyclic_callback(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
225 static void st_fdma_free_desc(struct virt_dma_desc *vdesc) in st_fdma_free_desc() argument
230 fdesc = to_st_fdma_desc(vdesc); in st_fdma_free_desc()
555 st_fdma_desc_residue(struct st_fdma_chan *fchan, struct virt_dma_desc *vdesc, bool in_progress) st_fdma_desc_residue() argument
[all...]
H A Didma64.h114 struct virt_dma_desc vdesc; member
122 static inline struct idma64_desc *to_idma64_desc(struct virt_dma_desc *vdesc) in to_idma64_desc() argument
124 return container_of(vdesc, struct idma64_desc, vdesc); in to_idma64_desc()
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dioctl.c538 * @vdesc: descriptor of virtual block number
556 struct nilfs_vdesc *vdesc, in nilfs_ioctl_move_inode_block()
562 if (vdesc->vd_flags == 0) in nilfs_ioctl_move_inode_block()
564 inode, vdesc->vd_offset, vdesc->vd_blocknr, in nilfs_ioctl_move_inode_block()
565 vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block()
568 inode, vdesc->vd_blocknr, vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block()
574 __func__, vdesc->vd_flags ? "node" : "data", in nilfs_ioctl_move_inode_block()
575 (unsigned long long)vdesc in nilfs_ioctl_move_inode_block()
555 nilfs_ioctl_move_inode_block(struct inode *inode, struct nilfs_vdesc *vdesc, struct list_head *buffers) nilfs_ioctl_move_inode_block() argument
617 struct nilfs_vdesc *vdesc; nilfs_ioctl_move_blocks() local
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dioctl.c523 * @vdesc: descriptor of virtual block number
541 struct nilfs_vdesc *vdesc, in nilfs_ioctl_move_inode_block()
547 if (vdesc->vd_flags == 0) in nilfs_ioctl_move_inode_block()
549 inode, vdesc->vd_offset, vdesc->vd_blocknr, in nilfs_ioctl_move_inode_block()
550 vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block()
553 inode, vdesc->vd_blocknr, vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block()
559 __func__, vdesc->vd_flags ? "node" : "data", in nilfs_ioctl_move_inode_block()
560 (unsigned long long)vdesc in nilfs_ioctl_move_inode_block()
540 nilfs_ioctl_move_inode_block(struct inode *inode, struct nilfs_vdesc *vdesc, struct list_head *buffers) nilfs_ioctl_move_inode_block() argument
602 struct nilfs_vdesc *vdesc; nilfs_ioctl_move_blocks() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/hsu/
H A Dhsu.c110 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer() local
113 vdesc = vchan_next_desc(&hsuc->vchan); in hsu_dma_start_transfer()
114 if (!vdesc) { in hsu_dma_start_transfer()
119 list_del(&vdesc->node); in hsu_dma_start_transfer()
120 hsuc->desc = to_hsu_dma_desc(vdesc); in hsu_dma_start_transfer()
222 vchan_cookie_complete(&desc->vdesc); in hsu_dma_do_irq()
250 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free() argument
252 struct hsu_dma_desc *desc = to_hsu_dma_desc(vdesc); in hsu_dma_desc_free()
284 return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags); in hsu_dma_prep_slave_sg()
319 struct virt_dma_desc *vdesc; in hsu_dma_tx_status() local
[all...]
H A Dhsu.h68 struct virt_dma_desc vdesc; member
77 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc() argument
79 return container_of(vdesc, struct hsu_dma_desc, vdesc); in to_hsu_dma_desc()
/kernel/linux/linux-6.6/drivers/dma/hsu/
H A Dhsu.c118 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer() local
121 vdesc = vchan_next_desc(&hsuc->vchan); in hsu_dma_start_transfer()
122 if (!vdesc) { in hsu_dma_start_transfer()
127 list_del(&vdesc->node); in hsu_dma_start_transfer()
128 hsuc->desc = to_hsu_dma_desc(vdesc); in hsu_dma_start_transfer()
232 vchan_cookie_complete(&desc->vdesc); in hsu_dma_do_irq()
261 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free() argument
263 struct hsu_dma_desc *desc = to_hsu_dma_desc(vdesc); in hsu_dma_desc_free()
295 return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags); in hsu_dma_prep_slave_sg()
330 struct virt_dma_desc *vdesc; in hsu_dma_tx_status() local
[all...]
H A Dhsu.h72 struct virt_dma_desc vdesc; member
81 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc() argument
83 return container_of(vdesc, struct hsu_dma_desc, vdesc); in to_hsu_dma_desc()
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/
H A Dralink-gdma.c97 struct virt_dma_desc vdesc; member
150 static struct gdma_dma_desc *to_gdma_dma_desc(struct virt_dma_desc *vdesc) in to_gdma_dma_desc() argument
152 return container_of(vdesc, struct gdma_dma_desc, vdesc); in to_gdma_dma_desc()
415 struct virt_dma_desc *vdesc; in gdma_next_desc() local
417 vdesc = vchan_next_desc(&chan->vchan); in gdma_next_desc()
418 if (!vdesc) { in gdma_next_desc()
422 chan->desc = to_gdma_dma_desc(vdesc); in gdma_next_desc()
440 vchan_cyclic_callback(&desc->vdesc); in gdma_dma_chan_irq()
447 list_del(&desc->vdesc in gdma_dma_chan_irq()
660 struct virt_dma_desc *vdesc; gdma_dma_tx_status() local
699 gdma_dma_desc_free(struct virt_dma_desc *vdesc) gdma_dma_desc_free() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Ddma-axi-dmac.c113 struct virt_dma_desc vdesc; member
165 static struct axi_dmac_desc *to_axi_dmac_desc(struct virt_dma_desc *vdesc) in to_axi_dmac_desc() argument
167 return container_of(vdesc, struct axi_dmac_desc, vdesc); in to_axi_dmac_desc()
210 struct virt_dma_desc *vdesc; in axi_dmac_start_transfer() local
223 vdesc = vchan_next_desc(&chan->vchan); in axi_dmac_start_transfer()
224 if (!vdesc) in axi_dmac_start_transfer()
226 list_move_tail(&vdesc->node, &chan->active_descs); in axi_dmac_start_transfer()
227 desc = to_axi_dmac_desc(vdesc); in axi_dmac_start_transfer()
266 if (chan->hw_cyclic && desc->cyclic && !desc->vdesc in axi_dmac_start_transfer()
690 axi_dmac_desc_free(struct virt_dma_desc *vdesc) axi_dmac_desc_free() argument
[all...]
H A Ddma-jz4780.c119 struct virt_dma_desc vdesc; member
171 struct virt_dma_desc *vdesc) in to_jz4780_dma_desc()
173 return container_of(vdesc, struct jz4780_dma_desc, vdesc); in to_jz4780_dma_desc()
262 static void jz4780_dma_desc_free(struct virt_dma_desc *vdesc) in jz4780_dma_desc_free() argument
264 struct jz4780_dma_desc *desc = to_jz4780_dma_desc(vdesc); in jz4780_dma_desc_free()
265 struct jz4780_dma_chan *jzchan = to_jz4780_dma_chan(vdesc->tx.chan); in jz4780_dma_desc_free()
382 jz4780_dma_desc_free(&jzchan->desc->vdesc); in jz4780_dma_prep_slave_sg()
403 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_slave_sg()
429 jz4780_dma_desc_free(&jzchan->desc->vdesc); in jz4780_dma_prep_dma_cyclic()
170 to_jz4780_dma_desc( struct virt_dma_desc *vdesc) to_jz4780_dma_desc() argument
489 struct virt_dma_desc *vdesc; jz4780_dma_begin() local
645 struct virt_dma_desc *vdesc; jz4780_dma_tx_status() local
[all...]
H A Didma64.c115 struct virt_dma_desc *vdesc; in idma64_start_transfer() local
118 vdesc = vchan_next_desc(&idma64c->vchan); in idma64_start_transfer()
119 if (!vdesc) { in idma64_start_transfer()
124 list_del(&vdesc->node); in idma64_start_transfer()
125 idma64c->desc = to_idma64_desc(vdesc); in idma64_start_transfer()
154 vchan_cookie_complete(&desc->vdesc); in idma64_chan_irq()
226 static void idma64_vdesc_free(struct virt_dma_desc *vdesc) in idma64_vdesc_free() argument
228 struct idma64_chan *idma64c = to_idma64_chan(vdesc->tx.chan); in idma64_vdesc_free()
230 idma64_desc_free(idma64c, to_idma64_desc(vdesc)); in idma64_vdesc_free()
330 return vchan_tx_prep(&idma64c->vchan, &desc->vdesc, flag in idma64_prep_slave_sg()
373 struct virt_dma_desc *vdesc; idma64_tx_status() local
[all...]
H A Dfsl-edma-common.c56 list_del(&fsl_chan->edesc->vdesc.node); in fsl_edma_tx_chan_handler()
57 vchan_cookie_complete(&fsl_chan->edesc->vdesc); in fsl_edma_tx_chan_handler()
62 vchan_cyclic_callback(&fsl_chan->edesc->vdesc); in fsl_edma_tx_chan_handler()
227 void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc() argument
232 fsl_desc = to_fsl_edma_desc(vdesc); in fsl_edma_free_desc()
350 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue()
402 struct virt_dma_desc *vdesc; in fsl_edma_tx_status() local
414 vdesc = vchan_find_desc(&fsl_chan->vchan, cookie); in fsl_edma_tx_status()
415 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status()
417 fsl_edma_desc_residue(fsl_chan, vdesc, tru in fsl_edma_tx_status()
349 fsl_edma_desc_residue(struct fsl_edma_chan *fsl_chan, struct virt_dma_desc *vdesc, bool in_progress) fsl_edma_desc_residue() argument
768 struct virt_dma_desc *vdesc; fsl_edma_xfer_desc() local
[all...]
H A Dst_fdma.c29 return container_of(vd, struct st_fdma_desc, vdesc); in to_st_fdma_desc()
76 struct virt_dma_desc *vdesc; in st_fdma_xfer_desc() local
79 vdesc = vchan_next_desc(&fchan->vchan); in st_fdma_xfer_desc()
80 if (!vdesc) in st_fdma_xfer_desc()
83 fchan->fdesc = to_st_fdma_desc(vdesc); in st_fdma_xfer_desc()
144 list_del(&fchan->fdesc->vdesc.node); in st_fdma_irq_handler()
145 vchan_cookie_complete(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
149 vchan_cyclic_callback(&fchan->fdesc->vdesc); in st_fdma_irq_handler()
225 static void st_fdma_free_desc(struct virt_dma_desc *vdesc) in st_fdma_free_desc() argument
230 fdesc = to_st_fdma_desc(vdesc); in st_fdma_free_desc()
555 st_fdma_desc_residue(struct st_fdma_chan *fchan, struct virt_dma_desc *vdesc, bool in_progress) st_fdma_desc_residue() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/mt7621-dma/
H A Dhsdma-mt7621.c138 struct virt_dma_desc vdesc; member
178 struct virt_dma_desc *vdesc) in to_mtk_hsdma_desc()
180 return container_of(vdesc, struct mtk_hsdma_desc, vdesc); in to_mtk_hsdma_desc()
387 struct virt_dma_desc *vdesc; in gdma_next_desc() local
389 vdesc = vchan_next_desc(&chan->vchan); in gdma_next_desc()
390 if (!vdesc) { in gdma_next_desc()
394 chan->desc = to_mtk_hsdma_desc(vdesc); in gdma_next_desc()
411 list_del(&desc->vdesc.node); in mtk_hsdma_chan_done()
412 vchan_cookie_complete(&desc->vdesc); in mtk_hsdma_chan_done()
177 to_mtk_hsdma_desc( struct virt_dma_desc *vdesc) to_mtk_hsdma_desc() argument
495 mtk_hsdma_desc_free(struct virt_dma_desc *vdesc) mtk_hsdma_desc_free() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma/xilinx/
H A Dxilinx_dpdma.c192 * @vdesc: virtual DMA descriptor
198 struct virt_dma_desc vdesc; member
205 container_of(_desc, struct xilinx_dpdma_tx_desc, vdesc)
662 * @vdesc: virtual DMA descriptor
664 * Free the virtual DMA descriptor @vdesc including its software descriptors.
666 static void xilinx_dpdma_chan_free_tx_desc(struct virt_dma_desc *vdesc) in xilinx_dpdma_chan_free_tx_desc() argument
671 if (!vdesc) in xilinx_dpdma_chan_free_tx_desc()
674 desc = to_dpdma_tx_desc(vdesc); in xilinx_dpdma_chan_free_tx_desc()
717 xilinx_dpdma_chan_free_tx_desc(&tx_desc->vdesc); in xilinx_dpdma_chan_prep_interleaved_dma()
841 struct virt_dma_desc *vdesc; in xilinx_dpdma_chan_queue_transfer() local
[all...]
/kernel/linux/linux-6.6/drivers/dma/xilinx/
H A Dxilinx_dpdma.c193 * @vdesc: virtual DMA descriptor
199 struct virt_dma_desc vdesc; member
206 container_of(_desc, struct xilinx_dpdma_tx_desc, vdesc)
650 * @vdesc: virtual DMA descriptor
652 * Free the virtual DMA descriptor @vdesc including its software descriptors.
654 static void xilinx_dpdma_chan_free_tx_desc(struct virt_dma_desc *vdesc) in xilinx_dpdma_chan_free_tx_desc() argument
659 if (!vdesc) in xilinx_dpdma_chan_free_tx_desc()
662 desc = to_dpdma_tx_desc(vdesc); in xilinx_dpdma_chan_free_tx_desc()
706 xilinx_dpdma_chan_free_tx_desc(&tx_desc->vdesc); in xilinx_dpdma_chan_prep_interleaved_dma()
830 struct virt_dma_desc *vdesc; in xilinx_dpdma_chan_queue_transfer() local
[all...]
/kernel/linux/linux-5.10/drivers/dma/sf-pdma/
H A Dsf-pdma.c49 return container_of(vd, struct sf_pdma_desc, vdesc); in to_sf_pdma_desc()
101 desc->async_tx = vchan_tx_prep(&chan->vchan, &desc->vdesc, flags); in sf_pdma_prep_dma_memcpy()
242 struct virt_dma_desc *vdesc; in sf_pdma_get_first_pending_desc() local
247 vdesc = list_first_entry(&vchan->desc_issued, struct virt_dma_desc, node); in sf_pdma_get_first_pending_desc()
249 return container_of(vdesc, struct sf_pdma_desc, vdesc); in sf_pdma_get_first_pending_desc()
288 static void sf_pdma_free_desc(struct virt_dma_desc *vdesc) in sf_pdma_free_desc() argument
292 desc = to_sf_pdma_desc(vdesc); in sf_pdma_free_desc()
310 list_del(&chan->desc->vdesc.node); in sf_pdma_donebh_tasklet()
311 vchan_cookie_complete(&chan->desc->vdesc); in sf_pdma_donebh_tasklet()
[all...]
/kernel/linux/linux-6.6/drivers/dma/sf-pdma/
H A Dsf-pdma.c49 return container_of(vd, struct sf_pdma_desc, vdesc); in to_sf_pdma_desc()
100 desc->async_tx = vchan_tx_prep(&chan->vchan, &desc->vdesc, flags); in sf_pdma_prep_dma_memcpy()
241 struct virt_dma_desc *vdesc; in sf_pdma_get_first_pending_desc() local
246 vdesc = list_first_entry(&vchan->desc_issued, struct virt_dma_desc, node); in sf_pdma_get_first_pending_desc()
248 return container_of(vdesc, struct sf_pdma_desc, vdesc); in sf_pdma_get_first_pending_desc()
287 static void sf_pdma_free_desc(struct virt_dma_desc *vdesc) in sf_pdma_free_desc() argument
291 desc = to_sf_pdma_desc(vdesc); in sf_pdma_free_desc()
309 list_del(&chan->desc->vdesc.node); in sf_pdma_donebh_tasklet()
310 vchan_cookie_complete(&chan->desc->vdesc); in sf_pdma_donebh_tasklet()
[all...]
/kernel/linux/linux-5.10/drivers/sh/intc/
H A Dvirq.c122 struct irq_desc *vdesc = irq_to_desc(entry->irq); in intc_virq_handler() local
124 if (vdesc) { in intc_virq_handler()
125 handle = (unsigned long)irq_desc_get_handler_data(vdesc); in intc_virq_handler()
128 generic_handle_irq_desc(vdesc); in intc_virq_handler()
/kernel/linux/linux-6.6/drivers/sh/intc/
H A Dvirq.c122 struct irq_desc *vdesc = irq_to_desc(entry->irq); in intc_virq_handler() local
124 if (vdesc) { in intc_virq_handler()
125 handle = (unsigned long)irq_desc_get_handler_data(vdesc); in intc_virq_handler()
128 generic_handle_irq_desc(vdesc); in intc_virq_handler()

Completed in 23 milliseconds

123