• Home
  • Raw
  • Download

Lines Matching refs:s

105 	struct clk_source s[MAX_CLOCKSOURCES];  member
564 struct snd_pcm_substream *s; in snd_card_asihpi_trigger() local
573 snd_pcm_group_for_each_entry(s, substream) { in snd_card_asihpi_trigger()
574 struct snd_pcm_runtime *runtime = s->runtime; in snd_card_asihpi_trigger()
577 if (snd_pcm_substream_chip(s) != card) in snd_card_asihpi_trigger()
581 if (substream->stream != s->stream) in snd_card_asihpi_trigger()
585 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_trigger()
593 snd_printddd("%d preload %d\n", s->number, preload); in snd_card_asihpi_trigger()
603 snd_printdd("%d group\n", s->number); in snd_card_asihpi_trigger()
608 snd_pcm_trigger_done(s, substream); in snd_card_asihpi_trigger()
626 snd_pcm_group_for_each_entry(s, substream) { in snd_card_asihpi_trigger()
627 if (snd_pcm_substream_chip(s) != card) in snd_card_asihpi_trigger()
630 if (substream->stream != s->stream) in snd_card_asihpi_trigger()
635 s->runtime->status->state = SNDRV_PCM_STATE_SETUP; in snd_card_asihpi_trigger()
638 snd_printdd("%d group\n", s->number); in snd_card_asihpi_trigger()
639 snd_pcm_trigger_done(s, substream); in snd_card_asihpi_trigger()
723 struct snd_pcm_substream *s; in snd_card_asihpi_timer_function() local
737 snd_pcm_group_for_each_entry(s, substream) { in snd_card_asihpi_timer_function()
738 struct snd_card_asihpi_pcm *ds = s->runtime->private_data; in snd_card_asihpi_timer_function()
739 runtime = s->runtime; in snd_card_asihpi_timer_function()
741 if (snd_pcm_substream_chip(s) != card) in snd_card_asihpi_timer_function()
745 if (substream->stream != s->stream) in snd_card_asihpi_timer_function()
759 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_timer_function()
764 snd_printdd("P%d start\n", s->number); in snd_card_asihpi_timer_function()
769 s->number); in snd_card_asihpi_timer_function()
772 snd_pcm_stop_xrun(s); in snd_card_asihpi_timer_function()
796 name, s->number, state, in snd_card_asihpi_timer_function()
829 snd_pcm_group_for_each_entry(s, substream) { in snd_card_asihpi_timer_function()
830 struct snd_card_asihpi_pcm *ds = s->runtime->private_data; in snd_card_asihpi_timer_function()
833 if (substream->stream != s->stream) in snd_card_asihpi_timer_function()
842 (s->stream == SNDRV_PCM_STREAM_CAPTURE))) in snd_card_asihpi_timer_function()
848 char *pd = &s->runtime->dma_area[buf_ofs]; in snd_card_asihpi_timer_function()
858 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_timer_function()
860 s->number, xfer1, buf_ofs); in snd_card_asihpi_timer_function()
867 pd = s->runtime->dma_area; in snd_card_asihpi_timer_function()
870 s->number, in snd_card_asihpi_timer_function()
880 s->number, xfer1); in snd_card_asihpi_timer_function()
886 pd = s->runtime->dma_area; in snd_card_asihpi_timer_function()
888 s->number, xfer2); in snd_card_asihpi_timer_function()
898 snd_pcm_period_elapsed(s); in snd_card_asihpi_timer_function()
2120 int s, err; in snd_card_asihpi_mux_count_sources() local
2121 for (s = 0; s < 32; s++) { in snd_card_asihpi_mux_count_sources()
2122 err = hpi_multiplexer_query_source(h_control, s, in snd_card_asihpi_mux_count_sources()
2130 return s; in snd_card_asihpi_mux_count_sources()
2164 int s; in snd_asihpi_mux_get() local
2169 for (s = 0; s < 256; s++) { in snd_asihpi_mux_get()
2170 if (hpi_multiplexer_query_source(h_control, s, in snd_asihpi_mux_get()
2176 ucontrol->value.enumerated.item[0] = s; in snd_asihpi_mux_get()
2332 clkcache->s[uinfo->value.enumerated.item].name); in snd_asihpi_clksrc_info()
2355 if ((clkcache->s[i].source == source) && in snd_asihpi_clksrc_get()
2356 (clkcache->s[i].index == srcindex)) in snd_asihpi_clksrc_get()
2380 h_control, clkcache->s[item].source)); in snd_asihpi_clksrc_put()
2382 if (clkcache->s[item].source == HPI_SAMPLECLOCK_SOURCE_AESEBU_INPUT) in snd_asihpi_clksrc_put()
2384 h_control, clkcache->s[item].index)); in snd_asihpi_clksrc_put()
2485 clkcache->s[i].source = source; in snd_asihpi_sampleclock_add()
2486 clkcache->s[i].index = 0; in snd_asihpi_sampleclock_add()
2487 clkcache->s[i].name = sampleclock_sources[source]; in snd_asihpi_sampleclock_add()
2500 clkcache->s[i].source = in snd_asihpi_sampleclock_add()
2502 clkcache->s[i].index = j; in snd_asihpi_sampleclock_add()
2503 clkcache->s[i].name = sampleclock_sources[ in snd_asihpi_sampleclock_add()