Lines Matching refs:playback
126 struct rz_ssi_stream playback; member
178 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get()
188 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled()
521 if (ssi->playback.substream) in rz_ssi_interrupt()
522 strm = &ssi->playback; in rz_ssi_interrupt()
562 strm->transfer(ssi, &ssi->playback); in rz_ssi_interrupt()
663 if (ssi->playback.dma_ch) { in rz_ssi_release_dma_channels()
664 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_release_dma_channels()
665 ssi->playback.dma_ch = NULL; in rz_ssi_release_dma_channels()
678 ssi->playback.dma_ch = dma_request_chan(dev, "tx"); in rz_ssi_dma_request()
679 if (IS_ERR(ssi->playback.dma_ch)) in rz_ssi_dma_request()
680 ssi->playback.dma_ch = NULL; in rz_ssi_dma_request()
686 if (!ssi->playback.dma_ch && !ssi->capture.dma_ch) { in rz_ssi_dma_request()
687 ssi->playback.dma_ch = dma_request_chan(dev, "rt"); in rz_ssi_dma_request()
688 if (IS_ERR(ssi->playback.dma_ch)) { in rz_ssi_dma_request()
689 ssi->playback.dma_ch = NULL; in rz_ssi_dma_request()
699 if (ssi->playback.dma_ch && in rz_ssi_dma_request()
700 (rz_ssi_dma_slave_config(ssi, ssi->playback.dma_ch, true) < 0)) in rz_ssi_dma_request()
737 ret = rz_ssi_dma_slave_config(ssi, ssi->playback.dma_ch, in rz_ssi_dai_trigger()
741 ssi->playback.transfer = rz_ssi_pio_send; in rz_ssi_dai_trigger()
896 .playback = {
967 ssi->playback.transfer = rz_ssi_pio_send; in rz_ssi_probe()
971 ssi->playback.transfer = rz_ssi_dma_transfer; in rz_ssi_probe()
975 ssi->playback.priv = ssi; in rz_ssi_probe()