Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/kernel/
Dpoll.c218 int num_events, in clear_event_registrations() argument
221 while (num_events--) { in clear_event_registrations()
222 clear_event_registration(&events[num_events]); in clear_event_registrations()
235 int num_events, in register_events() argument
241 for (int ii = 0; ii < num_events; ii++) { in register_events()
288 int z_impl_k_poll(struct k_poll_event *events, int num_events, in z_impl_k_poll() argument
300 __ASSERT(num_events >= 0, "<0 events\n"); in z_impl_k_poll()
304 events_registered = register_events(events, num_events, poller, in z_impl_k_poll()
357 int num_events, k_timeout_t timeout) in z_vrfy_k_poll() argument
367 if (K_SYSCALL_VERIFY(num_events >= 0)) { in z_vrfy_k_poll()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv_legacy.c47 static int bt_data_send(uint8_t num_events, uint16_t adv_int, in bt_data_send() argument
72 duration = adv_int + num_events * (adv_int + 10); in bt_data_send()
86 num_events, adv_int, duration); in bt_data_send()
126 int bt_mesh_adv_bt_data_send(uint8_t num_events, uint16_t adv_int, in bt_mesh_adv_bt_data_send() argument
129 return bt_data_send(num_events, adv_int, ad, ad_len, NULL); in bt_mesh_adv_bt_data_send()
134 uint16_t num_events = BT_MESH_TRANSMIT_COUNT(adv->ctx.xmit) + 1; in adv_send() local
147 bt_data_send(num_events, adv_int, &ad, 1, &adv->ctx); in adv_send()
Dadv_ext.c204 static int bt_data_send(struct bt_mesh_ext_adv *ext_adv, uint8_t num_events, uint16_t adv_interval, in bt_data_send() argument
208 .num_events = num_events, in bt_data_send()
225 uint8_t num_events = BT_MESH_TRANSMIT_COUNT(adv->ctx.xmit) + 1; in adv_send() local
232 duration = num_events * (adv_int + 10); in adv_send()
237 num_events, adv_int, duration); in adv_send()
243 err = bt_data_send(ext_adv, num_events, adv_int, &ad, 1); in adv_send()
584 int bt_mesh_adv_bt_data_send(uint8_t num_events, uint16_t adv_interval, in bt_mesh_adv_bt_data_send() argument
587 return bt_data_send(advs, num_events, adv_interval, ad, ad_len); in bt_mesh_adv_bt_data_send()
Dadv.h123 int bt_mesh_adv_bt_data_send(uint8_t num_events, uint16_t adv_interval,
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dperipheral.c36 uint8_t num_events = 0; in start_adv() local
41 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/adv/long_ad/src/
Dadvertiser.c43 uint8_t num_events = 0; in start_adv() local
48 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dperipheral.c72 int8_t num_events = 0; in start_adv() local
77 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dperipheral.c83 int8_t num_events = 0; in start_adv() local
88 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dperipheral_ead.c147 uint8_t num_events = 0; in start_adv() local
152 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/
Dtest_undirected_peripheral.c254 uint8_t num_events = 0; in start_adv() local
259 start_params.num_events = num_events; in start_adv()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/
Dcommon.c34 .num_events = 0,
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c41 .num_events = 0,
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c324 ext_adv_param.num_events = 0; in test_advx_main()
358 ext_adv_param.num_events = 0; in test_advx_main()
416 ext_adv_param.num_events = 3; in test_advx_main()
441 ext_adv_param.num_events = 0; in test_advx_main()
466 ext_adv_param.num_events = 3; in test_advx_main()
487 ext_adv_param.num_events); in test_advx_main()
516 ext_adv_param.num_events = 0; in test_advx_main()
532 ext_adv_param.num_events); in test_advx_main()
553 ext_adv_param.num_events = 5; in test_advx_main()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Dtester.c118 start_params.num_events = 0; in start_advertising()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h1176 .num_events = (_n_evts), \
1319 uint8_t num_events; member
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll.h345 uint8_t num_events; member
Dull_peripheral.c343 rx->rx_ftr.param_adv_term.num_events = 0U;
Dull_adv.c2104 rx->rx_ftr.param_adv_term.num_events = adv->event_counter;
2642 rx->rx_ftr.param_adv_term.num_events = adv->event_counter;
/Zephyr-latest/include/zephyr/
Dkernel.h4407 int num_events; member
4485 int num_events,
4521 int num_events,
5990 __syscall int k_poll(struct k_poll_event *events, int num_events,
/Zephyr-latest/subsys/bluetooth/host/
Dadv.c369 net_buf_add_u8(buf, param ? param->num_events : 0); in bt_le_adv_set_enable_ext()
1277 .num_events = 0, in bt_le_adv_start_ext()
1660 (param->timeout > 0 || param->num_events > 0)); in bt_le_ext_adv_start()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c2417 uint8_t num_events = 0; in cmd_adv_start() local
2442 num_events = strtoul(argv[argn], NULL, 16); in cmd_adv_start()
2447 param.num_events = num_events; in cmd_adv_start()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c8152 node_rx->rx_ftr.param_adv_term.num_events;