Lines Matching refs:discovery

1425 	switch (hdev->discovery.state) {  in hci_stop_discovery()
4259 switch (hdev->discovery.type) { in trigger_discovery()
4330 switch (hdev->discovery.type) { in start_discovery_complete()
4352 BT_ERR("Invalid discovery type %d", hdev->discovery.type); in start_discovery_complete()
4365 hdev->discovery.result_filtering) { in start_discovery_complete()
4366 hdev->discovery.scan_start = jiffies; in start_discovery_complete()
4367 hdev->discovery.scan_duration = timeout; in start_discovery_complete()
4398 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_discovery()
4419 hdev->discovery.type = cp->type; in start_discovery()
4420 hdev->discovery.report_invalid_rssi = false; in start_discovery()
4474 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_service_discovery()
4519 hdev->discovery.result_filtering = true; in start_service_discovery()
4520 hdev->discovery.type = cp->type; in start_service_discovery()
4521 hdev->discovery.rssi = cp->rssi; in start_service_discovery()
4522 hdev->discovery.uuid_count = uuid_count; in start_service_discovery()
4525 hdev->discovery.uuids = kmemdup(cp->uuids, uuid_count * 16, in start_service_discovery()
4527 if (!hdev->discovery.uuids) { in start_service_discovery()
4599 if (hdev->discovery.type != mgmt_cp->type) { in stop_discovery()
5043 hdev->discovery.state == DISCOVERY_STOPPED) { in set_scan_params()
8455 hdev->discovery.scan_start + in restart_le_scan()
8456 hdev->discovery.scan_duration)) in restart_le_scan()
8475 if (hdev->discovery.rssi != HCI_RSSI_INVALID && in is_filter_match()
8477 (rssi < hdev->discovery.rssi && in is_filter_match()
8481 if (hdev->discovery.uuid_count != 0) { in is_filter_match()
8485 if (!eir_has_uuids(eir, eir_len, hdev->discovery.uuid_count, in is_filter_match()
8486 hdev->discovery.uuids) && in is_filter_match()
8488 hdev->discovery.uuid_count, in is_filter_match()
8489 hdev->discovery.uuids)) in is_filter_match()
8500 if (hdev->discovery.rssi != HCI_RSSI_INVALID && in is_filter_match()
8501 rssi < hdev->discovery.rssi) in is_filter_match()
8527 if (hdev->discovery.result_filtering) { in mgmt_device_found()
8550 if (rssi == HCI_RSSI_INVALID && !hdev->discovery.report_invalid_rssi && in mgmt_device_found()
8607 ev.type = hdev->discovery.type; in mgmt_discovering()