Home
last modified time | relevance | path

Searched refs:cc_info (Results 1 – 9 of 9) sorted by relevance

/linux/arch/x86/boot/compressed/
H A Dsev.c462 struct cc_blob_sev_info *cc_info; in find_cc_blob() local
464 cc_info = find_cc_blob_efi(bp); in find_cc_blob()
465 if (cc_info) in find_cc_blob()
468 cc_info = find_cc_blob_setup_data(bp); in find_cc_blob()
469 if (!cc_info) in find_cc_blob()
473 if (cc_info->magic != CC_BLOB_SEV_HDR_MAGIC) in find_cc_blob()
476 return cc_info; in find_cc_blob()
485 struct cc_blob_sev_info *cc_info; in early_snp_init() local
490 cc_info = find_cc_blob(bp); in early_snp_init()
491 if (!cc_info) in early_snp_init()
[all …]
/linux/arch/x86/coco/sev/
H A Dshared.c1196 static void __head setup_cpuid_table(const struct cc_blob_sev_info *cc_info) in setup_cpuid_table() argument
1201 if (!cc_info || !cc_info->cpuid_phys || cc_info->cpuid_len < PAGE_SIZE) in setup_cpuid_table()
1204 cpuid_table_fw = (const struct snp_cpuid_table *)cc_info->cpuid_phys; in setup_cpuid_table()
1649 static bool __head svsm_setup_ca(const struct cc_blob_sev_info *cc_info) in svsm_setup_ca() argument
1679 if (!cc_info || !cc_info->secrets_phys || cc_info->secrets_len != PAGE_SIZE) in svsm_setup_ca()
1682 secrets_page = (struct snp_secrets_page *)cc_info->secrets_phys; in svsm_setup_ca()
H A Dcore.c2227 struct cc_blob_sev_info *cc_info; in find_cc_blob() local
2231 cc_info = (struct cc_blob_sev_info *)(unsigned long)bp->cc_blob_address; in find_cc_blob()
2240 cc_info = find_cc_blob_setup_data(bp); in find_cc_blob()
2241 if (!cc_info) in find_cc_blob()
2245 if (cc_info->magic != CC_BLOB_SEV_HDR_MAGIC) in find_cc_blob()
2248 return cc_info; in find_cc_blob()
2251 static __head void svsm_setup(struct cc_blob_sev_info *cc_info) in svsm_setup() argument
2262 if (!svsm_setup_ca(cc_info)) in svsm_setup()
2294 struct cc_blob_sev_info *cc_info; in snp_init() local
2299 cc_info = find_cc_blob(bp); in snp_init()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c85 memcpy(&arg.cc_info.alpha2, request->alpha2, 2); in ath12k_reg_notifier()
86 arg.cc_info.alpha2[2] = 0; in ath12k_reg_notifier()
H A Dwmi.c3057 memcpy(&cmd->cc_info.alpha2, arg->cc_info.alpha2, 3); in ath12k_wmi_send_init_country_cmd()
3061 cmd->cc_info.country_code = in ath12k_wmi_send_init_country_cmd()
3062 cpu_to_le32(arg->cc_info.country_code); in ath12k_wmi_send_init_country_cmd()
3066 cmd->cc_info.regdom_id = cpu_to_le32(arg->cc_info.regdom_id); in ath12k_wmi_send_init_country_cmd()
H A Dwmi.h3848 } cc_info; member
3860 } cc_info; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c92 memcpy(&init_country_param.cc_info.alpha2, request->alpha2, 2); in ath11k_reg_notifier()
93 init_country_param.cc_info.alpha2[2] = 0; in ath11k_reg_notifier()
H A Dwmi.c2983 memcpy((u8 *)&cmd->cc_info.alpha2, in ath11k_wmi_send_init_country_cmd()
2984 init_cc_params.cc_info.alpha2, 3); in ath11k_wmi_send_init_country_cmd()
2988 cmd->cc_info.country_code = init_cc_params.cc_info.country_code; in ath11k_wmi_send_init_country_cmd()
2992 cmd->cc_info.regdom_id = init_cc_params.cc_info.regdom_id; in ath11k_wmi_send_init_country_cmd()
H A Dwmi.h3958 } cc_info; member
3970 } cc_info; member