/net/irda/ |
D | discovery.c | 62 discovery_t *discovery, *node; in irlmp_add_discovery() local 76 discovery = (discovery_t *) hashbin_get_first(cachelog); in irlmp_add_discovery() 77 while (discovery != NULL ) { in irlmp_add_discovery() 78 node = discovery; in irlmp_add_discovery() 81 discovery = (discovery_t *) hashbin_get_next(cachelog); in irlmp_add_discovery() 113 discovery_t *discovery; in irlmp_add_discovery_log() local 131 discovery = (discovery_t *) hashbin_remove_first(log); in irlmp_add_discovery_log() 132 while (discovery != NULL) { in irlmp_add_discovery_log() 133 irlmp_add_discovery(cachelog, discovery); in irlmp_add_discovery_log() 135 discovery = (discovery_t *) hashbin_remove_first(log); in irlmp_add_discovery_log() [all …]
|
D | irlap_frame.c | 316 __u8 command, discovery_t *discovery) in irlap_send_discovery_xid_frame() argument 328 IRDA_ASSERT(discovery != NULL, return;); in irlap_send_discovery_xid_frame() 352 frame->daddr = cpu_to_le32(discovery->data.daddr); in irlap_send_discovery_xid_frame() 383 if (discovery->data.hints[0] & HINT_EXTENSION) { in irlap_send_discovery_xid_frame() 385 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame() 386 info[1] = discovery->data.hints[1]; in irlap_send_discovery_xid_frame() 389 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame() 392 info[0] = discovery->data.charset; in irlap_send_discovery_xid_frame() 394 len = IRDA_MIN(discovery->name_len, skb_tailroom(tx_skb)); in irlap_send_discovery_xid_frame() 396 memcpy(info, discovery->data.info, len); in irlap_send_discovery_xid_frame() [all …]
|
D | irlap.c | 485 void irlap_discovery_request(struct irlap_cb *self, discovery_t *discovery) in irlap_discovery_request() argument 491 IRDA_ASSERT(discovery != NULL, return;); in irlap_discovery_request() 493 pr_debug("%s(), nslots = %d\n", __func__, discovery->nslots); in irlap_discovery_request() 495 IRDA_ASSERT((discovery->nslots == 1) || (discovery->nslots == 6) || in irlap_discovery_request() 496 (discovery->nslots == 8) || (discovery->nslots == 16), in irlap_discovery_request() 529 info.S = discovery->nslots; /* Number of slots */ in irlap_discovery_request() 532 self->discovery_cmd = discovery; in irlap_discovery_request() 533 info.discovery = discovery; in irlap_discovery_request() 578 void irlap_discovery_indication(struct irlap_cb *self, discovery_t *discovery) in irlap_discovery_indication() argument 582 IRDA_ASSERT(discovery != NULL, return;); in irlap_discovery_indication() [all …]
|
D | Makefile | 13 discovery.o parameters.o irnetlink.o irmod.o
|
D | irlap_event.c | 391 info->discovery); in irlap_state_ndm() 447 irlap_discovery_indication(self, info->discovery); in irlap_state_ndm() 568 IRDA_ASSERT(info->discovery != NULL, return -1;); in irlap_state_query() 571 info->discovery->data.daddr); in irlap_state_query() 579 (irda_queue_t *) info->discovery, in irlap_state_query() 580 info->discovery->data.daddr, NULL); in irlap_state_query() 605 irlap_discovery_indication(self, info->discovery); in irlap_state_query() 694 irlap_discovery_indication(self, info->discovery); in irlap_state_reply()
|
D | irlmp_frame.c | 351 discovery_t *discovery) in irlmp_link_discovery_indication() argument 357 irlmp_add_discovery(irlmp->cachelog, discovery); in irlmp_link_discovery_indication()
|
D | irlmp.c | 418 discovery_t *discovery; in irlmp_connect_request() local 423 discovery = hashbin_find(irlmp->cachelog, daddr, NULL); in irlmp_connect_request() 426 discovery = (discovery_t *) in irlmp_connect_request() 430 if (discovery) { in irlmp_connect_request() 431 saddr = discovery->data.saddr; in irlmp_connect_request() 432 daddr = discovery->data.daddr; in irlmp_connect_request()
|
D | af_irda.c | 404 static void irda_selective_discovery_indication(discinfo_t *discovery, in irda_selective_discovery_indication() argument 417 self->cachedaddr = discovery->daddr; in irda_selective_discovery_indication()
|
/net/bluetooth/ |
D | hci_request.c | 410 if (hdev->discovery.state != DISCOVERY_STOPPED) in __hci_update_background_scan() 1841 if (req->hdev->discovery.limited) in bredr_inquiry() 1872 hdev->discovery.scan_start = 0; in le_scan_disable_work() 1882 if (hdev->discovery.type == DISCOV_TYPE_LE) in le_scan_disable_work() 1885 if (hdev->discovery.type != DISCOV_TYPE_INTERLEAVED) in le_scan_disable_work() 1890 hdev->discovery.state != DISCOVERY_RESOLVING) in le_scan_disable_work() 1948 !hdev->discovery.scan_start) in le_scan_restart_work() 1956 duration = hdev->discovery.scan_duration; in le_scan_restart_work() 1957 scan_start = hdev->discovery.scan_start; in le_scan_restart_work() 2066 BT_DBG("%s type %u", hdev->name, hdev->discovery.type); in start_discovery() [all …]
|
D | mgmt.c | 3510 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_discovery_internal() 3528 hdev->discovery.type = cp->type; in start_discovery_internal() 3529 hdev->discovery.report_invalid_rssi = false; in start_discovery_internal() 3531 hdev->discovery.limited = true; in start_discovery_internal() 3533 hdev->discovery.limited = false; in start_discovery_internal() 3596 if (hdev->discovery.state != DISCOVERY_STOPPED || in start_service_discovery() 3648 hdev->discovery.result_filtering = true; in start_service_discovery() 3649 hdev->discovery.type = cp->type; in start_service_discovery() 3650 hdev->discovery.rssi = cp->rssi; in start_service_discovery() 3651 hdev->discovery.uuid_count = uuid_count; in start_service_discovery() [all …]
|
D | hci_core.c | 954 struct discovery_state *discov = &hdev->discovery; in hci_discovery_active() 968 int old_state = hdev->discovery.state; in hci_discovery_set_state() 970 BT_DBG("%s state %u -> %u", hdev->name, hdev->discovery.state, state); in hci_discovery_set_state() 975 hdev->discovery.state = state; in hci_discovery_set_state() 998 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_flush() 1013 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup() 1029 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_unknown() 1046 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_lookup_resolve() 1064 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update_resolve() 1083 struct discovery_state *cache = &hdev->discovery; in hci_inquiry_cache_update() [all …]
|
D | hci_event.c | 1102 struct discovery_state *d = &hdev->discovery; in has_pending_adv_report() 1109 struct discovery_state *d = &hdev->discovery; in clear_pending_adv_report() 1119 struct discovery_state *d = &hdev->discovery; in store_pending_adv_report() 1159 struct discovery_state *d = &hdev->discovery; in hci_cc_le_set_scan_enable() 1185 hdev->discovery.state == DISCOVERY_FINDING) in hci_cc_le_set_scan_enable() 1623 struct discovery_state *discov = &hdev->discovery; in hci_resolve_next_name() 1644 struct discovery_state *discov = &hdev->discovery; in hci_check_pending_name() 2033 struct discovery_state *discov = &hdev->discovery; in hci_inquiry_complete_evt() 4739 struct discovery_state *d = &hdev->discovery; in process_adv_report()
|
D | hci_debugfs.c | 425 struct discovery_state *cache = &hdev->discovery; in inquiry_cache_show()
|
/net/irda/irlan/ |
D | irlan_client.c | 143 void irlan_client_discovery_indication(discinfo_t *discovery, in irlan_client_discovery_indication() argument 150 IRDA_ASSERT(discovery != NULL, return;); in irlan_client_discovery_indication() 161 saddr = discovery->saddr; in irlan_client_discovery_indication() 162 daddr = discovery->daddr; in irlan_client_discovery_indication()
|
/net/irda/ircomm/ |
D | ircomm_tty_attach.c | 48 static void ircomm_tty_discovery_indication(discinfo_t *discovery, 355 static void ircomm_tty_discovery_indication(discinfo_t *discovery, in ircomm_tty_discovery_indication() argument 376 info.daddr = discovery->daddr; in ircomm_tty_discovery_indication() 377 info.saddr = discovery->saddr; in ircomm_tty_discovery_indication()
|
/net/irda/irnet/ |
D | irnet_irda.c | 1660 irnet_discovery_indication(discinfo_t * discovery, in irnet_discovery_indication() argument 1671 discovery->info); in irnet_discovery_indication() 1675 discovery->saddr, discovery->daddr, discovery->info, in irnet_discovery_indication() 1676 get_unaligned((__u16 *)discovery->hints)); in irnet_discovery_indication()
|
/net/batman-adv/ |
D | Kconfig | 26 discovery protocol (Echo Location Protocol, ELP) and a new OGM
|