Lines Matching full:ss
47 static struct snd_soc_dai *axg_fifo_dai(struct snd_pcm_substream *ss) in axg_fifo_dai() argument
49 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(ss); in axg_fifo_dai()
54 static struct axg_fifo *axg_fifo_data(struct snd_pcm_substream *ss) in axg_fifo_data() argument
56 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_data()
61 static struct device *axg_fifo_dev(struct snd_pcm_substream *ss) in axg_fifo_dev() argument
63 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_dev()
75 struct snd_pcm_substream *ss, int cmd) in axg_fifo_pcm_trigger() argument
77 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger()
99 struct snd_pcm_substream *ss) in axg_fifo_pcm_pointer() argument
101 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer()
102 struct snd_pcm_runtime *runtime = ss->runtime; in axg_fifo_pcm_pointer()
112 struct snd_pcm_substream *ss, in axg_fifo_pcm_hw_params() argument
115 struct snd_pcm_runtime *runtime = ss->runtime; in axg_fifo_pcm_hw_params()
116 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_params()
157 struct snd_pcm_substream *ss, in g12a_fifo_pcm_hw_params() argument
160 struct axg_fifo *fifo = axg_fifo_data(ss); in g12a_fifo_pcm_hw_params()
161 struct snd_pcm_runtime *runtime = ss->runtime; in g12a_fifo_pcm_hw_params()
164 ret = axg_fifo_pcm_hw_params(component, ss, params); in g12a_fifo_pcm_hw_params()
176 struct snd_pcm_substream *ss) in axg_fifo_pcm_hw_free() argument
178 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_free()
202 struct snd_pcm_substream *ss = dev_id; in axg_fifo_pcm_irq_block() local
203 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_irq_block()
211 dev_dbg(axg_fifo_dev(ss), "unexpected irq - STS 0x%02x\n", in axg_fifo_pcm_irq_block()
215 snd_pcm_period_elapsed(ss); in axg_fifo_pcm_irq_block()
223 struct snd_pcm_substream *ss) in axg_fifo_pcm_open() argument
225 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_open()
226 struct device *dev = axg_fifo_dev(ss); in axg_fifo_pcm_open()
229 snd_soc_set_runtime_hwparams(ss, &axg_fifo_hw); in axg_fifo_pcm_open()
235 ret = snd_pcm_hw_constraint_step(ss->runtime, 0, in axg_fifo_pcm_open()
241 ret = snd_pcm_hw_constraint_step(ss->runtime, 0, in axg_fifo_pcm_open()
250 IRQF_ONESHOT, dev_name(dev), ss); in axg_fifo_pcm_open()
284 free_irq(fifo->irq, ss); in axg_fifo_pcm_open()
290 struct snd_pcm_substream *ss) in axg_fifo_pcm_close() argument
292 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_close()
302 free_irq(fifo->irq, ss); in axg_fifo_pcm_close()