Lines Matching refs:ss
46 static struct snd_soc_dai *axg_fifo_dai(struct snd_pcm_substream *ss) in axg_fifo_dai() argument
48 struct snd_soc_pcm_runtime *rtd = ss->private_data; in axg_fifo_dai()
53 static struct axg_fifo *axg_fifo_data(struct snd_pcm_substream *ss) in axg_fifo_data() argument
55 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_data()
60 static struct device *axg_fifo_dev(struct snd_pcm_substream *ss) in axg_fifo_dev() argument
62 struct snd_soc_dai *dai = axg_fifo_dai(ss); in axg_fifo_dev()
74 struct snd_pcm_substream *ss, int cmd) in axg_fifo_pcm_trigger() argument
76 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger()
98 struct snd_pcm_substream *ss) in axg_fifo_pcm_pointer() argument
100 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer()
101 struct snd_pcm_runtime *runtime = ss->runtime; in axg_fifo_pcm_pointer()
111 struct snd_pcm_substream *ss, in axg_fifo_pcm_hw_params() argument
114 struct snd_pcm_runtime *runtime = ss->runtime; in axg_fifo_pcm_hw_params()
115 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_params()
156 struct snd_pcm_substream *ss, in g12a_fifo_pcm_hw_params() argument
159 struct axg_fifo *fifo = axg_fifo_data(ss); in g12a_fifo_pcm_hw_params()
160 struct snd_pcm_runtime *runtime = ss->runtime; in g12a_fifo_pcm_hw_params()
163 ret = axg_fifo_pcm_hw_params(component, ss, params); in g12a_fifo_pcm_hw_params()
175 struct snd_pcm_substream *ss) in axg_fifo_pcm_hw_free() argument
177 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_free()
201 struct snd_pcm_substream *ss = dev_id; in axg_fifo_pcm_irq_block() local
202 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_irq_block()
209 snd_pcm_period_elapsed(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()
221 struct snd_pcm_substream *ss) in axg_fifo_pcm_open() argument
223 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_open()
224 struct device *dev = axg_fifo_dev(ss); in axg_fifo_pcm_open()
227 snd_soc_set_runtime_hwparams(ss, &axg_fifo_hw); in axg_fifo_pcm_open()
233 ret = snd_pcm_hw_constraint_step(ss->runtime, 0, in axg_fifo_pcm_open()
239 ret = snd_pcm_hw_constraint_step(ss->runtime, 0, in axg_fifo_pcm_open()
246 dev_name(dev), ss); in axg_fifo_pcm_open()
280 free_irq(fifo->irq, ss); in axg_fifo_pcm_open()
286 struct snd_pcm_substream *ss) in axg_fifo_pcm_close() argument
288 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_close()
298 free_irq(fifo->irq, ss); in axg_fifo_pcm_close()