Home
last modified time | relevance | path

Searched refs:event_count (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/tests/subsys/input/double_tap/src/
Dmain.c20 static int event_count; variable
25 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb()
27 event_count++; in test_cb()
35 zassert_equal(event_count, 0); in ZTEST()
40 zassert_equal(event_count, 0); in ZTEST()
43 zassert_equal(event_count, 0); in ZTEST()
53 zassert_equal(event_count, 2); in ZTEST()
69 zassert_equal(event_count, 4); in ZTEST()
/Zephyr-latest/tests/drivers/input/gpio_keys/src/
Dmain.c36 static int event_count; variable
43 event_count++; in test_gpio_keys_cb_handler()
66 zassert_equal(event_count, 0); in ZTEST()
70 zassert_equal(event_count, 1); in ZTEST()
78 zassert_equal(event_count, 1); in ZTEST()
82 zassert_equal(event_count, 2); in ZTEST()
/Zephyr-latest/tests/subsys/input/longpress/src/
Dmain.c22 static int event_count; variable
27 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb()
29 event_count++; in test_cb()
49 zassert_equal(event_count, 0); in ZTEST()
54 zassert_equal(event_count, 0); in ZTEST()
58 zassert_equal(event_count, 0); in ZTEST()
65 zassert_equal(event_count, 2); in ZTEST()
78 zassert_equal(event_count, 4); in ZTEST()
91 zassert_equal(event_count, 6); in ZTEST()
111 zassert_equal(event_count, 8); in ZTEST()
/Zephyr-latest/tests/net/dhcpv4/client/src/
Dmain.c480 static int event_count; variable
494 event_count++; in receiver_cb()
513 event_count++; in option_domain_cb()
535 event_count++; in option_pop3_cb()
563 event_count++; in vendor_specific_string_cb()
578 event_count++; in vendor_specific_byte_cb()
592 event_count++; in vendor_specific_empty_cb()
680 while (event_count < 16) {
682 while (event_count < 10) {
684 while (event_count < 5) {
/Zephyr-latest/include/zephyr/drivers/misc/timeaware_gpio/
Dtimeaware_gpio.h60 uint64_t *event_count);
175 uint64_t *event_count);
178 uint64_t *timestamp, uint64_t *event_count) in z_impl_tgpio_pin_read_ts_ec() argument
182 return api->read_ts_ec(dev, pin, timestamp, event_count); in z_impl_tgpio_pin_read_ts_ec()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_central_iso.c166 event_counter = cis_lll->event_count; in prepare_cb()
597 event_counter = next_cis_lll->event_count; in isr_tx()
687 ((((cis_lll->event_count % 3U) < CONFIG_TEST_FT_CEN_SKIP_EVENTS_COUNT) && in isr_rx()
690 (((cis_lll->event_count % 3U) < (CONFIG_TEST_FT_CEN_SKIP_EVENTS_COUNT + 1U)) && in isr_rx()
719 ((cis_lll->tx.payload_count / cis_lll->tx.bn) < cis_lll->event_count)) { in isr_rx()
774 iso_meta->timestamp -= (cis_lll->event_count - in isr_rx()
790 ((cis_lll->rx.payload_count / cis_lll->rx.bn) < cis_lll->event_count)) { in isr_rx()
846 event_counter = next_cis_lll->event_count; in isr_rx()
1128 (cis_lll->event_count + 1U)) && (u <= se_curr) && in payload_count_flush()
1130 ((cis_lll->tx.payload_count / cis_lll->tx.bn) <= cis_lll->event_count)) || in payload_count_flush()
[all …]
Dlll_peripheral_iso.c168 event_counter = cis_lll->event_count; in prepare_cb()
496 ((((cis_lll->event_count % 3U) < CONFIG_TEST_FT_PER_SKIP_EVENTS_COUNT) && in isr_rx()
498 (((cis_lll->event_count % 3U) < (CONFIG_TEST_FT_PER_SKIP_EVENTS_COUNT + 1U)) && in isr_rx()
558 cis_lll->event_count)) { in isr_rx()
615 iso_meta->timestamp -= (cis_lll->event_count - in isr_rx()
631 ((cis_lll->rx.payload_count / cis_lll->rx.bn) < cis_lll->event_count)) { in isr_rx()
795 event_counter = next_cis_lll->event_count; in isr_rx()
1035 event_counter = cis_lll->event_count; in isr_prepare_subevent_next_cis()
1255 (cis_lll->event_count + 1U)) || in payload_count_flush()
1257 (cis_lll->event_count + 1U)) && (u < se_curr))) && in payload_count_flush()
[all …]
/Zephyr-latest/drivers/misc/timeaware_gpio/
Dtimeaware_gpio_handlers.c54 uint64_t *timestamp, uint64_t *event_count) in z_vrfy_tgpio_pin_read_ts_ec() argument
58 (uint64_t *)event_count); in z_vrfy_tgpio_pin_read_ts_ec()
Dtimeaware_gpio_intel.c177 uint64_t *event_count) in tgpio_intel_read_ts_ec() argument
185 *event_count = sys_read32(regs(dev) + ECCV31_0); in tgpio_intel_read_ts_ec()
186 *event_count += ((uint64_t)sys_read32(regs(dev) + ECCV63_32) << UINT32_SIZE); in tgpio_intel_read_ts_ec()
/Zephyr-latest/tests/lib/p4workq/src/
Dmain.c32 static int event_count; variable
86 if (event_count++ >= MAX_EVENTS) { in stress_handler()
116 zassert_true(event_count > 1, "stress tests didn't run"); in ZTEST()
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/
Dmain.c90 int event_count; member
96 zassert_equal(last_checked_event_count, test_event_data.event_count);
100 zassert_equal(last_checked_event_count, test_event_data.event_count); \
126 test_event_data.event_count++; in test_cb()
128 test_event_data.event_count, row, col, val); in test_cb()
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/
Dmain.c182 int event_count; member
188 zassert_equal(last_checked_event_count, test_event_data.event_count);
192 zassert_equal(last_checked_event_count, test_event_data.event_count); \
218 test_event_data.event_count++; in test_cb()
220 test_event_data.event_count, row, col, val); in test_cb()
/Zephyr-latest/tests/net/socket/net_mgmt/src/
Dmain.c400 int event_count = 2; in test_net_mgmt_catch_events() local
403 while (event_count > 0) { in test_net_mgmt_catch_events()
433 event_count--; in test_net_mgmt_catch_events()
444 event_count--; in test_net_mgmt_catch_events()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_conn_iso.h48 uint64_t event_count:39; /* cisEventCount */ member
Dull_llcp_internal.h373 static inline bool is_instant_passed(uint16_t instant, uint16_t event_count) in is_instant_passed() argument
390 return ((instant - event_count) & 0xFFFFU) > 0x7FFFU; in is_instant_passed()
393 static inline bool is_instant_not_passed(uint16_t instant, uint16_t event_count) in is_instant_not_passed() argument
410 return ((instant - event_count) & 0xFFFFU) < 0x7FFFU; in is_instant_not_passed()
413 static inline bool is_instant_reached_or_passed(uint16_t instant, uint16_t event_count) in is_instant_reached_or_passed() argument
430 return ((event_count - instant) & 0xFFFFU) <= 0x7FFFU; in is_instant_reached_or_passed()
Dull_iso.c1170 sdu.target_event = cis->lll.event_count + event_offset; in ll_iso_transmit_test_send_sdu()
1506 void ull_iso_lll_event_prepare(uint16_t handle, uint64_t event_count) in ull_iso_lll_event_prepare() argument
1519 isoal_tx_event_prepare(dp->source_hdl, event_count); in ull_iso_lll_event_prepare()
1534 isoal_tx_event_prepare(dp->source_hdl, event_count); in ull_iso_lll_event_prepare()
1592 uint64_t event_count; in iso_rx_cig_ref_point_update() local
1600 event_count = cis->lll.event_count; in iso_rx_cig_ref_point_update()
1608 if (meta->payload_number == (burst_number * event_count)) { in iso_rx_cig_ref_point_update()
Dull_conn_iso.c714 cis->lll.event_count += (lazy + 1U); in ull_conn_iso_ticker_cb()
717 cis->lll.event_count -= cis->lll.lazy_active; in ull_conn_iso_ticker_cb()
722 cis->lll.event_count); in ull_conn_iso_ticker_cb()
724 ull_iso_lll_event_prepare(cis->lll.handle, cis->lll.event_count); in ull_conn_iso_ticker_cb()
978 cis->lll.event_count += lost_cig_events; in ull_conn_iso_start()
1523 sdu_counter = DIV_ROUND_UP((cis->lll.event_count + 1U) * iso_interval, in ull_conn_iso_transmit_test_cig_interval()
Disoal.c2727 uint64_t event_count) in isoal_tx_framed_event_prepare_handle() argument
2745 first_event_payload = (session->burst_number * event_count); in isoal_tx_framed_event_prepare_handle()
2746 last_event_payload = (session->burst_number * (event_count + 1ULL)) - 1ULL; in isoal_tx_framed_event_prepare_handle()
2914 uint64_t event_count) in isoal_tx_event_prepare() argument
2925 source->timeout_event_count = event_count; in isoal_tx_event_prepare()
2934 isoal_tx_framed_event_prepare_handle(source_hdl, event_count); in isoal_tx_event_prepare()
Dull_peripheral_iso.c336 cis->lll.event_count = LLL_CONN_ISO_EVENT_COUNT_MAX; in ull_peripheral_iso_setup()
Dlll.h631 void ull_iso_lll_event_prepare(uint16_t handle, uint64_t event_count);
Dull_adv_iso.c1517 uint64_t event_count; in ticker_cb() local
1523 event_count = adv_iso->lll.payload_count / adv_iso->lll.bn; in ticker_cb()
1527 ull_iso_lll_event_prepare(LL_BIS_ADV_HANDLE_FROM_IDX(stream_handle), event_count); in ticker_cb()
Dull_central_iso.c932 cis->lll.event_count = LLL_CONN_ISO_EVENT_COUNT_MAX; in ull_central_iso_setup()
1199 cis->lll.event_count--; in mfy_cis_offset_get()
/Zephyr-latest/tests/net/conn_mgr_conn/src/
Dmain.c90 int event_count; member
108 test_event_stats.event_count += 1; in conn_mgr_conn_handler()
142 test_event_stats.event_count = 0; in conn_mgr_conn_before()
570 zassert_equal(stats.event_count, 1, in ZTEST()
601 zassert_equal(stats.event_count, 1, in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6006 uint64_t event_count; local
6010 event_count = cis->lll.event_count + event_offset;
6011 pkt_seq_num = event_count + 1U;
6048 ((pkt_seq_num - event_count) *
6053 sdu_frag_tx.target_event = cis->lll.event_count + event_offset;
6144 uint64_t event_count; local
6148 event_count = target_event + event_offset;
6149 pkt_seq_num = event_count + 1U;
6198 event_count) *