Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/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()
314 static struct shdma_desc *sudmac_embedded_desc(void *buf, int i) in sudmac_embedded_desc()
316 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 …]
Drcar-hpbdma.c118 struct shdma_desc shdma_desc; member
124 #define to_desc(sdesc) container_of(sdesc, struct hpb_desc, shdma_desc)
314 struct shdma_desc *sdesc) in hpb_dmae_start_xfer()
334 struct shdma_desc *sdesc) in hpb_dmae_desc_completed()
362 struct shdma_desc *sdesc, in hpb_dmae_desc_setup()
378 struct shdma_desc *sdesc) in hpb_dmae_get_partial()
484 static struct shdma_desc *hpb_dmae_embedded_desc(void *buf, int i) in hpb_dmae_embedded_desc()
486 return &((struct hpb_desc *)buf)[i].shdma_desc; in hpb_dmae_embedded_desc()
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()
460 struct shdma_desc *sdesc) in sh_dmae_desc_completed()
465 struct sh_dmae_desc, shdma_desc); in sh_dmae_desc_completed()
658 static struct shdma_desc *sh_dmae_embedded_desc(void *buf, int i) in sh_dmae_embedded_desc()
660 return &((struct sh_dmae_desc *)buf)[i].shdma_desc; in sh_dmae_embedded_desc()
/linux-4.1.27/drivers/tty/serial/
Dsh-sci.c1437 struct shdma_desc *sh_desc = container_of(desc, in work_fn_rx()
1438 struct shdma_desc, async_tx); in work_fn_rx()