Home
last modified time | relevance | path

Searched +full:smc +full:- +full:id (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/net/smc/
H A Dsmc_diag.c1 // 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"
31 return (struct smc_diag_dump_ctx *)cb->ctx; in smc_dump_context()
49 struct smc_sock *smc = smc_sk(sk); in smc_diag_msg_common_fill() local
52 r->diag_family = sk->sk_family; in smc_diag_msg_common_fill()
53 sock_diag_save_cookie(sk, r->id.idiag_cookie); in smc_diag_msg_common_fill()
54 if (!smc->clcsock) in smc_diag_msg_common_fill()
[all …]
H A Dsmc_clc.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
18 #include "smc.h"
25 #define SMC_TYPE_R 0 /* SMC-R only */
26 #define SMC_TYPE_D 1 /* SMC-D only */
27 #define SMC_TYPE_N 2 /* neither SMC-R nor SMC-D */
28 #define SMC_TYPE_B 3 /* SMC-R and SMC-D */
35 #define SMC_CLC_DECL_PEERNOSMC 0x03010000 /* peer did not indicate SMC */
37 #define SMC_CLC_DECL_NOSMCDEV 0x03030000 /* no SMC device found (R or D) */
38 #define SMC_CLC_DECL_NOSMCDDEV 0x03030001 /* no SMC-D device found */
[all …]
H A Dsmc_core.h1 /* 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
18 #include "smc.h"
76 struct smc_ib_device *smcibdev; /* ib-device */
77 u8 ibport; /* port - values 1 | 2 */
113 u8 gid[SMC_GID_SIZE];/* gid matching used vlan id*/
114 u8 sgid_index; /* gid index for vlan id */
123 u8 link_uid[SMC_LGR_ID_SIZE]; /* unique lnk id */
136 /* For now we just allow one parallel link per link group. The SMC protocol
[all …]
H A Daf_smc.c1 // 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"
33 #include <net/smc.h>
40 #include "smc.h"
67 struct smc_sock *smc = smc_sk(sk); in smc_set_keepalive() local
69 smc->clcsock->sk->sk_prot->keepalive(smc->clcsock->sk, val); in smc_set_keepalive()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/
H A Ddrvfbi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include "h/smc.h"
48 * | --------------------- the patched POS_ID of the Adapter
49 * | xxxx = (Vendor ID low byte,
50 * | Vendor ID high byte,
51 * | Device ID low byte,
52 * | Device ID high byte)
53 * +------------------------------ the patched oem_id must be
55 * this is a short id for the driver.
64 #define OEMID(smc,i) oem_id[ID_BYTE0 + i] argument
[all …]
H A Dsmt.c1 // 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 Dsmtinit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 #include "h/smc.h"
26 void init_fddi_driver(struct s_smc *smc, u_char *mac_addr);
34 #define OEMID(smc,i) oem_id[i] argument
37 #define OEMID(smc,i) smc->hw.oem_id->oi_mark[i] argument
45 * the OEM ID is already defined.
47 static void set_oem_spec_val(struct s_smc *smc) in set_oem_spec_val() argument
51 mib = &smc->mib ; in set_oem_spec_val()
56 if (OEMID(smc,0) == 'I') { in set_oem_spec_val()
57 mib->fddiSMTConnectionPolicy = POLICY_MM ; in set_oem_spec_val()
[all …]
H A Dess.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 * FDDI sub-system supporting the SBA application.
34 #include "h/smc.h"
51 -------------------------------------------------------------
53 -------------------------------------------------------------
67 -------------------------------------------------------------
69 -------------------------------------------------------------
74 -------------------------------------------------------------
76 -------------------------------------------------------------
79 static void ess_send_response(struct s_smc *smc, struct smt_header *sm,
[all …]
/OK3568_Linux_fs/u-boot/include/optee_include/
H A Dteesmc.h4 * SPDX-License-Identifier: GPL-2.0+
22 * Trusted OS SMC interface.
24 * The SMC interface follows SMC Calling Convention
34 * Part 2 deals with the lower level handling of the SMC.
39 * Part 1 - passing parameters to Trusted Applications
89 * struct teesmc32_param_memref - memory reference
106 * struct teesmc32_param_memref - memory reference
118 * struct teesmc32_param_value - values
128 * struct teesmc64_param_value - values
138 * struct teesmc32_param - parameter
[all …]
H A Dteesmc_optee.h3 * hisping lin, <hisping.lin@rock-chips.com>
5 * SPDX-License-Identifier: GPL-2.0+
17 * Returns the Secure/Non-secure shared memory config.
20 * r0 SMC Function ID, TEESMC32_OPTEE_FASTCALL_GET_SHM_CONFIG
21 * r1-6 Not used
22 * r7 Hypervisor Client ID register
29 * r4-7 Preserved
33 * r1-3 Not used
34 * r4-7 Preserved
48 * r0 SMC Function ID, TEESMC32_OPTEE_FASTCALL_L2CC_MUTEX
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Domap-smc.S1 /* 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 …]
/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Doptee_smc.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
3 * Copyright (c) 2015-2019, 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 * 65cb6b93-af0c-4617-8ed6-644a8d1140f8
54 * Function specified by SMC Calling convention
75 * Used by non-secure world to figure out which Trusted OS is installed.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/
H A Darm-smc-wdt.yaml1 # 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 - $ref: "watchdog.yaml#"
13 - Julius Werner <jwerner@chromium.org>
18 - arm,smc-wdt
19 arm,smc-id:
22 The ATF smc function id used by the firmware.
26 - compatible
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Datmel-smc.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Dqcom_scm-legacy.c1 // 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 …]
H A Dqcom_scm-smc.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/arm-smccc.h>
13 #include <linux/dma-mapping.h>
19 * @args: The array of values used in registers in smc instruction
31 #define SCM_SMC_FIRST_EXT_IDX (SCM_SMC_N_REG_ARGS - 1)
32 #define SCM_SMC_N_EXT_ARGS (MAX_QCOM_SCM_ARGS - SCM_SMC_N_REG_ARGS + 1)
34 #define SCM_SMC_LAST_REG_IDX (SCM_SMC_FIRST_REG_IDX + SCM_SMC_N_REG_ARGS - 1)
36 static void __scm_smc_do_quirk(const struct arm_smccc_args *smc, in __scm_smc_do_quirk() argument
39 unsigned long a0 = smc->args[0]; in __scm_smc_do_quirk()
40 struct arm_smccc_quirk quirk = { .id = ARM_SMCCC_QUIRK_QCOM_A6 }; in __scm_smc_do_quirk()
[all …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Darm-smccc.h4 * SPDX-License-Identifier: GPL-2.0
10 * This file provides common defines for ARM SMC Calling Convention as
60 * struct arm_smccc_res - Result from SMC/HVC call
61 * @a0-a3 result values from registers 0 to 3
71 * struct arm_smccc_quirk - Contains quirk information
72 * @id: quirk identification
74 * @a6: Qualcomm quirk entry for returning post-smc call contents of a6
77 int id; member
84 * __arm_smccc_smc() - make SMC calls
85 * @a0-a7: arguments passed in registers 0 to 7
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Dsmc.c1 // SPDX-License-Identifier: GPL-2.0
3 * System Control and Management Interface (SCMI) Message SMC/HVC
9 #include <linux/arm-smccc.h>
22 * struct scmi_smc - Structure representing a SCMI smc transport
27 * @func_id: smc/hvc call function id
45 complete(&scmi_info->tx_complete); in smc_msg_done_isr()
52 struct device_node *np = of_parse_phandle(dev->of_node, "shmem", 0); in smc_chan_available()
63 struct device *cdev = cinfo->dev; in smc_chan_setup()
72 return -ENODEV; in smc_chan_setup()
76 return -ENOMEM; in smc_chan_setup()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Darm,scmi.txt2 ----------------------------------------------------------
17 - compatible : shall be "arm,scmi" or "arm,scmi-smc" for smc/hvc transports
18 - mboxes: List of phandle and mailbox channel specifiers. It should contain
22 - shmem : List of phandle pointing to the shared memory(SHM) area as per
24 - #address-cells : should be '1' if the device has sub-nodes, maps to
25 protocol identifier for a given sub-node.
26 - #size-cells : should be '0' as 'reg' property doesn't have any size
28 - arm,smc-id : SMC id required when using smc or hvc transports
32 - mbox-names: shall be "tx" or "rx" depending on mboxes entries.
34 - interrupts : when using smc or hvc transports, this optional
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-bcm/
H A Dbcm_kona_smc.c37 {.compatible = "brcm,kona-smc"},
38 {.compatible = "bcm,kona-smc"}, /* deprecated name */
54 return -ENODEV; in bcm_kona_smc_init()
59 return -EINVAL; in bcm_kona_smc_init()
61 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init()
63 return -EINVAL; in bcm_kona_smc_init()
68 return -EINVAL; in bcm_kona_smc_init()
72 return -ENOMEM; in bcm_kona_smc_init()
83 * Only core 0 can run the secure monitor code. If an "smc" request
87 * Each "smc" request supplies a service id and the address of a
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/
H A Datmel,ebi.txt5 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Darm-smccc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * This file provides common defines for ARM SMC Calling Convention as
16 * This code is up-to-date with version DEN 0028 C
146 #define SMCCC_RET_NOT_SUPPORTED -1
147 #define SMCCC_RET_NOT_REQUIRED -2
148 #define SMCCC_RET_INVALID_PARAMETER -3
184 * struct arm_smccc_res - Result from SMC/HVC call
185 * @a0-a3 result values from registers 0 to 3
195 * struct arm_smccc_quirk - Contains quirk information
196 * @id: quirk identification
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/
H A Dlowlevel_init.S10 * SPDX-License-Identifier: GPL-2.0+
54 push {r4-r12, lr} @ save registers - ROM code may pollute
61 smc 0 @ SMC #0 to enter monitor mode
63 pop {r4-r12, pc}
67 push {r4-r12, lr} @ save registers - ROM code may pollute
70 mov r12, #0x00 @ Secure Service ID in R12
74 smc 0 @ SMC #0 to enter monitor mode
86 smc 0 @ SMC #0 to enter monitor mode
89 pop {r4-r12, pc}
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/firmware/xilinx/
H A Dzynqmp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2021 Xilinx, Inc.
13 #include <linux/arm-smccc.h>
25 #include <linux/firmware/xlnx-zynqmp.h>
26 #include "zynqmp-debug.h"
35 * struct pm_api_feature_data - PM API Feature data
36 * @pm_api_id: PM API Id, used as key to index into hashmap
53 * zynqmp_pm_ret_code() - Convert PMU-FW error codes to Linux error codes
65 return -ENOTSUPP; in zynqmp_pm_ret_code()
67 return -EACCES; in zynqmp_pm_ret_code()
[all …]

12345678910>>...14