Lines Matching refs:bfpt_header
45 struct sfdp_parameter_header bfpt_header;
411 * @bfpt_header: pointer to the 'struct sfdp_parameter_header' describing
437 const struct sfdp_parameter_header *bfpt_header)
451 if (bfpt_header->length < BFPT_DWORD_MAX_JESD216)
456 bfpt_header->length * sizeof(u32));
457 addr = SFDP_PARAM_HEADER_PTP(bfpt_header);
560 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216)
561 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt);
631 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216B)
632 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt);
653 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt);
1396 const struct sfdp_parameter_header *param_header, *bfpt_header;
1419 bfpt_header = &header.bfpt_header;
1420 if (SFDP_PARAM_HEADER_ID(bfpt_header) != SFDP_BFPT_ID ||
1421 bfpt_header->major != SFDP_JESD216_MAJOR)
1424 sfdp_size = SFDP_PARAM_HEADER_PTP(bfpt_header) +
1425 SFDP_PARAM_HEADER_PARAM_LEN(bfpt_header);
1514 (param_header->minor > bfpt_header->minor ||
1515 (param_header->minor == bfpt_header->minor &&
1516 param_header->length > bfpt_header->length)))
1517 bfpt_header = param_header;
1520 err = spi_nor_parse_bfpt(nor, bfpt_header);