/Zephyr-Core-3.7.0/samples/subsys/usb/cdc_acm_composite/src/ |
D | main.c | 165 ring_buf_init(&peers[0].rb, sizeof(buffer0), buffer0); in main() 166 ring_buf_init(&peers[1].rb, sizeof(buffer1), buffer1); in main()
|
/Zephyr-Core-3.7.0/tests/lib/ringbuffer/src/ |
D | main.c | 551 ring_buf_init(&ringbuf_raw, RINGBUFFER_SIZE, ringbuf_raw.buffer); in ZTEST() 614 ring_buf_init(&ringbuf_raw, RINGBUFFER_SIZE, ringbuf_raw.buffer); in ZTEST() 658 ring_buf_init(&ringbuf_raw, RINGBUFFER_SIZE, ringbuf_raw.buffer); in ZTEST() 670 ring_buf_init(&ringbuf_raw, sizeof(buf), ringbuf_raw.buffer); in ZTEST() 703 ring_buf_init(&ringbuf_raw, sizeof(buf), ringbuf_raw.buffer); in ZTEST() 750 ring_buf_init(&ringbuf_raw, RINGBUFFER_SIZE, ringbuf_raw.buffer); in ZTEST() 924 ring_buf_init(&buf_ii, sizeof(buf), buf); in ZTEST() 947 ring_buf_init(&rbuf, sizeof(buf), buf); in ZTEST()
|
D | concurrent.c | 270 ring_buf_init(&ringbuf, ARRAY_SIZE(buf.buf8), buf.buf8); in test_ztress()
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | ring_buffer.h | 157 static inline void ring_buf_init(struct ring_buf *buf, in ring_buf_init() function 186 ring_buf_init(buf, 4 * size, (uint8_t *)data); in ring_buf_item_init()
|
/Zephyr-Core-3.7.0/subsys/tracing/ |
D | tracing_buffer.c | 52 ring_buf_init(&tracing_ring_buf, in tracing_buffer_init()
|
/Zephyr-Core-3.7.0/subsys/modem/backends/ |
D | modem_backend_uart_isr.c | 270 ring_buf_init(&backend->isr.receive_rdb[0], receive_double_buf_size, in modem_backend_uart_isr_init() 273 ring_buf_init(&backend->isr.receive_rdb[1], receive_double_buf_size, in modem_backend_uart_isr_init() 276 ring_buf_init(&backend->isr.transmit_rb, config->transmit_buf_size, in modem_backend_uart_isr_init()
|
D | modem_backend_uart_async.c | 324 ring_buf_init(&backend->async.receive_rb, (receive_buf_size_quarter * 2), in modem_backend_uart_async_init()
|
/Zephyr-Core-3.7.0/tests/subsys/modem/mock/ |
D | modem_backend_mock.c | 111 ring_buf_init(&mock->rx_rb, config->rx_buf_size, config->rx_buf); in modem_backend_mock_init() 112 ring_buf_init(&mock->tx_rb, config->tx_buf_size, config->tx_buf); in modem_backend_mock_init()
|
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/ |
D | osdp.c | 196 ring_buf_init(&p->rx_buf, sizeof(p->rx_fbuf), p->rx_fbuf); in osdp_init() 197 ring_buf_init(&p->tx_buf, sizeof(p->tx_fbuf), p->tx_fbuf); in osdp_init()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | modem_receiver.c | 235 ring_buf_init(&ctx->rx_rb, size, buf); in mdm_receiver_register()
|
D | modem_iface_uart_interrupt.c | 193 ring_buf_init(&data->rx_rb, config->rx_rb_buf_len, config->rx_rb_buf); in modem_iface_uart_init()
|
D | modem_iface_uart_async.c | 179 ring_buf_init(&data->rx_rb, config->rx_rb_buf_len, config->rx_rb_buf); in modem_iface_uart_init()
|
/Zephyr-Core-3.7.0/subsys/shell/backends/ |
D | shell_uart.c | 215 ring_buf_init(&sh_uart->rx_ringbuf, CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE, in irq_init() 217 ring_buf_init(&sh_uart->tx_ringbuf, CONFIG_SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE, in irq_init() 283 ring_buf_init(&sh_uart->rx_ringbuf, CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE, in polling_init()
|
D | shell_mqtt.c | 663 ring_buf_init(&sh_mqtt->rx_rb, RX_RB_SIZE, sh_mqtt->rx_rb_buf); in init()
|
/Zephyr-Core-3.7.0/samples/subsys/usb/cdc_acm/src/ |
D | main.c | 192 ring_buf_init(&ringbuf, sizeof(ring_buffer), ring_buffer); in main()
|
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/ |
D | eswifi_bus_uart.c | 236 ring_buf_init(&uart->rx_rb, sizeof(uart->iface_rb_buf), in eswifi_uart_init()
|
/Zephyr-Core-3.7.0/subsys/testsuite/busy_sim/ |
D | busy_sim.c | 195 ring_buf_init(&rnd_rbuf, BUFFER_SIZE, rnd_buf); in busy_sim_init()
|
/Zephyr-Core-3.7.0/drivers/entropy/ |
D | entropy_cc13xx_cc26xx.c | 289 ring_buf_init(&data->pool, sizeof(data->data), data->data); in entropy_cc13xx_cc26xx_init()
|
/Zephyr-Core-3.7.0/subsys/modem/ |
D | modem_ppp.c | 587 ring_buf_init(&ppp->transmit_rb, ppp->buf_size, ppp->transmit_buf); in modem_ppp_init_internal()
|
D | modem_cmux.c | 1250 ring_buf_init(&cmux->transmit_rb, config->transmit_buf_size, config->transmit_buf); in modem_cmux_init() 1278 ring_buf_init(&dlci->receive_rb, config->receive_buf_size, config->receive_buf); in modem_cmux_dlci_init()
|
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 456 ring_buf_init(&(streams[i].audio_ring_buf), sizeof(streams[i]._ring_buffer_memory), in main()
|
/Zephyr-Core-3.7.0/doc/kernel/data_structures/ |
D | ring_buffers.rst | 55 memory, and must be initialized with :c:func:`ring_buf_init` or 202 It must then be initialized by calling :c:func:`ring_buf_init` or
|
/Zephyr-Core-3.7.0/drivers/espi/ |
D | host_subs_npcx.c | 1159 ring_buf_init(&host_sub_data.port80_ring_buf, sizeof(host_sub_data.port80_data), in npcx_host_init_subs_core_domain()
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | ppp.c | 957 ring_buf_init(&ppp->rx_ringbuf, sizeof(ppp->rx_buf), ppp->rx_buf); in ppp_driver_init()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_registry.c | 1639 ring_buf_init(&cache_entry->rb, cache_entry_size * cache_len, (uint8_t *)data_cache); in lwm2m_enable_cache()
|