/linux-6.12.1/net/smc/ |
D | smc_diag.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 5 * Monitoring SMC transport protocol sockets 20 #include <net/smc.h> 22 #include "smc.h" 32 return (struct smc_diag_dump_ctx *)cb->ctx; in smc_dump_context() 37 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill() local 40 r->diag_family = sk->sk_family; in smc_diag_msg_common_fill() 41 sock_diag_save_cookie(sk, r->id.idiag_cookie); in smc_diag_msg_common_fill() 42 if (!smc->clcsock) in smc_diag_msg_common_fill() [all …]
|
D | smc_clc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 17 #include <linux/smc.h> 19 #include "smc.h" 27 #define SMC_TYPE_R 0 /* SMC-R only */ 28 #define SMC_TYPE_D 1 /* SMC-D only */ 29 #define SMC_TYPE_N 2 /* neither SMC-R nor SMC-D */ 30 #define SMC_TYPE_B 3 /* SMC-R and SMC-D */ 37 #define SMC_CLC_DECL_PEERNOSMC 0x03010000 /* peer did not indicate SMC */ 39 #define SMC_CLC_DECL_NOSMCDEV 0x03030000 /* no SMC device found (R or D) */ [all …]
|
D | smc_core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 5 * Definitions for SMC Connections, Link Groups and Links 16 #include <linux/smc.h> 20 #include <net/smc.h> 22 #include "smc.h" 29 * also is the default value for SMC-R v1 and v2.0 32 * SMC-R v2.1 and later negotiation, vendors or 34 * 16-255 as needed. 95 struct smc_ib_device *smcibdev; /* ib-device */ [all …]
|
D | af_smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 7 * offers an alternative communication option for TCP-protocol sockets 8 * applicable with RoCE-cards only 11 * - support for alternate links postponed 19 #define KMSG_COMPONENT "smc" 34 #include <net/smc.h> 41 #include "smc.h" 78 if (cb_ctx->pos[0]) in smc_nl_dump_hs_limitation() 81 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in smc_nl_dump_hs_limitation() [all …]
|
/linux-6.12.1/drivers/net/fddi/skfp/ |
D | drvfbi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "h/smc.h" 44 * | --------------------- the patched POS_ID of the Adapter 45 * | xxxx = (Vendor ID low byte, 46 * | Vendor ID high byte, 47 * | Device ID low byte, 48 * | Device ID high byte) 49 * +------------------------------ the patched oem_id must be 51 * this is a short id for the driver. 60 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument [all …]
|
D | smt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "h/smc.h" 26 #define m_fc(mb) ((mb)->sm_data[0]) 54 static int mac_index(struct s_smc *smc, int mac); 55 static int phy_index(struct s_smc *smc, int phy); 56 static int mac_con_resource_index(struct s_smc *smc, int mac); 57 static int phy_con_resource_index(struct s_smc *smc, int phy); 58 static void smt_send_rdf(struct s_smc *smc, SMbuf *rej, int fc, int reason, 60 static void smt_send_nif(struct s_smc *smc, const struct fddi_addr *dest, 62 static void smt_send_ecf(struct s_smc *smc, struct fddi_addr *dest, int fc, [all …]
|
D | smtinit.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include "h/smc.h" 22 void init_fddi_driver(struct s_smc *smc, const u_char *mac_addr); 30 #define OEMID(smc,i) oem_id[i] argument 33 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] argument 41 * the OEM ID is already defined. 43 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() argument 47 mib = &smc->mib ; in set_oem_spec_val() 52 if (OEMID(smc,0) == 'I') { in set_oem_spec_val() 53 mib->fddiSMTConnectionPolicy = POLICY_MM ; in set_oem_spec_val() [all …]
|
D | ess.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * FDDI sub-system supporting the SBA application. 34 #include "h/smc.h" 50 ------------------------------------------------------------- 52 ------------------------------------------------------------- 66 ------------------------------------------------------------- 68 ------------------------------------------------------------- 73 ------------------------------------------------------------- 75 ------------------------------------------------------------- 78 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/watchdog/ |
D | arm-smc-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Julius Werner <jwerner@chromium.org> 13 - $ref: watchdog.yaml# 18 - arm,smc-wdt 20 arm,smc-id: 23 The ATF smc function id used by the firmware. 27 - compatible [all …]
|
/linux-6.12.1/drivers/tee/optee/ |
D | optee_smc.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 3 * Copyright (c) 2015-2021, Linaro Limited 8 #include <linux/arm-smccc.h> 19 * Function specified by SMC Calling convention. 28 * Normal cached memory (write-back), shareable for SMP systems and not 36 * 32-bit registers. 40 * Function specified by SMC Calling convention 44 * 384fb3e0-e7f8-11e3-af63-0002a5d5c51b. 54 * Function specified by SMC Calling convention 75 * Used by non-secure world to figure out which Trusted OS is installed. [all …]
|
/linux-6.12.1/arch/arm/mach-omap2/ |
D | omap-smc.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 .arch armv7-a 26 stmfd sp!, {r2-r12, lr} 30 smc #0 31 ldmfd sp!, {r2-r12, pc} 35 * u32 omap_smc2(u32 id, u32 falg, u32 pargs) 37 * @id: Application ID of HAL APIs 43 stmfd sp!, {r4-r12, lr} 46 mov r1, #0x0 @ Process ID 48 mov r12, #0x00 @ Secure Service ID [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | atmel-smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Atmel SMC (Static Memory Controller) helper functions. 8 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 11 #include <linux/mfd/syscon/atmel-smc.h> 15 * atmel_smc_cs_conf_init - initialize a SMC CS conf 16 * @conf: the SMC CS conf to initialize 27 * atmel_smc_cs_encode_ncycles - encode a number of MCK clk cycles in the 28 * format expected by the SMC engine 36 * (section "SMC Setup/Pulse/Cycle/Timings Register"). This is a generic 40 * If the @ncycles value is too big to be encoded, -ERANGE is returned and [all …]
|
/linux-6.12.1/drivers/firmware/arm_scmi/transports/ |
D | smc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Management Interface (SCMI) Message SMC/HVC 9 #include <linux/arm-smccc.h> 28 * smc/hvc call to keep it uniform across smc32/smc64 conventions. 32 * scmi instances that are using the same smc-id. 40 #define SHMEM_OFFSET(x) ((x) & (SHMEM_SIZE - 1)) 43 * struct scmi_smc - Structure representing a SCMI smc transport 52 * @func_id: smc/hvc call function id 55 * @cap_id: smc/hvc doorbell's capability id to be used on Qualcomm virtual 79 core->rx_callback(scmi_info->cinfo, in smc_msg_done_isr() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/firmware/ |
D | arm,scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/arm,scmi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Sudeep Holla <sudeep.holla@arm.com> 26 - $ref: /schemas/firmware/nxp,imx95-scmi.yaml 34 - description: SCMI compliant firmware with mailbox transport 36 - const: arm,scmi 37 - description: SCMI compliant firmware with ARM SMC/HVC transport 39 - const: arm,scmi-smc [all …]
|
D | brcm,kona-smc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/firmware/brcm,kona-smc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 A bounce buffer used for non-secure to secure communications. 13 - Florian Fainelli <f.fainelli@gmail.com> 18 - enum: 19 - brcm,bcm11351-smc 20 - brcm,bcm21664-smc 21 - brcm,bcm23550-smc [all …]
|
/linux-6.12.1/include/linux/ |
D | arm-smccc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 * This file provides common defines for ARM SMC Calling Convention as 17 * This code is up-to-date with version DEN 0028 C 109 /* KVM UID value: 28b46fb6-2ec5-11e9-a9ca-4b564d003a74 */ 196 * this hypercall ID. 228 /* ptp_kvm counter type ID */ 281 #define SMCCC_RET_NOT_SUPPORTED -1 282 #define SMCCC_RET_NOT_REQUIRED -2 283 #define SMCCC_RET_INVALID_PARAMETER -3 321 * Returns the SOC ID version. [all …]
|
/linux-6.12.1/drivers/firmware/qcom/ |
D | qcom_scm-legacy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/arm-smccc.h> 14 #include <linux/dma-mapping.h> 23 * @args: The array of values used in registers in smc instruction 31 * struct scm_legacy_command - one SCM command buffer 35 * @id: command to be executed 40 * ------------------- <--- struct scm_legacy_command 42 * ------------------- <--- scm_legacy_get_command_buffer() 44 * ------------------- <--- struct scm_legacy_response and 46 * ------------------- <--- scm_legacy_get_response_buffer() [all …]
|
D | qcom_scm-smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/arm-smccc.h> 15 #include <linux/dma-mapping.h> 21 * @args: The array of values used in registers in smc instruction 33 #define SCM_SMC_FIRST_EXT_IDX (SCM_SMC_N_REG_ARGS - 1) 34 #define SCM_SMC_N_EXT_ARGS (MAX_QCOM_SCM_ARGS - SCM_SMC_N_REG_ARGS + 1) 36 #define SCM_SMC_LAST_REG_IDX (SCM_SMC_FIRST_REG_IDX + SCM_SMC_N_REG_ARGS - 1) 38 static void __scm_smc_do_quirk(const struct arm_smccc_args *smc, in __scm_smc_do_quirk() argument 41 unsigned long a0 = smc->args[0]; in __scm_smc_do_quirk() 42 struct arm_smccc_quirk quirk = { .id = ARM_SMCCC_QUIRK_QCOM_A6 }; in __scm_smc_do_quirk() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ |
D | atmel,ebi.txt | 5 The EBI provides a glue-less interface to asynchronous memories through the SMC 10 - compatible: "atmel,at91sam9260-ebi" 11 "atmel,at91sam9261-ebi" 12 "atmel,at91sam9263-ebi0" 13 "atmel,at91sam9263-ebi1" 14 "atmel,at91sam9rl-ebi" 15 "atmel,at91sam9g45-ebi" 16 "atmel,at91sam9x5-ebi" 17 "atmel,sama5d3-ebi" 18 "microchip,sam9x60-ebi" [all …]
|
D | arm,pl35x-smc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/arm,pl35x-smc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Arm PL35x Series Static Memory Controller (SMC) 10 - Miquel Raynal <miquel.raynal@bootlin.com> 18 https://documentation-service.arm.com/static/5e8e2524fd977155116a58aa 26 - arm,pl353-smc-r2p1 27 - arm,pl354 29 - compatible [all …]
|
/linux-6.12.1/arch/arm/mach-bcm/ |
D | bcm_kona_smc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 {.compatible = "brcm,kona-smc"}, 26 {.compatible = "bcm,kona-smc"}, /* deprecated name */ 40 return -ENODEV; in bcm_kona_smc_init() 45 return -EINVAL; in bcm_kona_smc_init() 49 return -ENOMEM; in bcm_kona_smc_init() 60 * Only core 0 can run the secure monitor code. If an "smc" request 64 * Each "smc" request supplies a service id and the address of a 69 * Parameters to the "smc" request are passed in r4-r6 as follows: 70 * r4 service id [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/arm/firmware/ |
D | sdei.txt | 6 firmware-first error handling, or from an IRQ that has been promoted to 7 a firmware-assisted NMI. 12 below) and passing arguments in a manner specified by the "SMC Calling 15 r0 => 32-bit Function ID / return value 16 {r1 - r3} => Parameters 27 - compatible : should contain: 28 * "arm,sdei-1.0" : For implementations complying to SDEI version 1.x. 30 - method : The method of calling the SDEI firmware. Permitted 32 * "smc" : SMC #0, with the register assignments specified in this 39 compatible = "arm,sdei-1.0"; [all …]
|
D | linaro,optee-tz.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/firmware/linaro,optee-tz.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: OP-TEE 10 - Jens Wiklander <jens.wiklander@linaro.org> 13 OP-TEE is a piece of software using hardware features to provide a Trusted 25 const: linaro,optee-tz 31 software is expected to be either a per-cpu interrupt or an 32 edge-triggered peripheral interrupt. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mailbox/ |
D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ipi-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 +-------------------------------------+ 16 +-------------------------------------+ 17 +--------------------------------------------------+ 18 TF-A | | 21 +--------------------------+ | 24 +--------------------------------------------------+ [all …]
|
/linux-6.12.1/drivers/memory/ |
D | pl353-smc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ARM PL353 SMC driver 5 * Copyright (C) 2012 - 2018 Xilinx, Inc 19 * struct pl353_smc_data - Private smc driver structure 32 clk_disable(pl353_smc->memclk); in pl353_smc_suspend() 33 clk_disable(pl353_smc->aclk); in pl353_smc_suspend() 43 ret = clk_enable(pl353_smc->aclk); in pl353_smc_resume() 49 ret = clk_enable(pl353_smc->memclk); in pl353_smc_resume() 52 clk_disable(pl353_smc->aclk); in pl353_smc_resume() 64 .compatible = "cfi-flash" [all …]
|