Searched refs:nfc_proto (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/net/nfc/ |
H A D | af_nfc.c | 57 int nfc_proto_register(const struct nfc_protocol *nfc_proto) nfc_proto_register() argument 61 if (nfc_proto->id < 0 || nfc_proto->id >= NFC_SOCKPROTO_MAX) nfc_proto_register() 64 rc = proto_register(nfc_proto->proto, 0); nfc_proto_register() 69 if (proto_tab[nfc_proto->id]) nfc_proto_register() 72 proto_tab[nfc_proto->id] = nfc_proto; nfc_proto_register() 79 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto) nfc_proto_unregister() argument 82 proto_tab[nfc_proto->id] = NULL; nfc_proto_unregister() 85 proto_unregister(nfc_proto->proto); nfc_proto_unregister()
|
H A D | nfc.h | 33 const struct nfc_protocol *nfc_proto); 74 int nfc_proto_register(const struct nfc_protocol *nfc_proto); 75 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto);
|
H A D | rawsock.c | 337 const struct nfc_protocol *nfc_proto) rawsock_create() 351 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto); rawsock_create() 356 sk->sk_protocol = nfc_proto->id; rawsock_create() 336 rawsock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto) rawsock_create() argument
|
H A D | digital_technology.c | 286 u8 nfc_proto; digital_in_recv_sel_res() local 320 nfc_proto = NFC_PROTO_MIFARE; digital_in_recv_sel_res() 322 nfc_proto = NFC_PROTO_NFC_DEP; digital_in_recv_sel_res() 337 rc = digital_target_found(ddev, target, nfc_proto); digital_in_recv_sel_res()
|
H A D | llcp_sock.c | 996 const struct nfc_protocol *nfc_proto) llcp_sock_create() 995 llcp_sock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto) llcp_sock_create() argument
|
Completed in 113 milliseconds