Searched refs:nfc_proto (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/net/nfc/ |
D | af_nfc.c | 45 int nfc_proto_register(const struct nfc_protocol *nfc_proto) in nfc_proto_register() argument 49 if (nfc_proto->id < 0 || nfc_proto->id >= NFC_SOCKPROTO_MAX) in nfc_proto_register() 52 rc = proto_register(nfc_proto->proto, 0); in nfc_proto_register() 57 if (proto_tab[nfc_proto->id]) in nfc_proto_register() 60 proto_tab[nfc_proto->id] = nfc_proto; in nfc_proto_register() 67 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto) in nfc_proto_unregister() argument 70 proto_tab[nfc_proto->id] = NULL; in nfc_proto_unregister() 73 proto_unregister(nfc_proto->proto); in nfc_proto_unregister()
|
D | nfc.h | 24 const struct nfc_protocol *nfc_proto, int kern); 65 int nfc_proto_register(const struct nfc_protocol *nfc_proto); 66 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto);
|
D | rawsock.c | 322 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create() argument 339 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); in rawsock_create() 344 sk->sk_protocol = nfc_proto->id; in rawsock_create()
|
D | digital_technology.c | 278 u8 nfc_proto; in digital_in_recv_sel_res() local 312 nfc_proto = NFC_PROTO_MIFARE; in digital_in_recv_sel_res() 314 nfc_proto = NFC_PROTO_NFC_DEP; in digital_in_recv_sel_res() 329 rc = digital_target_found(ddev, target, nfc_proto); in digital_in_recv_sel_res()
|
D | llcp_sock.c | 999 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create() argument
|