Home
last modified time | relevance | path

Searched full:spsc_pbuf (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.6.0/tests/lib/spsc_pbuf/
Dtestcase.yaml2 libraries.spsc_pbuf:
9 libraries.spsc_pbuf.cache:
18 libraries.spsc_pbuf.nocache.:
27 libraries.spsc_pbuf.utilization:
36 libraries.spsc_pbuf.stress:
DCMakeLists.txt5 project(spsc_pbuf) project
/Zephyr-Core-3.6.0/lib/os/
Dspsc_pbuf.c11 #include <zephyr/sys/spsc_pbuf.h>
62 static uint32_t *get_rd_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_rd_idx_loc()
67 static uint32_t *get_wr_idx_loc(struct spsc_pbuf *pb, uint32_t flags) in get_wr_idx_loc()
77 static uint8_t *get_data_loc(struct spsc_pbuf *pb, uint32_t flags) in get_data_loc()
109 struct spsc_pbuf *spsc_pbuf_init(void *buf, size_t blen, uint32_t flags) in spsc_pbuf_init()
116 /* blen must be big enough to contain spsc_pbuf struct, byte of data in spsc_pbuf_init()
119 struct spsc_pbuf *pb = buf; in spsc_pbuf_init()
136 int spsc_pbuf_alloc(struct spsc_pbuf *pb, uint16_t len, char **buf) in spsc_pbuf_alloc()
201 void spsc_pbuf_commit(struct spsc_pbuf *pb, uint16_t len) in spsc_pbuf_commit()
228 int spsc_pbuf_write(struct spsc_pbuf *pb, const char *buf, uint16_t len) in spsc_pbuf_write()
[all …]
DKconfig30 config SPSC_PBUF config
37 if SPSC_PBUF
89 endif # SPSC_PBUF
DCMakeLists.txt31 zephyr_sources_ifdef(CONFIG_SPSC_PBUF spsc_pbuf.c)
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dspsc_pbuf.h101 struct spsc_pbuf { struct
119 static inline uint32_t spsc_pbuf_capacity(struct spsc_pbuf *pb) in spsc_pbuf_capacity() argument
139 * @retval struct spsc_pbuf* Pointer to the created buffer. The pointer
143 struct spsc_pbuf *spsc_pbuf_init(void *buf, size_t blen, uint32_t flags);
158 int spsc_pbuf_write(struct spsc_pbuf *pb, const char *buf, uint16_t len);
188 int spsc_pbuf_alloc(struct spsc_pbuf *pb, uint16_t len, char **buf);
199 void spsc_pbuf_commit(struct spsc_pbuf *pb, uint16_t len);
218 int spsc_pbuf_read(struct spsc_pbuf *pb, char *buf, uint16_t len);
237 uint16_t spsc_pbuf_claim(struct spsc_pbuf *pb, char **buf);
247 void spsc_pbuf_free(struct spsc_pbuf *pb, uint16_t len);
[all …]
/Zephyr-Core-3.6.0/tests/lib/spsc_pbuf/src/
Dmain.c9 #include <zephyr/sys/spsc_pbuf.h>
17 * 212 - sizeof(struct spsc_pbuf) - 1 = 199.
31 struct spsc_pbuf *ib; in test_spsc_pbuf_flags()
35 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.cache.data)) : in test_spsc_pbuf_flags()
36 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.nocache.data))) - in test_spsc_pbuf_flags()
127 static void packet_write(struct spsc_pbuf *pb, in packet_write()
156 static void packet_consume(struct spsc_pbuf *pb, in packet_consume()
183 struct spsc_pbuf *pb = spsc_pbuf_init(buffer, sizeof(buffer), 0); in ZTEST()
215 struct spsc_pbuf *pb = spsc_pbuf_init(buffer, sizeof(buffer), 0); in ZTEST()
235 struct spsc_pbuf *pb = spsc_pbuf_init(buffer, sizeof(buffer), 0); in ZTEST()
[all …]
/Zephyr-Core-3.6.0/doc/kernel/data_structures/
Dspsc_pbuf.rst6 A :dfn:`Single Producer Single Consumer Packet Buffer (SPSC_PBUF)` is a circular
Dindex.rst34 spsc_pbuf.rst
/Zephyr-Core-3.6.0/doc/services/ipc/ipc_service/backends/
Dipc_service_icmsg.rst8 memory footprint. The ICMsg backend is build on top of :ref:`spsc_pbuf`.
/Zephyr-Core-3.6.0/doc/releases/
Drelease-notes-3.2.rst1466 * ``icmsg_buf`` library was renamed to ``spsc_pbuf``.
1467 * Added cache handling support to ``spsc_pbuf``.
2257 * :github:`47300` - Intel CAVS: Failure in tests/lib/spsc_pbuf
Drelease-notes-3.3.rst2748 - :github:`53933` - tests: lib: spsc_pbuf: lib.spsc_pbuf... hangs
/Zephyr-Core-3.6.0/
DMAINTAINERS.yml2358 - tests/lib/spsc_pbuf/