Lines Matching full:layout
60 struct flash_pages_layout layout; member
81 struct flash_pages_layout layout; member
649 /* Error if layout page size is not a multiple of smallest in setup_pages_layout()
653 LOG_ERR("layout page %u not compatible with erase size %u", in setup_pages_layout()
658 /* Warn but accept layout page sizes that leave inaccessible in setup_pages_layout()
662 LOG_WRN("layout page %u wastes space with device size %zu", in setup_pages_layout()
666 dev_data->layout.pages_size = layout_page_size; in setup_pages_layout()
667 dev_data->layout.pages_count = flash_size / layout_page_size; in setup_pages_layout()
668 LOG_DBG("layout %zu x %zu By pages", dev_data->layout.pages_count, in setup_pages_layout()
669 dev_data->layout.pages_size); in setup_pages_layout()
673 const struct flash_pages_layout *layout = &config->layout; in setup_pages_layout() local
675 size_t layout_size = layout->pages_size * layout->pages_count; in setup_pages_layout()
677 if (!SPI_NOR_IS_SECTOR_ALIGNED(layout->pages_size)) { in setup_pages_layout()
685 flash_size, layout->pages_count, layout->pages_size); in setup_pages_layout()
845 LOG_ERR("layout setup failed: %d", ret); in flash_andes_qspi_init()
858 const struct flash_pages_layout **layout, in flash_andes_qspi_pages_layout() argument
864 *layout = &dev_data->layout; in flash_andes_qspi_pages_layout()
868 *layout = &config->layout; in flash_andes_qspi_pages_layout()
905 (.layout = { \