Lines Matching full:layout
91 /* Flash page layout can be determined from devicetree. */
92 struct flash_pages_layout layout; member
155 * stores flash size and layout.
169 struct flash_pages_layout layout; member
1171 /* Error if layout page size is not a multiple of smallest in setup_pages_layout()
1175 LOG_ERR("layout page %u not compatible with erase size %u", in setup_pages_layout()
1180 /* Warn but accept layout page sizes that leave inaccessible in setup_pages_layout()
1184 LOG_INF("layout page %u wastes space with device size %zu", in setup_pages_layout()
1188 data->layout.pages_size = layout_page_size; in setup_pages_layout()
1189 data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
1190 LOG_DBG("layout %u x %u By pages", data->layout.pages_count, data->layout.pages_size); in setup_pages_layout()
1193 const struct flash_pages_layout *layout = &cfg->layout; in setup_pages_layout() local
1195 size_t layout_size = layout->pages_size * layout->pages_count; in setup_pages_layout()
1199 flash_size, layout->pages_count, layout->pages_size); in setup_pages_layout()
1325 * set up or validate page layout. in spi_nor_configure()
1336 LOG_ERR("layout setup failed: %d", rc); in spi_nor_configure()
1448 const struct flash_pages_layout **layout, in spi_nor_pages_layout() argument
1455 *layout = &data->layout; in spi_nor_pages_layout()
1459 *layout = &cfg->layout; in spi_nor_pages_layout()
1502 /* For devicetree or minimal page layout we need to know the size of
1507 "jedec,spi-nor size required for non-runtime SFDP page layout");
1566 .layout = {