Lines Matching refs:component
138 static int imx_rpmsg_pcm_hw_params(struct snd_soc_component *component, in imx_rpmsg_pcm_hw_params() argument
142 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pcm_hw_params()
190 static snd_pcm_uframes_t imx_rpmsg_pcm_pointer(struct snd_soc_component *component, in imx_rpmsg_pcm_pointer() argument
193 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pcm_pointer()
228 static int imx_rpmsg_pcm_open(struct snd_soc_component *component, in imx_rpmsg_pcm_open() argument
231 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pcm_open()
284 static int imx_rpmsg_pcm_close(struct snd_soc_component *component, in imx_rpmsg_pcm_close() argument
288 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pcm_close()
315 static int imx_rpmsg_pcm_prepare(struct snd_soc_component *component, in imx_rpmsg_pcm_prepare() argument
350 static int imx_rpmsg_prepare_and_submit(struct snd_soc_component *component, in imx_rpmsg_prepare_and_submit() argument
353 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_prepare_and_submit()
379 static int imx_rpmsg_async_issue_pending(struct snd_soc_component *component, in imx_rpmsg_async_issue_pending() argument
382 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_async_issue_pending()
396 static int imx_rpmsg_restart(struct snd_soc_component *component, in imx_rpmsg_restart() argument
399 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_restart()
413 static int imx_rpmsg_pause(struct snd_soc_component *component, in imx_rpmsg_pause() argument
416 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pause()
430 static int imx_rpmsg_terminate_all(struct snd_soc_component *component, in imx_rpmsg_terminate_all() argument
433 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_terminate_all()
460 static int imx_rpmsg_pcm_trigger(struct snd_soc_component *component, in imx_rpmsg_pcm_trigger() argument
471 ret = imx_rpmsg_prepare_and_submit(component, substream); in imx_rpmsg_pcm_trigger()
474 ret = imx_rpmsg_async_issue_pending(component, substream); in imx_rpmsg_pcm_trigger()
481 ret = imx_rpmsg_restart(component, substream); in imx_rpmsg_pcm_trigger()
486 ret = imx_rpmsg_pause(component, substream); in imx_rpmsg_pcm_trigger()
488 ret = imx_rpmsg_terminate_all(component, substream); in imx_rpmsg_pcm_trigger()
492 ret = imx_rpmsg_pause(component, substream); in imx_rpmsg_pcm_trigger()
495 ret = imx_rpmsg_terminate_all(component, substream); in imx_rpmsg_pcm_trigger()
514 static int imx_rpmsg_pcm_ack(struct snd_soc_component *component, in imx_rpmsg_pcm_ack() argument
521 struct rpmsg_info *info = dev_get_drvdata(component->dev); in imx_rpmsg_pcm_ack()
593 static int imx_rpmsg_pcm_new(struct snd_soc_component *component, in imx_rpmsg_pcm_new() argument
677 struct snd_soc_component *component; in imx_rpmsg_pcm_probe() local
729 component = snd_soc_lookup_component(&pdev->dev, NULL); in imx_rpmsg_pcm_probe()
730 if (!component) { in imx_rpmsg_pcm_probe()
736 component->name = info->rpdev->id.name; in imx_rpmsg_pcm_probe()
739 component->debugfs_prefix = "rpmsg"; in imx_rpmsg_pcm_probe()