/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/ |
D | cfg.c | 39 if (atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON) == beacon) { in bt_mesh_beacon_set() 52 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_beacon_set() 59 return atomic_test_bit(bt_mesh.flags, BT_MESH_BEACON); in bt_mesh_beacon_enabled() 69 if (atomic_test_bit(bt_mesh.flags, feature_flag) == in feature_set() 82 return atomic_test_bit(bt_mesh.flags, feature_flag) ? in feature_get() 107 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_priv_beacon_set() 159 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_od_priv_proxy_set() 200 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_gatt_proxy_set() 242 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_priv_gatt_proxy_set() 271 atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_default_ttl_set() [all …]
|
D | main.c | 56 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_provision() 71 atomic_test_bit(bt_mesh_cdb.flags, BT_MESH_CDB_VALID)) { in bt_mesh_provision() 268 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_adv() 288 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_gatt() 309 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_provision_remote() 329 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_reprovision_remote() 343 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID) || in bt_mesh_reset() 344 !atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in bt_mesh_reset() 419 return atomic_test_bit(bt_mesh.flags, BT_MESH_VALID); in bt_mesh_is_provisioned() 438 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_VALID)) { in bt_mesh_suspend() [all …]
|
D | prov_device.c | 68 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION)) { in prov_fail() 194 if (atomic_test_bit(bt_mesh_prov_link.flags, OOB_STATIC_KEY)) { in prov_start() 289 if (atomic_test_bit(bt_mesh_prov_link.flags, INPUT_COMPLETE)) { in public_key_sent() 297 if (atomic_test_bit(bt_mesh_prov_link.flags, WAIT_NUMBER) || in start_auth() 298 atomic_test_bit(bt_mesh_prov_link.flags, WAIT_STRING)) { in start_auth() 340 atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_dh_key_gen() 354 if (atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_dh_key_gen() 369 atomic_test_bit(bt_mesh_prov_link.flags, OOB_PUB_KEY)) { in prov_pub_key() 558 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION) && in prov_data() 578 atomic_test_bit(bt_mesh_prov_link.flags, REPROVISION)) { in prov_data() [all …]
|
D | settings.c | 86 if (!atomic_test_bit(bt_mesh.flags, BT_MESH_INIT)) { in mesh_commit() 90 if (!atomic_test_bit(bt_dev.flags, BT_DEV_ENABLE)) { in mesh_commit() 148 (atomic_test_bit(pending_flags, BT_MESH_SETTINGS_RPL_PENDING) || in bt_mesh_settings_store_schedule() 149 atomic_test_bit(pending_flags, BT_MESH_SETTINGS_SRPL_PENDING)) && in bt_mesh_settings_store_schedule()
|
D | pb_adv.c | 216 if (atomic_test_bit(link.flags, ADV_PROVISIONER)) { in reset_adv_link() 273 return atomic_test_bit(link.flags, ADV_ACK_PENDING); in ack_pending() 294 if (atomic_test_bit(link.flags, ADV_LINK_INVALID)) { in prov_msg_recv() 305 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in protocol_timeout() 433 if (!atomic_test_bit(link.flags, ADV_LINK_CLOSING)) { in gen_prov_ack() 533 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in gen_prov_ctl() 540 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in gen_prov_ctl() 575 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE) && in gen_prov_recv() 615 if (!atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in prov_retransmit() 762 if (atomic_test_bit(link.flags, ADV_LINK_ACTIVE)) { in link_open() [all …]
|
D | large_comp_data_srv.c | 65 if (atomic_test_bit(bt_mesh.flags, BT_MESH_COMP_DIRTY) && page < 128) { in handle_large_comp_data_get() 122 if (page >= 128U && atomic_test_bit(bt_mesh.flags, BT_MESH_METADATA_DIRTY)) { in handle_models_metadata_get() 134 if (atomic_test_bit(bt_mesh.flags, BT_MESH_METADATA_DIRTY) == (page == 0U)) { in handle_models_metadata_get()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | id.c | 80 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_id_check_func() 90 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_private_enabled() 91 !atomic_test_bit(adv->flags, BT_ADV_USE_IDENTITY)) { in adv_is_private_enabled() 101 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_limited_enabled() 102 atomic_test_bit(adv->flags, BT_ADV_LIMITED)) { in adv_is_limited_enabled() 109 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_pause_enabled() 170 if (!atomic_test_bit(adv->flags, BT_ADV_PARAMS_SET)) { in bt_id_set_adv_random_addr() 207 if (atomic_test_bit(adv->flags, BT_ADV_RPA_VALID) && in adv_rpa_expired() 225 if (!atomic_test_bit(adv->flags, BT_ADV_LIMITED) && in adv_rpa_invalidate() 226 !atomic_test_bit(adv->flags, BT_ADV_USE_IDENTITY)) { in adv_rpa_invalidate() [all …]
|
D | adv.c | 176 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_SD)) { in get_adv_name_type() 180 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_AD)) { in get_adv_name_type() 226 if (!atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in adv_new() 252 atomic_test_bit(adv_pool[handle].flags, BT_ADV_CREATED)) { in bt_adv_lookup_handle() 266 if (atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in bt_le_ext_adv_foreach() 566 if (!atomic_test_bit(adv->flags, BT_ADV_EXT_ADV) && in hci_set_adv_ext_complete() 657 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in hci_set_ad_ext() 857 if (!atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in bt_le_adv_update_data() 861 scannable = atomic_test_bit(adv->flags, BT_ADV_SCANNABLE); in bt_le_adv_update_data() 975 if (!atomic_test_bit(bt_dev.flags, BT_DEV_READY)) { in bt_le_adv_start_legacy() [all …]
|
D | smp.c | 377 if (atomic_test_bit(conn->flags, BT_CONN_FORCE_PAIR)) { in smp_keys_check() 414 if (!atomic_test_bit(smp->flags, SMP_FLAG_SC)) { in get_pair_method() 509 if (atomic_test_bit(smp->flags, SMP_FLAG_TIMEOUT)) { in smp_create_pdu() 554 !atomic_test_bit(smp->flags, SMP_FLAG_SC) && in update_keys_check() 574 !atomic_test_bit(smp->flags, SMP_FLAG_SC)) { in update_keys_check() 703 if (atomic_test_bit(smp->flags, SMP_FLAG_CT2)) { in sc_derive_link_key() 785 bool bond_flag = atomic_test_bit(smp->flags, SMP_FLAG_BOND); in smp_pairing_br_complete() 845 if (atomic_test_bit(smp->flags, SMP_FLAG_BR_PAIR)) { in bt_smp_br_connected() 908 if (atomic_test_bit(smp->flags, SMP_FLAG_CT2)) { in smp_br_derive_ltk() 955 if (atomic_test_bit(smp->flags, SMP_FLAG_TIMEOUT)) { in smp_br_create_pdu() [all …]
|
D | scan.c | 102 cp->filter_dup = atomic_test_bit(bt_dev.flags, in set_le_ext_scan_enable() 138 cp->filter_dup = atomic_test_bit(bt_dev.flags, in bt_le_scan_set_enable_legacy() 209 atomic_test_bit(bt_dev.flags, BT_DEV_SCAN_FILTERED)) { in start_le_scan_ext() 258 atomic_test_bit(bt_dev.flags, BT_DEV_SCAN_FILTERED)) { in start_le_scan_legacy() 320 if (atomic_test_bit(bt_dev.flags, BT_DEV_EXPLICIT_SCAN)) { in bt_le_scan_update() 324 if (atomic_test_bit(bt_dev.flags, BT_DEV_SCANNING)) { in bt_le_scan_update() 371 if (atomic_test_bit(bt_dev.flags, BT_DEV_EXPLICIT_SCAN)) { in check_pending_conn() 386 if (atomic_test_bit(bt_dev.flags, BT_DEV_SCANNING) && in check_pending_conn() 451 atomic_test_bit(bt_dev.flags, BT_DEV_EXPLICIT_SCAN) && in le_adv_recv() 708 if (!atomic_test_bit(per_adv_sync_pool[i].flags, in per_adv_sync_new() [all …]
|
D | hci_ecc.c | 177 bool use_debug = atomic_test_bit(flags, USE_DEBUG_KEY); in emulate_le_generate_dhkey() 214 if (atomic_test_bit(flags, PENDING_PUB_KEY)) { in ecc_process() 216 } else if (atomic_test_bit(flags, PENDING_DHKEY)) { in ecc_process() 239 if (atomic_test_bit(flags, PENDING_PUB_KEY)) { in le_gen_dhkey() 296 if (atomic_test_bit(flags, PENDING_DHKEY)) { in le_p256_pub_key()
|
D | direction.c | 394 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CTE_ENABLED)) { in hci_df_prepare_connectionless_iq_report() 442 if (!atomic_test_bit(per_adv_sync->flags, BT_PER_ADV_SYNC_CTE_ENABLED)) { in hci_df_vs_prepare_connectionless_iq_report() 690 if (!atomic_test_bit(conn->flags, BT_CONN_CTE_RX_ENABLED)) { in hci_df_prepare_connection_iq_report() 742 if (!atomic_test_bit(conn->flags, BT_CONN_CTE_RX_ENABLED)) { in hci_df_vs_prepare_connection_iq_report() 867 if (!atomic_test_bit(conn->flags, BT_CONN_CTE_REQ_ENABLED)) { in hci_df_prepare_conn_cte_req_failed() 975 if (!atomic_test_bit(adv->flags, BT_ADV_PARAMS_SET)) { in bt_df_set_adv_cte_tx_param() 979 if (atomic_test_bit(adv->flags, BT_PER_ADV_CTE_ENABLED)) { in bt_df_set_adv_cte_tx_param() 995 if (!atomic_test_bit(adv->flags, BT_PER_ADV_PARAMS_SET)) { in bt_df_set_adv_cte_tx_enabled() 999 if (!atomic_test_bit(adv->flags, BT_PER_ADV_CTE_PARAMS_SET)) { in bt_df_set_adv_cte_tx_enabled() 1003 if (enable == atomic_test_bit(adv->flags, BT_PER_ADV_CTE_ENABLED)) { in bt_df_set_adv_cte_tx_enabled() [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_iv_index.c | 70 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_recovery() 90 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_recovery() 110 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_normal() 123 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_normal() 143 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_deferring() 146 ASSERT_FALSE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in test_ivu_deferring()
|
D | test_beacon.c | 119 if (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_INITIATOR)) { in ivu_log() 123 if (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)) { in ivu_log() 127 if (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_PENDING)) { in ivu_log() 131 if (atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_TEST)) { in ivu_log() 138 ASSERT_TRUE(!atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_INITIATOR)); in tx_on_iv_update_test() 139 ASSERT_TRUE(!atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in tx_on_iv_update_test() 140 ASSERT_TRUE(!atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_PENDING)); in tx_on_iv_update_test() 141 ASSERT_TRUE(!atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_TEST)); in tx_on_iv_update_test() 148 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_TEST)); in tx_on_iv_update_test() 151 ASSERT_TRUE(atomic_test_bit(bt_mesh.flags, BT_MESH_IVU_IN_PROGRESS)); in tx_on_iv_update_test() [all …]
|
/Zephyr-Core-3.5.0/subsys/usb/usb_c/ |
D | usbc_timer.c | 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() 53 return atomic_test_bit(&usbc_timer->flags, TIMER_STARTED); in usbc_timer_running()
|
D | usbc_prl.c | 626 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_WAIT_SINK_OK) || in prl_tx_wait_for_message_request_run() 627 atomic_test_bit(&prl_tx->flags, PRL_FLAGS_SINK_NG)) { in prl_tx_wait_for_message_request_run() 732 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_TX_COMPLETE)) { in prl_tx_wait_for_phy_response_run() 743 atomic_test_bit(&prl_tx->flags, PRL_FLAGS_TX_ERROR)) { in prl_tx_wait_for_phy_response_run() 789 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT)) { in prl_tx_src_source_tx_run() 815 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_MSG_XMIT)) { in prl_tx_snk_start_ams_run() 860 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_FIRST_MSG_PENDING)) { in prl_tx_src_pending_run() 924 if (atomic_test_bit(&prl_tx->flags, PRL_FLAGS_FIRST_MSG_PENDING)) { in prl_tx_snk_pending_run() 992 if (atomic_test_bit(&prl_hr->flags, PRL_FLAGS_PE_HARD_RESET) || in prl_hr_wait_for_request_run() 993 atomic_test_bit(&prl_hr->flags, PRL_FLAGS_PORT_PARTNER_HARD_RESET)) { in prl_hr_wait_for_request_run() [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/host/ecc/bt_pub_key_gen/src/ |
D | main.c | 81 flags_check = atomic_test_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST() 123 flags_check = atomic_test_bit(bt_dev.flags, BT_DEV_HAS_PUB_KEY); in ZTEST() 126 flags_check = atomic_test_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY); in ZTEST() 162 flags_check = atomic_test_bit(bt_dev.flags, BT_DEV_PUB_KEY_BUSY); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 91 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in discover_cb() 108 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in ccid_cb() 125 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in status_flags_cb() 143 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in call_state_cb()
|
/Zephyr-Core-3.5.0/subsys/pm/ |
D | device_runtime.c | 53 if (!atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in runtime_suspend() 143 if (!atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_get() 169 if (atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_TURN_ON_FAILED)) { in pm_device_runtime_get() 259 if (!pm || !atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_AUTO)) { in pm_device_runtime_auto_enable() 285 if (atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_enable() 332 if (!atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_disable() 373 return pm && atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED); in pm_device_runtime_is_enabled()
|
D | device.c | 239 if (atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_BUSY)) { in pm_device_is_any_busy() 255 return atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_BUSY); in pm_device_is_busy() 313 return atomic_test_bit(&pm->flags, in pm_device_wakeup_is_enabled() 325 return atomic_test_bit(&pm->flags, in pm_device_wakeup_is_capable() 355 return atomic_test_bit(&pm->flags, in pm_device_state_is_locked() 411 atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_AUTO)) { in pm_device_driver_init()
|
/Zephyr-Core-3.5.0/tests/subsys/modem/modem_chat/src/ |
D | main.c | 351 zassert_true(atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_IMEI_CALLED_BIT) == true, in ZTEST() 423 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 429 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 448 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 454 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 469 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 474 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST() 508 called = atomic_test_bit(&callback_called, in ZTEST() 522 called = atomic_test_bit(&callback_called, in ZTEST() 540 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
|
/Zephyr-Core-3.5.0/drivers/console/ |
D | uart_console.c | 261 if (atomic_test_bit(&esc_state, ESC_ANSI_VAL)) { in handle_ansi() 263 if (atomic_test_bit(&esc_state, ESC_ANSI_VAL_2)) { in handle_ansi() 360 pkt_1 = atomic_test_bit(&esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte() 361 pkt_2 = atomic_test_bit(&esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte() 362 frag_1 = atomic_test_bit(&esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte() 363 frag_2 = atomic_test_bit(&esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte() 498 if (atomic_test_bit(&esc_state, ESC_ANSI)) { in uart_console_isr()
|
/Zephyr-Core-3.5.0/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/ |
D | main.c | 92 zassert_true(atomic_test_bit(bt_dev.flags, BT_DEV_RPA_VALID), in ZTEST() 127 zassert_true(atomic_test_bit(adv_param.flags, BT_ADV_RANDOM_ADDR_PENDING), in ZTEST() 134 zassert_true(atomic_test_bit(adv_param.flags, BT_ADV_RPA_VALID), in ZTEST()
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/ |
D | smp_shell.c | 92 pkt_1 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_PKT_1); in read_mcumgr_byte() 93 pkt_2 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_PKT_2); in read_mcumgr_byte() 94 frag_1 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_FRAG_1); in read_mcumgr_byte() 95 frag_2 = atomic_test_bit(&data->esc_state, ESC_MCUMGR_FRAG_2); in read_mcumgr_byte()
|
/Zephyr-Core-3.5.0/subsys/usb/device_next/class/ |
D | usbd_cdc_acm.c | 224 if (atomic_test_bit(&data->state, CDC_ACM_IRQ_RX_ENABLED)) { in usbd_cdc_acm_enable() 228 if (atomic_test_bit(&data->state, CDC_ACM_IRQ_TX_ENABLED)) { in usbd_cdc_acm_enable() 423 if (!atomic_test_bit(&data->state, CDC_ACM_CLASS_ENABLED)) { in cdc_acm_send_notification() 428 if (atomic_test_bit(&data->state, CDC_ACM_CLASS_SUSPENDED)) { in cdc_acm_send_notification() 461 if (!atomic_test_bit(&data->state, CDC_ACM_CLASS_ENABLED)) { in cdc_acm_tx_fifo_handler() 466 if (atomic_test_bit(&data->state, CDC_ACM_CLASS_SUSPENDED)) { in cdc_acm_tx_fifo_handler() 514 if (!atomic_test_bit(&data->state, CDC_ACM_CLASS_ENABLED) || in cdc_acm_rx_fifo_handler() 515 atomic_test_bit(&data->state, CDC_ACM_CLASS_SUSPENDED)) { in cdc_acm_rx_fifo_handler() 574 if (!atomic_test_bit(&data->state, CDC_ACM_RX_FIFO_BUSY)) { in cdc_acm_irq_rx_enable() 694 if (atomic_test_bit(&data->state, CDC_ACM_IRQ_RX_ENABLED) && in cdc_acm_irq_update() [all …]
|