/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/common/ |
D | edtt_driver_bsim.c | 43 static int fifo[2] = { -1, -1 }; variable 140 if (write(fifo[TO_EDTT], ptr, size) != size) { in edtt_write() 202 fifo[TO_EDTT] = open(fifo_path[TO_EDTT], O_WRONLY); in edptd_create_fifo_if() 203 if (fifo[TO_EDTT] == -1) { in edptd_create_fifo_if() 207 flags = fcntl(fifo[TO_EDTT], F_GETFL); in edptd_create_fifo_if() 209 fcntl(fifo[TO_EDTT], F_SETFL, flags); in edptd_create_fifo_if() 212 fifo[TO_DEVICE] = open(fifo_path[TO_DEVICE], O_RDONLY); in edptd_create_fifo_if() 213 if (fifo[TO_DEVICE] == -1) { in edptd_create_fifo_if() 217 flags = fcntl(fifo[TO_DEVICE], F_GETFL); in edptd_create_fifo_if() 219 fcntl(fifo[TO_DEVICE], F_SETFL, flags); in edptd_create_fifo_if() [all …]
|
/Zephyr-latest/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-latest/samples/sensor/stream_fifo/boards/ |
D | sensortile_box_pro.overlay | 28 fifo-watermark = <64>; 29 accel-fifo-batch-rate = <LSM6DSV16X_DT_XL_BATCHED_AT_15Hz>; 30 gyro-fifo-batch-rate = <LSM6DSV16X_DT_GY_BATCHED_AT_15Hz>; 31 temp-fifo-batch-rate = <LSM6DSV16X_DT_TEMP_BATCHED_AT_15Hz>; 34 sflp-fifo-enable = <LSM6DSV16X_DT_SFLP_FIFO_GAME_ROTATION_GRAVITY_GBIAS>;
|
D | nucleo_h503rb.overlay | 30 fifo-watermark = <64>; 31 accel-fifo-batch-rate = <LSM6DSV16X_DT_XL_BATCHED_AT_15Hz>; 32 gyro-fifo-batch-rate = <LSM6DSV16X_DT_GY_BATCHED_AT_15Hz>; 33 temp-fifo-batch-rate = <LSM6DSV16X_DT_TEMP_BATCHED_AT_15Hz>; 36 sflp-fifo-enable = <LSM6DSV16X_DT_SFLP_FIFO_GAME_ROTATION_GRAVITY_GBIAS>;
|
D | nucleo_f401re.overlay | 30 fifo-watermark = <64>; 31 accel-fifo-batch-rate = <LSM6DSV16X_DT_XL_BATCHED_AT_60Hz>; 32 gyro-fifo-batch-rate = <LSM6DSV16X_DT_GY_BATCHED_AT_60Hz>; 33 temp-fifo-batch-rate = <LSM6DSV16X_DT_TEMP_BATCHED_AT_15Hz>;
|
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/subsys/tracing/test/ |
D | tracing_test.h | 208 #define sys_port_trace_k_fifo_init_enter(fifo) sys_trace_k_fifo_init_enter(fifo) argument 210 #define sys_port_trace_k_fifo_init_exit(fifo) sys_trace_k_fifo_init_exit(fifo) argument 212 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) sys_trace_k_fifo_cancel_wait_enter(fifo) argument 214 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) sys_trace_k_fifo_cancel_wait_exit(fifo) argument 216 #define sys_port_trace_k_fifo_put_enter(fifo, data) sys_trace_k_fifo_put_enter(fifo, data) argument 218 #define sys_port_trace_k_fifo_put_exit(fifo, data) sys_trace_k_fifo_put_exit(fifo, data) argument 220 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) \ argument 221 sys_trace_k_fifo_alloc_put_enter(fifo, data) 223 #define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret) \ argument 224 sys_trace_k_fifo_alloc_put_exit(fifo, data, ret) [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp.c | 139 while ((nb = k_fifo_get(&smpt->fifo, K_NO_WAIT)) != NULL) { in smp_handle_reqs() 158 k_fifo_init(&smpt->fifo); in smp_transport_init() 202 k_fifo_put(&smpt->fifo, nb); in smp_rx_req() 233 while ((nb = k_fifo_get(&zst->fifo, K_NO_WAIT)) != NULL) { in smp_rx_remove_invalid() 243 k_fifo_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 = k_fifo_get(&zst->fifo, K_NO_WAIT)) != NULL) { in smp_rx_clear()
|
/Zephyr-latest/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-latest/tests/subsys/shell/shell_backend_uart/ |
D | app.overlay | 12 rx-fifo-size = <256>; 13 tx-fifo-size = <256>;
|
/Zephyr-latest/samples/subsys/logging/logger/ |
D | bt.overlay | 14 rx-fifo-size = <1024>; 15 tx-fifo-size = <1024>;
|
/Zephyr-latest/subsys/net/ip/ |
D | net_tc.c | 80 k_fifo_put(&tx_classes[tc].fifo, pkt); in net_tc_try_submit_to_tx_queue() 111 k_fifo_put(&rx_classes[tc].fifo, pkt); in net_tc_submit_to_rx_queue() 292 struct k_fifo *fifo = p1; in tc_rx_handler() local 301 pkt = k_fifo_get(fifo, K_FOREVER); in tc_rx_handler() 320 struct k_fifo *fifo = p1; in tc_tx_handler() local 329 pkt = k_fifo_get(fifo, K_FOREVER); in tc_tx_handler() 380 k_fifo_init(&tx_classes[i].fifo); in net_tc_tx_init() 389 &tx_classes[i].fifo, in net_tc_tx_init() 448 k_fifo_init(&rx_classes[i].fifo); in net_tc_rx_init() 457 &rx_classes[i].fifo, in net_tc_rx_init()
|
/Zephyr-latest/snippets/nus-console/ |
D | nus-console.overlay | 15 rx-fifo-size = <1024>; 16 tx-fifo-size = <1024>;
|
/Zephyr-latest/samples/subsys/shell/shell_module/ |
D | bt.overlay | 15 rx-fifo-size = <1024>; 16 tx-fifo-size = <1024>;
|
/Zephyr-latest/drivers/serial/ |
D | Kconfig.xmc4xxx | 21 bool "Continue to trigger fifo rx interrupt" 25 if there is data in the receive fifo. Otherwise, an interrupt will 26 trigger only once on the first received byte. The receive fifo will
|
/Zephyr-latest/include/zephyr/tracing/ |
D | tracing.h | 1101 #define sys_port_trace_k_fifo_init_enter(fifo) argument 1107 #define sys_port_trace_k_fifo_init_exit(fifo) argument 1113 #define sys_port_trace_k_fifo_cancel_wait_enter(fifo) argument 1119 #define sys_port_trace_k_fifo_cancel_wait_exit(fifo) argument 1126 #define sys_port_trace_k_fifo_put_enter(fifo, data) argument 1133 #define sys_port_trace_k_fifo_put_exit(fifo, data) argument 1140 #define sys_port_trace_k_fifo_alloc_put_enter(fifo, data) argument 1148 #define sys_port_trace_k_fifo_alloc_put_exit(fifo, data, ret) argument 1156 #define sys_port_trace_k_fifo_put_list_enter(fifo, head, tail) argument 1164 #define sys_port_trace_k_fifo_put_list_exit(fifo, head, tail) argument [all …]
|
/Zephyr-latest/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-latest/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 …]
|