| /linux-4.4.14/drivers/dma/ |
| D | dma-jz4740.c | 106 struct virt_dma_desc vdesc; member 146 static struct jz4740_dma_desc *to_jz4740_dma_desc(struct virt_dma_desc *vdesc) in to_jz4740_dma_desc() argument 148 return container_of(vdesc, struct jz4740_dma_desc, vdesc); in to_jz4740_dma_desc() 293 struct virt_dma_desc *vdesc; in jz4740_dma_start_transfer() local 300 vdesc = vchan_next_desc(&chan->vchan); in jz4740_dma_start_transfer() 301 if (!vdesc) in jz4740_dma_start_transfer() 303 chan->desc = to_jz4740_dma_desc(vdesc); in jz4740_dma_start_transfer() 343 vchan_cyclic_callback(&chan->desc->vdesc); in jz4740_dma_chan_irq() 346 list_del(&chan->desc->vdesc.node); in jz4740_dma_chan_irq() 347 vchan_cookie_complete(&chan->desc->vdesc); in jz4740_dma_chan_irq() [all …]
|
| D | dma-jz4780.c | 116 struct virt_dma_desc vdesc; member 160 struct virt_dma_desc *vdesc) in to_jz4780_dma_desc() argument 162 return container_of(vdesc, struct jz4780_dma_desc, vdesc); in to_jz4780_dma_desc() 209 static void jz4780_dma_desc_free(struct virt_dma_desc *vdesc) in jz4780_dma_desc_free() argument 211 struct jz4780_dma_desc *desc = to_jz4780_dma_desc(vdesc); in jz4780_dma_desc_free() 212 struct jz4780_dma_chan *jzchan = to_jz4780_dma_chan(vdesc->tx.chan); in jz4780_dma_desc_free() 346 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_slave_sg() 396 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_dma_cyclic() 423 return vchan_tx_prep(&jzchan->vchan, &desc->vdesc, flags); in jz4780_dma_prep_dma_memcpy() 429 struct virt_dma_desc *vdesc; in jz4780_dma_begin() local [all …]
|
| D | dma-axi-dmac.c | 86 struct virt_dma_desc vdesc; member 137 static struct axi_dmac_desc *to_axi_dmac_desc(struct virt_dma_desc *vdesc) in to_axi_dmac_desc() argument 139 return container_of(vdesc, struct axi_dmac_desc, vdesc); in to_axi_dmac_desc() 182 struct virt_dma_desc *vdesc; in axi_dmac_start_transfer() local 195 vdesc = vchan_next_desc(&chan->vchan); in axi_dmac_start_transfer() 196 if (!vdesc) in axi_dmac_start_transfer() 198 list_move_tail(&vdesc->node, &chan->active_descs); in axi_dmac_start_transfer() 199 desc = to_axi_dmac_desc(vdesc); in axi_dmac_start_transfer() 225 if (chan->hw_cyclic && desc->cyclic && !desc->vdesc.tx.callback) in axi_dmac_start_transfer() 237 struct axi_dmac_desc, vdesc.node); in axi_dmac_active_desc() [all …]
|
| D | idma64.c | 119 struct virt_dma_desc *vdesc; in idma64_start_transfer() local 122 vdesc = vchan_next_desc(&idma64c->vchan); in idma64_start_transfer() 123 if (!vdesc) { in idma64_start_transfer() 128 list_del(&vdesc->node); in idma64_start_transfer() 129 idma64c->desc = to_idma64_desc(vdesc); in idma64_start_transfer() 156 vchan_cookie_complete(&desc->vdesc); in idma64_chan_irq() 235 static void idma64_vdesc_free(struct virt_dma_desc *vdesc) in idma64_vdesc_free() argument 237 struct idma64_chan *idma64c = to_idma64_chan(vdesc->tx.chan); in idma64_vdesc_free() 239 idma64_desc_free(idma64c, to_idma64_desc(vdesc)); in idma64_vdesc_free() 336 return vchan_tx_prep(&idma64c->vchan, &desc->vdesc, flags); in idma64_prep_slave_sg() [all …]
|
| D | fsl-edma.c | 157 struct virt_dma_desc vdesc; member 225 return container_of(vd, struct fsl_edma_desc, vdesc); in to_fsl_edma_desc() 280 static void fsl_edma_free_desc(struct virt_dma_desc *vdesc) in fsl_edma_free_desc() argument 285 fsl_desc = to_fsl_edma_desc(vdesc); in fsl_edma_free_desc() 358 struct virt_dma_desc *vdesc, bool in_progress) in fsl_edma_desc_residue() argument 404 struct virt_dma_desc *vdesc; in fsl_edma_tx_status() local 416 vdesc = vchan_find_desc(&fsl_chan->vchan, cookie); in fsl_edma_tx_status() 417 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) in fsl_edma_tx_status() 418 txstate->residue = fsl_edma_desc_residue(fsl_chan, vdesc, true); in fsl_edma_tx_status() 419 else if (vdesc) in fsl_edma_tx_status() [all …]
|
| D | idma64.h | 116 struct virt_dma_desc vdesc; member 124 static inline struct idma64_desc *to_idma64_desc(struct virt_dma_desc *vdesc) in to_idma64_desc() argument 126 return container_of(vdesc, struct idma64_desc, vdesc); in to_idma64_desc()
|
| D | edma.c | 165 struct virt_dma_desc vdesc; member 734 return container_of(tx, struct edma_desc, vdesc.tx); in to_edma_desc() 737 static void edma_desc_free(struct virt_dma_desc *vdesc) in edma_desc_free() argument 739 kfree(container_of(vdesc, struct edma_desc, vdesc)); in edma_desc_free() 746 struct virt_dma_desc *vdesc; in edma_execute() local 753 vdesc = vchan_next_desc(&echan->vchan); in edma_execute() 754 if (!vdesc) in edma_execute() 756 list_del(&vdesc->node); in edma_execute() 757 echan->edesc = to_edma_desc(&vdesc->tx); in edma_execute() 858 edma_desc_free(&echan->edesc->vdesc); in edma_terminate_all() [all …]
|
| D | img-mdc-dma.c | 178 struct virt_dma_desc *vdesc = container_of(t, struct virt_dma_desc, tx); in to_mdc_desc() local 180 return container_of(vdesc, struct mdc_tx_desc, vd); in to_mdc_desc()
|
| /linux-4.4.14/fs/nilfs2/ |
| D | ioctl.c | 575 struct nilfs_vdesc *vdesc, in nilfs_ioctl_move_inode_block() argument 581 if (vdesc->vd_flags == 0) in nilfs_ioctl_move_inode_block() 583 inode, vdesc->vd_offset, vdesc->vd_blocknr, in nilfs_ioctl_move_inode_block() 584 vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block() 587 inode, vdesc->vd_blocknr, vdesc->vd_vblocknr, &bh); in nilfs_ioctl_move_inode_block() 595 __func__, vdesc->vd_flags ? "node" : "data", in nilfs_ioctl_move_inode_block() 596 (unsigned long long)vdesc->vd_ino, in nilfs_ioctl_move_inode_block() 597 (unsigned long long)vdesc->vd_cno, in nilfs_ioctl_move_inode_block() 598 (unsigned long long)vdesc->vd_offset, in nilfs_ioctl_move_inode_block() 599 (unsigned long long)vdesc->vd_blocknr, in nilfs_ioctl_move_inode_block() [all …]
|
| /linux-4.4.14/drivers/dma/hsu/ |
| D | hsu.c | 113 struct virt_dma_desc *vdesc; in hsu_dma_start_transfer() local 116 vdesc = vchan_next_desc(&hsuc->vchan); in hsu_dma_start_transfer() 117 if (!vdesc) { in hsu_dma_start_transfer() 122 list_del(&vdesc->node); in hsu_dma_start_transfer() 123 hsuc->desc = to_hsu_dma_desc(vdesc); in hsu_dma_start_transfer() 178 vchan_cookie_complete(&desc->vdesc); in hsu_dma_irq() 206 static void hsu_dma_desc_free(struct virt_dma_desc *vdesc) in hsu_dma_desc_free() argument 208 struct hsu_dma_desc *desc = to_hsu_dma_desc(vdesc); in hsu_dma_desc_free() 238 return vchan_tx_prep(&hsuc->vchan, &desc->vdesc, flags); in hsu_dma_prep_slave_sg() 281 struct virt_dma_desc *vdesc; in hsu_dma_tx_status() local [all …]
|
| D | hsu.h | 67 struct virt_dma_desc vdesc; member 75 static inline struct hsu_dma_desc *to_hsu_dma_desc(struct virt_dma_desc *vdesc) in to_hsu_dma_desc() argument 77 return container_of(vdesc, struct hsu_dma_desc, vdesc); in to_hsu_dma_desc()
|
| /linux-4.4.14/drivers/sh/intc/ |
| D | virq.c | 124 struct irq_desc *vdesc = irq_to_desc(entry->irq); in intc_virq_handler() local 126 if (vdesc) { in intc_virq_handler() 127 handle = (unsigned long)irq_desc_get_handler_data(vdesc); in intc_virq_handler() 130 generic_handle_irq_desc(vdesc); in intc_virq_handler()
|