Lines Matching refs:off_t
50 static int write_synchronously(off_t addr, const void *data, size_t len);
89 static int write(off_t addr, const void *data, size_t len);
97 static inline bool is_within_bounds(off_t addr, size_t len, off_t boundary_start, in is_within_bounds()
105 static inline bool is_regular_addr_valid(off_t addr, size_t len) in is_regular_addr_valid()
110 static inline bool is_uicr_addr_valid(off_t addr, size_t len) in is_uicr_addr_valid()
113 return is_within_bounds(addr, len, (off_t)NRF_UICR, sizeof(*NRF_UICR)); in is_uicr_addr_valid()
131 static void nrf_buffer_read_91_uicr(void *data, off_t addr, size_t len) in nrf_buffer_read_91_uicr()
145 static int flash_nrf_read(const struct device *dev, off_t addr, in flash_nrf_read()
174 static int flash_nrf_write(const struct device *dev, off_t addr, in flash_nrf_write()
215 static int flash_nrf_erase(const struct device *dev, off_t addr, size_t size) in flash_nrf_erase()
235 } else if (addr != (off_t)NRF_UICR || size != sizeof(*NRF_UICR)) { in flash_nrf_erase()
347 static int write_synchronously(off_t addr, const void *data, size_t len) in write_synchronously()
381 if (e_ctx->flash_addr == (off_t)NRF_UICR) { in erase_op()
537 static int write(off_t addr, const void *data, size_t len) in write()