Lines Matching +full:smc +full:- +full:id

1 /* 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
106 /* KVM UID value: 28b46fb6-2ec5-11e9-a9ca-4b564d003a74 */
129 * this hypercall ID.
137 /* ptp_kvm counter type ID */
190 #define SMCCC_RET_NOT_SUPPORTED -1
191 #define SMCCC_RET_NOT_REQUIRED -2
192 #define SMCCC_RET_INVALID_PARAMETER -3
230 * struct arm_smccc_res - Result from SMC/HVC call
231 * @a0-a3 result values from registers 0 to 3
242 * struct arm_smccc_1_2_regs - Arguments for or Results from SMC/HVC call
243 * @a0-a17 argument values from registers 0 to 17
267 * arm_smccc_1_2_hvc() - make HVC calls
271 * This function is used to make HVC calls following SMC Calling Convention
281 * arm_smccc_1_2_smc() - make SMC calls
285 * This function is used to make SMC calls following SMC Calling Convention
287 * structure to registers prior to the SMC instruction. The return values
288 * are updated with the content from registers on return from the SMC
296 * struct arm_smccc_quirk - Contains quirk information
297 * @id: quirk identification
299 * @a6: Qualcomm quirk entry for returning post-smc call contents of a6
302 int id; member
309 * __arm_smccc_sve_check() - Set the SVE hint bit when doing SMC calls
318 * __arm_smccc_smc() - make SMC calls
319 * @a0-a7: arguments passed in registers 0 to 7
323 * This function is used to make SMC calls following SMC Calling Convention.
325 * to the SMC instruction. The return values are updated with the content
326 * from register 0 to 3 on return from the SMC instruction. An optional
345 * __arm_smccc_hvc() - make HVC calls
346 * @a0-a7: arguments passed in registers 0 to 7
350 * This function is used to make HVC calls following SMC Calling
372 #define SMCCC_SMC_INST "smc #0"
376 #include <asm/opcodes-sec.h>
377 #include <asm/opcodes-virt.h>
489 * arm_smccc_1_1_smc() - make an SMCCC v1.1 compliant SMC call
494 * @a0-a7: arguments passed in registers 0 to 7
497 * This macro is used to make SMC calls following SMC Calling Convention v1.1.
499 * to the SMC instruction. The return values are updated with the content
500 * from register 0 to 3 on return from the SMC instruction if not NULL.
505 * arm_smccc_1_1_hvc() - make an SMCCC v1.1 compliant HVC call
510 * @a0-a7: arguments passed in registers 0 to 7
513 * This macro is used to make HVC calls following SMC Calling Convention v1.1.
530 ___res->a0 = SMCCC_RET_NOT_SUPPORTED; \
534 * arm_smccc_1_1_invoke() - make an SMCCC v1.1 compliant call
539 * @a0-a7: arguments passed in registers 0 to 7
542 * This macro will make either an HVC call or an SMC call depending on the
543 * current SMCCC conduit. If no valid conduit is available then -1