Lines Matching refs:param_header
975 const struct sfdp_parameter_header *param_header) in spi_nor_parse_4bait() argument
1010 if (param_header->major != SFDP_JESD216_MAJOR || in spi_nor_parse_4bait()
1011 param_header->length < SFDP_4BAIT_DWORD_MAX) in spi_nor_parse_4bait()
1022 addr = SFDP_PARAM_HEADER_PTP(param_header); in spi_nor_parse_4bait()
1414 const struct sfdp_parameter_header *param_header, *bfpt_header; in spi_nor_parse_sfdp() local
1476 param_header = ¶m_headers[i]; in spi_nor_parse_sfdp()
1478 SFDP_PARAM_HEADER_PTP(param_header) + in spi_nor_parse_sfdp()
1479 SFDP_PARAM_HEADER_PARAM_LEN(param_header)); in spi_nor_parse_sfdp()
1528 param_header = ¶m_headers[i]; in spi_nor_parse_sfdp()
1530 if (SFDP_PARAM_HEADER_ID(param_header) == SFDP_BFPT_ID && in spi_nor_parse_sfdp()
1531 param_header->major == SFDP_JESD216_MAJOR && in spi_nor_parse_sfdp()
1532 (param_header->minor > bfpt_header->minor || in spi_nor_parse_sfdp()
1533 (param_header->minor == bfpt_header->minor && in spi_nor_parse_sfdp()
1534 param_header->length > bfpt_header->length))) in spi_nor_parse_sfdp()
1535 bfpt_header = param_header; in spi_nor_parse_sfdp()
1544 param_header = ¶m_headers[i]; in spi_nor_parse_sfdp()
1546 switch (SFDP_PARAM_HEADER_ID(param_header)) { in spi_nor_parse_sfdp()
1548 err = spi_nor_parse_smpt(nor, param_header); in spi_nor_parse_sfdp()
1552 err = spi_nor_parse_4bait(nor, param_header); in spi_nor_parse_sfdp()
1556 err = spi_nor_parse_profile1(nor, param_header); in spi_nor_parse_sfdp()
1560 err = spi_nor_parse_sccr(nor, param_header); in spi_nor_parse_sfdp()
1564 err = spi_nor_parse_sccr_mc(nor, param_header); in spi_nor_parse_sfdp()
1573 SFDP_PARAM_HEADER_ID(param_header)); in spi_nor_parse_sfdp()