Searched refs:is_within_bounds (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | soc_flash_nrf_rram.c | 104 static inline bool is_within_bounds(off_t addr, size_t len, off_t boundary_start, in is_within_bounds() function 246 if (!is_within_bounds(addr, len, 0, RRAM_SIZE)) { in nrf_write() 277 if (!is_within_bounds(addr, len, 0, RRAM_SIZE)) { in nrf_rram_read()
|
D | soc_flash_nrf.c | 97 static inline bool is_within_bounds(off_t addr, size_t len, off_t boundary_start, in is_within_bounds() function 107 return is_within_bounds(addr, len, 0, nrfx_nvmc_flash_size_get()); in is_regular_addr_valid() 113 return is_within_bounds(addr, len, (off_t)NRF_UICR, sizeof(*NRF_UICR)); in is_uicr_addr_valid()
|