Home
last modified time | relevance | path

Searched refs:len_bytes (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_sn74hc595.c44 static int sn74hc595_spi_write(const struct device *dev, void *buf, size_t len_bytes) in sn74hc595_spi_write() argument
48 __ASSERT(((buf != NULL) || (len_bytes == 0)), "no valid buffer given"); in sn74hc595_spi_write()
51 struct spi_buf tx_buf[] = { { .buf = buf, .len = len_bytes } }; in sn74hc595_spi_write()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_pd.c667 int len_bytes; in pd_build_reply() local
670 len_bytes = (event->cardread.length + 7) / 8; in pd_build_reply()
671 if (!check_buf_len(REPLY_RAW_LEN + len_bytes, max_len)) { in pd_build_reply()
679 memcpy(buf + len, event->cardread.data, len_bytes); in pd_build_reply()
680 len += len_bytes; in pd_build_reply()
/Zephyr-latest/drivers/spi/
Dspi_ll_stm32.c928 static bool buf_in_nocache(uintptr_t buf, size_t len_bytes) in buf_in_nocache() argument
935 ((buf + len_bytes - 1) <= ((uintptr_t)_nocache_ram_end)); in buf_in_nocache()
943 (void *)buf, len_bytes, DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)) == 0; in buf_in_nocache()
/Zephyr-latest/drivers/adc/
Dadc_stm32.c275 static bool buf_in_nocache(uintptr_t buf, size_t len_bytes) in buf_in_nocache() argument
281 ((buf + len_bytes - 1) <= ((uintptr_t)_nocache_ram_end)); in buf_in_nocache()
288 (void *)buf, len_bytes, DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)) == 0; in buf_in_nocache()
/Zephyr-latest/drivers/serial/
Duart_stm32.c1321 static bool buf_in_nocache(uintptr_t buf, size_t len_bytes) in buf_in_nocache() argument
1327 ((buf + len_bytes - 1) <= ((uintptr_t)_nocache_ram_end)); in buf_in_nocache()
1334 (void *)buf, len_bytes, DT_MEM_ARM_MPU_RAM_NOCACHE) == 0; in buf_in_nocache()
1340 ((buf + len_bytes - 1) <= ((uintptr_t)__rodata_region_end)); in buf_in_nocache()