| /linux/drivers/rpmsg/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 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 15 in /dev. They make it possible for user-space programs to send and 16 receive rpmsg packets. 19 tristate "RPMSG control interface" [all …]
|
| H A D | virtio_rpmsg_bus.c | 1 // 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> 20 #include <linux/rpmsg.h> 21 #include <linux/rpmsg/byteorder.h> 22 #include <linux/rpmsg/ns.h> 34 * struct virtproc_info - virtual remote processor state 52 * This structure stores the rpmsg state of a given virtio remote processor 71 /* The feature bitmap for virtio rpmsg */ [all …]
|
| H A D | mtk_rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/rpmsg/mtk_rpmsg.h> 36 * struct rpmsg_ns_msg - dynamic name service announcement message 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). 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() 80 dev_warn(&ept->rpdev->dev, "rpmsg handler return error = %d", in mtk_rpmsg_ipi_handler() 91 struct platform_device *pdev = mtk_subdev->pdev; in __mtk_create_ept() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-rpmsg | 1 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 8 which is maximum 32 bytes long (defined as RPMSG_NAME_SIZE in 9 rpmsg.h). 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, 20 and remote ("destination") rpmsg address. When an entity [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | fsl,rpmsg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,rpmsg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Audio RPMSG CPU DAI Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 Linux side is a device which provides audio service by rpmsg channel. 17 such as SAI, MICFIL, .etc through building rpmsg channels between 18 Cortex-A and Cortex-M. 21 - $ref: sound-card-common.yaml# [all …]
|
| /linux/include/linux/ |
| H A D | rpmsg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 20 #include <linux/rpmsg/byteorder.h> 21 #include <uapi/linux/rpmsg.h> 29 * struct rpmsg_channel_info - channel info representation 41 * rpmsg_device - device that belong to the rpmsg bus 43 * @id: device id (used to match between rpmsg driver [all...] |
| /linux/sound/soc/fsl/ |
| H A D | imx-pcm-rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 4 #include <linux/dma-mapping.h> 8 #include <linux/rpmsg.h> 15 #include "imx-pcm.h" 17 #include "imx-pcm-rpmsg.h" 39 struct rpmsg_device *rpdev = info->rpdev; in imx_rpmsg_pcm_send_message() 42 mutex_lock(&info->msg_lock); in imx_rpmsg_pcm_send_message() 44 dev_err(info->dev, "rpmsg channel not ready\n"); in imx_rpmsg_pcm_send_message() 45 mutex_unlock(&info->msg_lock); in imx_rpmsg_pcm_send_message() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 This option is only useful for out-of-tree drivers since 18 in-tree drivers select it automatically. 29 This option is only useful for out-of-tree drivers since 30 in-tree drivers select it automatically. 40 This option is only useful for out-of-tree drivers since 41 in-tree drivers select it automatically. 58 This option is only useful for out-of-tree drivers since 59 in-tree drivers select it automatically. 71 This option is only useful for out-of-tree drivers since [all …]
|
| H A D | imx-pcm-rpmsg.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2017-2021 NXP 6 * Communication stack of audio with rpmsg 11 * +---------------+-------------------------------+ 13 * +---------------+-------------------------------+ 15 * +---------------+---+---+---+---+---+---+---+---+ 17 * +---------------+---+---+---+---+---+---+---+---+ 19 * +---------------+---+---+---+---+---+---+---+---+ 21 * +---------------+---+---+---+---+---+---+---+---+ 23 * +---------------+---+---+---+---+---+---+---+---+ [all …]
|
| /linux/drivers/tty/ |
| H A D | rpmsg_tty.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2021 STMicroelectronics - All Rights Reserved 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 */ 37 struct rpmsg_tty_port *cport = dev_get_drvdata(&rpdev->dev); in rpmsg_tty_cb() [all …]
|
| /linux/include/linux/rpmsg/ |
| H A D | ns.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/rpmsg.h> 8 #include <linux/rpmsg/byteorder.h> 12 * struct rpmsg_ns_msg - dynamic name service announcement message 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 21 * (if/as-soon-as one is registered). 30 * enum rpmsg_ns_flags - dynamic name service announcement flags
|
| H A D | mtk_rpmsg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct mtk_rpmsg_info - IPI functions tied to the rpmsg device. 18 * @send_ipi: send IPI to an IPI id. wait is the timeout (in msecs) to wait 20 * @ns_ipi_id: the IPI id used for name service, or -1 if name service isn't
|
| /linux/drivers/net/wwan/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 elements for each WWAN device in a directory that is corresponding to 40 tristate "MHI WWAN control driver for QCOM-based PCIe modems" 43 MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem 53 tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems" 56 MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems. 65 tristate "Qualcomm BAM-DMUX WWAN network driver" 78 tristate "RPMSG WWAN control driver" 79 depends on RPMSG 81 RPMSG WWAN CTRL allows modems available via RPMSG channels to expose [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-ipc.c | 1 // 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 …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver" 8 This V4L2 driver enables DELTA multi-format video decoder 10 decoding of various compressed video bitstream format in 27 the module will be called st-delta. 36 select RPMSG
|
| H A D | delta.h | 1 /* 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 20 * Wait for compressed format to be set by V4L2 client in order 46 * struct delta_streaminfo - information about stream to decode 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame [all …]
|
| /linux/net/qrtr/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 hardware blocks in the system. 12 In order to do service lookups, a userspace daemon is required to 19 depends on RPMSG || (COMPILE_TEST && RPMSG=n)
|
| /linux/samples/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 tristate "Build trace_events examples -- loadable modules only" 20 tristate "Build custom trace event example -- loadable modules only" 26 tristate "Build trace_printk module - tests various trace_printk formats" 70 If in doubt, say "N" here. 73 tristate "Build kprobes examples -- loadable modules only" 79 tristate "Build kretprobes example -- loadable modules only" 84 tristate "Build kernel hardware breakpoint examples -- loadable module only" 90 tristate "Build fprobe examples -- loadable modules only" 97 tristate "Build kfifo examples -- loadable modules only" [all …]
|
| /linux/include/linux/cdx/ |
| H A D | mcdi.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2008-2013 Solarflare Communications Inc. 4 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc. 12 #include <linux/rpmsg.h> 17 * enum cdx_mcdi_mode - MCDI transaction mode 19 * @MCDI_MODE_FAIL: we think MCDI is dead, so fail-fast all calls 31 * enum cdx_mcdi_cmd_state - State for an individual MCDI command 51 * struct cdx_mcdi - CDX MCDI Firmware interface, to interact 56 * @rpdev: RPMsg device 57 * @ept: RPMsg endpoint [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 If you say N, all options in this submenu will be skipped and disabled. 26 If you have an ACPI-compatible Chromebook, say Y or M here. 47 The range of memory used is 0xf00000-0x1000000, traditionally 72 devices. The driver will probe the correct component variant in 73 devices that have multiple drop-in options for one component. 94 EC through an I2C bus. This uses a simple byte-level protocol with 99 tristate "ChromeOS Embedded Controller (rpmsg)" 100 depends on CROS_EC && RPMSG && OF 103 through rpmsg. This uses a simple byte-level protocol with a [all …]
|
| /linux/drivers/edac/ |
| H A D | versalnet_edac.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/rpmsg.h> 19 /* Granularity of reported error in bytes */ 74 * struct ecc_error_info - ECC error log information. 100 /* Row and column bit positions in the address decoder (ADEC) registers. */ 122 * struct ecc_status - ECC status information to report. 136 * struct mc_priv - DDR memory controller private instance data. 143 * @regs: The registers sent on the rpmsg. 146 * @ept: rpmsg endpoint. 164 * Address decoder (ADEC) registers to match the order in which the register [all …]
|
| /linux/Documentation/devicetree/bindings/remoteproc/ |
| H A D | renesas,rcar-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car remote processor controller 10 - Julien Massot <julien.massot@iot.bzh> 14 boots firmwares on the Renesas R-Car family chipset. 15 R-Car gen3 family may have a realtime processor, this processor shares peripheral 20 const: renesas,rcar-cr7 25 power-domains: [all …]
|
| H A D | fsl,imx-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX Co-Processor 10 This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs. 13 - Peng Fan <peng.fan@nxp.com> 18 - fsl,imx6sx-cm4 19 - fsl,imx7d-cm4 20 - fsl,imx7ulp-cm4 [all …]
|
| /linux/drivers/cdx/controller/ |
| H A D | mcdid.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2008-2013 Solarflare Communications Inc. 4 * Copyright (C) 2022-2025, Advanced Micro Devices, Inc. 12 #include <linux/rpmsg.h> 28 return cdx->mcdi ? &cdx->mcdi->iface : NULL; in cdx_mcdi_if() 39 * We expect that 16- and 32-bit fields in MCDI requests and responses 40 * are appropriately aligned, but 64-bit fields are only 41 * 32-bit-aligned.
|
| /linux/drivers/bluetooth/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 146 with UART interface in Nokia devices. 188 bool "Three-wire UART (H5) protocol support" 192 The HCI Three-wire UART Transport Layer makes it possible to 194 Three-wire UART Transport Layer assumes that the UART 198 Say Y here to compile support for Three-wire UART protocol. 235 The Realtek protocol support enables Bluetooth HCI over 3-Wire 247 The Qualcomm Atheros protocol supports HCI In-Band Sleep feature 308 attached via PCIe. These are usually found in Apple machines. 401 tristate "Marvell BT-over-SDIO driver" [all …]
|