Searched refs:IS_ALIGNED (Results 1 – 12 of 12) sorted by relevance
| /Zephyr-latest/drivers/flash/ |
| D | soc_flash_silabs_series2.c | 57 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/ |
| D | crypto_intel_sha.c | 48 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/ |
| D | align_ext.c | 52 zassert_true(IS_ALIGNED(&name ## _ ## n, n))
|
| /Zephyr-latest/tests/boards/nrf/dmm/src/ |
| D | main.c | 91 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/ |
| D | udc_buf.h | 82 #define IS_UDC_ALIGNED(buf) IS_ALIGNED(buf, UDC_BUF_ALIGN)
|
| /Zephyr-latest/arch/riscv/core/ |
| D | stacktrace.c | 78 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/ |
| D | bindesc_read.c | 114 if (!IS_ALIGNED(address, BINDESC_ALIGNMENT)) { in bindesc_open_ram()
|
| /Zephyr-latest/soc/nordic/common/ |
| D | dmm.c | 96 if (IS_ALIGNED(addr, region->dt_align)) { in is_user_buffer_correctly_preallocated()
|
| /Zephyr-latest/subsys/llext/ |
| D | llext_mem.c | 84 if (IS_ALIGNED(ext->mem[mem_idx], region_align) || in llext_copy_region()
|
| /Zephyr-latest/include/zephyr/sys/ |
| D | util.h | 317 #define IS_ALIGNED(ptr, align) (((uintptr_t)(ptr)) % (align) == 0) macro
|
| /Zephyr-latest/subsys/usb/device_next/class/ |
| D | usbd_hid.c | 574 __ASSERT(IS_ALIGNED(report, sizeof(void *)), "Report buffer is not aligned"); in hid_dev_submit_report()
|
| /Zephyr-latest/drivers/usb/udc/ |
| D | udc_dwc2.c | 429 if (!IS_ALIGNED(buf, 4)) { in dwc2_dma_buffer_ok_to_use()
|