Lines Matching refs:fifo
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); \
2539 #define k_fifo_put(fifo, data) \ argument
2541 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put, fifo, data); \
2542 k_queue_append(&(fifo)->_queue, data); \
2543 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put, fifo, data); \
2562 #define k_fifo_alloc_put(fifo, data) \ argument
2564 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, alloc_put, fifo, data); \
2565 int fap_ret = k_queue_alloc_append(&(fifo)->_queue, data); \
2566 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, alloc_put, fifo, data, fap_ret); \
2584 #define k_fifo_put_list(fifo, head, tail) \ argument
2586 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put_list, fifo, head, tail); \
2587 k_queue_append_list(&(fifo)->_queue, head, tail); \
2588 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put_list, fifo, head, tail); \
2604 #define k_fifo_put_slist(fifo, list) \ argument
2606 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, put_slist, fifo, list); \
2607 k_queue_merge_slist(&(fifo)->_queue, list); \
2608 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, put_slist, fifo, list); \
2628 #define k_fifo_get(fifo, timeout) \ argument
2630 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, get, fifo, timeout); \
2631 void *fg_ret = k_queue_get(&(fifo)->_queue, timeout); \
2632 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, get, fifo, timeout, fg_ret); \
2649 #define k_fifo_is_empty(fifo) \ argument
2650 k_queue_is_empty(&(fifo)->_queue)
2665 #define k_fifo_peek_head(fifo) \ argument
2667 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, peek_head, fifo); \
2668 void *fph_ret = k_queue_peek_head(&(fifo)->_queue); \
2669 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, peek_head, fifo, fph_ret); \
2684 #define k_fifo_peek_tail(fifo) \ argument
2686 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_fifo, peek_tail, fifo); \
2687 void *fpt_ret = k_queue_peek_tail(&(fifo)->_queue); \
2688 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_fifo, peek_tail, fifo, fpt_ret); \
5822 struct k_fifo *fifo, *typed_K_POLL_TYPE_FIFO_DATA_AVAILABLE; member