/linux/net/smc/ |
H A 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->ct in smc_dump_context() 37 struct smc_sock *smc = smc_sk(sk); smc_diag_msg_common_fill() local 77 struct smc_sock *smc = smc_sk(sk); __smc_diag_dump() local [all...] |
H A 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 …]
|
H A 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" 118 struct smc_sock *smc = smc_sk(sk); smc_set_keepalive() local 130 struct smc_sock *smc; smc_tcp_syn_recv_sock() local 165 const struct smc_sock *smc; smc_hs_congested() local 217 struct smc_sock *smc = smc_sk(sk); smc_release_cb() local 251 smc_fback_restore_callbacks(struct smc_sock * smc) smc_fback_restore_callbacks() argument 266 smc_restore_fallback_changes(struct smc_sock * smc) smc_restore_fallback_changes() argument 275 __smc_release(struct smc_sock * smc) __smc_release() argument 318 struct smc_sock *smc; smc_release() local 384 struct smc_sock *smc = smc_sk(sk); smc_sk_init() local 430 struct smc_sock *smc; smc_bind() local 517 smc_copy_sock_settings_to_clc(struct smc_sock * smc) smc_copy_sock_settings_to_clc() argument 527 smc_copy_sock_settings_to_smc(struct smc_sock * smc) smc_copy_sock_settings_to_smc() argument 605 smcr_clnt_conf_first_link(struct smc_sock * smc) smcr_clnt_conf_first_link() argument 687 smc_conn_save_peer_info_fce(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * clc) smc_conn_save_peer_info_fce() argument 714 smcr_conn_save_peer_info(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * clc) smcr_conn_save_peer_info() argument 726 smcd_conn_save_peer_info(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * clc) smcd_conn_save_peer_info() argument 739 smc_conn_save_peer_info(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * clc) smc_conn_save_peer_info() argument 760 smc_stat_inc_fback_rsn_cnt(struct smc_sock * smc,struct smc_stats_fback * fback_arr) smc_stat_inc_fback_rsn_cnt() argument 778 smc_stat_fallback(struct smc_sock * smc) smc_stat_fallback() argument 794 smc_fback_wakeup_waitqueue(struct smc_sock * smc,void * key) smc_fback_wakeup_waitqueue() argument 829 smc_fback_forward_wakeup(struct smc_sock * smc,struct sock * clcsk,void (* clcsock_callback)(struct sock * sk)) smc_fback_forward_wakeup() argument 853 struct smc_sock *smc; smc_fback_state_change() local 865 struct smc_sock *smc; smc_fback_data_ready() local 877 struct smc_sock *smc; smc_fback_write_space() local 889 struct smc_sock *smc; smc_fback_error_report() local 899 smc_fback_replace_callbacks(struct smc_sock * smc) smc_fback_replace_callbacks() argument 918 smc_switch_to_fallback(struct smc_sock * smc,int reason_code) smc_switch_to_fallback() argument 951 smc_connect_fallback(struct smc_sock * smc,int reason_code) smc_connect_fallback() argument 971 smc_connect_decline_fallback(struct smc_sock * smc,int reason_code,u8 version) smc_connect_decline_fallback() argument 995 smc_conn_abort(struct smc_sock * smc,int local_first) smc_conn_abort() argument 1011 smc_find_rdma_device(struct smc_sock * smc,struct smc_init_info * ini) smc_find_rdma_device() argument 1027 smc_find_ism_device(struct smc_sock * smc,struct smc_init_info * ini) smc_find_ism_device() argument 1053 smc_find_ism_v2_device_clnt(struct smc_sock * smc,struct smc_init_info * ini) smc_find_ism_v2_device_clnt() argument 1100 smc_connect_ism_vlan_setup(struct smc_sock * smc,struct smc_init_info * ini) smc_connect_ism_vlan_setup() argument 1108 smc_find_proposal_devices(struct smc_sock * smc,struct smc_init_info * ini) smc_find_proposal_devices() argument 1161 smc_connect_ism_vlan_cleanup(struct smc_sock * smc,struct smc_init_info * ini) smc_connect_ism_vlan_cleanup() argument 1177 smc_connect_clc(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * aclc,struct smc_init_info * ini) smc_connect_clc() argument 1220 smc_connect_rdma_v2_prepare(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * aclc,struct smc_init_info * ini) smc_connect_rdma_v2_prepare() argument 1256 smc_connect_rdma(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * aclc,struct smc_init_info * ini) smc_connect_rdma() argument 1404 smc_connect_ism(struct smc_sock * smc,struct smc_clc_msg_accept_confirm * aclc,struct smc_init_info * ini) smc_connect_ism() argument 1508 __smc_connect(struct smc_sock * smc) __smc_connect() argument 1600 struct smc_sock *smc = container_of(work, struct smc_sock, smc_connect_work() local 1652 struct smc_sock *smc; smc_connect() local 1851 struct smc_sock *smc = smc_sk(sk); smc_close_non_accepted() local 1864 smcr_serv_conf_first_link(struct smc_sock * smc) smcr_serv_conf_first_link() argument 2642 struct smc_sock *smc; smc_listen() local 2776 struct smc_sock *smc; smc_getname() local 2790 struct smc_sock *smc; smc_sendmsg() local 2829 struct smc_sock *smc; smc_recvmsg() local 2879 struct smc_sock *smc; smc_poll() local 2939 struct smc_sock *smc; smc_shutdown() local 3013 struct smc_sock *smc; __smc_getsockopt() local 3046 struct smc_sock *smc; __smc_setsockopt() local 3079 struct smc_sock *smc; smc_setsockopt() local 3165 struct smc_sock *smc; smc_getsockopt() local 3193 struct smc_sock *smc; smc_ioctl() local 3280 struct smc_sock *smc; smc_splice_read() local 3345 struct smc_sock *smc = smc_sk(sk); smc_create_clcsk() local 3367 struct smc_sock *smc; __smc_create() local [all...] |
H A D | smc_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 20 #include <linux/smc.h> 26 #include "smc.h" 62 if (lgr->is_smcd) { in smc_lgr_list_head() 63 *lgr_lock = &lgr->smcd->lgr_loc in smc_lgr_list_head() 169 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); smc_lgr_register_conn() local 198 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); __smc_lgr_unregister_conn() local 875 smc_lgr_create(struct smc_sock * smc,struct smc_init_info * ini) smc_lgr_create() argument 1019 smc_switch_cursor(struct smc_sock * smc,struct smc_cdc_tx_pend * pend,struct smc_wr_buf * wr_buf) smc_switch_cursor() argument 1088 struct smc_sock *smc; smc_switch_conns() local 1211 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); smc_buf_unuse() local 1493 smc_sk_wake_ups(struct smc_sock * smc) smc_sk_wake_ups() argument 1503 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); smc_conn_kill() local 1548 struct smc_sock *smc; __smc_lgr_terminate() local 1735 struct smc_sock *smc = container_of(conn, struct smc_sock, conn); smc_conn_abort_work() local 1965 smc_conn_create(struct smc_sock * smc,struct smc_init_info * ini) smc_conn_create() argument 2415 __smc_buf_create(struct smc_sock * smc,bool is_smcd,bool is_rmb) __smc_buf_create() argument 2535 smc_buf_create(struct smc_sock * smc,bool is_smcd) smc_buf_create() argument 2562 smcd_buf_attach(struct smc_sock * smc) smcd_buf_attach() argument [all...] |
/linux/drivers/net/fddi/skfp/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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/Documentation/devicetree/bindings/watchdog/ |
H A 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/arch/arm/mach-omap2/ |
H A 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/drivers/firmware/qcom/ |
H A 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 …]
|
/linux/include/linux/ |
H A D | arm-smccc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 * This file provides common defines for ARM SMC Calling Convention as 22 * This code is up-to-date with version DEN 0028 C 114 /* KVM UID value: 28b46fb6-2ec5-11e9-a9ca-4b564d003a74 */ 204 * this hypercall ID. 248 /* ptp_kvm counter type ID */ 301 #define SMCCC_RET_NOT_SUPPORTED -1 302 #define SMCCC_RET_NOT_REQUIRED -2 303 #define SMCCC_RET_INVALID_PARAMETER -3 341 * Returns the SOC ID version. [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A 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 …]
|
H A D | intel,stratix10-svc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/intel,stratix10-svc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dinh Nguyen <dinguyen@kernel.org> 11 - Mahesh Rao <mahesh.rao@altera.com> 14 Intel Stratix10 SoC is composed of a 64 bit quad-core ARM Cortex A53 hard 29 driver also manages secure monitor call (SMC) to communicate with secure monitor 35 - intel,stratix10-svc 36 - intel,agilex-svc [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A 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 …]
|
H A 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/arch/arm/mach-bcm/ |
H A 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/include/linux/mfd/ |
H A D | macsmc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 3 * Apple SMC (System Management Controller) core definitions 14 * typedef smc_key - Alias for u32 to be used for SMC keys 16 * SMC keys are 32bit integers containing packed ASCII characters in natural 18 * The SMC driver is designed with this assumption and ensures the right 20 * from the actual SMC firmware (which can be done in either shared memory or 22 * Internally, SMC stores these keys in a table sorted lexicographically and 23 * allows resolving an index into this table to the corresponding SMC key. 26 * by SMC firmware. 28 * This simple type alias is introduced to allow easy recognition of SMC key [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | apple,smc-reboot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/apple,smc-reboot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SMC Reboot Controller 10 The Apple System Management Controller (SMC) provides reboot functionality 15 - Sven Peter <sven@kernel.org> 19 const: apple,smc-reboot 21 nvmem-cells: 23 - description: Flag indicating shutdown (as opposed to reboot) [all …]
|
/linux/Documentation/devicetree/bindings/mailbox/ |
H A 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/Documentation/devicetree/bindings/arm/firmware/ |
H A 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 …]
|
H A 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/arch/arm64/boot/dts/st/ |
H A D | stm32mp211.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2025 - All Rights Reserved 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 13 #address-cells = <1>; 14 #size-cells = <0>; 17 compatible = "arm,cortex-a35"; 20 enable-method = "psci"; 24 arm-pmu { [all …]
|
/linux/drivers/memory/ |
H A 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 …]
|
/linux/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com> 23 * Derived from Das U-Boot source code 24 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c) 38 * - atmel_nand_: all generic structures/functions 39 * - atmel_smc_nand_: all structures/functions specific to the SMC interface 41 * - atmel_hsmc_nand_: all structures/functions specific to the HSMC interface 43 * - atmel_nfc_: all structures/functions used to manipulate the NFC sub-block 45 * - <soc>_nand_: all SoC specific structures/functions 49 #include <linux/dma-mapping.h> [all …]
|