• Home
  • Raw
  • Download

Lines Matching refs:schan

286 static void sh_dmae_start_xfer(struct shdma_chan *schan,  in sh_dmae_start_xfer()  argument
289 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_start_xfer()
301 static bool sh_dmae_channel_busy(struct shdma_chan *schan) in sh_dmae_channel_busy() argument
303 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_channel_busy()
308 static void sh_dmae_setup_xfer(struct shdma_chan *schan, in sh_dmae_setup_xfer() argument
311 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_setup_xfer()
355 static int sh_dmae_set_slave(struct shdma_chan *schan, in sh_dmae_set_slave() argument
358 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_set_slave()
381 static int sh_dmae_desc_setup(struct shdma_chan *schan, in sh_dmae_desc_setup() argument
388 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup()
389 *len = schan->max_xfer_len; in sh_dmae_desc_setup()
398 static void sh_dmae_halt(struct shdma_chan *schan) in sh_dmae_halt() argument
400 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_halt()
405 static bool sh_dmae_chan_irq(struct shdma_chan *schan, int irq) in sh_dmae_chan_irq() argument
407 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_chan_irq()
419 static size_t sh_dmae_get_partial(struct shdma_chan *schan, in sh_dmae_get_partial() argument
422 struct sh_dmae_chan *sh_chan = container_of(schan, struct sh_dmae_chan, in sh_dmae_get_partial()
459 static bool sh_dmae_desc_completed(struct shdma_chan *schan, in sh_dmae_desc_completed() argument
462 struct sh_dmae_chan *sh_chan = container_of(schan, in sh_dmae_desc_completed()
530 struct shdma_chan *schan; in sh_dmae_chan_probe() local
541 schan = &sh_chan->shdma_chan; in sh_dmae_chan_probe()
542 schan->max_xfer_len = SH_DMA_TCR_MAX + 1; in sh_dmae_chan_probe()
544 shdma_chan_probe(sdev, schan, id); in sh_dmae_chan_probe()
556 err = shdma_request_irq(schan, irq, flags, sh_chan->dev_id); in sh_dmae_chan_probe()
569 shdma_chan_remove(schan); in sh_dmae_chan_probe()
575 struct shdma_chan *schan; in sh_dmae_chan_remove() local
578 shdma_for_each_chan(schan, &shdev->shdma_dev, i) { in sh_dmae_chan_remove()
579 BUG_ON(!schan); in sh_dmae_chan_remove()
581 shdma_chan_remove(schan); in sh_dmae_chan_remove()
645 static dma_addr_t sh_dmae_slave_addr(struct shdma_chan *schan) in sh_dmae_slave_addr() argument
647 struct sh_dmae_chan *sh_chan = container_of(schan, in sh_dmae_slave_addr()