Lines Matching refs:capture
127 struct rz_ssi_stream capture; member
181 stream = &ssi->capture; in rz_ssi_stream_get()
188 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled()
523 else if (ssi->capture.substream) in rz_ssi_interrupt()
524 strm = &ssi->capture; in rz_ssi_interrupt()
566 strm->transfer(ssi, &ssi->capture); in rz_ssi_interrupt()
670 if (ssi->capture.dma_ch) { in rz_ssi_release_dma_channels()
671 dma_release_channel(ssi->capture.dma_ch); in rz_ssi_release_dma_channels()
672 ssi->capture.dma_ch = NULL; in rz_ssi_release_dma_channels()
682 ssi->capture.dma_ch = dma_request_chan(dev, "rx"); in rz_ssi_dma_request()
683 if (IS_ERR(ssi->capture.dma_ch)) in rz_ssi_dma_request()
684 ssi->capture.dma_ch = NULL; in rz_ssi_dma_request()
686 if (!ssi->playback.dma_ch && !ssi->capture.dma_ch) { in rz_ssi_dma_request()
703 if (ssi->capture.dma_ch && in rz_ssi_dma_request()
704 (rz_ssi_dma_slave_config(ssi, ssi->capture.dma_ch, false) < 0)) in rz_ssi_dma_request()
742 ssi->capture.transfer = rz_ssi_pio_recv; in rz_ssi_dai_trigger()
902 .capture = {
968 ssi->capture.transfer = rz_ssi_pio_recv; in rz_ssi_probe()
972 ssi->capture.transfer = rz_ssi_dma_transfer; in rz_ssi_probe()
976 ssi->capture.priv = ssi; in rz_ssi_probe()