Searched refs:bdf_ext (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | core.c | 883 if (ab->qmi.target.bdf_ext[0] != '\0') in ath11k_core_check_cc_code_bdfext() 924 if (memcmp(smbios->bdf_ext, magic, strlen(magic)) != 0) { in ath11k_core_check_cc_code_bdfext() 931 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext() 933 if (!isascii(smbios->bdf_ext[i]) || !isprint(smbios->bdf_ext[i])) { in ath11k_core_check_cc_code_bdfext() 941 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic), in ath11k_core_check_cc_code_bdfext() 942 sizeof(ab->qmi.target.bdf_ext)); in ath11k_core_check_cc_code_bdfext() 951 ATH11K_SMBIOS_BDF_EXT_TYPE, ab->qmi.target.bdf_ext); in ath11k_core_check_cc_code_bdfext() 956 ab->qmi.target.bdf_ext[0] = '\0'; in ath11k_core_check_smbios() 959 if (ab->qmi.target.bdf_ext[0] == '\0') in ath11k_core_check_smbios() 967 size_t max_len = sizeof(ab->qmi.target.bdf_ext); in ath11k_core_check_dt() [all …]
|
H A D | qmi.h | 118 char bdf_ext[ATH11K_QMI_BDF_EXT_STR_LENGTH]; member
|
H A D | core.h | 206 u8 bdf_ext[]; member
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | core.c | 1068 const char *bdf_ext; in ath10k_core_check_bdfext() local 1090 bdf_ext = (char *)hdr + hdr->length; in ath10k_core_check_bdfext() 1092 if (memcmp(bdf_ext, magic, strlen(magic)) != 0) { in ath10k_core_check_bdfext() 1098 for (i = 0; i < strlen(bdf_ext); i++) { in ath10k_core_check_bdfext() 1099 if (!isascii(bdf_ext[i]) || !isprint(bdf_ext[i])) { in ath10k_core_check_bdfext() 1107 if (strscpy(ar->id.bdf_ext, bdf_ext + strlen(magic), in ath10k_core_check_bdfext() 1108 sizeof(ar->id.bdf_ext)) < 0) { in ath10k_core_check_bdfext() 1111 bdf_ext); in ath10k_core_check_bdfext() 1117 ATH10K_SMBIOS_BDF_EXT_TYPE, bdf_ext); in ath10k_core_check_bdfext() 1122 ar->id.bdf_ext[0] = '\0'; in ath10k_core_check_smbios() [all …]
|
H A D | core.h | 1101 char bdf_ext[ATH10K_SMBIOS_BDF_EXT_STR_LENGTH]; member
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | core.c | 92 if (ab->qmi.target.bdf_ext[0] != '\0') in ath12k_core_create_board_name() 94 ab->qmi.target.bdf_ext); in ath12k_core_create_board_name()
|
H A D | qmi.h | 116 char bdf_ext[ATH12K_QMI_BDF_EXT_STR_LENGTH]; member
|