Lines Matching full:scmi
31 * PTA_SCMI_CMD_PROCESS_SMT_CHANNEL - Process SCMI message in SMT buffer
35 * Shared memory used for SCMI message/response exhange is expected
36 * already identified and bound to channel handle in both SCMI agent
37 * and SCMI server (OP-TEE) parts.
38 * The memory uses SMT header to carry SCMI meta-data (protocol ID and
44 * PTA_SCMI_CMD_PROCESS_SMT_CHANNEL_MESSAGE - Process SMT/SCMI message
47 * [in/out] memref[1]: Message/response buffer (SMT and SCMI payload)
49 * Shared memory used for SCMI message/response is a SMT buffer
52 * The memory uses SMT header to carry SCMI meta-data (protocol ID and
60 * SCMI shm information are 0 if agent expects to use OP-TEE regular SHM
69 * PTA_SCMI_CMD_PROCESS_MSG_CHANNEL - Process SCMI message in a MSG
73 * [in] memref[1]: Message buffer (MSG and SCMI payload)
74 * [out] memref[2]: Response buffer (MSG and SCMI payload)
76 * Shared memories used for SCMI message/response are MSG buffers
78 * uses a 32bit header to carry SCMI meta-data (protocol ID and
79 * protocol message ID) followed by the effective SCMI message
86 * OP-TEE SCMI service capabilities bit flags (32bit)
89 * When set, OP-TEE supports command using SMT header protocol (SCMI shmem) in
90 * shared memory buffers to carry SCMI protocol synchronisation information.
94 * shared memory to carry SCMI protocol synchronisation information and SCMI
104 * struct scmi_optee_channel - Description of an OP-TEE SCMI channel
108 * @caps: OP-TEE SCMI channel capabilities
111 * @cinfo: SCMI channel information
113 * @req: Shared memory protocol handle for SCMI request and synchronous response
149 /* There can be only 1 SCMI service in OP-TEE we connect to */
155 /* Open a session toward SCMI OP-TEE service with REE_KERNEL identity */
212 dev_err(agent->dev, "OP-TEE SCMI PTA doesn't support SMT and MSG\n"); in get_capabilities()
249 /* From now on use channel identifer provided by OP-TEE SCMI service */ in get_channel()
375 if (!of_device_is_compatible(np, "arm,scmi-shmem")) { in setup_static_shmem()
382 dev_err(dev, "Failed to get SCMI Tx shared memory\n"); in setup_static_shmem()
390 dev_err(dev, "Failed to ioremap SCMI Tx shared memory\n"); in setup_static_shmem()
557 /* Only one SCMI OP-TEE device allowed */ in scmi_optee_service_probe()
559 dev_err(dev, "An SCMI OP-TEE device was already initialized: only one allowed\n"); in scmi_optee_service_probe()
625 .name = "scmi-optee",