Lines Matching defs:magic
886 const char *magic = ATH11K_SMBIOS_BDF_EXT_MAGIC;
937 if (memcmp(smbios->bdf_ext, magic, strlen(magic)) != 0) {
939 "bdf variant magic does not match.\n");
953 /* Copy extension name without magic prefix */
954 copied = strscpy(ab->qmi.target.bdf_ext, smbios->bdf_ext + strlen(magic),
1220 /* magic has extra null byte padded */
1223 ath11k_err(ab, "failed to find magic value in %s, file too short: %zu\n",
1230 ath11k_err(ab, "found invalid board magic\n");
1235 /* magic is padded to 4 bytes */