Lines Matching refs:component
52 struct snd_soc_component *component; in snd_sof_compr_fragment_elapsed() local
62 component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in snd_sof_compr_fragment_elapsed()
64 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_compr_fragment_elapsed()
66 dev_err(component->dev, in snd_sof_compr_fragment_elapsed()
78 static int create_page_table(struct snd_soc_component *component, in create_page_table() argument
87 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table()
91 return snd_sof_create_page_table(component->dev, dmab, in create_page_table()
95 static int sof_compr_open(struct snd_soc_component *component, in sof_compr_open() argument
108 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_open()
131 static int sof_compr_free(struct snd_soc_component *component, in sof_compr_free() argument
134 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_compr_free()
141 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_free()
162 static int sof_compr_set_params(struct snd_soc_component *component, in sof_compr_set_params() argument
165 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_compr_set_params()
178 dev_err(component->dev, in sof_compr_set_params()
188 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_set_params()
208 ret = create_page_table(component, cstream, crtd->dma_area, crtd->dma_bytes); in sof_compr_set_params()
235 dev_err(component->dev, "error ipc failed\n"); in sof_compr_set_params()
242 dev_err(component->dev, "Invalid stream data offset for Compr %d\n", in sof_compr_set_params()
259 static int sof_compr_get_params(struct snd_soc_component *component, in sof_compr_get_params() argument
268 static int sof_compr_trigger(struct snd_soc_component *component, in sof_compr_trigger() argument
271 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_compr_trigger()
276 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_trigger()
298 dev_err(component->dev, "error: unhandled trigger cmd %d\n", cmd); in sof_compr_trigger()
347 static int sof_compr_copy(struct snd_soc_component *component, in sof_compr_copy() argument
362 static int sof_compr_pointer(struct snd_soc_component *component, in sof_compr_pointer() argument
370 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_pointer()