Lines Matching refs:shdma_chan
72 sh_dc->shdma_chan.id; in channel_clear()
261 const struct sh_dmae_channel *chan_pdata = &pdata->channel[sh_chan->shdma_chan.id]; in dmae_set_dmars()
282 static void sh_dmae_start_xfer(struct shdma_chan *schan, in sh_dmae_start_xfer()
286 shdma_chan); in sh_dmae_start_xfer()
289 dev_dbg(sh_chan->shdma_chan.dev, "Queue #%d to %d: %u@%x -> %x\n", in sh_dmae_start_xfer()
290 sdesc->async_tx.cookie, sh_chan->shdma_chan.id, in sh_dmae_start_xfer()
297 static bool sh_dmae_channel_busy(struct shdma_chan *schan) in sh_dmae_channel_busy()
300 shdma_chan); in sh_dmae_channel_busy()
304 static void sh_dmae_setup_xfer(struct shdma_chan *schan, in sh_dmae_setup_xfer()
308 shdma_chan); in sh_dmae_setup_xfer()
333 if (!sh_chan->shdma_chan.dev->of_node) { in dmae_find_slave()
343 sh_chan->shdma_chan.slave_id = i; in dmae_find_slave()
351 static int sh_dmae_set_slave(struct shdma_chan *schan, in sh_dmae_set_slave()
355 shdma_chan); in sh_dmae_set_slave()
377 static int sh_dmae_desc_setup(struct shdma_chan *schan, in sh_dmae_desc_setup()
394 static void sh_dmae_halt(struct shdma_chan *schan) in sh_dmae_halt()
397 shdma_chan); in sh_dmae_halt()
401 static bool sh_dmae_chan_irq(struct shdma_chan *schan, int irq) in sh_dmae_chan_irq()
404 shdma_chan); in sh_dmae_chan_irq()
415 static size_t sh_dmae_get_partial(struct shdma_chan *schan, in sh_dmae_get_partial()
419 shdma_chan); in sh_dmae_get_partial()
453 static bool sh_dmae_desc_completed(struct shdma_chan *schan, in sh_dmae_desc_completed()
457 struct sh_dmae_chan, shdma_chan); in sh_dmae_desc_completed()
524 struct shdma_chan *schan; in sh_dmae_chan_probe()
532 schan = &sh_chan->shdma_chan; in sh_dmae_chan_probe()
566 struct shdma_chan *schan; in sh_dmae_chan_remove()
614 if (!sh_chan->shdma_chan.desc_num) in sh_dmae_resume()
617 if (sh_chan->shdma_chan.slave_id >= 0) { in sh_dmae_resume()
636 static dma_addr_t sh_dmae_slave_addr(struct shdma_chan *schan) in sh_dmae_slave_addr()
639 struct sh_dmae_chan, shdma_chan); in sh_dmae_slave_addr()