Searched full:spsc_pbuf (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-3.6.0/tests/lib/spsc_pbuf/ |
D | testcase.yaml | 2 libraries.spsc_pbuf: 9 libraries.spsc_pbuf.cache: 18 libraries.spsc_pbuf.nocache.: 27 libraries.spsc_pbuf.utilization: 36 libraries.spsc_pbuf.stress:
|
D | CMakeLists.txt | 5 project(spsc_pbuf) project
|
/Zephyr-Core-3.6.0/lib/os/ |
D | spsc_pbuf.c | 11 #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 …]
|
D | Kconfig | 30 config SPSC_PBUF config 37 if SPSC_PBUF 89 endif # SPSC_PBUF
|
D | CMakeLists.txt | 31 zephyr_sources_ifdef(CONFIG_SPSC_PBUF spsc_pbuf.c)
|
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | spsc_pbuf.h | 101 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/ |
D | main.c | 9 #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/ |
D | spsc_pbuf.rst | 6 A :dfn:`Single Producer Single Consumer Packet Buffer (SPSC_PBUF)` is a circular
|
D | index.rst | 34 spsc_pbuf.rst
|
/Zephyr-Core-3.6.0/doc/services/ipc/ipc_service/backends/ |
D | ipc_service_icmsg.rst | 8 memory footprint. The ICMsg backend is build on top of :ref:`spsc_pbuf`.
|
/Zephyr-Core-3.6.0/doc/releases/ |
D | release-notes-3.2.rst | 1466 * ``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
|
D | release-notes-3.3.rst | 2748 - :github:`53933` - tests: lib: spsc_pbuf: lib.spsc_pbuf... hangs
|
/Zephyr-Core-3.6.0/ |
D | MAINTAINERS.yml | 2358 - tests/lib/spsc_pbuf/
|