Lines Matching full:info
12 uint32_t index, struct flash_pages_info *info) in flash_get_page_info() argument
19 info->start_offset = 0; in flash_get_page_info()
20 info->index = 0U; in flash_get_page_info()
25 info->size = layout->pages_size; in flash_get_page_info()
27 index_jmp = index - info->index; in flash_get_page_info()
29 index_jmp = (offs - info->start_offset) / info->size; in flash_get_page_info()
33 info->start_offset += (index_jmp * info->size); in flash_get_page_info()
34 info->index += index_jmp; in flash_get_page_info()
46 struct flash_pages_info *info) in z_impl_flash_get_page_info_by_offs() argument
48 return flash_get_page_info(dev, offs, 0U, info); in z_impl_flash_get_page_info_by_offs()
53 struct flash_pages_info *info) in z_impl_flash_get_page_info_by_idx() argument
55 return flash_get_page_info(dev, 0, page_index, info); in z_impl_flash_get_page_info_by_idx()