Home
last modified time | relevance | path

Searched refs:bdf_ext (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dcore.c922 const char *bdf_ext; in ath10k_core_check_bdfext() local
944 bdf_ext = (char *)hdr + hdr->length; in ath10k_core_check_bdfext()
946 if (memcmp(bdf_ext, magic, strlen(magic)) != 0) { in ath10k_core_check_bdfext()
952 for (i = 0; i < strlen(bdf_ext); i++) { in ath10k_core_check_bdfext()
953 if (!isascii(bdf_ext[i]) || !isprint(bdf_ext[i])) { in ath10k_core_check_bdfext()
961 if (strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic), in ath10k_core_check_bdfext()
962 sizeof(ar->id.bdf_ext)) < 0) { in ath10k_core_check_bdfext()
965 bdf_ext); in ath10k_core_check_bdfext()
971 ATH10K_SMBIOS_BDF_EXT_TYPE, bdf_ext); in ath10k_core_check_bdfext()
976 ar->id.bdf_ext[0] = '\0'; in ath10k_core_check_smbios()
[all …]
Dcore.h1021 char bdf_ext[ATH10K_SMBIOS_BDF_EXT_STR_LENGTH]; member