Lines Matching refs:off_t
35 off_t area_address;
36 off_t area_size;
43 off_t section_start;
55 static bool sam_flash_validate_offset_len(off_t offset, size_t len) in sam_flash_validate_offset_len()
73 static bool sam_flash_offset_is_on_write_page_boundary(off_t offset) in sam_flash_offset_is_on_write_page_boundary()
137 static bool sam_flash_section_is_within_area(const struct device *dev, off_t offset, size_t len) in sam_flash_section_is_within_area()
141 if ((offset + ((off_t)len)) < offset) { in sam_flash_section_is_within_area()
156 off_t offset, size_t len) in sam_flash_section_is_aligned_with_write_block_size()
171 static bool sam_flash_section_is_aligned_with_pages(const struct device *dev, off_t offset, in sam_flash_section_is_aligned_with_pages()
205 static int sam_flash_read(const struct device *dev, off_t offset, void *data, size_t len) in sam_flash_read()
229 static int sam_flash_write_latch_buffer_to_page(const struct device *dev, off_t offset) in sam_flash_write_latch_buffer_to_page()
240 static int sam_flash_write_latch_buffer_to_previous_page(const struct device *dev, off_t offset) in sam_flash_write_latch_buffer_to_previous_page()
245 static void sam_flash_write_dword_to_latch_buffer(off_t offset, uint32_t dword) in sam_flash_write_dword_to_latch_buffer()
251 static int sam_flash_write_dwords_to_flash(const struct device *dev, off_t offset, in sam_flash_write_dwords_to_flash()
269 static int sam_flash_write(const struct device *dev, off_t offset, const void *data, size_t len) in sam_flash_write()
417 static int sam_flash_erase(const struct device *dev, off_t offset, size_t size) in sam_flash_erase()