Lines Matching full:bfp
101 /* Length of BFP structure, in 32-bit words. */
104 /* Pointer to the BFP table as read from the device
105 * (little-endian stored words), from sfdp-bfp property
107 const struct jesd216_bfp *bfp; member
1113 * DW16 of SFDP BFP. A value of all zeros or all ones is interpreted
1170 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument
1174 const size_t flash_size = jesd216_bfp_density(bfp) / 8U; in spi_nor_process_bfp()
1186 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp()
1192 data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp()
1197 LOG_ERR("BFP flash size mismatch with devicetree"); in spi_nor_process_bfp()
1205 if (jesd216_bfp_addrbytes(bfp) != JESD216_SFDP_BFP_DW1_ADDRBYTES_VAL_3B) { in spi_nor_process_bfp()
1214 if (jesd216_bfp_decode_dw16(php, bfp, &dw16) == 0) { in spi_nor_process_bfp()
1233 * BFP block, and process it. in spi_nor_process_sfdp()
1237 /* We only process BFP so use one parameter block */ in spi_nor_process_sfdp()
1272 struct jesd216_bfp bfp; in spi_nor_process_sfdp() member
1274 const struct jesd216_bfp *bfp = &u_param.bfp; in spi_nor_process_sfdp() local
1279 rc = spi_nor_process_bfp(dev, php, bfp); in spi_nor_process_sfdp()
1283 LOG_INF("SFDP BFP failed: %d", rc); in spi_nor_process_sfdp()
1332 * process the stored BFP data as if we had read it. in spi_nor_process_sfdp()
1339 rc = spi_nor_process_bfp(dev, &bfp_hdr, cfg->bfp); in spi_nor_process_sfdp()
1532 /* For devicetree and runtime we need to process BFP data and in spi_nor_configure()
1711 "jedec,spi-nor sfdp-bfp required for devicetree SFDP"); \
1779 .bfp = (const struct jesd216_bfp *)bfp_##idx##_data,))