Lines Matching refs:playback
122 struct rz_ssi_stream playback; member
174 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get()
184 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled()
519 if (ssi->playback.substream) in rz_ssi_interrupt()
520 strm = &ssi->playback; in rz_ssi_interrupt()
560 strm->transfer(ssi, &ssi->playback); in rz_ssi_interrupt()
661 if (ssi->playback.dma_ch) { in rz_ssi_release_dma_channels()
662 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_release_dma_channels()
663 ssi->playback.dma_ch = NULL; in rz_ssi_release_dma_channels()
676 ssi->playback.dma_ch = dma_request_chan(dev, "tx"); in rz_ssi_dma_request()
677 if (IS_ERR(ssi->playback.dma_ch)) in rz_ssi_dma_request()
678 ssi->playback.dma_ch = NULL; in rz_ssi_dma_request()
684 if (!ssi->playback.dma_ch && !ssi->capture.dma_ch) { in rz_ssi_dma_request()
685 ssi->playback.dma_ch = dma_request_chan(dev, "rt"); in rz_ssi_dma_request()
686 if (IS_ERR(ssi->playback.dma_ch)) { in rz_ssi_dma_request()
687 ssi->playback.dma_ch = NULL; in rz_ssi_dma_request()
697 if (ssi->playback.dma_ch && in rz_ssi_dma_request()
698 (rz_ssi_dma_slave_config(ssi, ssi->playback.dma_ch, true) < 0)) in rz_ssi_dma_request()
733 ret = rz_ssi_dma_slave_config(ssi, ssi->playback.dma_ch, in rz_ssi_dai_trigger()
737 ssi->playback.transfer = rz_ssi_pio_send; in rz_ssi_dai_trigger()
892 .playback = {
964 ssi->playback.transfer = rz_ssi_pio_send; in rz_ssi_probe()
968 ssi->playback.transfer = rz_ssi_dma_transfer; in rz_ssi_probe()
972 ssi->playback.priv = ssi; in rz_ssi_probe()