Home
last modified time | relevance | path

Searched refs:IS_ALIGNED (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/drivers/flash/
Dsoc_flash_silabs_series2.c57 IS_ALIGNED(offset, sizeof(uint32_t)) && IS_ALIGNED(size, 4); in flash_silabs_write_range_is_valid()
90 if (IS_ALIGNED(offset, sizeof(uint32_t)) && IS_ALIGNED(data, sizeof(uint32_t)) && in flash_silabs_read_dma()
91 IS_ALIGNED(size, 4)) { in flash_silabs_read_dma()
215 if (!IS_ALIGNED(offset, DT_PROP(SOC_NV_FLASH_NODE, erase_block_size))) { in flash_silabs_erase()
220 if (!IS_ALIGNED(size, DT_PROP(SOC_NV_FLASH_NODE, erase_block_size))) { in flash_silabs_erase()
/Zephyr-latest/drivers/crypto/
Dcrypto_intel_sha.c48 if (IS_ALIGNED(lower_length, SHA_REQUIRED_BLOCK_ALIGNMENT)) { in intel_sha_set_resume_length_dw0()
67 if ((IS_ALIGNED(len, sizeof(uint32_t))) && (IS_ALIGNED(dst, sizeof(uint32_t))) && in intel_sha_regs_cpy()
68 (IS_ALIGNED(src, sizeof(uint32_t)))) { in intel_sha_regs_cpy()
163 if ((IS_ALIGNED(len, sizeof(uint32_t))) && (IS_ALIGNED(dst, sizeof(uint32_t)))) { in intel_sha_copy_hash()
/Zephyr-latest/tests/subsys/llext/src/
Dalign_ext.c52 zassert_true(IS_ALIGNED(&name ## _ ## n, n))
/Zephyr-latest/tests/boards/nrf/dmm/src/
Dmain.c91 zassert_true(IS_ALIGNED(buf, CONFIG_DCACHE_LINE_SIZE)); in dmm_check_output_buffer()
123 zassert_true(IS_ALIGNED(buf, CONFIG_DCACHE_LINE_SIZE)); in dmm_check_input_buffer()
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc_buf.h82 #define IS_UDC_ALIGNED(buf) IS_ALIGNED(buf, UDC_BUF_ALIGN)
/Zephyr-latest/arch/riscv/core/
Dstacktrace.c78 if (!IS_ALIGNED(addr, sizeof(uintptr_t))) { in in_stack_bound()
230 if (!IS_ALIGNED(addr, sizeof(uintptr_t))) { in in_fatal_stack_bound()
/Zephyr-latest/subsys/bindesc/
Dbindesc_read.c114 if (!IS_ALIGNED(address, BINDESC_ALIGNMENT)) { in bindesc_open_ram()
/Zephyr-latest/soc/nordic/common/
Ddmm.c96 if (IS_ALIGNED(addr, region->dt_align)) { in is_user_buffer_correctly_preallocated()
/Zephyr-latest/subsys/llext/
Dllext_mem.c84 if (IS_ALIGNED(ext->mem[mem_idx], region_align) || in llext_copy_region()
/Zephyr-latest/include/zephyr/sys/
Dutil.h317 #define IS_ALIGNED(ptr, align) (((uintptr_t)(ptr)) % (align) == 0) macro
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid.c574 __ASSERT(IS_ALIGNED(report, sizeof(void *)), "Report buffer is not aligned"); in hid_dev_submit_report()
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c429 if (!IS_ALIGNED(buf, 4)) { in dwc2_dma_buffer_ok_to_use()