Lines Matching full:off
56 int flash_area_read(const struct flash_area *fa, off_t off, void *dst, in flash_area_read() argument
59 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_read()
63 return flash_read(fa->fa_dev, fa->fa_off + off, dst, len); in flash_area_read()
66 int flash_area_write(const struct flash_area *fa, off_t off, const void *src, in flash_area_write() argument
69 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_write()
73 return flash_write(fa->fa_dev, fa->fa_off + off, (void *)src, len); in flash_area_write()
76 int flash_area_erase(const struct flash_area *fa, off_t off, size_t len) in flash_area_erase() argument
78 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_erase()
82 return flash_erase(fa->fa_dev, fa->fa_off + off, len); in flash_area_erase()
85 int flash_area_flatten(const struct flash_area *fa, off_t off, size_t len) in flash_area_flatten() argument
87 if (!is_in_flash_area_bounds(fa, off, len)) { in flash_area_flatten()
91 return flash_flatten(fa->fa_dev, fa->fa_off + off, len); in flash_area_flatten()