Lines Matching +full:per +full:- +full:string
1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/arm-smccc.h>
18 * As per the SMC Calling Convention specification v1.2 (ARM DEN 0028C)
19 * Section 7.4 SMCCC_ARCH_SOC_ID bits[23:16] are JEP-106 identification
59 * specification introduces an optional "name" string in smccc_soc_name_init()
69 * Copy res.a1..res.a17 to the smccc_soc_id_name string in smccc_soc_name_init()
70 * 8 bytes at a time. As per Issue 1.6 of the Arm SMC in smccc_soc_name_init()
71 * Calling Convention, the string will be NUL terminated in smccc_soc_name_init()
72 * and padded, from the end of the string to the end of the in smccc_soc_name_init()
131 return -EINVAL; in smccc_soc_init()
137 return -EINVAL; in smccc_soc_init()
142 return -ENOMEM; in smccc_soc_init()
151 soc_dev_attr->soc_id = soc_id_str; in smccc_soc_init()
152 soc_dev_attr->revision = soc_id_rev_str; in smccc_soc_init()
153 soc_dev_attr->family = soc_id_jep106_id_str; in smccc_soc_init()
154 soc_dev_attr->machine = smccc_soc_name_init(); in smccc_soc_init()
162 pr_info("ID = %s Revision = %s\n", soc_dev_attr->soc_id, in smccc_soc_init()
163 soc_dev_attr->revision); in smccc_soc_init()