Searched defs:nfc_proto (Results 1 - 4 of 4) sorted by relevance

/net/nfc/
H A Daf_nfc.c57 int nfc_proto_register(const struct nfc_protocol *nfc_proto) argument
61 if (nfc_proto->id < 0 || nfc_proto->id >= NFC_SOCKPROTO_MAX)
64 rc = proto_register(nfc_proto->proto, 0);
69 if (proto_tab[nfc_proto->id])
72 proto_tab[nfc_proto->id] = nfc_proto;
79 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto) argument
82 proto_tab[nfc_proto->id] = NULL;
85 proto_unregister(nfc_proto
[all...]
H A Drawsock.c338 const struct nfc_protocol *nfc_proto)
352 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto);
357 sk->sk_protocol = nfc_proto->id;
337 rawsock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto) argument
H A Dllcp_sock.c996 const struct nfc_protocol *nfc_proto)
995 llcp_sock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto) argument
H A Ddigital_technology.c286 u8 nfc_proto; local
320 nfc_proto = NFC_PROTO_MIFARE;
322 nfc_proto = NFC_PROTO_NFC_DEP;
337 rc = digital_target_found(ddev, target, nfc_proto);

Completed in 17 milliseconds