Home
last modified time | relevance | path

Searched full:rpmsg (Results 1 – 25 of 57) sorted by relevance

123

/linux/sound/soc/fsl/
H A Dfsl_rpmsg.c11 #include <linux/rpmsg.h>
45 struct fsl_rpmsg *rpmsg = snd_soc_dai_get_drvdata(dai); in fsl_rpmsg_hw_params() local
46 struct clk *p = rpmsg->mclk, *pll = NULL, *npll = NULL; in fsl_rpmsg_hw_params()
51 while (p && rpmsg->pll8k && rpmsg->pll11k) { in fsl_rpmsg_hw_params()
54 if (clk_is_match(pp, rpmsg->pll8k) || in fsl_rpmsg_hw_params()
55 clk_is_match(pp, rpmsg->pll11k)) { in fsl_rpmsg_hw_params()
64 npll = (do_div(rate, 8000) ? rpmsg->pll11k : rpmsg->pll8k); in fsl_rpmsg_hw_params()
73 if (!(rpmsg->mclk_streams & BIT(substream->stream))) { in fsl_rpmsg_hw_params()
74 ret = clk_prepare_enable(rpmsg->mclk); in fsl_rpmsg_hw_params()
80 rpmsg->mclk_streams |= BIT(substream->stream); in fsl_rpmsg_hw_params()
[all …]
H A Dimx-audio-rpmsg.c5 #include <linux/rpmsg.h>
6 #include "imx-pcm-rpmsg.h"
21 struct imx_audio_rpmsg *rpmsg = dev_get_drvdata(&rpdev->dev); in imx_audio_rpmsg_cb() local
27 if (!rpmsg->rpmsg_pdev) in imx_audio_rpmsg_cb()
30 info = platform_get_drvdata(rpmsg->rpmsg_pdev); in imx_audio_rpmsg_cb()
89 /* Register platform driver for rpmsg routine */ in imx_audio_rpmsg_probe()
95 dev_err(&rpdev->dev, "failed to register rpmsg platform.\n"); in imx_audio_rpmsg_probe()
100 "imx-audio-rpmsg", in imx_audio_rpmsg_probe()
105 dev_err(&rpdev->dev, "failed to register rpmsg card.\n"); in imx_audio_rpmsg_probe()
122 dev_info(&rpdev->dev, "audio rpmsg driver is removed\n"); in imx_audio_rpmsg_remove()
[all …]
H A Dimx-pcm-rpmsg.c8 #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[substream->stream]; 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 in imx_rpmsg_pcm_prepare()
466 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); imx_rpmsg_pcm_trigger() local
520 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); imx_rpmsg_pcm_ack() local
599 struct fsl_rpmsg *rpmsg = dev_get_drvdata(cpu_dai->dev); imx_rpmsg_pcm_new() local
[all...]
H A DKconfig127 tristate "NXP Audio Base On RPMSG support"
130 depends on RPMSG
134 Say Y if you want to add rpmsg audio support for the Freescale CPUs.
151 depends on RPMSG
356 tristate "SoC Audio support for i.MX boards with rpmsg"
357 depends on RPMSG
362 SoC Audio support for i.MX boards with rpmsg.
363 There should be rpmsg devices defined in other core (M core)
365 a rpmsg devices.
H A Dimx-pcm-rpmsg.h6 * Communication stack of audio with rpmsg
282 /* RPMSG Command (TYPE A)*/
311 /* RPMSG Command (TYPE C)*/
350 /* rpmsg version */
358 * struct rpmsg_head: rpmsg header structure
377 * struct param_s: sent rpmsg parameter
400 * struct param_s: send rpmsg parameter
434 /* Struct of rpmsg */
440 /* Struct of rpmsg for workqueue */
458 * struct rpmsg_info: rpmsg audio information
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-rpmsg1 What: /sys/bus/rpmsg/devices/.../name
6 Every rpmsg device is a communication channel with a remote
9 rpmsg.h).
13 What: /sys/bus/rpmsg/devices/.../src
18 Every rpmsg device is a communication channel with a remote
19 processor. Channels have a local ("source") rpmsg address,
20 and remote ("destination") rpmsg address. When an entity
22 a unique rpmsg address (a 32 bits integer). This way when
23 inbound messages arrive to this address, the rpmsg core
26 This sysfs entry contains the src (local) rpmsg address
[all …]
/linux/drivers/rpmsg/
H A DKconfig3 menu "Rpmsg drivers"
5 # RPMSG always gets selected by whoever wants it
6 config RPMSG config
10 tristate "RPMSG device interface"
11 depends on RPMSG
14 Say Y here to export rpmsg endpoints as device files, usually found
16 receive rpmsg packets.
19 tristate "RPMSG control interface"
20 depends on RPMSG && ( RPMSG_CHAR || RPMSG_CHAR=n )
27 tristate "RPMSG name service announcement"
[all …]
H A Drpmsg_ns.c8 #include <linux/rpmsg.h>
9 #include <linux/rpmsg/ns.h>
19 * basis for the rpmsg name service device.
84 * Create the NS announcement service endpoint associated to the RPMsg in rpmsg_ns_probe()
85 * device. The endpoint will be automatically destroyed when the RPMsg in rpmsg_ns_probe()
109 pr_err("%s: Failed to register rpmsg driver\n", __func__); in rpmsg_ns_init()
121 MODULE_DESCRIPTION("Name service announcement rpmsg driver");
123 MODULE_ALIAS("rpmsg:" KBUILD_MODNAME);
H A Drpmsg_char.c10 * Based on rpmsg performance statistics driver by Michal Simek, which in turn
11 * was based on TI & Google OMX rpmsg driver.
23 #include <linux/rpmsg.h>
27 #include <uapi/linux/rpmsg.h>
46 * @rpdev: underlaying rpmsg device
49 * @ept: rpmsg endpoint reference, when open
84 /* The default endpoint is released by the rpmsg core */ in rpmsg_chrdev_eptdev_destroy()
156 * If the default_ept is set, the rpmsg device default endpoint is used. in rpmsg_eptdev_open()
453 dev_set_name(dev, "rpmsg%d", ret); in rpmsg_chrdev_eptdev_add()
502 /* Set the default_ept to the rpmsg device endpoint */ in rpmsg_chrdev_probe()
[all …]
H A Drpmsg_ctrl.c10 * Based on rpmsg performance statistics driver by Michal Simek, which in turn
11 * was based on TI & Google OMX rpmsg driver.
22 #include <linux/rpmsg.h>
26 #include <uapi/linux/rpmsg.h>
43 * @rpdev: underlaying rpmsg device
228 pr_err("failed to register rpmsg driver\n"); in rpmsg_ctrldev_init()
243 MODULE_DESCRIPTION("rpmsg control interface");
244 MODULE_ALIAS("rpmsg:" KBUILD_MODNAME);
H A Drpmsg_char.h16 * This function create a new rpmsg char endpoint device to instantiate a new
26 * This function destroys a rpmsg char endpoint device created by the RPMSG_DESTROY_EPT_IOCTL
/linux/drivers/tty/
H A Drpmsg_tty.c5 * The rpmsg tty driver implements serial communication on the RPMsg bus to makes
6 * possible for user-space programs to send and receive rpmsg messages as a standard
9 * The remote processor can instantiate a new tty by requesting a "rpmsg-tty" RPMsg service.
10 * The "rpmsg-tty" service is directly used for data exchange. No flow control is implemented yet.
16 #include <linux/rpmsg.h>
31 int id; /* TTY rpmsg index */
32 struct rpmsg_device *rpdev; /* rpmsg device */
94 * hung until a rpmsg buffer is available. In such case rpmsg_trysend returns -ENOMEM. in rpmsg_tty_write()
207 dev_dbg(&rpdev->dev, "Removing rpmsg tty device %d\n", cport->id); in rpmsg_tty_remove()
218 { .name = "rpmsg-tty" },
[all …]
/linux/include/uapi/linux/
H A Drpmsg.h32 * Destroy a rpmsg char device endpoint created by the RPMSG_CREATE_EPT_IOCTL.
37 * Instantiate a new local rpmsg service device.
42 * Release a local rpmsg device.
47 * Get the flow control state of the remote rpmsg char device.
52 * Set the flow control state of the local rpmsg char device.
/linux/include/linux/rpmsg/
H A Dns.h7 #include <linux/rpmsg.h>
8 #include <linux/rpmsg/byteorder.h>
19 * rpmsg channel (i.e device) is created/destroyed. In turn, the ->probe()
20 * or ->remove() handler of the appropriate rpmsg driver will be invoked
/linux/drivers/net/wwan/
H A Drpmsg_wwan_ctrl.c7 #include <linux/rpmsg.h>
11 /* Lower level is a rpmsg dev, upper level is a wwan port */
149 /* RPMSG channels for Qualcomm SoCs with integrated modem */
155 MODULE_DEVICE_TABLE(rpmsg, rpmsg_wwan_ctrl_id_table);
166 MODULE_DESCRIPTION("RPMSG WWAN CTRL Driver");
/linux/samples/rpmsg/
H A Drpmsg_client_sample.c14 #include <linux/rpmsg.h>
77 dev_info(&rpdev->dev, "rpmsg sample client driver is removed\n"); in rpmsg_sample_remove()
81 { .name = "rpmsg-client-sample" },
84 MODULE_DEVICE_TABLE(rpmsg, rpmsg_driver_sample_id_table);
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-ipc.c7 #include <linux/rpmsg.h>
123 "%s ipc: failed to open, rpmsg is not initialized\n", in delta_ipc_open()
172 /* build rpmsg message */ in delta_ipc_open()
246 "%s ipc: failed to set stream, rpmsg is not initialized\n", in delta_ipc_set_stream()
277 /* build rpmsg message */ in delta_ipc_set_stream()
337 "%s ipc: failed to decode, rpmsg is not initialized\n", in delta_ipc_decode()
388 /* build rpmsg message */ in delta_ipc_decode()
455 "%s ipc: failed to close, rpmsg is not initialized\n", in delta_ipc_close()
460 /* build rpmsg message */ in delta_ipc_close()
569 {.name = "rpmsg-delta"},
/linux/drivers/cdx/controller/
H A Dcdx_rpmsg.c8 #include <linux/rpmsg.h>
24 MODULE_DEVICE_TABLE(rpmsg, cdx_rpmsg_id_table);
183 /* Register RPMsg driver */ in cdx_setup_rpmsg()
190 "Failed to register cdx RPMsg driver: %d\n", ret); in cdx_setup_rpmsg()
/linux/drivers/net/wireless/ath/wcn36xx/
H A DKconfig6 depends on RPMSG || RPMSG=n
/linux/net/qrtr/
H A DKconfig19 depends on RPMSG || (COMPILE_TEST && RPMSG=n)
H A Dsmd.c9 #include <linux/rpmsg.h>
109 MODULE_ALIAS("rpmsg:IPCRTR");
/linux/samples/
H A DKconfig124 tristate "Build rpmsg client sample -- loadable modules only"
125 depends on RPMSG && m
127 Build an rpmsg client sample driver, which demonstrates how
129 the rpmsg bus.
/linux/include/linux/cdx/
H A Dmcdi.h12 #include <linux/rpmsg.h>
56 * @rpdev: RPMsg device
57 * @ept: RPMsg endpoint
/linux/drivers/platform/chrome/
H A DKconfig99 tristate "ChromeOS Embedded Controller (rpmsg)"
100 depends on CROS_EC && RPMSG && OF
103 through rpmsg. This uses a simple byte-level protocol with a
/linux/drivers/remoteproc/
H A Dqcom_sysmon.c14 #include <linux/rpmsg.h>
741 * @rpdev: rpmsg device handle
744 * this rpmsg device with said sysmon context.
781 * @rpdev: rpmsg device handle
783 * Disassociate the rpmsg device with the sysmon instance.

123