Lines Matching refs:current_settings

42 static atomic_t current_settings;  variable
130 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING); in le_connected()
131 sev.current_settings = sys_cpu_to_le32(current_settings); in le_connected()
321 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_STATIC_ADDRESS); in controller_info()
333 rp->current_settings = sys_cpu_to_le32(current_settings); in controller_info()
482 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_POWERED); in set_powered()
490 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_POWERED); in set_powered()
492 rp->current_settings = sys_cpu_to_le32(current_settings); in set_powered()
506 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_CONNECTABLE); in set_connectable()
508 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_CONNECTABLE); in set_connectable()
511 rp->current_settings = sys_cpu_to_le32(current_settings); in set_connectable()
543 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING); in tester_gap_start_ext_adv()
559 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING); in tester_gap_stop_ext_adv()
574 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_DISCOVERABLE); in set_discoverable()
579 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_DISCOVERABLE); in set_discoverable()
584 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_DISCOVERABLE); in set_discoverable()
590 rp->current_settings = sys_cpu_to_le32(current_settings); in set_discoverable()
605 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_BONDABLE); in set_bondable()
607 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_BONDABLE); in set_bondable()
612 rp->current_settings = sys_cpu_to_le32(current_settings); in set_bondable()
625 atomic_set(&current_settings, *settings); in tester_gap_create_adv_instance()
628 if (atomic_test_bit(&current_settings, BTP_GAP_SETTINGS_CONNECTABLE)) { in tester_gap_create_adv_instance()
647 if (!atomic_test_bit(&current_settings, BTP_GAP_SETTINGS_PRIVACY)) { in tester_gap_create_adv_instance()
653 if (atomic_test_bit(&current_settings, BTP_GAP_SETTINGS_CONNECTABLE)) { in tester_gap_create_adv_instance()
662 if (IS_ENABLED(CONFIG_BT_EXT_ADV) && atomic_test_bit(&current_settings, in tester_gap_create_adv_instance()
749 if (atomic_test_bit(&current_settings, BTP_GAP_SETTINGS_EXTENDED_ADVERTISING)) {
765 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING);
766 rp->current_settings = sys_cpu_to_le32(current_settings);
806 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING);
807 rp->current_settings = sys_cpu_to_le32(current_settings);
826 atomic_clear_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING);
827 rp->current_settings = sys_cpu_to_le32(current_settings);
1387 atomic_set_bit(&current_settings,
1390 atomic_clear_bit(&current_settings,
1394 rp->current_settings = sys_cpu_to_le32(current_settings);
1457 current_settings = BIT(BTP_GAP_SETTINGS_DISCOVERABLE) |
1496 rp->current_settings = sys_cpu_to_le32(current_settings);
1511 if (!atomic_test_bit(&current_settings, BTP_GAP_SETTINGS_ADVERTISING)) {
1539 rp->current_settings = sys_cpu_to_le32(current_settings);
1576 rp->current_settings = sys_cpu_to_le32(current_settings);
1915 atomic_clear(&current_settings);
1916 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_POWERED);
1917 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_CONNECTABLE);
1918 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_BONDABLE);
1919 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_LE);
1921 atomic_set_bit(&current_settings, BTP_GAP_SETTINGS_PRIVACY);