Home
last modified time | relevance | path

Searched refs:adv_instance (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/net/bluetooth/
Dhci_core.c1619 struct adv_info *adv_instance; in hci_find_adv_instance() local
1621 list_for_each_entry(adv_instance, &hdev->adv_instances, list) { in hci_find_adv_instance()
1622 if (adv_instance->instance == instance) in hci_find_adv_instance()
1623 return adv_instance; in hci_find_adv_instance()
1649 struct adv_info *adv_instance; in hci_remove_adv_instance() local
1651 adv_instance = hci_find_adv_instance(hdev, instance); in hci_remove_adv_instance()
1652 if (!adv_instance) in hci_remove_adv_instance()
1665 cancel_delayed_work_sync(&adv_instance->rpa_expired_cb); in hci_remove_adv_instance()
1667 list_del(&adv_instance->list); in hci_remove_adv_instance()
1668 kfree(adv_instance); in hci_remove_adv_instance()
[all …]
Dhci_sync.c533 struct adv_info *adv_instance, *n, *next_instance = NULL; in hci_clear_adv_instance_sync() local
549 list_for_each_entry_safe(adv_instance, n, &hdev->adv_instances, in hci_clear_adv_instance_sync()
551 if (!(force || adv_instance->timeout)) in hci_clear_adv_instance_sync()
554 rem_inst = adv_instance->instance; in hci_clear_adv_instance_sync()
560 adv_instance = hci_find_adv_instance(hdev, instance); in hci_clear_adv_instance_sync()
562 if (force || (adv_instance && adv_instance->timeout && in hci_clear_adv_instance_sync()
563 !adv_instance->remaining_time)) { in hci_clear_adv_instance_sync()
1488 struct adv_info *adv_instance; in hci_enable_advertising_sync() local
1501 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in hci_enable_advertising_sync()
1535 if (adv_instance) { in hci_enable_advertising_sync()
[all …]
Dmgmt.c3770 struct adv_info *adv_instance; in adv_expire_sync() local
3772 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in adv_expire_sync()
3773 if (!adv_instance) in adv_expire_sync()
3777 if (!(adv_instance->flags & flags)) in adv_expire_sync()
3782 adv_instance = hci_get_next_instance(hdev, adv_instance->instance); in adv_expire_sync()
3783 if (!adv_instance) in adv_expire_sync()
3786 hci_schedule_adv_instance_sync(hdev, adv_instance->instance, true); in adv_expire_sync()
6341 struct adv_info *adv_instance; in set_advertising_complete() local
6372 adv_instance = list_first_entry_or_null(&hdev->adv_instances, in set_advertising_complete()
6374 if (!adv_instance) in set_advertising_complete()
[all …]
Dhci_event.c2179 struct adv_info *adv_instance; in hci_cc_set_ext_adv_param() local
2196 adv_instance = hci_find_adv_instance(hdev, cp->handle); in hci_cc_set_ext_adv_param()
2197 if (adv_instance) in hci_cc_set_ext_adv_param()
2198 adv_instance->tx_power = rp->tx_power; in hci_cc_set_ext_adv_param()
2783 hdev->cur_adv_instance = conn->adv_instance; in hci_cs_disconnect()
3459 hdev->cur_adv_instance = conn->adv_instance; in hci_disconn_complete_evt()
5918 conn->adv_instance = hdev->cur_adv_instance; in le_conn_complete_evt()
6046 conn->adv_instance = ev->handle; in hci_le_ext_adv_term_evt()
/linux-6.1.9/include/net/bluetooth/
Dhci_sync.h56 bool use_rpa, struct adv_info *adv_instance,
Dhci_core.h692 __u8 adv_instance; member