| /kernel/linux/linux-6.6/fs/smb/server/ |
| D | ksmbd_netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * linux-ksmbd-devel@lists.sourceforge.net 14 * This is a userspace ABI to communicate data between ksmbd and user IPC 18 * - KSMBD_EVENT_HEARTBEAT_REQUEST(ksmbd_heartbeat) 19 * This event is to check whether user IPC daemon is alive. If user IPC 23 * - KSMBD_EVENT_STARTING_UP(ksmbd_startup_request) 25 * server from the user IPC daemon and to start the server. The global 29 * - KSMBD_EVENT_SHUTTING_DOWN(ksmbd_shutdown_request) 32 * - KSMBD_EVENT_LOGIN_REQUEST/RESPONSE(ksmbd_login_request/response) 33 * This event is to get user account info to user IPC daemon. [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
| D | skl-sst-ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Intel SKL IPC Support 5 * Copyright (C) 2014-15, Intel Corporation. 12 #include "../common/sst-ipc.h" 13 #include "skl-sst-dsp.h" 22 PPL_PAUSED = 3, 49 * @non_streaming: Count of usecases that can attempt non-streaming D0i3 106 #define SKL_IPC_D0_MASK 3 110 int skl_ipc_create_pipeline(struct sst_generic_ipc *ipc, 113 int skl_ipc_delete_pipeline(struct sst_generic_ipc *ipc, u8 instance_id); [all …]
|
| D | skl-sst-ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * skl-sst-ipc.c - Intel skl IPC Support 5 * Copyright (C) 2014-15, Intel Corporation. 9 #include "../common/sst-dsp.h" 10 #include "../common/sst-dsp-priv.h" 12 #include "skl-sst-dsp.h" 13 #include "skl-sst-ipc.h" 19 /* Global Message - Generic */ 24 /* Global Message - Reply */ 26 #define IPC_GLB_REPLY_STATUS_MASK ((0x1 << IPC_GLB_REPLY_STATUS_SHIFT) - 1) [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
| D | skl-sst-ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Intel SKL IPC Support 5 * Copyright (C) 2014-15, Intel Corporation. 12 #include "../common/sst-ipc.h" 13 #include "skl-sst-dsp.h" 22 PPL_PAUSED = 3, 49 * @non_streaming: Count of usecases that can attempt non-streaming D0i3 106 #define SKL_IPC_D0_MASK 3 110 int skl_ipc_create_pipeline(struct sst_generic_ipc *ipc, 113 int skl_ipc_delete_pipeline(struct sst_generic_ipc *ipc, u8 instance_id); [all …]
|
| D | skl-sst-ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * skl-sst-ipc.c - Intel skl IPC Support 5 * Copyright (C) 2014-15, Intel Corporation. 9 #include "../common/sst-dsp.h" 10 #include "../common/sst-dsp-priv.h" 12 #include "skl-sst-dsp.h" 13 #include "skl-sst-ipc.h" 19 /* Global Message - Generic */ 24 /* Global Message - Reply */ 26 #define IPC_GLB_REPLY_STATUS_MASK ((0x1 << IPC_GLB_REPLY_STATUS_SHIFT) - 1) [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
| D | ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 void catpt_ipc_init(struct catpt_ipc *ipc, struct device *dev) in catpt_ipc_init() argument 18 ipc->dev = dev; in catpt_ipc_init() 19 ipc->ready = false; in catpt_ipc_init() 20 ipc->default_timeout = CATPT_IPC_TIMEOUT_MS; in catpt_ipc_init() 21 init_completion(&ipc->done_completion); in catpt_ipc_init() 22 init_completion(&ipc->busy_completion); in catpt_ipc_init() 23 spin_lock_init(&ipc->lock); in catpt_ipc_init() 24 mutex_init(&ipc->mutex); in catpt_ipc_init() 27 static int catpt_ipc_arm(struct catpt_ipc *ipc, struct catpt_fw_ready *config) in catpt_ipc_arm() argument [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/catpt/ |
| D | ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 void catpt_ipc_init(struct catpt_ipc *ipc, struct device *dev) in catpt_ipc_init() argument 18 ipc->dev = dev; in catpt_ipc_init() 19 ipc->ready = false; in catpt_ipc_init() 20 ipc->default_timeout = CATPT_IPC_TIMEOUT_MS; in catpt_ipc_init() 21 init_completion(&ipc->done_completion); in catpt_ipc_init() 22 init_completion(&ipc->busy_completion); in catpt_ipc_init() 23 spin_lock_init(&ipc->lock); in catpt_ipc_init() 24 mutex_init(&ipc->mutex); in catpt_ipc_init() 27 static int catpt_ipc_arm(struct catpt_ipc *ipc, struct catpt_fw_ready *config) in catpt_ipc_arm() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | intel_scu_ipc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the Intel SCU IPC mechanism 5 * (C) Copyright 2008-2010,2015 Intel Corporation 9 * core through IPC mechanism which in turn messaging between IA core ad SCU. 10 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and 11 * SCU where IPC-2 is used between P-Unit and SCU. This driver delas with 12 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC) 28 /* IPC defines the following message types */ 34 #define IPC_CMD_PCNTRL_M 2 /* Register read-modify-write */ 37 * IPC register summary [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/mei/ |
| D | hw-txe-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2013-2014, Intel Corporation. All rights reserved. 28 * This register resides in PCI-E config space. 39 #define IPC_BASE_ADDR 0x80400 /* SeC IPC Base Address */ 41 /* IPC Input Doorbell Register */ 44 /* IPC Input Status Register 53 /* IPC Host Interrupt Status Register */ 68 /* IPC Host Interrupt Mask Register */ 74 /* IPC Input Payload RAM */ 76 /* IPC Shared Payload RAM */ [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/mei/ |
| D | hw-txe-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2013-2014, Intel Corporation. All rights reserved. 28 * This register resides in PCI-E config space. 39 #define IPC_BASE_ADDR 0x80400 /* SeC IPC Base Address */ 41 /* IPC Input Doorbell Register */ 44 /* IPC Input Status Register 53 /* IPC Host Interrupt Status Register */ 68 /* IPC Host Interrupt Mask Register */ 74 /* IPC Input Payload RAM */ 76 /* IPC Shared Payload RAM */ [all …]
|
| /kernel/linux/linux-6.6/ipc/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/ipc/util.c 6 * Sep 1997 - Call suser() last after "normal" permission checks so we 8 * Occurs in several places in the IPC code. 10 * Nov 1999 - ipc helper functions, unified SMP locking 12 * Oct 2002 - One lock per IPC id. RCU ipc_free for lock-free grow_ary(). 14 * Mar 2006 - support for audit of ipc object properties 16 * Jun 2006 - namespaces ssupport 20 * General sysv ipc locking scheme: 22 * obtain the ipc object (kern_ipc_perm) by looking up the id in an idr [all …]
|
| /kernel/linux/linux-6.6/include/linux/firmware/imx/ |
| D | ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Header file for the IPC implementation. 23 IMX_SC_RPC_SVC_RM = 3, 39 * This is an function to send an RPC message over an IPC channel. 40 * It is called by client-side SCFW API function shims. 42 * @param[in] ipc IPC handle 49 int imx_scu_call_rpc(struct imx_sc_ipc *ipc, void *msg, bool have_resp); 52 * This function gets the default ipc handle used by SCU 54 * @param[out] ipc sc ipc handle 58 int imx_scu_get_handle(struct imx_sc_ipc **ipc); [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | intel_scu_ipc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the Intel SCU IPC mechanism 5 * (C) Copyright 2008-2010,2015 Intel Corporation 9 * core through IPC mechanism which in turn messaging between IA core ad SCU. 10 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and 11 * SCU where IPC-2 is used between P-Unit and SCU. This driver delas with 12 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC) 28 /* IPC defines the following message types */ 34 #define IPC_CMD_PCNTRL_M 2 /* Register read-modify-write */ 37 * IPC register summary [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/ |
| D | ipc.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 10 // Generic IPC layer that can work over MMIO and SPI/I2C. PHY layer provided 17 #include "sof-priv.h" 18 #include "sof-audio.h" 22 * sof_ipc_send_msg - generic function to prepare and send one IPC message 33 * Note: higher level sdev->ipc->tx_mutex must be held to make sure that 39 struct snd_sof_ipc *ipc = sdev->ipc; in sof_ipc_send_msg() local 43 if (ipc->disable_ipc_tx || sdev->fw_state != SOF_FW_BOOT_COMPLETE) in sof_ipc_send_msg() 44 return -ENODEV; in sof_ipc_send_msg() 47 * The spin-lock is needed to protect message objects against other in sof_ipc_send_msg() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\ 4 control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o 6 # IPC implementations 8 snd-sof-objs += ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\ 9 ipc3-dtrace.o 12 snd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\ 13 ipc4-mtrace.o 18 snd-sof-objs += sof-client.o 21 snd-sof-$(CONFIG_SND_SOC_SOF_COMPRESS) += compress.o [all …]
|
| /kernel/linux/linux-5.10/include/linux/firmware/imx/ |
| D | ipc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Header file for the IPC implementation. 23 IMX_SC_RPC_SVC_RM = 3, 38 * This is an function to send an RPC message over an IPC channel. 39 * It is called by client-side SCFW API function shims. 41 * @param[in] ipc IPC handle 48 int imx_scu_call_rpc(struct imx_sc_ipc *ipc, void *msg, bool have_resp); 51 * This function gets the default ipc handle used by SCU 53 * @param[out] ipc sc ipc handle 57 int imx_scu_get_handle(struct imx_sc_ipc **ipc);
|
| /kernel/linux/linux-5.10/sound/soc/sof/ |
| D | ipc.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 10 // Generic IPC layer that can work over MMIO and SPI/I2C. PHY layer provided 17 #include "sof-priv.h" 18 #include "sof-audio.h" 25 * IPC message Tx/Rx message handling. 28 /* SOF generic IPC data */ 34 /* disables further sending of ipc's */ 205 /* wait for IPC message reply */ 206 static int tx_wait_done(struct snd_sof_ipc *ipc, struct snd_sof_ipc_msg *msg, in tx_wait_done() argument 209 struct snd_sof_dev *sdev = ipc->sdev; in tx_wait_done() [all …]
|
| /kernel/linux/linux-5.10/ipc/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * linux/ipc/util.c 6 * Sep 1997 - Call suser() last after "normal" permission checks so we 8 * Occurs in several places in the IPC code. 10 * Nov 1999 - ipc helper functions, unified SMP locking 12 * Oct 2002 - One lock per IPC id. RCU ipc_free for lock-free grow_ary(). 14 * Mar 2006 - support for audit of ipc object properties 16 * Jun 2006 - namespaces ssupport 20 * General sysv ipc locking scheme: 22 * obtain the ipc object (kern_ipc_perm) by looking up the id in an idr [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/ |
| D | qcom,smsm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 25 '#address-cells': 28 qcom,local-host: 36 '#size-cells': 40 "^qcom,ipc-[1-4]$": [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/imx/ |
| D | misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * File containing client-side RPC functions for the MISC service. These 43 * @param[in] ipc IPC handle 51 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_misc_set_control() argument 57 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_misc_set_control() 58 hdr->svc = (uint8_t)IMX_SC_RPC_SVC_MISC; in imx_sc_misc_set_control() 59 hdr->func = (uint8_t)IMX_SC_MISC_FUNC_SET_CONTROL; in imx_sc_misc_set_control() 60 hdr->size = 4; in imx_sc_misc_set_control() 66 return imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_set_control() 73 * @param[in] ipc IPC handle [all …]
|
| /kernel/linux/linux-6.6/drivers/firmware/imx/ |
| D | misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * File containing client-side RPC functions for the MISC service. These 43 * @param[in] ipc IPC handle 51 int imx_sc_misc_set_control(struct imx_sc_ipc *ipc, u32 resource, in imx_sc_misc_set_control() argument 57 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_misc_set_control() 58 hdr->svc = (uint8_t)IMX_SC_RPC_SVC_MISC; in imx_sc_misc_set_control() 59 hdr->func = (uint8_t)IMX_SC_MISC_FUNC_SET_CONTROL; in imx_sc_misc_set_control() 60 hdr->size = 4; in imx_sc_misc_set_control() 66 return imx_scu_call_rpc(ipc, &msg, true); in imx_sc_misc_set_control() 73 * @param[in] ipc IPC handle [all …]
|
| /kernel/linux/linux-5.10/net/qrtr/ |
| D | af_qrtr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #define QRTR_PROTO_VER_2 3 20 /* auto-bind range */ 27 * struct qrtr_hdr_v1 - (I|R)PCrouter packet header version 1 32 * @confirm_rx: boolean; whether a resume-tx packet should be send in reply 49 * struct qrtr_hdr_v2 - (I|R)PCrouter packet header later versions 114 * struct qrtr_node - endpoint node 138 * struct qrtr_tx_flow - tx flow control 159 static void qrtr_port_put(struct qrtr_sock *ipc); 175 if (node->nid != QRTR_EP_NID_AUTO) in __qrtr_node_release() [all …]
|
| /kernel/linux/linux-6.6/net/qrtr/ |
| D | af_qrtr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #define QRTR_PROTO_VER_2 3 20 /* auto-bind range */ 29 * struct qrtr_hdr_v1 - (I|R)PCrouter packet header version 1 34 * @confirm_rx: boolean; whether a resume-tx packet should be send in reply 51 * struct qrtr_hdr_v2 - (I|R)PCrouter packet header later versions 116 * struct qrtr_node - endpoint node 140 * struct qrtr_tx_flow - tx flow control 161 static void qrtr_port_put(struct qrtr_sock *ipc); 186 list_del(&node->item); in __qrtr_node_release() [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/ivpu/ |
| D | ivpu_ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-2023 Intel Corporation 20 #define IS_KTHREAD() (get_current()->flags & PF_KTHREAD) 23 struct ivpu_ipc_hdr ipc; member 36 ivpu_dbg(vdev, IPC, in ivpu_ipc_msg_dump() 38 c, vpu_addr, ipc_hdr->data_addr, ipc_hdr->data_size, ipc_hdr->channel, in ivpu_ipc_msg_dump() 39 ipc_hdr->src_node, ipc_hdr->dst_node, ipc_hdr->status); in ivpu_ipc_msg_dump() 45 u32 *payload = (u32 *)&jsm_msg->payload; in ivpu_jsm_msg_dump() 49 c, vpu_addr, jsm_msg->type, jsm_msg->status, jsm_msg->request_id, jsm_msg->result, in ivpu_jsm_msg_dump() 50 payload[0], payload[1], payload[2], payload[3], payload[4]); in ivpu_jsm_msg_dump() [all …]
|
| /kernel/liteos_a/kernel/base/ |
| D | BUILD.gn | 1 # Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 2 # Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved. 14 # 3. Neither the name of the copyright holder nor the names of its contributors may be used 43 "ipc/los_event.c", 44 "ipc/los_futex.c", 45 "ipc/los_ipcdebug.c", 46 "ipc/los_mux.c", 47 "ipc/los_queue.c", 48 "ipc/los_queue_debug.c", 49 "ipc/los_rwlock.c", [all …]
|