Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/drivers/input/gpio_keys/src/
Dmain.c35 static int event_count; variable
42 event_count++; in test_gpio_keys_cb_handler()
65 zassert_equal(event_count, 0); in ZTEST()
69 zassert_equal(event_count, 1); in ZTEST()
77 zassert_equal(event_count, 1); in ZTEST()
81 zassert_equal(event_count, 2); in ZTEST()
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_peripheral_iso.c183 event_counter = cis_lll->event_count; in prepare_cb()
486 ((((cis_lll->event_count % 3U) < CONFIG_TEST_FT_PER_SKIP_EVENTS_COUNT) && in isr_rx()
488 (((cis_lll->event_count % 3U) < (CONFIG_TEST_FT_PER_SKIP_EVENTS_COUNT + 1U)) && in isr_rx()
548 cis_lll->event_count)) { in isr_rx()
605 iso_meta->timestamp -= (cis_lll->event_count - in isr_rx()
621 ((cis_lll->rx.payload_count / cis_lll->rx.bn) < cis_lll->event_count)) { in isr_rx()
785 event_counter = next_cis_lll->event_count; in isr_rx()
1025 event_counter = cis_lll->event_count; in isr_prepare_subevent_next_cis()
1245 (cis_lll->event_count + 1U)) || in payload_count_flush()
1247 (cis_lll->event_count + 1U)) && (u < se_curr))) && in payload_count_flush()
[all …]
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 …]
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/subsys/bluetooth/controller/ll_sw/
Dull_llcp_internal.h347 static inline bool is_instant_passed(uint16_t instant, uint16_t event_count) in is_instant_passed() argument
364 return ((instant - event_count) & 0xFFFFU) > 0x7FFFU; in is_instant_passed()
367 static inline bool is_instant_not_passed(uint16_t instant, uint16_t event_count) in is_instant_not_passed() argument
384 return ((instant - event_count) & 0xFFFFU) < 0x7FFFU; in is_instant_not_passed()
387 static inline bool is_instant_reached_or_passed(uint16_t instant, uint16_t event_count) in is_instant_reached_or_passed() argument
404 return ((event_count - instant) & 0xFFFFU) <= 0x7FFFU; in is_instant_reached_or_passed()
Dlll_conn_iso.h43 uint64_t event_count:39; /* cisEventCount */ member
Dull_iso.c1162 sdu.target_event = cis->lll.event_count + event_offset; in ll_iso_transmit_test_send_sdu()
1493 void ull_iso_lll_event_prepare(uint16_t handle, uint64_t event_count) in ull_iso_lll_event_prepare() argument
1506 isoal_tx_event_prepare(dp->source_hdl, event_count); in ull_iso_lll_event_prepare()
1521 isoal_tx_event_prepare(dp->source_hdl, event_count); in ull_iso_lll_event_prepare()
1579 uint64_t event_count; in iso_rx_cig_ref_point_update() local
1587 event_count = cis->lll.event_count; in iso_rx_cig_ref_point_update()
1595 if (meta->payload_number == (burst_number * event_count)) { in iso_rx_cig_ref_point_update()
Dull_conn_iso.c780 cis->lll.event_count += (lazy + 1U); in ull_conn_iso_ticker_cb()
783 cis->lll.event_count -= cis->lll.lazy_active; in ull_conn_iso_ticker_cb()
788 cis->lll.event_count); in ull_conn_iso_ticker_cb()
790 ull_iso_lll_event_prepare(cis->lll.handle, cis->lll.event_count); in ull_conn_iso_ticker_cb()
1044 cis->lll.event_count += lost_cig_events; in ull_conn_iso_start()
1625 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()
Dlll.h604 void ull_iso_lll_event_prepare(uint16_t handle, uint64_t event_count);
Dull_peripheral_iso.c333 cis->lll.event_count = LLL_CONN_ISO_EVENT_COUNT_MAX; in ull_peripheral_iso_setup()
Dull_adv_iso.c1514 uint64_t event_count; in ticker_cb() local
1520 event_count = adv_iso->lll.payload_count / adv_iso->lll.bn; in ticker_cb()
1524 ull_iso_lll_event_prepare(LL_BIS_ADV_HANDLE_FROM_IDX(stream_handle), event_count); in ticker_cb()
Dull_central_iso.c911 cis->lll.event_count = LLL_CONN_ISO_EVENT_COUNT_MAX; in ull_central_iso_setup()
1161 cis->lll.event_count--; in mfy_cis_offset_get()
/Zephyr-Core-3.7.0/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-Core-3.7.0/subsys/bluetooth/controller/hci/
Dhci.c5824 uint64_t event_count; local
5828 event_count = cis->lll.event_count + event_offset;
5829 pkt_seq_num = event_count + 1U;
5866 ((pkt_seq_num - event_count) *
5871 sdu_frag_tx.target_event = cis->lll.event_count + event_offset;
5962 uint64_t event_count; local
5966 event_count = target_event + event_offset;
5967 pkt_seq_num = event_count + 1U;
6016 event_count) *