/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/edtt/common/ |
D | edtt_driver_bsim.c | 42 static int fifo[2] = { -1, -1 }; variable 141 if (write(fifo[TO_EDTT], ptr, size) != size) { in edtt_write() 204 fifo[TO_EDTT] = open(fifo_path[TO_EDTT], O_WRONLY); in edptd_create_fifo_if() 205 if (fifo[TO_EDTT] == -1) { in edptd_create_fifo_if() 209 flags = fcntl(fifo[TO_EDTT], F_GETFL); in edptd_create_fifo_if() 211 fcntl(fifo[TO_EDTT], F_SETFL, flags); in edptd_create_fifo_if() 214 fifo[TO_DEVICE] = open(fifo_path[TO_DEVICE], O_RDONLY); in edptd_create_fifo_if() 215 if (fifo[TO_DEVICE] == -1) { in edptd_create_fifo_if() 219 flags = fcntl(fifo[TO_DEVICE], F_GETFL); in edptd_create_fifo_if() 221 fcntl(fifo[TO_DEVICE], F_SETFL, flags); in edptd_create_fifo_if() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_contexts.c | 14 struct k_fifo fifo; variable 119 tfifo_put(&fifo); in tfifo_is_empty() 123 tfifo_get(&fifo); in tfifo_is_empty() 140 k_fifo_init(&fifo); in ZTEST() 141 tfifo_thread_thread(&fifo); in ZTEST() 154 k_fifo_init(&fifo); in ZTEST() 155 tfifo_thread_isr(&fifo); in ZTEST() 168 k_fifo_init(&fifo); in ZTEST() 169 tfifo_isr_thread(&fifo); in ZTEST() 181 k_fifo_init(&fifo); in ZTEST() [all …]
|
D | test_fifo_fail.c | 24 static struct k_fifo fifo; in ZTEST() local 26 k_fifo_init(&fifo); in ZTEST() 28 zassert_is_null(k_fifo_get(&fifo, K_NO_WAIT), NULL); in ZTEST() 29 zassert_is_null(k_fifo_get(&fifo, TIMEOUT), NULL); in ZTEST()
|
D | test_fifo_loop.c | 14 static struct k_fifo fifo; variable 101 k_fifo_init(&fifo); in ZTEST() 104 tfifo_read_write(&fifo); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_emul/ |
D | uart_emul.overlay | 12 rx-fifo-size = <256>; 13 tx-fifo-size = <256>; 20 rx-fifo-size = <256>; 21 tx-fifo-size = <256>;
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_backend_uart/ |
D | multi.overlay | 21 rx-fifo-size = <256>; 22 tx-fifo-size = <256>; 29 rx-fifo-size = <256>; 30 tx-fifo-size = <256>;
|
D | single.overlay | 21 rx-fifo-size = <256>; 22 tx-fifo-size = <256>;
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/util/ |
D | mfifo.h | 117 static inline void mfifo_by_idx_enqueue(uint8_t *fifo, uint8_t size, in mfifo_by_idx_enqueue() argument 121 void **p = (void **)(fifo + (*last) * size); /* buffer preceding idx */ in mfifo_by_idx_enqueue() 143 static inline uint8_t mfifo_enqueue_get(uint8_t *fifo, uint8_t size, in mfifo_enqueue_get() argument 160 *mem = (void *)(fifo + last * size); /* preceding buffer */ in mfifo_enqueue_get() 232 static inline void *mfifo_dequeue_get(uint8_t *fifo, uint8_t size, in mfifo_dequeue_get() argument 240 return (void *)(fifo + first * size); in mfifo_dequeue_get() 254 static inline void *mfifo_dequeue_peek(uint8_t *fifo, uint8_t size, in mfifo_dequeue_peek() argument 262 return *((void **)(fifo + first * size)); in mfifo_dequeue_peek() 273 static inline void *mfifo_dequeue_iter_get(uint8_t *fifo, uint8_t size, in mfifo_dequeue_iter_get() argument 293 p = (void *)(fifo + (*idx) * size); in mfifo_dequeue_iter_get() [all …]
|
/Zephyr-Core-3.7.0/subsys/tracing/test/ |
D | tracing_test.h | 205 #define sys_port_trace_k_fifo_init_enter(fifo) sys_trace_k_fifo_init_enter(fifo) argument 207 #define sys_port_trace_k_fifo_init_exit(fifo) sys_trace_k_fifo_init_exit(fifo) argument 209 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) sys_trace_k_fifo_cancel_wait_enter(fifo) argument 211 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) sys_trace_k_fifo_cancel_wait_exit(fifo) argument 213 #define sys_port_trace_k_fifo_put_enter(fifo, data) sys_trace_k_fifo_put_enter(fifo, data) argument 215 #define sys_port_trace_k_fifo_put_exit(fifo, data) sys_trace_k_fifo_put_exit(fifo, data) argument 217 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) \ argument 218 sys_trace_k_fifo_alloc_put_enter(fifo, data) 220 #define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret) \ argument 221 sys_trace_k_fifo_alloc_put_exit(fifo, data, ret) [all …]
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | net_tc.c | 55 submit_to_queue(&tx_classes[tc].fifo, pkt); in net_tc_submit_to_tx_queue() 68 submit_to_queue(&rx_classes[tc].fifo, pkt); in net_tc_submit_to_rx_queue() 248 struct k_fifo *fifo = p1; in tc_rx_handler() local 252 pkt = k_fifo_get(fifo, K_FOREVER); in tc_rx_handler() 268 struct k_fifo *fifo = p1; in tc_tx_handler() local 272 pkt = k_fifo_get(fifo, K_FOREVER); in tc_tx_handler() 319 k_fifo_init(&tx_classes[i].fifo); in net_tc_tx_init() 324 &tx_classes[i].fifo, NULL, NULL, in net_tc_tx_init() 377 k_fifo_init(&rx_classes[i].fifo); in net_tc_rx_init() 382 &rx_classes[i].fifo, NULL, NULL, in net_tc_rx_init()
|
/Zephyr-Core-3.7.0/tests/benchmarks/latency_measure/src/ |
D | fifo.c | 30 static K_FIFO_DEFINE(fifo); 49 k_fifo_put(&fifo, fifo_data); in fifo_put_get_thread_entry() 53 data = k_fifo_get(&fifo, K_NO_WAIT); in fifo_put_get_thread_entry() 74 k_fifo_alloc_put(&fifo, fifo_data); in fifo_put_get_thread_entry() 78 data = k_fifo_get(&fifo, K_NO_WAIT); in fifo_put_get_thread_entry() 110 k_thread_access_grant(&start_thread, &pause_sem, &fifo); in fifo_ops() 187 data = k_fifo_get(&fifo, K_FOREVER); in alt_thread_entry() 208 data = k_fifo_get(&fifo, K_FOREVER); in alt_thread_entry() 247 k_fifo_put(&fifo, fifo_data); in start_thread_entry() 258 k_fifo_alloc_put(&fifo, fifo_data); in start_thread_entry() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/tracing/ |
D | tracing.h | 1079 #define sys_port_trace_k_fifo_init_enter(fifo) argument 1085 #define sys_port_trace_k_fifo_init_exit(fifo) argument 1091 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) argument 1097 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) argument 1104 #define sys_port_trace_k_fifo_put_enter(fifo, data) argument 1111 #define sys_port_trace_k_fifo_put_exit(fifo, data) argument 1118 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) argument 1126 #define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret) argument 1134 #define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail) argument 1142 #define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail) argument [all …]
|
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/transport/src/ |
D | smp.c | 139 while ((nb = net_buf_get(&smpt->fifo, K_NO_WAIT)) != NULL) { in smp_handle_reqs() 158 k_fifo_init(&smpt->fifo); in smp_transport_init() 202 net_buf_put(&smpt->fifo, nb); in smp_rx_req() 233 while ((nb = net_buf_get(&zst->fifo, K_NO_WAIT)) != NULL) { in smp_rx_remove_invalid() 243 net_buf_put(&zst->fifo, nb); in smp_rx_remove_invalid() 247 if (!k_fifo_is_empty(&zst->fifo)) { in smp_rx_remove_invalid() 262 while ((nb = net_buf_get(&zst->fifo, K_NO_WAIT)) != NULL) { in smp_rx_clear()
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_api/boards/ |
D | xmc45_relax_kit.overlay | 15 fifo-start-offset = <0>; 16 fifo-tx-size = <0>; 17 fifo-rx-size = <0>;
|
D | xmc47_relax_kit.overlay | 20 fifo-start-offset = <0>; 21 fifo-tx-size = <0>; 22 fifo-rx-size = <0>;
|
/Zephyr-Core-3.7.0/samples/subsys/logging/logger/ |
D | bt.overlay | 14 rx-fifo-size = <1024>; 15 tx-fifo-size = <1024>;
|
/Zephyr-Core-3.7.0/tests/subsys/shell/shell_backend_uart/ |
D | app.overlay | 12 rx-fifo-size = <256>; 13 tx-fifo-size = <256>;
|
/Zephyr-Core-3.7.0/snippets/nus-console/ |
D | nus-console.overlay | 15 rx-fifo-size = <1024>; 16 tx-fifo-size = <1024>;
|
/Zephyr-Core-3.7.0/samples/subsys/shell/shell_module/ |
D | bt.overlay | 15 rx-fifo-size = <1024>; 16 tx-fifo-size = <1024>;
|
/Zephyr-Core-3.7.0/subsys/tracing/user/ |
D | tracing_user.h | 207 #define sys_port_trace_k_fifo_init_enter(fifo) argument 208 #define sys_port_trace_k_fifo_init_exit(fifo) argument 209 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) argument 210 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) argument 211 #define sys_port_trace_k_fifo_put_enter(fifo, data) argument 212 #define sys_port_trace_k_fifo_put_exit(fifo, data) argument 213 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) argument 214 #define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret) argument 215 #define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail) argument 216 #define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail) argument [all …]
|
/Zephyr-Core-3.7.0/subsys/tracing/sysview/ |
D | tracing_sysview.h | 413 #define sys_port_trace_k_fifo_init_enter(fifo) \ argument 414 SEGGER_SYSVIEW_RecordU32(TID_FIFO_INIT, (uint32_t)(uintptr_t)fifo) 415 #define sys_port_trace_k_fifo_init_exit(fifo) SEGGER_SYSVIEW_RecordEndCall(TID_FIFO_INIT) argument 417 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) \ argument 418 SEGGER_SYSVIEW_RecordU32(TID_FIFO_CANCEL_WAIT, (uint32_t)(uintptr_t)fifo) 419 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) \ argument 422 #define sys_port_trace_k_fifo_put_enter(fifo, data) \ argument 423 SEGGER_SYSVIEW_RecordU32x2(TID_FIFO_PUT, (uint32_t)(uintptr_t)fifo, \ 426 #define sys_port_trace_k_fifo_put_exit(fifo, data) SEGGER_SYSVIEW_RecordEndCall(TID_FIFO_PUT) argument 428 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) \ argument [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/common/src/ |
D | errno.c | 44 struct k_fifo fifo; variable 60 k_fifo_put(&fifo, &result[n]); in errno_thread() 75 k_fifo_init(&fifo); in ZTEST() 93 struct result *p = k_fifo_get(&fifo, K_MSEC(100)); in ZTEST()
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | Kconfig.xmc4xxx | 20 bool "Continue to trigger fifo rx interrupt" 24 if there is data in the receive fifo. Otherwise, an interrupt will 25 trigger only once on the first received byte. The receive fifo will
|
/Zephyr-Core-3.7.0/include/zephyr/ |
D | kernel.h | 2500 #define k_fifo_init(fifo) \ argument 2502 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, init, fifo); \ 2503 k_queue_init(&(fifo)->_queue); \ 2504 K_OBJ_CORE_INIT(K_OBJ_CORE(fifo), _obj_type_fifo); \ 2505 K_OBJ_CORE_LINK(K_OBJ_CORE(fifo)); \ 2506 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, init, fifo); \ 2520 #define k_fifo_cancel_wait(fifo) \ argument 2522 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, cancel_wait, fifo); \ 2523 k_queue_cancel_wait(&(fifo)->_queue); \ 2524 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, cancel_wait, fifo); \ [all …]
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | can_xmc4xxx.c | 246 static void can_xmc4xxx_deinit_fifo(const struct device *dev, struct can_xmc4xxx_rx_fifo *fifo) in can_xmc4xxx_deinit_fifo() argument 248 CAN_MO_TypeDef *mo = fifo->base; in can_xmc4xxx_deinit_fifo() 260 if ((uint32_t)mo == (uint32_t)fifo->top) { in can_xmc4xxx_deinit_fifo() 276 struct can_xmc4xxx_rx_fifo *fifo, bool is_rtr) in can_xmc4xxx_init_fifo() argument 291 fifo->base = mo; in can_xmc4xxx_init_fifo() 292 fifo->tail = mo; in can_xmc4xxx_init_fifo() 346 fifo->base->MOFGPR = reg; in can_xmc4xxx_init_fifo() 347 fifo->top = mo; in can_xmc4xxx_init_fifo() 565 static inline void can_xmc4xxx_increment_fifo_tail(struct can_xmc4xxx_rx_fifo *fifo) in can_xmc4xxx_increment_fifo_tail() argument 569 if ((uint32_t)fifo->tail == (uint32_t)fifo->top) { in can_xmc4xxx_increment_fifo_tail() [all …]
|