Home
last modified time | relevance | path

Searched +full:rpmsg +full:- +full:name (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-rpmsg1 What: /sys/bus/rpmsg/devices/.../name
4 Contact: Ohad Ben-Cohen <ohad@wizery.com>
6 Every rpmsg device is a communication channel with a remote
7 processor. Channels are identified with a (textual) name,
9 rpmsg.h).
11 This sysfs entry contains the name of this channel.
13 What: /sys/bus/rpmsg/devices/.../src
16 Contact: Ohad Ben-Cohen <ohad@wizery.com>
18 Every rpmsg device is a communication channel with a remote
19 processor. Channels have a local ("source") rpmsg address,
[all …]
/kernel/linux/linux-5.10/Documentation/staging/
Drpmsg.rst2 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
17 flavor of real-time OS.
19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP.
20 Typically, the dual cortex-A9 is running Linux in a SMP configuration,
25 hardware accelerators, and therefore are often used to offload CPU-intensive
28 These remote processors could also be used to control latency-sensitive
34 hardware accessible only by the remote processor, reserving kernel-controlled
37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate
[all …]
Dremoteproc.rst10 of operating system, whether it's Linux or any other flavor of real-time OS.
12 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP.
13 In a typical configuration, the dual cortex-A9 is running Linux in a SMP
20 duplicated. In addition, this framework also adds rpmsg virtio devices
22 platform-specific remoteproc drivers only need to provide a few low-level
23 handlers, and then all rpmsg drivers will then just work
24 (for more information about the virtio-based rpmsg bus and its drivers,
25 please read Documentation/staging/rpmsg.rst).
111 struct rproc *rproc_alloc(struct device *dev, const char *name,
117 name of this remote processor, platform-specific ops handlers,
[all …]
/kernel/linux/linux-5.10/drivers/rpmsg/
Drpmsg_core.c1 // SPDX-License-Identifier: GPL-2.0
8 * Ohad Ben-Cohen <ohad@wizery.com>
16 #include <linux/rpmsg.h>
24 * rpmsg_create_ept() - create a new rpmsg_endpoint
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
[all …]
Dmtk_rpmsg.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/rpmsg/mtk_rpmsg.h>
36 * struct rpmsg_ns_msg - dynamic name service announcement message
37 * @name: name of remote service that is published
41 * messages, an appropriate rpmsg channel (i.e device) is created. In turn, the
42 * ->probe() handler of the appropriate rpmsg driver will be invoked
43 * (if/as-soon-as one is registered).
46 char name[RPMSG_NAME_SIZE]; member
75 struct rpmsg_endpoint *ept = &mept->ept; in mtk_rpmsg_ipi_handler()
78 ret = (*ept->cb)(ept->rpdev, data, len, ept->priv, ept->addr); in mtk_rpmsg_ipi_handler()
[all …]
Drpmsg_char.c1 // SPDX-License-Identifier: GPL-2.0
9 * Based on rpmsg performance statistics driver by Michal Simek, which in turn
10 * was based on TI & Google OMX rpmsg driver.
19 #include <linux/rpmsg.h>
23 #include <uapi/linux/rpmsg.h>
43 * struct rpmsg_ctrldev - control device for instantiating endpoint devices
44 * @rpdev: underlaying rpmsg device
55 * struct rpmsg_eptdev - endpoint device context
58 * @rpdev: underlaying rpmsg device
61 * @ept: rpmsg endpoint reference, when open
[all …]
Dvirtio_rpmsg_bus.c1 // SPDX-License-Identifier: GPL-2.0
3 * Virtio-based remote processor messaging bus
8 * Ohad Ben-Cohen <ohad@wizery.com>
14 #include <linux/dma-mapping.h>
21 #include <linux/rpmsg.h>
34 * struct virtproc_info - virtual remote processor state
51 * @ns_ept: the bus's name service endpoint
53 * This structure stores the rpmsg state of a given virtio remote processor
73 /* The feature bitmap for virtio rpmsg */
74 #define VIRTIO_RPMSG_F_NS 0 /* RP supports name service notifications */
[all …]
Drpmsg_internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Ohad Ben-Cohen <ohad@wizery.com>
15 #include <linux/rpmsg.h>
22 * struct rpmsg_device_ops - indirection table for the rpmsg_device operations
23 * @create_ept: create backend-specific endpoint, required
27 * Indirection table for the operations that a rpmsg backend should implement.
41 * struct rpmsg_endpoint_ops - indirection table for rpmsg_endpoint operations
51 * Indirection table for the operations that a rpmsg backend should implement.
53 * @trysend, while the variants sending data off-channel are optional.
79 * rpmsg_chrdev_register_device() - register chrdev device based on rpdev
[all …]
Dqcom_glink_ssr.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
10 #include <linux/rpmsg.h>
14 * struct do_cleanup_msg - The data structure for an SSR do_cleanup message
15 * version: The G-Link SSR protocol version
16 * command: The G-Link SSR command - do_cleanup
18 * name_len: Length of the name of the subsystem being restarted
19 * name: G-Link edge name of the subsystem being restarted
26 char name[32]; member
30 * struct cleanup_done_msg - The data structure for an SSR cleanup_done message
[all …]
/kernel/linux/linux-5.10/include/linux/
Drpmsg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
29 * struct rpmsg_channel_info - channel info representation
30 * @name: name of service
35 char name[RPMSG_NAME_SIZE]; member
41 * rpmsg_device - device that belong to the rpmsg bus
43 * @id: device id (used to match between rpmsg drivers and devices)
44 * @driver_override: driver name to force a match
47 * @ept: the rpmsg endpoint of this channel
48 * @announce: if set, rpmsg will announce the creation/removal of this channel
65 * struct rpmsg_endpoint - binds a local rpmsg address to its user
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch7 Change-Id: I70798f1381ce7dac1b89f11aa3a0c5633845487e
9 diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
11 --- a/drivers/regulator/core.c
13 @@ -3499,6 +3499,16 @@ static int _regulator_do_set_suspend_voltage(struct regulator_dev *rdev,
21 + if (rdev->desc->ops->get_bypass)
22 + rdev->desc->ops->get_bypass(rdev, &bypassed);
30 @@ -3568,8 +3578,9 @@ int regulator_set_voltage_rdev(struct regulator_dev *rdev, int min_uV,
31 if (rdev->supply &&
32 regulator_ops_is_valid(rdev->supply->rdev,
34 - (rdev->desc->min_dropout_uV || !(rdev->desc->ops->get_voltage ||
[all …]
D0022_linux_drivers_i2c.patch7 Change-Id: I4a66d5b97f61e6f70ee3a088441bee616aff2012
9 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
11 --- a/drivers/i2c/busses/Kconfig
13 @@ -692,6 +692,14 @@ config I2C_IMX_LPI2C
15 will be called i2c-imx-lpi2c.
26 tristate "Intel IOPx3xx and IXP4xx on-chip I2C interface"
28 @@ -954,6 +962,12 @@ config I2C_RK3X
30 be called i2c-rk3x.
33 + tristate "I2C proxy bus over RPMSG"
34 + depends on I2C && RPMSG
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dmtk,scp.txt2 ----------------------------------------
4 This binding provides support for ARM Cortex M4 Co-processor found on some
8 - compatible Should be "mediatek,mt8183-scp"
9 - reg Should contain the address ranges for the two memory
11 - reg-names Contains the corresponding names for the two memory
13 - clocks Clock for co-processor (See: ../clock/clock-bindings.txt)
14 - clock-names Contains the corresponding name for the clock. This
18 --------
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:
[all …]
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_rpmsg.c1 // SPDX-License-Identifier: GPL-2.0
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
63 * Return: -EINVAL
68 return -EINVAL; in cros_ec_cmd_xfer_rpmsg()
72 * cros_ec_pkt_xfer_rpmsg - Transfer a packet over rpmsg and receive the reply
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dgoogle,cros-ec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Benson Leung <bleung@chromium.org>
11 - Enric Balletbo i Serra <enric.balletbo@collabora.com>
12 - Guenter Roeck <groeck@chromium.org>
23 - description:
25 const: google,cros-ec-i2c
26 - description:
[all …]
/kernel/linux/linux-5.10/samples/rpmsg/
Drpmsg_client_sample.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Remote processor messaging - sample client driver
8 * Ohad Ben-Cohen <ohad@wizery.com>
14 #include <linux/rpmsg.h>
29 struct instance_data *idata = dev_get_drvdata(&rpdev->dev); in rpmsg_sample_cb()
31 dev_info(&rpdev->dev, "incoming msg %d (src: 0x%x)\n", in rpmsg_sample_cb()
32 ++idata->rx_count, src); in rpmsg_sample_cb()
38 if (idata->rx_count >= count) { in rpmsg_sample_cb()
39 dev_info(&rpdev->dev, "goodbye!\n"); in rpmsg_sample_cb()
44 ret = rpmsg_send(rpdev->ept, MSG, strlen(MSG)); in rpmsg_sample_cb()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta-ipc.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/rpmsg.h>
10 #include "delta-ipc.h"
11 #include "delta-mem.h"
38 #define msg_to_ctx(msg) ((struct delta_ipc_ctx *)(msg)->header.host_hdl)
39 #define msg_to_copro_hdl(msg) ((msg)->header.copro_hdl)
43 return (ctx->ipc_buf->paddr + (vaddr - ctx->ipc_buf->vaddr)); in to_paddr()
49 return ((data >= ctx->ipc_buf->vaddr) && in is_valid_data()
50 ((data + size) <= (ctx->ipc_buf->vaddr + ctx->ipc_buf->size))); in is_valid_data()
58 * this IPC shared memory, avoiding de-facto recopies inside delta-ipc.
[all …]
Ddelta.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/rpmsg.h>
11 #include <media/v4l2-device.h>
12 #include <media/v4l2-mem2mem.h>
14 #include "delta-cfg.h"
17 * enum delta_state - state of decoding instance
46 * struct delta_streaminfo - information about stream to decode
89 * struct delta_au - access unit structure.
112 * struct delta_frameinfo - information about decoded frame
153 * struct delta_frame - frame structure.
[all …]
/kernel/linux/linux-5.10/net/qrtr/
Dsmd.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/rpmsg.h>
23 struct qrtr_smd_dev *qdev = dev_get_drvdata(&rpdev->dev); in qcom_smd_qrtr_callback()
27 return -EAGAIN; in qcom_smd_qrtr_callback()
29 rc = qrtr_endpoint_post(&qdev->ep, data, len); in qcom_smd_qrtr_callback()
30 if (rc == -EINVAL) { in qcom_smd_qrtr_callback()
31 dev_err(qdev->dev, "invalid ipcrouter packet\n"); in qcom_smd_qrtr_callback()
49 rc = rpmsg_send(qdev->channel, skb->data, skb->len); in qcom_smd_qrtr_send()
64 qdev = devm_kzalloc(&rpdev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_smd_qrtr_probe()
66 return -ENOMEM; in qcom_smd_qrtr_probe()
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_sysmon.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/rpmsg.h>
30 const char *name; member
75 * sysmon_send_event() - send notification of other remote's SSR event
86 len = snprintf(req, sizeof(req), "ssr:%s:%s", event->subsys_name, in sysmon_send_event()
87 sysmon_state_string[event->ssr_event]); in sysmon_send_event()
91 mutex_lock(&sysmon->lock); in sysmon_send_event()
92 reinit_completion(&sysmon->comp); in sysmon_send_event()
93 sysmon->ssr_ack = false; in sysmon_send_event()
95 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
[all …]
Dqcom_common.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
16 #include <linux/rpmsg/qcom_glink.h>
17 #include <linux/rpmsg/qcom_smd.h>
29 const char *name; member
41 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start()
43 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start()
50 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop()
51 glink->edge = NULL; in glink_subdev_stop()
58 qcom_glink_ssr_notify(glink->ssr_name); in glink_subdev_unprepare()
[all …]
/kernel/linux/linux-5.10/include/linux/soc/qcom/
Dwcnss_ctrl.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/rpmsg.h>
9 struct rpmsg_endpoint *qcom_wcnss_open_channel(void *wcnss, const char *name,
15 const char *name, in qcom_wcnss_open_channel() argument
20 return ERR_PTR(-ENXIO); in qcom_wcnss_open_channel()
/kernel/linux/linux-5.10/include/linux/rpmsg/
Dmtk_rpmsg.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct mtk_rpmsg_info - IPI functions tied to the rpmsg device.
20 * @ns_ipi_id: the IPI id used for name service, or -1 if name service isn't
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
19 stdout-path = "serial0:115200n8";
28 compatible = "fixed-clock";
29 #clock-cells = <0>;
30 clock-frequency = <32768>;
31 clock-output-names = "clk32k";
35 compatible = "regulator-fixed";
36 regulator-name = "it6505_pp18";
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch7 Change-Id: Ic34341fbcce5e6d02fefc2acad4ea1058da94b66
9 diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c
11 --- a/sound/core/pcm_dmaengine.c
13 @@ -125,6 +125,8 @@ void snd_dmaengine_pcm_set_config_from_dai_data(
16 slave_config->slave_id = dma_data->slave_id;
17 + slave_config->peripheral_config = dma_data->peripheral_config;
18 + slave_config->peripheral_size = dma_data->peripheral_size;
22 diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
24 --- a/sound/soc/codecs/hdmi-codec.c
25 +++ b/sound/soc/codecs/hdmi-codec.c
[all …]

123