Lines Matching refs:bfpt_header
33 struct sfdp_parameter_header bfpt_header;
400 * @bfpt_header: pointer to the 'struct sfdp_parameter_header' describing
428 const struct sfdp_parameter_header *bfpt_header,
441 if (bfpt_header->length < BFPT_DWORD_MAX_JESD216)
446 bfpt_header->length * sizeof(u32));
447 addr = SFDP_PARAM_HEADER_PTP(bfpt_header);
548 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216)
549 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt,
606 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216B)
607 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt,
610 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt, params);
1102 const struct sfdp_parameter_header *param_header, *bfpt_header;
1123 bfpt_header = &header.bfpt_header;
1124 if (SFDP_PARAM_HEADER_ID(bfpt_header) != SFDP_BFPT_ID ||
1125 bfpt_header->major != SFDP_JESD216_MAJOR)
1163 (param_header->minor > bfpt_header->minor ||
1164 (param_header->minor == bfpt_header->minor &&
1165 param_header->length > bfpt_header->length)))
1166 bfpt_header = param_header;
1169 err = spi_nor_parse_bfpt(nor, bfpt_header, params);