Lines Matching refs:shdma_chan
71 sh_dc->shdma_chan.id; in channel_clear()
260 const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->shdma_chan.id]; in dmae_set_dmars()
281 static void sh_dmae_start_xfer(struct shdma_chan *schan, in sh_dmae_start_xfer()
285 shdma_chan); in sh_dmae_start_xfer()
288 dev_dbg(sh_chan->shdma_chan.dev, "Queue #%d to %d: %u@%x -> %x\n", in sh_dmae_start_xfer()
289 sdesc->async_tx.cookie, sh_chan->shdma_chan.id, in sh_dmae_start_xfer()
296 static bool sh_dmae_channel_busy(struct shdma_chan *schan) in sh_dmae_channel_busy()
299 shdma_chan); in sh_dmae_channel_busy()
303 static void sh_dmae_setup_xfer(struct shdma_chan *schan, in sh_dmae_setup_xfer()
307 shdma_chan); in sh_dmae_setup_xfer()
332 if (!sh_chan->shdma_chan.dev->of_node) { in dmae_find_slave()
342 sh_chan->shdma_chan.slave_id = i; in dmae_find_slave()
350 static int sh_dmae_set_slave(struct shdma_chan *schan, in sh_dmae_set_slave()
354 shdma_chan); in sh_dmae_set_slave()
376 static int sh_dmae_desc_setup(struct shdma_chan *schan, in sh_dmae_desc_setup()
393 static void sh_dmae_halt(struct shdma_chan *schan) in sh_dmae_halt()
396 shdma_chan); in sh_dmae_halt()
400 static bool sh_dmae_chan_irq(struct shdma_chan *schan, int irq) in sh_dmae_chan_irq()
403 shdma_chan); in sh_dmae_chan_irq()
414 static size_t sh_dmae_get_partial(struct shdma_chan *schan, in sh_dmae_get_partial()
418 shdma_chan); in sh_dmae_get_partial()
452 static bool sh_dmae_desc_completed(struct shdma_chan *schan, in sh_dmae_desc_completed()
456 struct sh_dmae_chan, shdma_chan); in sh_dmae_desc_completed()
523 struct shdma_chan *schan; in sh_dmae_chan_probe()
531 schan = &sh_chan->shdma_chan; in sh_dmae_chan_probe()
565 struct shdma_chan *schan; in sh_dmae_chan_remove()
613 if (!sh_chan->shdma_chan.desc_num) in sh_dmae_resume()
616 if (sh_chan->shdma_chan.slave_id >= 0) { in sh_dmae_resume()
635 static dma_addr_t sh_dmae_slave_addr(struct shdma_chan *schan) in sh_dmae_slave_addr()
638 struct sh_dmae_chan, shdma_chan); in sh_dmae_slave_addr()