Home
last modified time | relevance | path

Searched refs:ring_buf_init (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-Core-3.7.0/samples/subsys/usb/cdc_acm_composite/src/
Dmain.c165 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/
Dmain.c551 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()
Dconcurrent.c270 ring_buf_init(&ringbuf, ARRAY_SIZE(buf.buf8), buf.buf8); in test_ztress()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dring_buffer.h157 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/
Dtracing_buffer.c52 ring_buf_init(&tracing_ring_buf, in tracing_buffer_init()
/Zephyr-Core-3.7.0/subsys/modem/backends/
Dmodem_backend_uart_isr.c270 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()
Dmodem_backend_uart_async.c324 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/
Dmodem_backend_mock.c111 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/
Dosdp.c196 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/
Dmodem_receiver.c235 ring_buf_init(&ctx->rx_rb, size, buf); in mdm_receiver_register()
Dmodem_iface_uart_interrupt.c193 ring_buf_init(&data->rx_rb, config->rx_rb_buf_len, config->rx_rb_buf); in modem_iface_uart_init()
Dmodem_iface_uart_async.c179 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/
Dshell_uart.c215 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()
Dshell_mqtt.c663 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/
Dmain.c192 ring_buf_init(&ringbuf, sizeof(ring_buffer), ring_buffer); in main()
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/
Deswifi_bus_uart.c236 ring_buf_init(&uart->rx_rb, sizeof(uart->iface_rb_buf), in eswifi_uart_init()
/Zephyr-Core-3.7.0/subsys/testsuite/busy_sim/
Dbusy_sim.c195 ring_buf_init(&rnd_rbuf, BUFFER_SIZE, rnd_buf); in busy_sim_init()
/Zephyr-Core-3.7.0/drivers/entropy/
Dentropy_cc13xx_cc26xx.c289 ring_buf_init(&data->pool, sizeof(data->data), data->data); in entropy_cc13xx_cc26xx_init()
/Zephyr-Core-3.7.0/subsys/modem/
Dmodem_ppp.c587 ring_buf_init(&ppp->transmit_rb, ppp->buf_size, ppp->transmit_buf); in modem_ppp_init_internal()
Dmodem_cmux.c1250 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/
Dmain.c456 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/
Dring_buffers.rst55 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/
Dhost_subs_npcx.c1159 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/
Dppp.c957 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/
Dlwm2m_registry.c1639 ring_buf_init(&cache_entry->rb, cache_entry_size * cache_len, (uint8_t *)data_cache); in lwm2m_enable_cache()

12