Lines Matching refs:adv_instance
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()
6385 instance = adv_instance->instance; in set_advertising_complete()
8420 struct adv_info *adv_instance; in read_adv_features() local
8448 list_for_each_entry(adv_instance, &hdev->adv_instances, list) { in read_adv_features()
8450 if (adv_instance->instance <= hdev->adv_instance_cnt) { in read_adv_features()
8451 *instance = adv_instance->instance; in read_adv_features()
9010 struct adv_info *adv_instance; in add_ext_adv_data() local
9018 adv_instance = hci_find_adv_instance(hdev, cp->instance); in add_ext_adv_data()
9020 if (!adv_instance) { in add_ext_adv_data()
9040 if (!tlv_data_is_valid(hdev, adv_instance->flags, cp->data, in add_ext_adv_data()
9042 !tlv_data_is_valid(hdev, adv_instance->flags, cp->data + in add_ext_adv_data()
9079 if (adv_instance->pending) { in add_ext_adv_data()
9081 adv_instance->pending = false; in add_ext_adv_data()
9108 if (adv_instance->pending) in add_ext_adv_data()