Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dcore.c767 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_check_cc_code_bdfext()
808 if (memcmp(smbios->bdf_ext, magic, strlen(magic)) != 0) { in ath11k_core_check_cc_code_bdfext()
815 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
817 if (!isascii(smbios->bdf_ext[i]) || !isprint(smbios->bdf_ext[i])) { in ath11k_core_check_cc_code_bdfext()
825 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath11k_core_check_cc_code_bdfext()
826 sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext()
835 ATH11K_SMBIOS_BDF_EXT_TYPE, ab->qmi.target.bdf_ext); in ath11k_core_check_cc_code_bdfext()
840 ab->qmi.target.bdf_ext[0] = '\0'; in ath11k_core_check_smbios()
843 if (ab->qmi.target.bdf_ext[0] == '\0') in ath11k_core_check_smbios()
851 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt()
[all …]
Dqmi.h118 char bdf_ext[ATH11K_QMI_BDF_EXT_STR_LENGTH]; member
Dcore.h204 u8 bdf_ext[]; member
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dcore.c1065 const char *bdf_ext; in ath10k_core_check_bdfext() local
1087 bdf_ext = (char *)hdr + hdr->length; in ath10k_core_check_bdfext()
1089 if (memcmp(bdf_ext, magic, strlen(magic)) != 0) { in ath10k_core_check_bdfext()
1095 for (i = 0; i < strlen(bdf_ext); i++) { in ath10k_core_check_bdfext()
1096 if (!isascii(bdf_ext[i]) || !isprint(bdf_ext[i])) { in ath10k_core_check_bdfext()
1104 if (strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic), in ath10k_core_check_bdfext()
1105 sizeof(ar->id.bdf_ext)) < 0) { in ath10k_core_check_bdfext()
1108 bdf_ext); in ath10k_core_check_bdfext()
1114 ATH10K_SMBIOS_BDF_EXT_TYPE, bdf_ext); in ath10k_core_check_bdfext()
1119 ar->id.bdf_ext[0] = '\0'; in ath10k_core_check_smbios()
[all …]
Dcore.h1101 char bdf_ext[ATH10K_SMBIOS_BDF_EXT_STR_LENGTH]; member