Home
last modified time | relevance | path

Searched refs:shdma_desc (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/linux/
Dshdma-base.h49 struct shdma_desc { struct
95 bool (*desc_completed)(struct shdma_chan *, struct shdma_desc *);
99 int (*desc_setup)(struct shdma_chan *, struct shdma_desc *,
103 void (*start_xfer)(struct shdma_chan *, struct shdma_desc *);
104 struct shdma_desc *(*embedded_desc)(void *, int);
106 size_t (*get_partial)(struct shdma_chan *, struct shdma_desc *);
/Linux-v4.19/drivers/dma/sh/
Dsudmac.c49 struct shdma_desc shdma_desc; member
53 #define to_desc(sdesc) container_of(sdesc, struct sudmac_desc, shdma_desc)
103 struct shdma_desc *sdesc) in sudmac_set_reg()
119 struct shdma_desc *sdesc) in sudmac_start_xfer()
176 struct shdma_desc *sdesc, in sudmac_desc_setup()
219 struct shdma_desc *sdesc) in sudmac_get_partial()
229 struct shdma_desc *sdesc) in sudmac_desc_completed()
311 static struct shdma_desc *sudmac_embedded_desc(void *buf, int i) in sudmac_embedded_desc()
313 return &((struct sudmac_desc *)buf)[i].shdma_desc; in sudmac_embedded_desc()
Dshdma-base.c59 struct shdma_desc *sdesc; in shdma_chan_xfer_ld_queue()
75 struct shdma_desc *chunk, *c, *desc = in shdma_tx_submit()
76 container_of(tx, struct shdma_desc, async_tx); in shdma_tx_submit()
160 static struct shdma_desc *shdma_get_desc(struct shdma_chan *schan) in shdma_get_desc()
162 struct shdma_desc *sdesc; in shdma_get_desc()
211 struct shdma_desc *desc; in shdma_alloc_chan_resources()
328 struct shdma_desc *desc, *_desc; in __ld_cleanup()
504 static struct shdma_desc *shdma_add_desc(struct shdma_chan *schan, in shdma_add_desc()
506 struct shdma_desc **first, enum dma_transfer_direction direction) in shdma_add_desc()
510 struct shdma_desc *new; in shdma_add_desc()
[all …]
Dshdma.h56 struct shdma_desc shdma_desc; member
Dshdmac.c287 struct shdma_desc *sdesc) in sh_dmae_start_xfer()
292 struct sh_dmae_desc, shdma_desc); in sh_dmae_start_xfer()
382 struct shdma_desc *sdesc, in sh_dmae_desc_setup()
386 struct sh_dmae_desc, shdma_desc); in sh_dmae_desc_setup()
420 struct shdma_desc *sdesc) in sh_dmae_get_partial()
425 struct sh_dmae_desc, shdma_desc); in sh_dmae_get_partial()
458 struct shdma_desc *sdesc) in sh_dmae_desc_completed()
463 struct sh_dmae_desc, shdma_desc); in sh_dmae_desc_completed()
653 static struct shdma_desc *sh_dmae_embedded_desc(void *buf, int i) in sh_dmae_embedded_desc()
655 return &((struct sh_dmae_desc *)buf)[i].shdma_desc; in sh_dmae_embedded_desc()