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

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 */
132 * this hypercall ID.
140 /* ptp_kvm counter type ID */
193 #define SMCCC_RET_NOT_SUPPORTED -1
194 #define SMCCC_RET_NOT_REQUIRED -2
195 #define SMCCC_RET_INVALID_PARAMETER -3
235 * Returns the SOC ID version.
244 * Returns the SOC ID revision.
251 * struct arm_smccc_res - Result from SMC/HVC call
252 * @a0-a3 result values from registers 0 to 3
263 * struct arm_smccc_1_2_regs - Arguments for or Results from SMC/HVC call
264 * @a0-a17 argument values from registers 0 to 17
288 * arm_smccc_1_2_hvc() - make HVC calls
292 * This function is used to make HVC calls following SMC Calling Convention
302 * arm_smccc_1_2_smc() - make SMC calls
306 * This function is used to make SMC calls following SMC Calling Convention
308 * structure to registers prior to the SMC instruction. The return values
309 * are updated with the content from registers on return from the SMC
317 * struct arm_smccc_quirk - Contains quirk information
318 * @id: quirk identification
320 * @a6: Qualcomm quirk entry for returning post-smc call contents of a6
323 int id; member
330 * __arm_smccc_sve_check() - Set the SVE hint bit when doing SMC calls
339 * __arm_smccc_smc() - make SMC calls
340 * @a0-a7: arguments passed in registers 0 to 7
344 * This function is used to make SMC calls following SMC Calling Convention.
346 * to the SMC instruction. The return values are updated with the content
347 * from register 0 to 3 on return from the SMC instruction. An optional
366 * __arm_smccc_hvc() - make HVC calls
367 * @a0-a7: arguments passed in registers 0 to 7
371 * This function is used to make HVC calls following SMC Calling
393 #define SMCCC_SMC_INST "smc #0"
397 #include <asm/opcodes-sec.h>
398 #include <asm/opcodes-virt.h>
500 * arm_smccc_1_1_smc() - make an SMCCC v1.1 compliant SMC call
505 * @a0-a7: arguments passed in registers 0 to 7
508 * This macro is used to make SMC calls following SMC Calling Convention v1.1.
510 * to the SMC instruction. The return values are updated with the content
511 * from register 0 to 3 on return from the SMC instruction if not NULL.
516 * arm_smccc_1_1_hvc() - make an SMCCC v1.1 compliant HVC call
521 * @a0-a7: arguments passed in registers 0 to 7
524 * This macro is used to make HVC calls following SMC Calling Convention v1.1.
545 ___res->a0 = SMCCC_RET_NOT_SUPPORTED; \
549 * arm_smccc_1_1_invoke() - make an SMCCC v1.1 compliant call
554 * @a0-a7: arguments passed in registers 0 to 7
557 * This macro will make either an HVC call or an SMC call depending on the
558 * current SMCCC conduit. If no valid conduit is available then -1