Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 9 of 9) sorted by relevance

/net/irda/
Ddiscovery.c92 if (get_unaligned((__u16 *)node->data.hints) == get_unaligned((__u16 *)new->data.hints)) in irlmp_add_discovery()
286 if ((get_unaligned((__u16 *)discovery->data.hints) & mask) && in irlmp_copy_discoveries()
364 discovery->data.hints[0], in discovery_seq_show()
365 discovery->data.hints[1]); in discovery_seq_show()
367 if ( discovery->data.hints[0] & HINT_PNP) in discovery_seq_show()
369 if ( discovery->data.hints[0] & HINT_PDA) in discovery_seq_show()
371 if ( discovery->data.hints[0] & HINT_COMPUTER) in discovery_seq_show()
373 if ( discovery->data.hints[0] & HINT_PRINTER) in discovery_seq_show()
375 if ( discovery->data.hints[0] & HINT_MODEM) in discovery_seq_show()
377 if ( discovery->data.hints[0] & HINT_FAX) in discovery_seq_show()
[all …]
Dirlmp.c853 data_hintsp = (__u16 *) irlmp->discovery_cmd.data.hints; in irlmp_do_discovery()
854 put_unaligned(irlmp->hints.word, data_hintsp); in irlmp_do_discovery()
1066 get_unaligned((__u16 *)expiries[i].hints) in irlmp_discovery_expiry()
1090 put_unaligned(irlmp->hints.word, (__u16 *)irlmp->discovery_rsp.data.hints); in irlmp_get_discovery_response()
1482 void *irlmp_register_service(__u16 hints) in irlmp_register_service() argument
1486 IRDA_DEBUG(4, "%s(), hints = %04x\n", __func__, hints); in irlmp_register_service()
1494 service->hints.word = hints; in irlmp_register_service()
1498 irlmp->hints.word |= hints; in irlmp_register_service()
1532 irlmp->hints.word = 0; in irlmp_unregister_service()
1538 irlmp->hints.word |= service->hints.word; in irlmp_unregister_service()
Dirlap_frame.c384 if (discovery->data.hints[0] & HINT_EXTENSION) { in irlap_send_discovery_xid_frame()
386 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame()
387 info[1] = discovery->data.hints[1]; in irlap_send_discovery_xid_frame()
390 info[0] = discovery->data.hints[0]; in irlap_send_discovery_xid_frame()
454 discovery->data.hints[0] = discovery_info[0]; in irlap_recv_discovery_xid_rsp()
457 discovery->data.hints[1] = discovery_info[1]; in irlap_recv_discovery_xid_rsp()
461 discovery->data.hints[1] = 0; in irlap_recv_discovery_xid_rsp()
556 discovery->data.hints[0] = discovery_info[0]; in irlap_recv_discovery_xid_cmd()
558 discovery->data.hints[1] = discovery_info[1]; in irlap_recv_discovery_xid_cmd()
562 discovery->data.hints[1] = 0; in irlap_recv_discovery_xid_cmd()
Diriap.c100 __u16 hints; in iriap_init() local
119 hints = irlmp_service_to_hint(S_COMPUTER); in iriap_init()
120 service_handle = irlmp_register_service(hints); in iriap_init()
/net/irda/irnet/
Dirnet_irda.c55 __u16 hints) in irnet_post_event() argument
79 irnet_events.log[index].hints.word = hints; in irnet_post_event()
944 __u16 hints; in irnet_setup_server() local
964 hints = irlmp_service_to_hint(S_LAN); in irnet_setup_server()
968 irnet_server.skey = irlmp_register_service(hints); in irnet_setup_server()
979 irlmp_update_client(irnet_server.s.ckey, hints, in irnet_setup_server()
1677 get_unaligned((__u16 *)discovery->hints)); in irnet_discovery_indication()
1708 get_unaligned((__u16 *)expiry->hints)); in irnet_expiry_indication()
Dirnet_ppp.c241 ap->discoveries[ap->disco_index].hints[0], in irnet_read_discovery_log()
242 ap->discoveries[ap->disco_index].hints[1]); in irnet_read_discovery_log()
343 irnet_events.log[ap->event_index].hints.byte[0], in irnet_ctrl_read()
344 irnet_events.log[ap->event_index].hints.byte[1]); in irnet_ctrl_read()
351 irnet_events.log[ap->event_index].hints.byte[0], in irnet_ctrl_read()
352 irnet_events.log[ap->event_index].hints.byte[1]); in irnet_ctrl_read()
Dirnet.h489 __u16_host_order hints; /* Discovery hint bits */ member
/net/irda/ircomm/
Dircomm_tty_attach.c208 __u16 hints; in ircomm_tty_ias_register() local
216 hints = irlmp_service_to_hint(S_COMM); in ircomm_tty_ias_register()
218 hints |= irlmp_service_to_hint(S_PRINTER); in ircomm_tty_ias_register()
222 self->skey = irlmp_register_service(hints); in ircomm_tty_ias_register()
225 self->ckey = irlmp_register_client(hints, in ircomm_tty_ias_register()
/net/irda/irlan/
Dirlan_common.c118 __u16 hints; in irlan_init() local
133 hints = irlmp_service_to_hint(S_LAN); in irlan_init()
136 ckey = irlmp_register_client(hints, &irlan_client_discovery_indication, in irlan_init()
142 skey = irlmp_register_service(hints); in irlan_init()