Searched refs:round_down (Results 1 – 2 of 2) sorted by relevance
225 static inline uint32_t round_down(uint32_t num, uint32_t boundary) in round_down() function244 for (idx = round_down(start, TFM_OTP_NV_COUNTERS_SECTOR_SIZE); in erase_flash_region()349 erase_start_offset = round_down(offset, TFM_OTP_NV_COUNTERS_SECTOR_SIZE); in write_otp_nv_counters_flash()353 round_down(offsetof(struct flash_otp_nv_counters_region_t, swap_count), in write_otp_nv_counters_flash()357 round_down(offsetof(struct flash_otp_nv_counters_region_t, swap_count), in write_otp_nv_counters_flash()
25 static inline uint64_t round_down(uint64_t num, uint64_t boundary) in round_down() function112 region_params->phys_addr = round_down(host_addr, RSS_COMMS_ATU_PAGE_SIZE); in setup_region_for_host_buf()