Searched refs:adv_instance (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/bluetooth/ |
D | hci_core.c | 1620 struct adv_info *adv_instance; in hci_find_adv_instance() local 1622 list_for_each_entry(adv_instance, &hdev->adv_instances, list) { in hci_find_adv_instance() 1623 if (adv_instance->instance == instance) in hci_find_adv_instance() 1624 return adv_instance; in hci_find_adv_instance() 1650 struct adv_info *adv_instance; in hci_remove_adv_instance() local 1652 adv_instance = hci_find_adv_instance(hdev, instance); in hci_remove_adv_instance() 1653 if (!adv_instance) in hci_remove_adv_instance() 1666 cancel_delayed_work_sync(&adv_instance->rpa_expired_cb); in hci_remove_adv_instance() 1668 list_del(&adv_instance->list); in hci_remove_adv_instance() 1669 kfree(adv_instance); in hci_remove_adv_instance() [all …]
|
D | hci_sync.c | 530 struct adv_info *adv_instance, *n, *next_instance = NULL; in hci_clear_adv_instance_sync() local 546 list_for_each_entry_safe(adv_instance, n, &hdev->adv_instances, in hci_clear_adv_instance_sync() 548 if (!(force || adv_instance->timeout)) in hci_clear_adv_instance_sync() 551 rem_inst = adv_instance->instance; in hci_clear_adv_instance_sync() 557 adv_instance = hci_find_adv_instance(hdev, instance); in hci_clear_adv_instance_sync() 559 if (force || (adv_instance && adv_instance->timeout && in hci_clear_adv_instance_sync() 560 !adv_instance->remaining_time)) { in hci_clear_adv_instance_sync() 1517 struct adv_info *adv_instance; in hci_enable_advertising_sync() local 1530 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in hci_enable_advertising_sync() 1564 if (adv_instance) { in hci_enable_advertising_sync() [all …]
|
D | mgmt.c | 3784 struct adv_info *adv_instance; in adv_expire_sync() local 3786 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in adv_expire_sync() 3787 if (!adv_instance) in adv_expire_sync() 3791 if (!(adv_instance->flags & flags)) in adv_expire_sync() 3796 adv_instance = hci_get_next_instance(hdev, adv_instance->instance); in adv_expire_sync() 3797 if (!adv_instance) in adv_expire_sync() 3800 hci_schedule_adv_instance_sync(hdev, adv_instance->instance, true); in adv_expire_sync() 6349 struct adv_info *adv_instance; in set_advertising_complete() local 6380 adv_instance = list_first_entry_or_null(&hdev->adv_instances, in set_advertising_complete() 6382 if (!adv_instance) in set_advertising_complete() [all …]
|
D | hci_event.c | 2208 struct adv_info *adv_instance; in hci_cc_set_ext_adv_param() local 2225 adv_instance = hci_find_adv_instance(hdev, cp->handle); in hci_cc_set_ext_adv_param() 2226 if (adv_instance) in hci_cc_set_ext_adv_param() 2227 adv_instance->tx_power = rp->tx_power; in hci_cc_set_ext_adv_param() 2802 hdev->cur_adv_instance = conn->adv_instance; in hci_cs_disconnect() 3477 hdev->cur_adv_instance = conn->adv_instance; in hci_disconn_complete_evt() 5998 conn->adv_instance = hdev->cur_adv_instance; in le_conn_complete_evt() 6126 conn->adv_instance = ev->handle; in hci_le_ext_adv_term_evt()
|
/linux-6.6.21/include/net/bluetooth/ |
D | hci_sync.h | 61 bool use_rpa, struct adv_info *adv_instance,
|
D | hci_core.h | 705 __u8 adv_instance; member
|