Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/bluetooth/
Dhci_request.c1113 struct adv_info *adv_instance; in get_adv_instance_scan_rsp_len() local
1119 adv_instance = hci_find_adv_instance(hdev, instance); in get_adv_instance_scan_rsp_len()
1120 if (!adv_instance) in get_adv_instance_scan_rsp_len()
1123 if (adv_instance->flags & MGMT_ADV_FLAG_APPEARANCE || in get_adv_instance_scan_rsp_len()
1124 adv_instance->flags & MGMT_ADV_FLAG_LOCAL_NAME) in get_adv_instance_scan_rsp_len()
1127 return adv_instance->scan_rsp_len; in get_adv_instance_scan_rsp_len()
1375 struct adv_info *adv_instance; in get_cur_adv_instance_scan_rsp_len() local
1381 adv_instance = hci_find_adv_instance(hdev, instance); in get_cur_adv_instance_scan_rsp_len()
1382 if (!adv_instance) in get_cur_adv_instance_scan_rsp_len()
1388 return adv_instance->scan_rsp_len; in get_cur_adv_instance_scan_rsp_len()
[all …]
Dhci_core.c1757 struct adv_info *adv_instance; in hci_dev_do_close() local
1761 list_for_each_entry(adv_instance, &hdev->adv_instances, list) in hci_dev_do_close()
1762 cancel_delayed_work_sync(&adv_instance->rpa_expired_cb); in hci_dev_do_close()
2869 struct adv_info *adv_instance; in hci_find_adv_instance() local
2871 list_for_each_entry(adv_instance, &hdev->adv_instances, list) { in hci_find_adv_instance()
2872 if (adv_instance->instance == instance) in hci_find_adv_instance()
2873 return adv_instance; in hci_find_adv_instance()
2899 struct adv_info *adv_instance; in hci_remove_adv_instance() local
2901 adv_instance = hci_find_adv_instance(hdev, instance); in hci_remove_adv_instance()
2902 if (!adv_instance) in hci_remove_adv_instance()
[all …]
Dhci_request.h94 bool use_rpa, struct adv_info *adv_instance,
Dmgmt.c3227 struct adv_info *adv_instance; in adv_expire() local
3231 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in adv_expire()
3232 if (!adv_instance) in adv_expire()
3236 if (!(adv_instance->flags & flags)) in adv_expire()
3241 adv_instance = hci_get_next_instance(hdev, adv_instance->instance); in adv_expire()
3242 if (!adv_instance) in adv_expire()
3246 err = __hci_req_schedule_adv_instance(&req, adv_instance->instance, in adv_expire()
5085 struct adv_info *adv_instance; in set_advertising_complete() local
5131 adv_instance = list_first_entry_or_null(&hdev->adv_instances, in set_advertising_complete()
5133 if (!adv_instance) in set_advertising_complete()
[all …]
Dhci_event.c1181 struct adv_info *adv_instance; in hci_cc_le_set_adv_set_random_addr() local
1196 adv_instance = hci_find_adv_instance(hdev, in hci_cc_le_set_adv_set_random_addr()
1198 if (adv_instance) in hci_cc_le_set_adv_set_random_addr()
1199 bacpy(&adv_instance->random_addr, &cp->bdaddr); in hci_cc_le_set_adv_set_random_addr()
1731 struct adv_info *adv_instance; in hci_cc_set_ext_adv_param() local
1748 adv_instance = hci_find_adv_instance(hdev, in hci_cc_set_ext_adv_param()
1750 if (adv_instance) in hci_cc_set_ext_adv_param()
1751 adv_instance->tx_power = rp->tx_power; in hci_cc_set_ext_adv_param()
5324 struct adv_info *adv_instance; in hci_le_ext_adv_term_evt() local
5335 adv_instance = hci_find_adv_instance(hdev, hdev->cur_adv_instance); in hci_le_ext_adv_term_evt()
[all …]