Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/nfc/
H A Daf_nfc.c45 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()
64 proto_unregister(nfc_proto->proto); in nfc_proto_register()
70 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto) in nfc_proto_unregister() argument
73 proto_tab[nfc_proto in nfc_proto_unregister()
[all...]
H A Dnfc.h24 const struct nfc_protocol *nfc_proto, int kern);
66 int nfc_proto_register(const struct nfc_protocol *nfc_proto);
67 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto);
H A Drawsock.c322 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create()
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()
321 rawsock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) rawsock_create() argument
H A Ddigital_technology.c278 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()
H A Dllcp_sock.c1023 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create()
1022 llcp_sock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) llcp_sock_create() argument
/kernel/linux/linux-6.6/net/nfc/
H A Daf_nfc.c45 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()
64 proto_unregister(nfc_proto->proto); in nfc_proto_register()
70 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto) in nfc_proto_unregister() argument
73 proto_tab[nfc_proto in nfc_proto_unregister()
[all...]
H A Dnfc.h24 const struct nfc_protocol *nfc_proto, int kern);
66 int nfc_proto_register(const struct nfc_protocol *nfc_proto);
67 void nfc_proto_unregister(const struct nfc_protocol *nfc_proto);
H A Drawsock.c324 const struct nfc_protocol *nfc_proto, int kern) in rawsock_create()
341 sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern); in rawsock_create()
346 sk->sk_protocol = nfc_proto->id; in rawsock_create()
323 rawsock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) rawsock_create() argument
H A Ddigital_technology.c278 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()
H A Dllcp_sock.c1025 const struct nfc_protocol *nfc_proto, int kern) in llcp_sock_create()
1024 llcp_sock_create(struct net *net, struct socket *sock, const struct nfc_protocol *nfc_proto, int kern) llcp_sock_create() argument

Completed in 8 milliseconds