Searched refs:nfc_proto (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/net/nfc/
H A Daf_nfc.c57 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 Dnfc.h36 const struct nfc_protocol *nfc_proto, int kern);
77 int nfc_proto_register(const struct nfc_protocol *nfc_proto);
78 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto);
H A Drawsock.c338 const struct nfc_protocol *nfc_proto, int kern) rawsock_create()
352 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); rawsock_create()
357 sk->sk_protocol = nfc_proto->id; rawsock_create()
337 rawsock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) rawsock_create() argument
H A Ddigital_technology.c286 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 Dllcp_sock.c996 const struct nfc_protocol *nfc_proto, int kern) llcp_sock_create()
995 llcp_sock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) llcp_sock_create() argument

Completed in 102 milliseconds