Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/subsys/bluetooth/services/ots/
A Dots_dir_list_internal.h65 #define BT_OTS_DIR_LIST_SET_FLAG_TYPE_128(flags) \ argument
72 #define BT_OTS_DIR_LIST_SET_FLAG_CUR_SIZE(flags) \ argument
107 #define BT_OTS_DIR_LIST_SET_FLAG_EXTENDED(flags) \ argument
114 #define BT_OTS_DIR_LIST_GET_FLAG_TYPE_128(flags) \ argument
115 ((flags) & BIT(BT_OTS_DIR_LIST_FLAG_TYPE_128))
121 #define BT_OTS_DIR_LIST_GET_FLAG_CUR_SIZE(flags) \ argument
122 ((flags) & BIT(BT_OTS_DIR_LIST_FLAG_CUR_SIZE))
129 ((flags) & BIT(BT_OTS_DIR_LIST_FLAG_ALLOC_SIZE))
150 ((flags) & BIT(BT_OTS_DIR_LIST_FLAG_PROPERTIES))
156 #define BT_OTS_DIR_LIST_GET_FLAG_EXTENDED(flags) \ argument
[all …]
/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
A Dradio_nrf51.h51 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
53 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
114 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
117 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
124 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
131 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
138 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
145 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
152 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
159 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_sim_nrf52.h384 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
399 if (flags & 0x01) { in hal_radio_phy_mode_get()
481 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
492 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
503 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
527 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
534 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
556 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
578 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
600 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_sim_nrf5340.h423 if (flags & 0x01) { in hal_radio_phy_mode_get()
513 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
524 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
535 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
546 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
558 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
565 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
587 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
609 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
632 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52805.h239 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
241 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
306 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
308 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
321 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
335 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
342 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
355 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
368 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
382 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52810.h258 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
260 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
325 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
327 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
340 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
354 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
361 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
374 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
387 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
401 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52832.h256 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
258 ARG_UNUSED(flags); in hal_radio_phy_mode_get()
323 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
325 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_us_get()
338 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_us_get()
352 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_us_get()
359 ARG_UNUSED(flags); in hal_radio_rx_chain_delay_us_get()
372 ARG_UNUSED(flags); in hal_radio_tx_ready_delay_ns_get()
385 ARG_UNUSED(flags); in hal_radio_rx_ready_delay_ns_get()
399 ARG_UNUSED(flags); in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52820.h408 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
424 if (flags & 0x01) { in hal_radio_phy_mode_get()
504 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
515 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
535 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
555 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
575 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
595 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
615 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
635 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf5340.h415 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
439 if (flags & 0x01) { in hal_radio_phy_mode_get()
531 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
542 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
562 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
582 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
602 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
622 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
642 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
662 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52811.h419 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
435 if (flags & 0x01) { in hal_radio_phy_mode_get()
495 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
506 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
526 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
546 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
566 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
586 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
606 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
626 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52833.h418 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
434 if (flags & 0x01) { in hal_radio_phy_mode_get()
514 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
525 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
545 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
565 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
585 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
605 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
625 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
645 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf52840.h409 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
441 if (flags & 0x01) { in hal_radio_phy_mode_get()
528 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
539 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
559 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
579 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
599 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
619 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
639 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
659 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
A Dradio_nrf54lx.h418 static inline uint32_t hal_radio_phy_mode_get(uint8_t phy, uint8_t flags) in hal_radio_phy_mode_get() argument
434 if (flags & 0x01) { in hal_radio_phy_mode_get()
674 static inline uint32_t hal_radio_tx_ready_delay_us_get(uint8_t phy, uint8_t flags) in hal_radio_tx_ready_delay_us_get() argument
685 if (flags & 0x01) { in hal_radio_tx_ready_delay_us_get()
705 if (flags & 0x01) { in hal_radio_rx_ready_delay_us_get()
725 if (flags & 0x01) { in hal_radio_tx_chain_delay_us_get()
745 if (flags & 0x01) { in hal_radio_rx_chain_delay_us_get()
765 if (flags & 0x01) { in hal_radio_tx_ready_delay_ns_get()
785 if (flags & 0x01) { in hal_radio_rx_ready_delay_ns_get()
805 if (flags & 0x01) { in hal_radio_tx_chain_delay_ns_get()
[all …]
/subsys/bluetooth/mesh/
A Dmain.c46 uint8_t flags, uint32_t iv_index, uint16_t addr, in bt_mesh_provision() argument
55 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_provision()
65 if (atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision()
94 if (BT_MESH_KEY_REFRESH(flags)) { in bt_mesh_provision()
164 atomic_set_bit(bt_mesh.flags, BT_MESH_VALID); in bt_mesh_provision()
226 atomic_set_bit(bt_mesh.flags, BT_MESH_DEVKEY_CAND); in bt_mesh_dev_key_cand()
346 !atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_reset()
354 memset(bt_mesh.flags, 0, sizeof(bt_mesh.flags)); in bt_mesh_reset()
355 atomic_set_bit(bt_mesh.flags, BT_MESH_INIT); in bt_mesh_reset()
529 atomic_set_bit(bt_mesh.flags, BT_MESH_SUSPENDED); in bt_mesh_resume()
[all …]
A Dcfg.c51 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_beacon_set()
58 return atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON); in bt_mesh_beacon_enabled()
68 if (atomic_test_bit(bt_mesh.flags, feature_flag) == in feature_set()
73 atomic_set_bit_to(bt_mesh.flags, feature_flag, in feature_set()
81 return atomic_test_bit(bt_mesh.flags, feature_flag) ? in feature_get()
106 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_priv_beacon_set()
158 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_od_priv_proxy_set()
199 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_gatt_proxy_set()
410 atomic_set_bit(bt_mesh.flags, BT_MESH_RELAY); in bt_mesh_cfg_default_set()
414 atomic_set_bit(bt_mesh.flags, BT_MESH_BEACON); in bt_mesh_cfg_default_set()
[all …]
A Dadv_ext.c65 ATOMIC_DEFINE(flags, ADV_FLAGS_NUM);
174 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in adv_start()
185 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in adv_start()
194 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in adv_start()
260 atomic_clear_bit(ext_adv->flags, ADV_FLAG_PROXY); in stop_proxy_adv()
261 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in stop_proxy_adv()
327 atomic_clear_bit(ext_adv->flags, ADV_FLAG_PROXY); in start_proxy_sol_or_proxy_adv()
359 atomic_clear_bit(ext_adv->flags, ADV_FLAG_ACTIVE); in send_pending_adv()
360 atomic_clear_bit(ext_adv->flags, ADV_FLAG_PROXY); in send_pending_adv()
439 atomic_set_bit(ext_adv->flags, ADV_FLAG_SENT); in adv_sent()
[all …]
/subsys/usb/usb_c/
A Dusbc_timer.c21 atomic_set_bit(&usbc_timer->flags, TIMER_EXPIRED); in usbc_timer_handler()
33 atomic_clear_bit(&usbc_timer->flags, TIMER_EXPIRED); in usbc_timer_start()
34 atomic_set_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_start()
40 bool started = atomic_test_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_expired()
41 bool expired = atomic_test_bit(&usbc_timer->flags, TIMER_EXPIRED); in usbc_timer_expired()
44 atomic_clear_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_expired()
53 return atomic_test_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_running()
58 atomic_clear_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_stop()
A Dusbc_prl.c195 atomic_set_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT); in prl_send_ctrl_msg()
216 atomic_set_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT); in prl_send_data_msg()
377 atomic_set_bit(&prl_tx->flags, PRL_FLAGS_TX_ERROR); in alert_handler()
519 data->prl_tx->flags = ATOMIC_INIT(0); in prl_hr_send_msg_to_phy()
548 prl_hr->flags = ATOMIC_INIT(0); in prl_init()
553 prl_tx->flags = ATOMIC_INIT(0); in prl_init()
563 prl_rx->flags = ATOMIC_INIT(0); in prl_init()
598 prl_tx->flags = ATOMIC_INIT(0); in prl_tx_wait_for_message_request_entry()
981 prl_hr->flags = ATOMIC_INIT(0); in prl_hr_wait_for_request_entry()
1023 prl_rx->flags = ATOMIC_INIT(0); in prl_hr_reset_layer_entry()
[all …]
/subsys/pm/
A Ddevice_runtime.c148 atomic_clear_bit(&pm->base.flags, PM_DEVICE_FLAG_PD_CLAIMED); in runtime_suspend_work()
159 uint32_t flags = pm->base.flags; in get_sync_locked() local
162 if (flags & BIT(PM_DEVICE_FLAG_PD_CLAIMED)) { in get_sync_locked()
165 if (domain->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE)) { in get_sync_locked()
246 atomic_set_bit(&pm->base.flags, PM_DEVICE_FLAG_PD_CLAIMED); in pm_device_runtime_get()
310 uint32_t flags = pm->base.flags; in put_sync_locked() local
312 if (!(flags & BIT(PM_DEVICE_FLAG_RUNTIME_ENABLED))) { in put_sync_locked()
328 if (flags & BIT(PM_DEVICE_FLAG_PD_CLAIMED)) { in put_sync_locked()
331 if (domain->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE)) { in put_sync_locked()
427 pm->base.flags |= BIT(PM_DEVICE_FLAG_RUNTIME_ENABLED); in runtime_enable_sync()
[all …]
A Ddevice.c92 atomic_clear_bit(&pm->flags, PM_DEVICE_FLAG_PD_CLAIMED); in pm_device_action_run()
263 atomic_set_bit(&pm->flags, PM_DEVICE_FLAG_BUSY); in pm_device_busy_set()
274 atomic_clear_bit(&pm->flags, PM_DEVICE_FLAG_BUSY); in pm_device_busy_clear()
279 atomic_val_t flags, new_flags; in pm_device_wakeup_enable() local
286 flags = atomic_get(&pm->flags); in pm_device_wakeup_enable()
288 if ((flags & BIT(PM_DEVICE_FLAG_WS_CAPABLE)) == 0U) { in pm_device_wakeup_enable()
293 new_flags = flags | in pm_device_wakeup_enable()
296 new_flags = flags & ~BIT(PM_DEVICE_FLAG_WS_ENABLED); in pm_device_wakeup_enable()
299 return atomic_cas(&pm->flags, flags, new_flags); in pm_device_wakeup_enable()
310 return atomic_test_bit(&pm->flags, in pm_device_wakeup_is_enabled()
[all …]
/subsys/bluetooth/audio/
A Dpacs.c106 ATOMIC_DEFINE(flags, FLAG_NUM);
110 ATOMIC_DEFINE(flags, PACS_FLAG_NUM);
151 atomic_set_bit(pacs.clients[i].flags, bit); in pacs_set_notify_bit()
246 if (atomic_test_bit(pacs.flags, PACS_FLAG_SNK_PAC) && in pacs_get_available_contexts_for_conn()
466 uint16_t len, uint16_t offset, uint8_t flags) in snk_loc_write() argument
573 uint16_t len, uint16_t offset, uint8_t flags) in src_loc_write() argument
899 atomic_clear_bit(pacs.flags, PACS_FLAG_REGISTERED); in bt_pacs_unregister()
1029 atomic_clear_bit(pacs.flags, PACS_FLAG_NOTIFY_RDY); in pacs_gatt_notify_complete_cb()
1055 atomic_set_bit(pacs.flags, PACS_FLAG_NOTIFY_RDY); in pacs_gatt_notify()
1199 atomic_clear_bit(pacs.clients[i].flags, j); in pacs_bond_deleted()
[all …]
/subsys/rtio/
A Drtio_executor.c45 if (FIELD_GET(RTIO_SQE_CANCELED, iodev_sqe->sqe.flags)) { in rtio_iodev_submit()
75 if (iodev_sqe->sqe.flags & RTIO_SQE_CANCELED) { in rtio_executor_submit()
76 iodev_sqe->sqe.flags |= cancel_no_response; in rtio_executor_submit()
83 while (curr->sqe.flags & (RTIO_SQE_TRANSACTION | RTIO_SQE_CHAINED)) { in rtio_executor_submit()
85 bool transaction = iodev_sqe->sqe.flags & RTIO_SQE_TRANSACTION; in rtio_executor_submit()
86 bool chained = iodev_sqe->sqe.flags & RTIO_SQE_CHAINED; in rtio_executor_submit()
87 bool multishot = iodev_sqe->sqe.flags & RTIO_SQE_MULTISHOT; in rtio_executor_submit()
104 if (curr->sqe.flags & RTIO_SQE_CANCELED) { in rtio_executor_submit()
105 next->sqe.flags |= cancel_no_response; in rtio_executor_submit()
136 const bool is_canceled = FIELD_GET(RTIO_SQE_CANCELED, iodev_sqe->sqe.flags) == 1; in rtio_executor_handle_multishot()
[all …]
/subsys/portability/cmsis_rtos_v2/
A Dthread_flags.c16 uint32_t osThreadFlagsSet(osThreadId_t thread_id, uint32_t flags) in osThreadFlagsSet() argument
22 (flags & 0x80000000)) { in osThreadFlagsSet()
27 tid->signal_results |= flags; in osThreadFlagsSet()
57 uint32_t osThreadFlagsClear(uint32_t flags) in osThreadFlagsClear() argument
66 if (flags & 0x80000000) { in osThreadFlagsClear()
77 tid->signal_results &= ~(flags); in osThreadFlagsClear()
87 uint32_t osThreadFlagsWait(uint32_t flags, uint32_t options, uint32_t timeout) in osThreadFlagsWait() argument
99 if (flags & 0x80000000) { in osThreadFlagsWait()
112 sig = tid->signal_results & flags; in osThreadFlagsWait()
118 if (sig == flags) { in osThreadFlagsWait()
/subsys/bluetooth/host/
A Did.c90 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_id_check_func()
100 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_private_enabled()
111 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_limited_enabled()
112 atomic_test_bit(adv->flags, BT_ADV_LIMITED)) { in adv_is_limited_enabled()
119 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_pause_enabled()
120 atomic_set_bit(adv->flags, BT_ADV_PAUSED); in adv_pause_enabled()
246 atomic_clear_bit(adv->flags, BT_ADV_RPA_VALID); in adv_rpa_expired()
271 atomic_clear_bit(adv->flags, BT_ADV_RPA_VALID); in adv_rpa_clear_data()
461 atomic_set_bit(adv->flags, BT_ADV_RPA_VALID); in bt_id_set_adv_private_addr()
471 atomic_set_bit(adv->flags, BT_ADV_RPA_VALID); in bt_id_set_adv_private_addr()
[all …]
A Dsmp.c156 ATOMIC_DEFINE(flags, SMP_NUM_FLAGS);
265 ATOMIC_DEFINE(flags, SMP_NUM_FLAGS);
796 if ((link_key->flags & BT_LINK_KEY_SC) && ((keys->flags & BT_KEYS_SC) == 0)) { in ltk_derive_link_key_allowed()
862 link_key->flags |= BT_LINK_KEY_SC; in sc_derive_link_key()
864 link_key->flags &= ~BT_LINK_KEY_SC; in sc_derive_link_key()
888 atomic_set(smp->flags, 0); in smp_br_reset()
1129 keys->flags |= BT_KEYS_AUTHENTICATED; in smp_br_derive_ltk()
1135 keys->flags |= BT_KEYS_SC; in smp_br_derive_ltk()
1137 keys->flags &= ~BT_KEYS_SC; in smp_br_derive_ltk()
1887 atomic_set(smp->flags, 0); in smp_reset()
[all …]

Completed in 971 milliseconds

12345678910>>...14