Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dcore.c973 const char *bdf_ext; in ath10k_core_check_bdfext() local
995 bdf_ext = (char *)hdr + hdr->length; in ath10k_core_check_bdfext()
997 if (memcmp(bdf_ext, magic, strlen(magic)) != 0) { in ath10k_core_check_bdfext()
1003 for (i = 0; i < strlen(bdf_ext); i++) { in ath10k_core_check_bdfext()
1004 if (!isascii(bdf_ext[i]) || !isprint(bdf_ext[i])) { in ath10k_core_check_bdfext()
1012 if (strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic), in ath10k_core_check_bdfext()
1013 sizeof(ar->id.bdf_ext)) < 0) { in ath10k_core_check_bdfext()
1016 bdf_ext); in ath10k_core_check_bdfext()
1022 ATH10K_SMBIOS_BDF_EXT_TYPE, bdf_ext); in ath10k_core_check_bdfext()
1027 ar->id.bdf_ext[0] = '\0'; in ath10k_core_check_smbios()
[all …]
Dcore.h952 char bdf_ext[ATH10K_SMBIOS_BDF_EXT_STR_LENGTH]; member