Lines Matching refs:shdma_chan
88 struct shdma_chan shdma_chan; member
123 #define to_chan(schan) container_of(schan, struct hpb_dmae_chan, shdma_chan)
125 #define to_dev(sc) container_of(sc->shdma_chan.dma_chan.device, \
285 static void hpb_dmae_halt(struct shdma_chan *schan) in hpb_dmae_halt()
313 static void hpb_dmae_start_xfer(struct shdma_chan *schan, in hpb_dmae_start_xfer()
333 static bool hpb_dmae_desc_completed(struct shdma_chan *schan, in hpb_dmae_desc_completed()
346 static bool hpb_dmae_chan_irq(struct shdma_chan *schan, int irq) in hpb_dmae_chan_irq()
361 static int hpb_dmae_desc_setup(struct shdma_chan *schan, in hpb_dmae_desc_setup()
377 static size_t hpb_dmae_get_partial(struct shdma_chan *schan, in hpb_dmae_get_partial()
388 static bool hpb_dmae_channel_busy(struct shdma_chan *schan) in hpb_dmae_channel_busy()
411 struct device *dev = hpb_chan->shdma_chan.dev; in hpb_dmae_alloc_chan_resources()
425 err = shdma_request_irq(&hpb_chan->shdma_chan, channel->ch_irq, in hpb_dmae_alloc_chan_resources()
428 dev_err(hpb_chan->shdma_chan.dev, in hpb_dmae_alloc_chan_resources()
443 dev_err(hpb_chan->shdma_chan.dev, "DCR setting error"); in hpb_dmae_alloc_chan_resources()
457 static int hpb_dmae_set_slave(struct shdma_chan *schan, int slave_id, in hpb_dmae_set_slave()
473 static void hpb_dmae_setup_xfer(struct shdma_chan *schan, int slave_id) in hpb_dmae_setup_xfer()
477 static dma_addr_t hpb_dmae_slave_addr(struct shdma_chan *schan) in hpb_dmae_slave_addr()
509 struct shdma_chan *schan; in hpb_dmae_chan_probe()
520 schan = &new_hpb_chan->shdma_chan; in hpb_dmae_chan_probe()
628 struct shdma_chan *schan; in hpb_dmae_chan_remove()