Lines Matching refs:param_header

971 			       const struct sfdp_parameter_header *param_header)  in spi_nor_parse_4bait()  argument
1006 if (param_header->major != SFDP_JESD216_MAJOR || in spi_nor_parse_4bait()
1007 param_header->length < SFDP_4BAIT_DWORD_MAX) in spi_nor_parse_4bait()
1018 addr = SFDP_PARAM_HEADER_PTP(param_header); in spi_nor_parse_4bait()
1410 const struct sfdp_parameter_header *param_header, *bfpt_header; in spi_nor_parse_sfdp() local
1472 param_header = &param_headers[i]; in spi_nor_parse_sfdp()
1474 SFDP_PARAM_HEADER_PTP(param_header) + in spi_nor_parse_sfdp()
1475 SFDP_PARAM_HEADER_PARAM_LEN(param_header)); in spi_nor_parse_sfdp()
1524 param_header = &param_headers[i]; in spi_nor_parse_sfdp()
1526 if (SFDP_PARAM_HEADER_ID(param_header) == SFDP_BFPT_ID && in spi_nor_parse_sfdp()
1527 param_header->major == SFDP_JESD216_MAJOR && in spi_nor_parse_sfdp()
1528 (param_header->minor > bfpt_header->minor || in spi_nor_parse_sfdp()
1529 (param_header->minor == bfpt_header->minor && in spi_nor_parse_sfdp()
1530 param_header->length > bfpt_header->length))) in spi_nor_parse_sfdp()
1531 bfpt_header = param_header; in spi_nor_parse_sfdp()
1540 param_header = &param_headers[i]; in spi_nor_parse_sfdp()
1542 switch (SFDP_PARAM_HEADER_ID(param_header)) { in spi_nor_parse_sfdp()
1544 err = spi_nor_parse_smpt(nor, param_header); in spi_nor_parse_sfdp()
1548 err = spi_nor_parse_4bait(nor, param_header); in spi_nor_parse_sfdp()
1552 err = spi_nor_parse_profile1(nor, param_header); in spi_nor_parse_sfdp()
1556 err = spi_nor_parse_sccr(nor, param_header); in spi_nor_parse_sfdp()
1560 err = spi_nor_parse_sccr_mc(nor, param_header); in spi_nor_parse_sfdp()
1569 SFDP_PARAM_HEADER_ID(param_header)); in spi_nor_parse_sfdp()