Lines Matching refs:adv_instance
3227 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()
5136 instance = adv_instance->instance; in set_advertising_complete()
7240 struct adv_info *adv_instance; in read_adv_features() local
7275 list_for_each_entry(adv_instance, &hdev->adv_instances, list) { in read_adv_features()
7276 *instance = adv_instance->instance; in read_adv_features()
7394 struct adv_info *adv_instance, *n; in add_advertising_complete() local
7403 list_for_each_entry_safe(adv_instance, n, &hdev->adv_instances, list) { in add_advertising_complete()
7404 if (!adv_instance->pending) in add_advertising_complete()
7408 adv_instance->pending = false; in add_advertising_complete()
7412 instance = adv_instance->instance; in add_advertising_complete()