Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 173) sorted by relevance

1234567

/Zephyr-latest/subsys/net/lib/prometheus/
Dformatter.c50 size_t buffer_size, int *written) in prometheus_format_one_metric() argument
56 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
68 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
78 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
88 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
98 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
108 ret = write_metric_to_buffer(buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
128 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
148 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
168 buffer + *written, buffer_size - *written, in prometheus_format_one_metric()
[all …]
/Zephyr-latest/tests/kernel/pipe/pipe/src/
Dtest_pipe.c142 size_t written; in pipe_put_single() local
154 single_elements[index].size, &written, in pipe_put_single()
163 zassert_true((written == single_elements[index].sent_bytes), in pipe_put_single()
165 written, in pipe_put_single()
217 size_t written; in pipe_put_multiple() local
229 &written, in pipe_put_multiple()
239 zassert_true((written == multiple_elements[index].sent_bytes), in pipe_put_multiple()
241 written, in pipe_put_multiple()
299 size_t written; in pipe_put_forever_wait() local
304 PIPE_SIZE, &written, in pipe_put_forever_wait()
[all …]
/Zephyr-latest/drivers/bbram/
Dbbram_stm32.c73 for (size_t written = 0; written < size; written += to_copy) { in bbram_stm32_write() local
74 reg = STM32_BKP_REG(STM32_BKP_REG_INDEX(offset + written)); in bbram_stm32_write()
75 begin = STM32_BKP_REG_BYTE_INDEX(offset + written); in bbram_stm32_write()
76 to_copy = MIN(STM32_BKP_REG_BYTES - begin, size - written); in bbram_stm32_write()
77 bytecpy((uint8_t *)&reg + begin, data + written, to_copy); in bbram_stm32_write()
78 STM32_BKP_REG(STM32_BKP_REG_INDEX(offset + written)) = reg; in bbram_stm32_write()
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst50 Data read matches data written. Good!
54 Data read matches data written. Good!
58 Data read matches data written. Good!
62 Data read matches data written. Good!
71 Data read matches data written. Good!
75 Data read matches data written. Good!
79 Data read matches data written. Good!
83 Data read matches data written. Good!
92 Data read matches data written. Good!
96 Data read matches data written. Good!
[all …]
/Zephyr-latest/subsys/net/lib/tls_credentials/
Dtls_credentials_digest_raw.c27 size_t written = 0; in credential_digest_raw() local
42 err = base64_encode(dest, *len, &written, digest_buf, sizeof(digest_buf)); in credential_digest_raw()
43 *len = err ? 0 : written; in credential_digest_raw()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/
DREADME.txt31 Data written:"hello world!"
33 Data successfully written!
40 Data read matches data written
48 Data written:"hello world!"
50 Data successfully written!
73 Data written:"hello world!"
75 Data successfully written!
/Zephyr-latest/drivers/serial/
Dserial_test.c27 struct ring_buf *written; member
58 return ring_buf_space_get(data->written) != 0; in is_irq_tx_pending()
133 int available = ring_buf_space_get(data->written); in irq_tx_ready()
164 uint32_t write_len = ring_buf_put(data->written, tx_data, size); in fifo_fill()
206 if (data == NULL || data->written == NULL) { in serial_vnd_poll_out()
209 ring_buf_put(data->written, &c, 1); in serial_vnd_poll_out()
251 if (data == NULL || data->written == NULL) { in serial_vnd_out_data_size_get()
254 return ring_buf_size_get(data->written); in serial_vnd_out_data_size_get()
261 if (data == NULL || data->written == NULL) { in serial_vnd_read_out_data()
264 return ring_buf_get(data->written, out_data, size); in serial_vnd_read_out_data()
[all …]
Duart_emul.c151 uint32_t written; in uart_emul_poll_out() local
154 written = ring_buf_put(drv_data->tx_rb, &out_char, 1); in uart_emul_poll_out()
157 if (!written) { in uart_emul_poll_out()
585 uint32_t written; in uart_emul_async_tx_handler() local
601 written = ring_buf_put(data->tx_rb, &data->tx_buf[tx_buf_offset], in uart_emul_async_tx_handler()
603 tx_done = written == (tx_buf_len - tx_buf_offset); in uart_emul_async_tx_handler()
605 data->tx_buf_offset += written; in uart_emul_async_tx_handler()
617 if (config->loopback && written) { in uart_emul_async_tx_handler()
618 uint32_t loop_written = uart_emul_put_rx_data(dev, &tx_buf[tx_buf_offset], written); in uart_emul_async_tx_handler()
620 if (loop_written < written) { in uart_emul_async_tx_handler()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_smartbond.c104 size_t written; in qspic_write_page() local
108 written = size; in qspic_write_page()
129 return written; in qspic_write_page()
134 size_t written; in qspic_write() local
139 written = qspic_write_page(address, data, size); in qspic_write()
140 address += written; in qspic_write()
141 data += written; in qspic_write()
142 size -= written; in qspic_write()
DKconfig.nxp_s3242 bool "Verify memory after written"
44 Verify contents of memory after written.
/Zephyr-latest/drivers/i2c/
Di2c_max32_rtio.c52 uint32_t written; member
142 data->written = 0; in max32_msg_start()
155 data->written = MXC_I2C_WriteTXFIFO(i2c, req->tx_buf, 1); in max32_msg_start()
186 uint32_t written, readb; in i2c_max32_isr_controller() local
191 written = data->written; in i2c_max32_isr_controller()
207 if (written < req->tx_len) { in i2c_max32_isr_controller()
217 if (written < req->tx_len) { in i2c_max32_isr_controller()
218 written += MXC_I2C_WriteTXFIFO(i2c, &req->tx_buf[written], in i2c_max32_isr_controller()
219 req->tx_len - written); in i2c_max32_isr_controller()
262 data->written = written; in i2c_max32_isr_controller()
Di2c_max32.c64 uint32_t written; member
222 while (req->tx_len > data->written) { in i2c_max32_transfer_sync()
225 data->written += MXC_I2C_WriteTXFIFO(i2c, &req->tx_buf[data->written], in i2c_max32_transfer_sync()
226 req->tx_len - data->written); in i2c_max32_transfer_sync()
479 data->written = 0; in i2c_max32_transfer()
492 data->written = MXC_I2C_WriteTXFIFO(i2c, req->tx_buf, 1); in i2c_max32_transfer()
570 data->written = 0; in i2c_max32_transfer()
700 uint32_t written, readb; in i2c_max32_isr_controller() local
705 written = data->written; in i2c_max32_isr_controller()
722 if (written < req->tx_len) { in i2c_max32_isr_controller()
[all …]
/Zephyr-latest/boards/others/neorv32/
DCMakeLists.txt17 …message(STATUS "neorv32 binary will be written to: ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}…
27 …message(STATUS "neorv32 VHDL will be written to: ${PROJECT_BINARY_DIR}/${CONFIG_KERNEL_BIN_NAME}.v…
/Zephyr-latest/include/zephyr/logging/
Dlog_backend_adsp_hda.h18 typedef void(*adsp_hda_log_hook_t)(uint32_t written);
Dlog_backend_adsp_mtrace.h20 typedef void(*adsp_mtrace_log_hook_t)(size_t written, size_t space_left);
/Zephyr-latest/include/zephyr/net/prometheus/
Dformatter.h50 size_t buffer_size, int *written);
/Zephyr-latest/drivers/modem/
Dmodem_iface_uart_async.c28 uint32_t written; in iface_uart_async_callback() local
55 written = ring_buf_put(&data->rx_rb, in iface_uart_async_callback()
58 if (written != evt->data.rx.len) { in iface_uart_async_callback()
/Zephyr-latest/tests/kernel/mem_protect/protection/
DREADME.rst59 trying to call code written to 0x2000041d
68 trying to call code written to 0x20000929
77 trying to call code written to 0x20000455
/Zephyr-latest/soc/renesas/ra/ra8d1/
DKconfig.defconfig9 # Set to the minimal size of data which can be written.
/Zephyr-latest/soc/renesas/ra/ra8m1/
DKconfig.defconfig9 # Set to the minimal size of data which can be written.
/Zephyr-latest/soc/renesas/ra/ra8t1/
DKconfig.defconfig9 # Set to the minimal size of data which can be written.
/Zephyr-latest/soc/nxp/mcx/mcxa/
DKconfig.defconfig14 # Set to the minimal size of data which can be written.
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c171 int written; in modem_backend_uart_isr_transmit() local
178 written = ring_buf_put(&backend->isr.transmit_rb, buf, size); in modem_backend_uart_isr_transmit()
182 atomic_add(&backend->isr.transmit_buf_len, written); in modem_backend_uart_isr_transmit()
188 return written; in modem_backend_uart_isr_transmit()
/Zephyr-latest/soc/nxp/mcx/mcxn/
DKconfig.defconfig26 # Set to the minimal size of data which can be written.
/Zephyr-latest/doc/_scripts/
Dgen_devicetree_rest.py473 written = write_if_updated(out_dir / 'bindings' /
477 if written:
489 written = write_if_updated(compatibles_dir /
493 if written:
891 written = gen_helpers.write_if_updated(path, s)
892 logger.debug('%s %s', 'wrote' if written else 'did NOT write', path)
893 return written

1234567