Home
last modified time | relevance | path

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

12

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dfsl,rpmsg.yaml1 # 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-6.12.1/sound/soc/fsl/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 This option is only useful for out-of-tree drivers since
15 in-tree drivers select it automatically.
26 This option is only useful for out-of-tree drivers since
27 in-tree drivers select it automatically.
36 This option is only useful for out-of-tree drivers since
37 in-tree drivers select it automatically.
54 This option is only useful for out-of-tree drivers since
55 in-tree drivers select it automatically.
67 This option is only useful for out-of-tree drivers since
[all …]
Dimx-rpmsg.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2020 NXP
14 #include <sound/soc-dapm.h>
15 #include "imx-pcm-rpmsg.h"
36 struct snd_soc_pcm_runtime *rtd = list_first_entry(&card->rtd_list, in imx_rpmsg_late_probe()
39 struct device *dev = card->dev; in imx_rpmsg_late_probe()
42 if (data->lpa) { in imx_rpmsg_late_probe()
48 codec_np = data->dai.codecs->of_node; in imx_rpmsg_late_probe()
55 codec_dev = &codec_i2c->dev; in imx_rpmsg_late_probe()
59 codec_dev = &codec_pdev->dev; in imx_rpmsg_late_probe()
[all …]
/linux-6.12.1/drivers/rpmsg/
Drpmsg_core.c1 // SPDX-License-Identifier: GPL-2.0
8 * Ohad Ben-Cohen <ohad@wizery.com>
16 #include <linux/rpmsg.h>
24 .name = "rpmsg",
29 * rpmsg_create_channel() - create a new rpmsg channel
31 * @rpdev: rpmsg device
34 * Return: a pointer to the new rpmsg device on success, or NULL on error.
41 if (!rpdev->ops || !rpdev->ops->create_channel) { in rpmsg_create_channel()
42 dev_err(&rpdev->dev, "no create_channel ops found\n"); in rpmsg_create_channel()
46 return rpdev->ops->create_channel(rpdev, chinfo); in rpmsg_create_channel()
[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>
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 …]
Dqcom_glink_native.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2016-2017, Linaro Ltd
16 #include <linux/rpmsg.h>
48 * struct glink_defer_cmd - deferred incoming control message
64 * struct glink_core_rx_intent - RX intent
67 * @data: pointer to the data (may be NULL for zero-copy)
87 * struct qcom_glink - driver context, relates to one remote subsystem
139 * struct glink_channel - internal representation of a channel
141 * @ept: rpmsg endpoint this channel is associated with
156 * @open_ack: completed once remote has acked the open-request
[all …]
Dqcom_smd.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
21 #include <linux/rpmsg.h>
22 #include <linux/rpmsg/qcom_smd.h>
27 * The Qualcomm Shared Memory communication solution provides point-to-point
45 * sends out an interrupt. We detect this change and register a smd device to
96 * struct qcom_smd_edge - representing a remote processor
177 * struct qcom_smd_channel - smd channel struct
277 BUILD_BUG_ON(sizeof(channel->info->rx.param) != sizeof(u8)); \
278 channel->info_word ? \
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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()
47 goto out; in qcom_smd_qrtr_send()
49 rc = rpmsg_send(qdev->channel, skb->data, skb->len); in qcom_smd_qrtr_send()
51 out: in qcom_smd_qrtr_send()
[all …]
/linux-6.12.1/drivers/media/platform/st/sti/delta/
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 …]
/linux-6.12.1/drivers/remoteproc/
Dqcom_common.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
17 #include <linux/rpmsg/qcom_glink.h>
18 #include <linux/rpmsg/qcom_smd.h>
39 * struct minidump_region - Minidump region
55 * struct minidump_subsystem - Subsystem's SMEM Table of content
73 * struct minidump_global_toc - Global Table of Content
99 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in qcom_minidump_cleanup()
100 list_del(&entry->node); in qcom_minidump_cleanup()
101 kfree(entry->priv); in qcom_minidump_cleanup()
[all …]
Dkeystone_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
25 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
28 * struct keystone_rproc_mem - internal memory structure
42 * struct keystone_rproc - keystone remote processor driver structure
72 reset_control_assert(ksproc->reset); in keystone_rproc_dsp_reset()
80 if (boot_addr & (SZ_1K - 1)) { in keystone_rproc_dsp_boot()
81 dev_err(ksproc->dev, "invalid boot address 0x%x, must be aligned on a 1KB boundary\n", in keystone_rproc_dsp_boot()
83 return -EINVAL; in keystone_rproc_dsp_boot()
86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot()
[all …]
Dti_k3_m4_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI K3 Cortex-M4 Remote Processor(s) driver
5 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/
27 * struct k3_m4_rproc_mem - internal memory structure
41 * struct k3_m4_rproc_mem_data - memory definitions for a remote processor
51 * struct k3_m4_rproc - k3 remote processor driver structure
58 * @tsp: TI-SCI processor control handle
59 * @ti_sci: TI-SCI handle
60 * @ti_sci_id: TI-SCI device identifier
79 * k3_m4_rproc_mbox_callback() - inbound mailbox message handler
[all …]
Domap_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
13 * Hari Kanigeri <h-kanigeri2@ti.com>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
36 #include <clocksource/timer-ti-dm.h>
38 #include <linux/platform_data/dmtimer-omap.h>
[all …]
Dti_k3_dsp_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2018-2022 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
14 #include <linux/omap-mailbox.h>
24 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
27 * struct k3_dsp_mem - internal memory structure
41 * struct k3_dsp_mem_data - memory definitions for a DSP
51 * struct k3_dsp_dev_data - device data structure for a DSP
65 * struct k3_dsp_rproc - k3 DSP remote processor driver structure
73 * @data: pointer to DSP-specific device data
[all …]
Dti_k3_r5_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2017-2022 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
9 #include <linux/dma-mapping.h>
19 #include <linux/omap-mailbox.h>
33 /* R5 TI-SCI Processor Configuration Flags */
47 /* R5 TI-SCI Processor Control Flags */
50 /* R5 TI-SCI Processor Status Flags */
59 * struct k3_r5_mem - internal memory structure
77 * Single-CPU mode : AM64x SoCs only
[all …]
/linux-6.12.1/drivers/soc/qcom/
Dsmd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
14 #include <linux/rpmsg.h>
15 #include <linux/soc/qcom/smd-rpm.h>
20 * struct qcom_smd_rpm - state of the rpm device driver
37 * struct qcom_rpm_header - header for all rpm requests and responses
47 * struct qcom_rpm_request - request message to the rpm
63 * struct qcom_rpm_message - response message from the rpm
86 * qcom_rpm_smd_write - write @buf to @type:@id
112 return -EINVAL; in qcom_rpm_smd_write()
[all …]
Dapr.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
15 #include <linux/rpmsg.h>
48 * apr_send_pkt() - Send a apr message from apr device
57 struct packet_router *apr = dev_get_drvdata(adev->dev.parent); in apr_send_pkt()
62 spin_lock_irqsave(&adev->svc.lock, flags); in apr_send_pkt()
64 hdr = &pkt->hdr; in apr_send_pkt()
65 hdr->src_domain = APR_DOMAIN_APPS; in apr_send_pkt()
66 hdr->src_svc = adev->svc.id; in apr_send_pkt()
67 hdr->dest_domain = adev->domain_id; in apr_send_pkt()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/mediatek/
Dmt8192-asurada.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/spmi/spmi.h>
25 stdout-path = "serial0:115200n8";
33 backlight_lcd0: backlight-lcd0 {
34 compatible = "pwm-backlight";
36 power-supply = <&ppvar_sys>;
37 enable-gpios = <&pio 152 0>;
38 brightness-levels = <0 1023>;
[all …]
/linux-6.12.1/include/linux/
Dmod_devicetable.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 * struct pci_device_id - PCI device ID structure
35 * @class_mask: Limit which sub-fields of the class field are compared.
42 * @override_only: Match only when dev->driver_override is this driver.
47 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */
69 * Device table entry for "new style" table-driven USB drivers.
77 * Terminate the driver's table with an all-zeroes entry.
82 * struct usb_device_id - identifies USB devices for probing and hotplugging
90 * @idProduct: Vendor-assigned product ID.
91 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers.
[all …]
/linux-6.12.1/scripts/mod/
Dfile2alias.c5 * Copyright 2002-2003 Rusty Russell, IBM Corporation
14 #include "devicetable-offsets.h"
73 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f))
80 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f)
107 if (str[len - 1] != '*') in add_wildcard()
115 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid()
126 sprintf(str + len, "%02X%02X%02X%02X-%02X%02X-%02X%02X-%02X%02X-%02X%02X%02X%02X%02X%02X", in add_guid()
135 * in .o file. If in-consistent then userspace and kernel does not agree
153 if (*(uint8_t*)(symval+size-id_size+i)) { in device_id_check()
159 *(uint8_t*)(symval+size-id_size+i) ); in device_id_check()
[all …]
/linux-6.12.1/Documentation/userspace-api/ioctl/
Dioctl-number.rst33 patch to Linus Torvalds. Or you can e-mail me at <mec@shout.net> and
39 out of the kernel (e.g. 'int' or 'struct foo'). NOTE! Do NOT use
67 no attempt to list non-X86 architectures or ioctls from drivers/staging/.
73 0x00 00-1F linux/fs.h conflict!
74 0x00 00-1F scsi/scsi_ioctl.h conflict!
75 0x00 00-1F linux/fb.h conflict!
76 0x00 00-1F linux/wavefront.h conflict!
79 0x04 D2-DC linux/umsdos_fs.h Dead since 2.6.11, but don't r…
81 0x07 9F-D0 linux/vmw_vmci_defs.h, uapi/linux/vm_sockets.h
83 0x10 00-0F drivers/char/s390/vmcp.h
[all …]
/linux-6.12.1/drivers/net/wireless/ath/wcn36xx/
Dmain.c13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
24 #include <linux/rpmsg.h>
190 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index()
191 sta_priv->bss_sta_index : in get_sta_index()
192 sta_priv->sta_index; in get_sta_index()
200 if (wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, i)) { in wcn36xx_feat_caps_info()
209 struct wcn36xx *wcn = hw->priv; in wcn36xx_start()
263 INIT_LIST_HEAD(&wcn->vif_list); in wcn36xx_start()
264 spin_lock_init(&wcn->dxe_lock); in wcn36xx_start()
265 spin_lock_init(&wcn->survey_lock); in wcn36xx_start()
[all …]
Dsmd.c13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
23 #include <linux/rpmsg.h>
145 WCN36XX_CFG_VAL(ASD_TRIGGER_THRESHOLD, -60),
189 return -ENOMEM; in put_cfg_tlv_u32()
192 entry = (struct wcn36xx_hal_cfg *) (wcn->hal_buf + *len); in put_cfg_tlv_u32()
193 entry->id = id; in put_cfg_tlv_u32()
194 entry->len = sizeof(u32); in put_cfg_tlv_u32()
195 entry->pad_bytes = 0; in put_cfg_tlv_u32()
196 entry->reserve = 0; in put_cfg_tlv_u32()
211 bss_params->nw_type = WCN36XX_HAL_11A_NW_TYPE; in wcn36xx_smd_set_bss_nw_type()
[all …]
/linux-6.12.1/drivers/misc/
Dfastrpc.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
7 #include <linux/dma-buf.h>
8 #include <linux/dma-mapping.h>
9 #include <linux/dma-resv.h>
19 #include <linux/rpmsg.h>
78 #define FASTRPC_BUILD_SCALARS(attr, method, in, out, oin, oout) \ argument
82 ((out & 0xff) << 8) | \
86 #define FASTRPC_SCALARS(method, in, out) \ argument
87 FASTRPC_BUILD_SCALARS(0, method, in, out, 0, 0)
[all …]

12