/Zephyr-latest/subsys/settings/src/ |
D | settings_shell.c | 167 size_t buffer_len = 0; in cmd_write() local 180 buffer_len = hex2bin(argv[argc - 1], strlen(argv[argc - 1]), in cmd_write() 184 buffer_len = strlen(argv[argc - 1]) + 1; in cmd_write() 185 if (buffer_len > sizeof(buffer)) { in cmd_write() 190 memcpy(buffer, argv[argc - 1], buffer_len); in cmd_write() 194 if (buffer_len == 0) { in cmd_write() 199 err = settings_save_one(argv[argc - 2], buffer, buffer_len); in cmd_write()
|
/Zephyr-latest/drivers/serial/ |
D | uart_xmc4xxx.c | 46 size_t buffer_len; member 163 if (data->dma_rx.buffer_len) { in uart_xmc4xxx_isr() 423 data->dma_rx.buffer_len = 0; in async_evt_rx_release_buffer() 438 if (data->dma_rx.buffer_len == 0 || data->async_cb == NULL) { in async_evt_rx_stopped() 444 data->dma_rx.counter = data->dma_rx.buffer_len - stat.pending_length; in async_evt_rx_stopped() 458 data->dma_rx.buffer_len = 0; in async_evt_rx_disabled() 488 data->dma_tx.buffer_len = 0; in async_evt_tx_done() 503 data->dma_tx.buffer_len = 0; in async_evt_tx_abort() 520 if (data->dma_rx.buffer_len == 0) { in uart_xmc4xxx_async_rx_timeout() 526 size_t rx_rcv_len = data->dma_rx.buffer_len - stat.pending_length; in uart_xmc4xxx_async_rx_timeout() [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl345/ |
D | adxl345_rtio.c | 23 uint32_t buffer_len; in adxl345_submit_fetch() local 25 rc = rtio_sqe_rx_buf(iodev_sqe, min_buffer_len, min_buffer_len, &buffer, &buffer_len); in adxl345_submit_fetch()
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362_rtio.c | 23 uint32_t buffer_len; in adxl362_submit_fetch() local 25 rc = rtio_sqe_rx_buf(iodev_sqe, min_buffer_len, min_buffer_len, &buffer, &buffer_len); in adxl362_submit_fetch()
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372_rtio.c | 23 uint32_t buffer_len; in adxl372_submit_fetch() local 27 rc = rtio_sqe_rx_buf(iodev_sqe, min_buffer_len, min_buffer_len, &buffer, &buffer_len); in adxl372_submit_fetch()
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_rtio.c | 24 uint32_t buffer_len; in adxl367_submit_fetch() local 26 rc = rtio_sqe_rx_buf(iodev_sqe, min_buffer_len, min_buffer_len, &buffer, &buffer_len); in adxl367_submit_fetch()
|
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 194 if (data->count > data->buffer_len) { in continuous_capture_callback() 211 if (data->count > data->buffer_len) { in continuous_capture_callback() 224 .buffer_len = ARRAY_SIZE(buffer), in ZTEST() 262 err = k_sem_take(&data.sem, K_USEC(TEST_PWM_PERIOD_USEC * data.buffer_len * 10)); in ZTEST() 269 for (i = 0; i < data.buffer_len; i++) { in ZTEST() 290 .buffer_len = ARRAY_SIZE(buffer), in ZTEST()
|
D | test_pwm_loopback.h | 41 size_t buffer_len; member
|
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/ |
D | test_rtio_api.c | 308 uint32_t buffer_len = 0; in test_rtio_simple_mempool_() local 311 zassert_ok(rtio_cqe_get_mempool_buffer(r, &cqe, &buffer, &buffer_len)); in test_rtio_simple_mempool_() 314 zassert_equal(buffer_len, MEM_BLK_SIZE); in test_rtio_simple_mempool_() 317 rtio_release_buffer(r, buffer, buffer_len); in test_rtio_simple_mempool_() 501 uint32_t buffer_len = 0; in test_rtio_simple_multishot_() local 504 zassert_ok(rtio_cqe_get_mempool_buffer(r, &cqe, &buffer, &buffer_len)); in test_rtio_simple_multishot_() 507 zassert_equal(buffer_len, MEM_BLK_SIZE); in test_rtio_simple_multishot_() 510 rtio_release_buffer(r, buffer, buffer_len); in test_rtio_simple_multishot_() 516 rtio_cqe_get_mempool_buffer(r, &cqe, &buffer, &buffer_len); in test_rtio_simple_multishot_() 517 rtio_release_buffer(r, buffer, buffer_len); in test_rtio_simple_multishot_() [all …]
|
/Zephyr-latest/subsys/sensing/sensor/hinge_angle/ |
D | hinge_angle.c | 123 uint32_t buffer_len = 0; in hinge_reporter_on_data_event() local 140 (uint8_t **)&sample, &buffer_len); in hinge_reporter_on_data_event()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_internal.h | 68 int32_t buffer_len; member
|
D | zperf_udp_uploader.c | 88 hdr->buffer_len = sizeof(sample_packet) - in zperf_upload_fin() 224 hdr->buffer_len = sizeof(sample_packet) - in udp_upload()
|
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/ |
D | phy_3d_sensor.c | 171 uint32_t buffer_len; in phy_3d_sensor_submit() local 175 (uint8_t **)&sample, &buffer_len); in phy_3d_sensor_submit()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_registry.c | 460 int lwm2m_set_res_buf(const struct lwm2m_obj_path *path, void *buffer_ptr, uint16_t buffer_len, in lwm2m_set_res_buf() argument 488 res_inst->max_data_len = buffer_len; in lwm2m_set_res_buf() 806 uint16_t buffer_len; in lwm2m_set_res_data_len() local 810 ret = lwm2m_get_res_buf(path, &buffer_ptr, &buffer_len, &old_len, &data_flags); in lwm2m_set_res_data_len() 814 return lwm2m_set_res_buf(path, buffer_ptr, buffer_len, data_len, data_flags); in lwm2m_set_res_data_len() 818 int lwm2m_get_res_buf(const struct lwm2m_obj_path *path, void **buffer_ptr, uint16_t *buffer_len, in lwm2m_get_res_buf() argument 846 if (buffer_len) { in lwm2m_get_res_buf() 847 *buffer_len = res_inst->max_data_len; in lwm2m_get_res_buf()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | main.c | 32 uint16_t *buffer_len, uint16_t *data_len, in lwm2m_get_res_buf_custom_fake() argument 38 if (buffer_len) { in lwm2m_get_res_buf_custom_fake() 39 *buffer_len = sizeof(my_buf); in lwm2m_get_res_buf_custom_fake()
|
/Zephyr-latest/include/zephyr/net/ |
D | lwm2m.h | 1317 int lwm2m_set_res_buf(const struct lwm2m_obj_path *path, void *buffer_ptr, uint16_t buffer_len, 1351 int lwm2m_get_res_buf(const struct lwm2m_obj_path *path, void **buffer_ptr, uint16_t *buffer_len,
|