Lines Matching refs:fifo_timeout
56 static struct k_fifo fifo_timeout[2]; variable
60 {0, &fifo_timeout[0], 20, 2, 0},
61 {0, &fifo_timeout[0], 40, 4, 1},
62 {0, &fifo_timeout[0], 0, 0, 2},
63 {0, &fifo_timeout[0], 10, 1, 3},
64 {0, &fifo_timeout[0], 30, 3, 4},
68 {0, &fifo_timeout[1], 0, 0, 0},
69 {0, &fifo_timeout[0], 30, 3, 1},
70 {0, &fifo_timeout[0], 50, 5, 2},
71 {0, &fifo_timeout[1], 80, 8, 3},
72 {0, &fifo_timeout[1], 70, 7, 4},
73 {0, &fifo_timeout[0], 10, 1, 5},
74 {0, &fifo_timeout[0], 60, 6, 6},
75 {0, &fifo_timeout[0], 20, 2, 7},
76 {0, &fifo_timeout[1], 40, 4, 8},
276 !!k_fifo_get(&fifo_timeout[0], K_NO_WAIT); in test_thread_timeout_reply_values()
286 !!k_fifo_get(&fifo_timeout[0], K_FOREVER); in test_thread_timeout_reply_values_wfe()
310 packet = k_fifo_get(&fifo_timeout[0], K_MSEC(timeout)); in ZTEST()
315 packet = k_fifo_get(&fifo_timeout[0], K_NO_WAIT); in ZTEST()
323 ZTEST(fifo_timeout, test_timeout_non_empty_fifo) in ZTEST() argument
329 k_fifo_put(&fifo_timeout[0], scratch_packet); in ZTEST()
330 packet = k_fifo_get(&fifo_timeout[0], K_NO_WAIT); in ZTEST()
336 k_fifo_put(&fifo_timeout[0], scratch_packet); in ZTEST()
337 packet = k_fifo_get(&fifo_timeout[0], K_FOREVER); in ZTEST()
368 test_thread_put_timeout, &fifo_timeout[0], in ZTEST()
372 packet = k_fifo_get(&fifo_timeout[0], K_MSEC(timeout + 10)); in ZTEST()
400 k_fifo_put(&fifo_timeout[0], scratch_packet); in ZTEST()
420 k_fifo_put(&fifo_timeout[0], scratch_packet); in ZTEST()
502 k_fifo_init(&fifo_timeout[0]); in test_timeout_setup()
503 k_fifo_init(&fifo_timeout[1]); in test_timeout_setup()
520 ZTEST_SUITE(fifo_timeout, NULL, test_timeout_setup, NULL, NULL, NULL);