Lines Matching full:layout
88 /* Flash page layout can be determined from devicetree. */
89 struct flash_pages_layout layout; member
180 * stores flash size and layout.
194 struct flash_pages_layout layout; member
1372 /* Error if layout page size is not a multiple of smallest in setup_pages_layout()
1376 LOG_ERR("layout page %u not compatible with erase size %u", in setup_pages_layout()
1381 /* Warn but accept layout page sizes that leave inaccessible in setup_pages_layout()
1385 LOG_INF("layout page %u wastes space with device size %zu", in setup_pages_layout()
1389 data->layout.pages_size = layout_page_size; in setup_pages_layout()
1390 data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
1391 LOG_DBG("layout %u x %u By pages", data->layout.pages_count, data->layout.pages_size); in setup_pages_layout()
1394 const struct flash_pages_layout *layout = &cfg->layout; in setup_pages_layout()
1396 size_t layout_size = layout->pages_size * layout->pages_count; in setup_pages_layout()
1400 flash_size, layout->pages_count, layout->pages_size); in setup_pages_layout()
1533 * set up or validate page layout. in spi_nor_configure()
1544 LOG_ERR("layout setup failed: %d", rc); in spi_nor_configure()
1641 const struct flash_pages_layout **layout, in spi_nor_pages_layout() argument
1648 *layout = &data->layout; in spi_nor_pages_layout()
1652 *layout = &cfg->layout; in spi_nor_pages_layout()
1695 "jedec,spi-nor size required for non-runtime SFDP page layout"); \
1725 (.layout = { \