Lines Matching refs:bfpt_header
40 struct sfdp_parameter_header bfpt_header; member
433 const struct sfdp_parameter_header *bfpt_header) in spi_nor_parse_bfpt() argument
446 if (bfpt_header->length < BFPT_DWORD_MAX_JESD216) in spi_nor_parse_bfpt()
451 bfpt_header->length * sizeof(u32)); in spi_nor_parse_bfpt()
452 addr = SFDP_PARAM_HEADER_PTP(bfpt_header); in spi_nor_parse_bfpt()
555 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216) in spi_nor_parse_bfpt()
556 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt); in spi_nor_parse_bfpt()
616 if (bfpt_header->length == BFPT_DWORD_MAX_JESD216B) in spi_nor_parse_bfpt()
617 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt); in spi_nor_parse_bfpt()
638 return spi_nor_post_bfpt_fixups(nor, bfpt_header, &bfpt); in spi_nor_parse_bfpt()
1266 const struct sfdp_parameter_header *param_header, *bfpt_header; in spi_nor_parse_sfdp() local
1289 bfpt_header = &header.bfpt_header; in spi_nor_parse_sfdp()
1290 if (SFDP_PARAM_HEADER_ID(bfpt_header) != SFDP_BFPT_ID || in spi_nor_parse_sfdp()
1291 bfpt_header->major != SFDP_JESD216_MAJOR) in spi_nor_parse_sfdp()
1294 sfdp_size = SFDP_PARAM_HEADER_PTP(bfpt_header) + in spi_nor_parse_sfdp()
1295 SFDP_PARAM_HEADER_PARAM_LEN(bfpt_header); in spi_nor_parse_sfdp()
1384 (param_header->minor > bfpt_header->minor || in spi_nor_parse_sfdp()
1385 (param_header->minor == bfpt_header->minor && in spi_nor_parse_sfdp()
1386 param_header->length > bfpt_header->length))) in spi_nor_parse_sfdp()
1387 bfpt_header = param_header; in spi_nor_parse_sfdp()
1390 err = spi_nor_parse_bfpt(nor, bfpt_header); in spi_nor_parse_sfdp()