Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dshdma-base.h46 struct shdma_desc { struct
92 bool (*desc_completed)(struct shdma_chan *, struct shdma_desc *);
96 int (*desc_setup)(struct shdma_chan *, struct shdma_desc *,
100 void (*start_xfer)(struct shdma_chan *, struct shdma_desc *);
101 struct shdma_desc *(*embedded_desc)(void *, int);
103 size_t (*get_partial)(struct shdma_chan *, struct shdma_desc *);
/openbmc/linux/drivers/dma/sh/
H A Dshdma-base.c56 struct shdma_desc *sdesc; in shdma_chan_xfer_ld_queue()
72 struct shdma_desc *chunk, *c, *desc = in shdma_tx_submit()
73 container_of(tx, struct shdma_desc, async_tx); in shdma_tx_submit()
157 static struct shdma_desc *shdma_get_desc(struct shdma_chan *schan) in shdma_get_desc()
159 struct shdma_desc *sdesc; in shdma_get_desc()
208 struct shdma_desc *desc; in shdma_alloc_chan_resources()
325 struct shdma_desc *desc, *_desc; in __ld_cleanup()
501 static struct shdma_desc *shdma_add_desc(struct shdma_chan *schan, in shdma_add_desc()
503 struct shdma_desc **first, enum dma_transfer_direction direction) in shdma_add_desc()
507 struct shdma_desc *new; in shdma_add_desc()
[all …]
H A Dshdma.h52 struct shdma_desc shdma_desc; member
H A Dshdmac.c282 struct shdma_desc *sdesc) in sh_dmae_start_xfer()
287 struct sh_dmae_desc, shdma_desc); in sh_dmae_start_xfer()
377 struct shdma_desc *sdesc, in sh_dmae_desc_setup()
381 struct sh_dmae_desc, shdma_desc); in sh_dmae_desc_setup()
415 struct shdma_desc *sdesc) in sh_dmae_get_partial()
420 struct sh_dmae_desc, shdma_desc); in sh_dmae_get_partial()
453 struct shdma_desc *sdesc) in sh_dmae_desc_completed()
458 struct sh_dmae_desc, shdma_desc); in sh_dmae_desc_completed()
648 static struct shdma_desc *sh_dmae_embedded_desc(void *buf, int i) in sh_dmae_embedded_desc()
650 return &((struct sh_dmae_desc *)buf)[i].shdma_desc; in sh_dmae_embedded_desc()