| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | fsl_rpmsg.c | 12 #include <linux/rpmsg.h> 44 struct fsl_rpmsg *rpmsg = snd_soc_dai_get_drvdata(dai); in fsl_rpmsg_hw_params() local 45 struct clk *p = rpmsg->mclk, *pll = NULL, *npll = NULL; in fsl_rpmsg_hw_params() 50 while (p && rpmsg->pll8k && rpmsg->pll11k) { in fsl_rpmsg_hw_params() 53 if (clk_is_match(pp, rpmsg->pll8k) || in fsl_rpmsg_hw_params() 54 clk_is_match(pp, rpmsg->pll11k)) { in fsl_rpmsg_hw_params() 63 npll = (do_div(rate, 8000) ? rpmsg->pll11k : rpmsg->pll8k); in fsl_rpmsg_hw_params() 72 if (!(rpmsg->mclk_streams & BIT(substream->stream))) { in fsl_rpmsg_hw_params() 73 ret = clk_prepare_enable(rpmsg->mclk); in fsl_rpmsg_hw_params() 79 rpmsg->mclk_streams |= BIT(substream->stream); in fsl_rpmsg_hw_params() [all …]
|
| D | imx-audio-rpmsg.c | 5 #include <linux/rpmsg.h> 6 #include "imx-pcm-rpmsg.h" 20 struct imx_audio_rpmsg *rpmsg = dev_get_drvdata(&rpdev->dev); in imx_audio_rpmsg_cb() local 26 if (!rpmsg->rpmsg_pdev) in imx_audio_rpmsg_cb() 29 info = platform_get_drvdata(rpmsg->rpmsg_pdev); in imx_audio_rpmsg_cb() 88 /* Register platform driver for rpmsg routine */ in imx_audio_rpmsg_probe() 94 dev_err(&rpdev->dev, "failed to register rpmsg platform.\n"); in imx_audio_rpmsg_probe() 108 dev_info(&rpdev->dev, "audio rpmsg driver is removed\n"); in imx_audio_rpmsg_remove() 112 { .name = "rpmsg-audio-channel" }, 113 { .name = "rpmsg-micfil-channel" }, [all …]
|
| D | imx-rpmsg.c | 17 #include "imx-pcm-rpmsg.h" 57 /* rpmsg_pdev is the platform device for the rpmsg node that probed us */ in imx_rpmsg_probe() 86 data->dai.name = "rpmsg hifi"; in imx_rpmsg_probe() 87 data->dai.stream_name = "rpmsg hifi"; in imx_rpmsg_probe() 93 * i.MX rpmsg sound cards work on codec slave mode. MCLK will be in imx_rpmsg_probe() 119 if (!of_property_read_string(np, "fsl,rpmsg-channel-name", &platform_name)) in imx_rpmsg_probe() 122 data->dai.platforms->name = "rpmsg-audio-channel"; in imx_rpmsg_probe() 128 if (of_property_read_bool(np, "fsl,rpmsg-out")) in imx_rpmsg_probe() 131 if (of_property_read_bool(np, "fsl,rpmsg-in")) in imx_rpmsg_probe() 135 dev_err(&pdev->dev, "no enabled rpmsg DAI link\n"); in imx_rpmsg_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-bus-rpmsg | 1 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 …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-rpmsg | 1 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 …]
|
| /kernel/linux/linux-6.6/drivers/rpmsg/ |
| D | Kconfig | 3 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 …]
|
| D | rpmsg_core.c | 16 #include <linux/rpmsg.h> 27 * rpmsg_create_channel() - create a new rpmsg channel 29 * @rpdev: rpmsg device 32 * Return: a pointer to the new rpmsg device on success, or NULL on error. 49 * rpmsg_release_channel() - release a rpmsg channel 51 * @rpdev: rpmsg device 72 * @rpdev: rpmsg channel device 75 * @chinfo: channel_info with the local rpmsg address to bind with @cb 77 * Every rpmsg address in the system is bound to an rx callback (so when 78 * inbound messages arrive, they are dispatched by the rpmsg bus using the [all …]
|
| D | rpmsg_ns.c | 8 #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);
|
| D | rpmsg_ctrl.c | 10 * 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);
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | fsl,rpmsg.yaml | 4 $id: http://devicetree.org/schemas/sound/fsl,rpmsg.yaml# 7 title: NXP Audio RPMSG CPU DAI Controller 15 Linux side is a device which provides audio service by rpmsg channel. 17 such as SAI, MICFIL, .etc through building rpmsg channels between 26 - fsl,imx7ulp-rpmsg-audio 27 - fsl,imx8mn-rpmsg-audio 28 - fsl,imx8mm-rpmsg-audio 29 - fsl,imx8mp-rpmsg-audio 30 - fsl,imx8ulp-rpmsg-audio 31 - fsl,imx93-rpmsg-audio [all …]
|
| /kernel/linux/linux-6.6/Documentation/staging/ |
| D | rpmsg.rst | 2 Remote Processor Messaging (rpmsg) Framework 7 This document describes the rpmsg bus and how to write rpmsg drivers. 8 To learn how to add rpmsg support for new platforms, check out remoteproc.txt 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate 41 When writing a driver that exposes rpmsg communication to userland, please 50 desired to limit userland to specific rpmsg channels (see definition below) 54 Every rpmsg device is a communication channel with a remote processor (thus 55 rpmsg devices are called channels). Channels are identified by a textual name 56 and have a local ("source") rpmsg address, and remote ("destination") rpmsg 60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages [all …]
|
| /kernel/linux/linux-5.10/Documentation/staging/ |
| D | rpmsg.rst | 2 Remote Processor Messaging (rpmsg) Framework 7 This document describes the rpmsg bus and how to write rpmsg drivers. 8 To learn how to add rpmsg support for new platforms, check out remoteproc.txt 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate 41 When writing a driver that exposes rpmsg communication to userland, please 50 desired to limit userland to specific rpmsg channels (see definition below) 54 Every rpmsg device is a communication channel with a remote processor (thus 55 rpmsg devices are called channels). Channels are identified by a textual name 56 and have a local ("source") rpmsg address, and remote ("destination") rpmsg 60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages [all …]
|
| /kernel/linux/linux-5.10/drivers/rpmsg/ |
| D | Kconfig | 3 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. 21 select RPMSG 29 select RPMSG 55 select RPMSG [all …]
|
| D | rpmsg_core.c | 16 #include <linux/rpmsg.h> 25 * @rpdev: rpmsg channel device 28 * @chinfo: channel_info with the local rpmsg address to bind with @cb 30 * Every rpmsg address in the system is bound to an rx callback (so when 31 * inbound messages arrive, they are dispatched by the rpmsg bus using the 35 * bind a callback, and possibly some private data too, to an rpmsg address 39 * Simple rpmsg drivers need not call rpmsg_create_ept, because an endpoint 40 * is already created for them when they are probed by the rpmsg bus 41 * (using the rx callback provided when they registered to the rpmsg bus). 44 * endpoint, their rx callback is bound to their rpmsg address, and when [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | rpmsg.h | 41 * rpmsg_device - device that belong to the rpmsg bus 43 * @id: device id (used to match between rpmsg drivers and devices) 49 * @ept: the rpmsg endpoint of this channel 50 * @announce: if set, rpmsg will announce the creation/removal of this channel 67 * struct rpmsg_endpoint - binds a local rpmsg address to its user 68 * @rpdev: rpmsg channel device 72 * @addr: local rpmsg address 75 * In essence, an rpmsg endpoint represents a listener on the rpmsg bus, as 76 * it binds an rpmsg address with an rx callback handler. 78 * Simple rpmsg drivers shouldn't use this struct directly, because [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | rpmsg.h | 20 #include <linux/rpmsg/byteorder.h> 21 #include <uapi/linux/rpmsg.h> 41 * rpmsg_device - device that belong to the rpmsg bus 43 * @id: device id (used to match between rpmsg drivers and devices) 49 * @ept: the rpmsg endpoint of this channel 50 * @announce: if set, rpmsg will announce the creation/removal of this channel 70 * struct rpmsg_endpoint - binds a local rpmsg address to its user 71 * @rpdev: rpmsg channel device 76 * @addr: local rpmsg address 79 * In essence, an rpmsg endpoint represents a listener on the rpmsg bus, as [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| D | mtk,scp.yaml | 95 Subnodes of the SCP represent rpmsg devices. The names of the devices 97 individual bindings for the rpmsg devices. 99 mediatek,rpmsg-name: 102 Contains the name for the rpmsg device. Used to match 103 the subnode to rpmsg device announced by SCP. 106 - mediatek,rpmsg-name 122 mediatek,rpmsg-name = "cros-ec-rpmsg";
|
| /kernel/linux/linux-6.6/drivers/tty/ |
| D | rpmsg_tty.c | 5 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | cros_ec_rpmsg.c | 13 #include <linux/rpmsg.h> 23 * struct cros_ec_rpmsg_response - rpmsg message format from from EC. 36 * struct cros_ec_rpmsg - information about a EC over rpmsg. 38 * @rpdev: rpmsg device we are connected to 41 * @ept: The rpmsg endpoint of this channel. 55 * cros_ec_cmd_xfer_rpmsg - Transfer a message over rpmsg and receive the reply 72 * cros_ec_pkt_xfer_rpmsg - Transfer a packet over rpmsg and receive the reply 97 dev_err(ec_dev->dev, "rpmsg send failed\n"); in cros_ec_pkt_xfer_rpmsg() 104 dev_err(ec_dev->dev, "rpmsg send timeout\n"); in cros_ec_pkt_xfer_rpmsg() 168 dev_warn(ec_dev->dev, "rpmsg received empty response"); in cros_ec_rpmsg_callback() [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| D | cros_ec_rpmsg.c | 13 #include <linux/rpmsg.h> 23 * struct cros_ec_rpmsg_response - rpmsg message format from from EC. 36 * struct cros_ec_rpmsg - information about a EC over rpmsg. 38 * @rpdev: rpmsg device we are connected to 41 * @ept: The rpmsg endpoint of this channel. 55 * cros_ec_cmd_xfer_rpmsg - Transfer a message over rpmsg and receive the reply 72 * cros_ec_pkt_xfer_rpmsg - Transfer a packet over rpmsg and receive the reply 99 dev_err(ec_dev->dev, "rpmsg send failed\n"); in cros_ec_pkt_xfer_rpmsg() 106 dev_err(ec_dev->dev, "rpmsg send timeout\n"); in cros_ec_pkt_xfer_rpmsg() 166 dev_warn(ec_dev->dev, "rpmsg received empty response"); in cros_ec_rpmsg_callback() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch | 1077 diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig 1079 --- a/drivers/rpmsg/Kconfig 1080 +++ b/drivers/rpmsg/Kconfig 1083 receive rpmsg packets. 1086 + tristate "RPMSG name service announcement" 1087 + depends on RPMSG 1090 + channel that probes the associated RPMsg device on remote endpoint 1097 tristate "Virtio RPMSG bus driver" 1099 select RPMSG 1104 + bool "IMX RPMSG driver on the AMP SOCs" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | google,cros-ec.yaml | 30 For implementations of the EC is connected through RPMSG. 31 const: google,cros-ec-rpmsg 62 mtk,rpmsg-name: 64 Must be defined if the cros-ec is a rpmsg device for a Mediatek 65 ARM Cortex M4 Co-processor. Contains the name pf the rpmsg 66 device. Used to match the subnode to the rpmsg device announced by 139 - google,cros-ec-rpmsg 186 # Example for RPMSG 190 compatible = "google,cros-ec-rpmsg";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | google,cros-ec.yaml | 34 For implementations of the EC connected through RPMSG. 35 const: google,cros-ec-rpmsg 62 mediatek,rpmsg-name: 64 Must be defined if the cros-ec is a rpmsg device for a Mediatek 65 ARM Cortex M4 Co-processor. Contains the name of the rpmsg 66 device. Used to match the subnode to the rpmsg device announced by 188 const: google,cros-ec-rpmsg 191 mediatek,rpmsg-name: false 199 - google,cros-ec-rpmsg 289 # Example for RPMSG [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | rpmsg.h | 32 * 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.
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | mtk,scp.txt | 20 Subnodes of the SCP represent rpmsg devices. The names of the devices are not 22 for the rpmsg devices - but must contain the following property: 24 - mtk,rpmsg-name Contains the name for the rpmsg device. Used to match 25 the subnode to rpmsg device announced by SCP.
|