siu_stream 118 sound/soc/sh/siu.h struct siu_stream playback; siu_stream 119 sound/soc/sh/siu.h struct siu_stream capture; siu_stream 191 sound/soc/sh/siu_dai.c static void siu_dai_open(struct siu_stream *siu_stream) siu_stream 222 sound/soc/sh/siu_dai.c static void siu_dai_pcmdatapack(struct siu_stream *siu_stream) siu_stream 546 sound/soc/sh/siu_dai.c struct siu_stream *siu_stream; siu_stream 555 sound/soc/sh/siu_dai.c siu_stream = &port_info->playback; siu_stream 558 sound/soc/sh/siu_dai.c siu_stream = &port_info->capture; siu_stream 563 sound/soc/sh/siu_dai.c siu_stream->rw_flg = 0; /* stream-data transfer flag */ siu_stream 568 sound/soc/sh/siu_dai.c siu_dai_open(siu_stream); siu_stream 570 sound/soc/sh/siu_dai.c siu_dai_pcmdatapack(siu_stream); siu_stream 41 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->playback; siu_stream 44 sound/soc/sh/siu_pcm.c if (!siu_stream->rw_flg) siu_stream 54 sound/soc/sh/siu_pcm.c siu_stream->rw_flg = 0; siu_stream 61 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->playback; siu_stream 63 sound/soc/sh/siu_pcm.c if (siu_stream->rw_flg) siu_stream 70 sound/soc/sh/siu_pcm.c siu_stream->rw_flg = RWF_STM_WT; siu_stream 73 sound/soc/sh/siu_pcm.c tasklet_schedule(&siu_stream->tasklet); siu_stream 80 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = arg; siu_stream 82 sound/soc/sh/siu_pcm.c if (!siu_stream->rw_flg) siu_stream 86 sound/soc/sh/siu_pcm.c if (++siu_stream->cur_period >= siu_stream 87 sound/soc/sh/siu_pcm.c GET_MAX_PERIODS(siu_stream->buf_bytes, siu_stream 88 sound/soc/sh/siu_pcm.c siu_stream->period_bytes)) siu_stream 89 sound/soc/sh/siu_pcm.c siu_stream->cur_period = 0; siu_stream 92 sound/soc/sh/siu_pcm.c __func__, siu_stream->cur_period, siu_stream 93 sound/soc/sh/siu_pcm.c siu_stream->cur_period * siu_stream->period_bytes, siu_stream 94 sound/soc/sh/siu_pcm.c siu_stream->buf_bytes, siu_stream->cookie); siu_stream 96 sound/soc/sh/siu_pcm.c tasklet_schedule(&siu_stream->tasklet); siu_stream 99 sound/soc/sh/siu_pcm.c snd_pcm_period_elapsed(siu_stream->substream); siu_stream 107 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->playback; siu_stream 108 sound/soc/sh/siu_pcm.c struct snd_pcm_substream *substream = siu_stream->substream; siu_stream 121 sound/soc/sh/siu_pcm.c desc = dmaengine_prep_slave_sg(siu_stream->chan, siu_stream 129 sound/soc/sh/siu_pcm.c desc->callback_param = siu_stream; siu_stream 136 sound/soc/sh/siu_pcm.c siu_stream->tx_desc = desc; siu_stream 137 sound/soc/sh/siu_pcm.c siu_stream->cookie = cookie; siu_stream 139 sound/soc/sh/siu_pcm.c dma_async_issue_pending(siu_stream->chan); siu_stream 155 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->capture; siu_stream 156 sound/soc/sh/siu_pcm.c struct snd_pcm_substream *substream = siu_stream->substream; siu_stream 171 sound/soc/sh/siu_pcm.c desc = dmaengine_prep_slave_sg(siu_stream->chan, siu_stream 179 sound/soc/sh/siu_pcm.c desc->callback_param = siu_stream; siu_stream 186 sound/soc/sh/siu_pcm.c siu_stream->tx_desc = desc; siu_stream 187 sound/soc/sh/siu_pcm.c siu_stream->cookie = cookie; siu_stream 189 sound/soc/sh/siu_pcm.c dma_async_issue_pending(siu_stream->chan); siu_stream 203 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = (struct siu_stream *)data; siu_stream 204 sound/soc/sh/siu_pcm.c struct snd_pcm_substream *substream = siu_stream->substream; siu_stream 209 sound/soc/sh/siu_pcm.c dev_dbg(dev, "%s: flags %x\n", __func__, siu_stream->rw_flg); siu_stream 211 sound/soc/sh/siu_pcm.c if (!siu_stream->rw_flg) { siu_stream 222 sound/soc/sh/siu_pcm.c siu_stream->cur_period, siu_stream 223 sound/soc/sh/siu_pcm.c siu_stream->period_bytes); siu_stream 225 sound/soc/sh/siu_pcm.c siu_stream->cur_period, siu_stream 226 sound/soc/sh/siu_pcm.c siu_stream->period_bytes); siu_stream 227 sound/soc/sh/siu_pcm.c count = siu_stream->period_bytes; siu_stream 234 sound/soc/sh/siu_pcm.c siu_stream->cur_period, siu_stream 235 sound/soc/sh/siu_pcm.c siu_stream->period_bytes), siu_stream 236 sound/soc/sh/siu_pcm.c siu_stream->period_bytes); siu_stream 243 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->capture; siu_stream 245 sound/soc/sh/siu_pcm.c if (siu_stream->xfer_cnt > 0x1000000) siu_stream 247 sound/soc/sh/siu_pcm.c if (siu_stream->rw_flg) siu_stream 251 sound/soc/sh/siu_pcm.c siu_stream->cur_period = 0; siu_stream 254 sound/soc/sh/siu_pcm.c siu_stream->rw_flg = RWF_STM_RD; siu_stream 256 sound/soc/sh/siu_pcm.c tasklet_schedule(&siu_stream->tasklet); siu_stream 265 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream = &port_info->capture; siu_stream 266 sound/soc/sh/siu_pcm.c struct device *dev = siu_stream->substream->pcm->card->dev; siu_stream 269 sound/soc/sh/siu_pcm.c if (!siu_stream->rw_flg) siu_stream 279 sound/soc/sh/siu_pcm.c siu_stream->rw_flg = 0; siu_stream 305 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream; siu_stream 308 sound/soc/sh/siu_pcm.c siu_stream = &port_info->playback; siu_stream 310 sound/soc/sh/siu_pcm.c siu_stream = &port_info->capture; siu_stream 335 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream; siu_stream 347 sound/soc/sh/siu_pcm.c siu_stream = &port_info->playback; siu_stream 348 sound/soc/sh/siu_pcm.c param = &siu_stream->param; siu_stream 352 sound/soc/sh/siu_pcm.c siu_stream = &port_info->capture; siu_stream 353 sound/soc/sh/siu_pcm.c param = &siu_stream->param; siu_stream 359 sound/soc/sh/siu_pcm.c siu_stream->chan = dma_request_channel(mask, filter, param); siu_stream 360 sound/soc/sh/siu_pcm.c if (!siu_stream->chan) { siu_stream 365 sound/soc/sh/siu_pcm.c siu_stream->substream = ss; siu_stream 375 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream; siu_stream 380 sound/soc/sh/siu_pcm.c siu_stream = &port_info->playback; siu_stream 382 sound/soc/sh/siu_pcm.c siu_stream = &port_info->capture; siu_stream 384 sound/soc/sh/siu_pcm.c dma_release_channel(siu_stream->chan); siu_stream 385 sound/soc/sh/siu_pcm.c siu_stream->chan = NULL; siu_stream 387 sound/soc/sh/siu_pcm.c siu_stream->substream = NULL; siu_stream 398 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream; siu_stream 402 sound/soc/sh/siu_pcm.c siu_stream = &port_info->playback; siu_stream 404 sound/soc/sh/siu_pcm.c siu_stream = &port_info->capture; siu_stream 406 sound/soc/sh/siu_pcm.c rt = siu_stream->substream->runtime; siu_stream 408 sound/soc/sh/siu_pcm.c siu_stream->buf_bytes = snd_pcm_lib_buffer_bytes(ss); siu_stream 409 sound/soc/sh/siu_pcm.c siu_stream->period_bytes = snd_pcm_lib_period_bytes(ss); siu_stream 412 sound/soc/sh/siu_pcm.c info->port_id, rt->channels, siu_stream->period_bytes); siu_stream 415 sound/soc/sh/siu_pcm.c if (siu_stream->buf_bytes % siu_stream->period_bytes) { siu_stream 417 sound/soc/sh/siu_pcm.c __func__, siu_stream->buf_bytes, siu_stream 418 sound/soc/sh/siu_pcm.c siu_stream->period_bytes); siu_stream 422 sound/soc/sh/siu_pcm.c xfer_cnt = bytes_to_frames(rt, siu_stream->period_bytes); siu_stream 426 sound/soc/sh/siu_pcm.c siu_stream->format = rt->format; siu_stream 427 sound/soc/sh/siu_pcm.c siu_stream->xfer_cnt = xfer_cnt; siu_stream 431 sound/soc/sh/siu_pcm.c (unsigned long)rt->dma_addr, siu_stream->buf_bytes, siu_stream 432 sound/soc/sh/siu_pcm.c siu_stream->period_bytes, siu_stream 433 sound/soc/sh/siu_pcm.c siu_stream->format, rt->channels, (int)xfer_cnt); siu_stream 488 sound/soc/sh/siu_pcm.c struct siu_stream *siu_stream; siu_stream 491 sound/soc/sh/siu_pcm.c siu_stream = &port_info->playback; siu_stream 493 sound/soc/sh/siu_pcm.c siu_stream = &port_info->capture; siu_stream 500 sound/soc/sh/siu_pcm.c siu_stream->cur_period, siu_stream 501 sound/soc/sh/siu_pcm.c siu_stream->period_bytes) - rt->dma_addr; siu_stream 506 sound/soc/sh/siu_pcm.c siu_read32(base + SIU_SBFSTS), ptr, siu_stream->buf_bytes, siu_stream 507 sound/soc/sh/siu_pcm.c siu_stream->cookie); siu_stream 509 sound/soc/sh/siu_pcm.c if (ptr >= siu_stream->buf_bytes)