Searched refs:len_bytes (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/drivers/gpio/ |
D | gpio_sn74hc595.c | 44 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-Core-3.5.0/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 652 int len_bytes; in pd_build_reply() local 655 len_bytes = (event->cardread.length + 7) / 8; in pd_build_reply() 656 assert_buf_len(REPLY_RAW_LEN + len_bytes, max_len); in pd_build_reply() 662 memcpy(buf + len, event->cardread.data, len_bytes); in pd_build_reply() 663 len += len_bytes; in pd_build_reply()
|
/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_ll_stm32.c | 773 static bool buf_in_nocache(uintptr_t buf, size_t len_bytes) in buf_in_nocache() argument 779 ((buf + len_bytes - 1) <= ((uintptr_t)_nocache_ram_end)); in buf_in_nocache() 786 (void *)buf, len_bytes, DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)) == 0; in buf_in_nocache()
|
/Zephyr-Core-3.5.0/drivers/adc/ |
D | adc_stm32.c | 297 static bool buf_in_nocache(uintptr_t buf, size_t len_bytes) in buf_in_nocache() argument 303 ((buf + len_bytes - 1) <= ((uintptr_t)_nocache_ram_end)); in buf_in_nocache() 310 (void *)buf, len_bytes, DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE)) == 0; in buf_in_nocache()
|