Lines Matching full:rpmsg
8 #include <linux/rpmsg.h>
17 #include "imx-pcm-rpmsg.h"
44 dev_err(info->dev, "rpmsg channel not ready\n"); in imx_rpmsg_pcm_send_message()
68 /* wait response from rpmsg */ in imx_rpmsg_pcm_send_message()
234 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); in imx_rpmsg_pcm_open() local
264 pcm_hardware.buffer_bytes_max = rpmsg->buffer_size; in imx_rpmsg_pcm_open()
321 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); in imx_rpmsg_pcm_prepare() local
329 rpmsg->enable_lpa) { in imx_rpmsg_pcm_prepare()
335 rpmsg->force_lpa = 1; in imx_rpmsg_pcm_prepare()
337 rpmsg->force_lpa = 0; in imx_rpmsg_pcm_prepare()
466 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); in imx_rpmsg_pcm_trigger() local
477 if (rpmsg->force_lpa) in imx_rpmsg_pcm_trigger()
484 if (!rpmsg->force_lpa) { in imx_rpmsg_pcm_trigger()
510 * Send the period index to M core through rpmsg, but not send
512 * to reduce the pressure of rpmsg bandwidth.
520 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); in imx_rpmsg_pcm_ack() local
530 if (!rpmsg->force_lpa) in imx_rpmsg_pcm_ack()
582 } else if (rpmsg->force_lpa && !timer_pending(timer)) { in imx_rpmsg_pcm_ack()
599 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); in imx_rpmsg_pcm_new() local
607 pcm->card->dev, rpmsg->buffer_size); in imx_rpmsg_pcm_new()
736 component->debugfs_prefix = "rpmsg"; in imx_rpmsg_pcm_probe()
817 { .name = "rpmsg-audio-channel" },
818 { .name = "rpmsg-micfil-channel" },
834 MODULE_DESCRIPTION("Freescale SoC Audio RPMSG PCM interface");