Home
last modified time | relevance | path

Searched refs:req_len (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c853 uint32_t req_len; in ZTEST() local
859 req_len = (i % RINGBUFFER_SIZE) + 1; in ZTEST()
860 len = ring_buf_put(&ringbuf_raw, indata, req_len); in ZTEST()
861 zassert_equal(req_len, len); in ZTEST()
863 len = ring_buf_get(&ringbuf_raw, outdata, req_len); in ZTEST()
864 zassert_equal(req_len, len); in ZTEST()
866 req_len = 2; in ZTEST()
867 len = ring_buf_put_claim(&ringbuf_raw, &ptr, req_len); in ZTEST()
868 zassert_equal(len, req_len); in ZTEST()
870 req_len = RINGBUFFER_SIZE; in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/uart/uart_errors/src/
Dmain.c170 size_t req_len; in aux_int_callback() local
185 req_len = 1; in aux_int_callback()
187 req_len = data->err_byte - data->curr; in aux_int_callback()
189 req_len = data->len - data->curr; in aux_int_callback()
192 tx_len = uart_fifo_fill(dev, &data->buf[data->curr], req_len); in aux_int_callback()
/Zephyr-latest/drivers/lora/
Dsx126x.c84 size_t req_len, void *data_tx, void *data_rx, in sx126x_spi_transceive() argument
92 .len = req_len, in sx126x_spi_transceive()
103 .len = req_len, in sx126x_spi_transceive()
134 if (req_len >= 1 && req_tx[0] != RADIO_SET_SLEEP) { in sx126x_spi_transceive()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c305 uint32_t req_len = LSM6DSV16X_FIFO_SIZE(fifo_count) + sizeof(struct lsm6dsv16x_fifo_data); in lsm6dsv16x_read_fifo_cb() local
307 if (rtio_sqe_rx_buf(lsm6dsv16x->streaming_sqe, req_len, req_len, &buf, &buf_len) != 0) { in lsm6dsv16x_read_fifo_cb()
/Zephyr-latest/subsys/net/ip/
Dtp.h125 void tp_pkt_adj(struct net_pkt *pkt, int req_len);
/Zephyr-latest/subsys/bluetooth/host/
Dgatt.c5245 uint16_t len, req_len; in gatt_prepare_write() local
5247 req_len = sizeof(struct bt_att_prepare_write_req); in gatt_prepare_write()
5249 len = bt_att_get_mtu(conn) - req_len - 1; in gatt_prepare_write()
5251 len += req_len; in gatt_prepare_write()