Home
last modified time | relevance | path

Searched refs:nfc_target (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/include/net/nfc/
Dnfc.h46 struct nfc_target;
54 int (*dep_link_up)(struct nfc_dev *dev, struct nfc_target *target,
57 int (*activate_target)(struct nfc_dev *dev, struct nfc_target *target,
60 struct nfc_target *target, u8 mode);
61 int (*im_transceive)(struct nfc_dev *dev, struct nfc_target *target,
65 int (*check_presence)(struct nfc_dev *dev, struct nfc_target *target);
90 struct nfc_target { struct
166 struct nfc_target *targets;
174 struct nfc_target *active_target;
276 struct nfc_target *targets, int ntargets);
Dhci.h29 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
33 struct nfc_target *target);
35 struct nfc_target *target);
37 struct nfc_target *target, struct sk_buff *skb,
41 struct nfc_target *target);
Dnci_core.h239 struct nfc_target targets[NCI_MAX_DISCOVERED_TARGETS];
/linux-5.19.10/net/nfc/
Ddigital_technology.c165 struct nfc_target *target);
218 struct nfc_target *target = arg; in digital_in_recv_ats()
252 struct nfc_target *target) in digital_in_send_rats()
275 struct nfc_target *target = arg; in digital_in_recv_sel_res()
342 struct nfc_target *target, in digital_in_send_sel_req()
390 struct nfc_target *target = arg; in digital_in_recv_sdd_res()
443 struct nfc_target *target) in digital_in_send_sdd_req()
479 struct nfc_target *target = NULL; in digital_in_recv_sens_res()
493 target = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in digital_in_recv_sens_res()
578 struct nfc_target *target = arg; in digital_in_recv_attrib_res()
[all …]
Ddigital.h76 struct nfc_target *target, u8 protocol);
81 struct nfc_target *target, __u8 comm_mode, __u8 *gb,
84 struct nfc_target *target, struct sk_buff *skb,
Dcore.c268 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
285 struct nfc_target *target; in nfc_dep_link_up()
369 struct nfc_target *target; in nfc_dep_link_is_up()
397 struct nfc_target *target; in nfc_activate_target()
769 struct nfc_target *targets, int n_targets) in nfc_targets_found()
794 n_targets * sizeof(struct nfc_target), in nfc_targets_found()
827 const struct nfc_target *tg; in nfc_target_lost()
851 (dev->n_targets - i) * sizeof(struct nfc_target)); in nfc_target_lost()
Ddigital_core.c310 struct nfc_target *target, u8 protocol) in digital_target_found()
596 struct nfc_target *target, in digital_dep_link_up()
622 struct nfc_target *target, __u32 protocol) in digital_activate_target()
642 struct nfc_target *target, in digital_deactivate_target()
701 static int digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, in digital_in_send()
Ddigital_dep.c298 struct nfc_target *target = arg; in digital_in_recv_psl_res()
360 struct nfc_target *target) in digital_in_send_psl_req()
402 struct nfc_target *target = arg; in digital_in_recv_atr_res()
472 struct nfc_target *target, __u8 comm_mode, __u8 *gb, in digital_in_send_atr_req()
905 struct nfc_target *target, struct sk_buff *skb, in digital_in_send_dep_req()
Dnetlink.c61 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target()
/linux-5.19.10/drivers/nfc/pn533/
Dpn533.c707 static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_a()
765 static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_felica()
817 static int pn533_target_found_jewel(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_jewel()
876 static int pn533_target_found_type_b(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_b()
895 struct nfc_target nfc_tgt; in pn533_target_found()
904 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in pn533_target_found()
1291 struct nfc_target nfc_target; in pn533_poll_dep_complete() local
1311 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_poll_dep_complete()
1312 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1313 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
[all …]
/linux-5.19.10/drivers/nfc/microread/
Dmicroread.c301 struct nfc_target *target, u8 comm_mode, in microread_dep_link_up()
335 struct nfc_target *target) in microread_target_from_gate()
350 struct nfc_target *target) in microread_complete_target_discovered()
398 struct nfc_target *target, in microread_im_transceive()
471 struct nfc_target *targets; in microread_target_discovered()
476 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in microread_target_discovered()
/linux-5.19.10/drivers/nfc/st21nfca/
Dcore.c569 struct nfc_target *target) in st21nfca_get_iso15693_inventory()
597 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up()
617 struct nfc_target *target) in st21nfca_hci_target_from_gate()
672 struct nfc_target *target) in st21nfca_hci_complete_target_discovered()
760 struct nfc_target *target, in st21nfca_hci_im_transceive()
807 struct nfc_target *target) in st21nfca_hci_check_presence()
Ddep.c496 struct nfc_target *target; in st21nfca_im_send_atr_req()
/linux-5.19.10/net/nfc/hci/
Dcore.c286 struct nfc_target *targets; in nfc_hci_target_discovered()
294 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in nfc_hci_target_discovered()
663 static int hci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_dep_link_up()
686 struct nfc_target *target, u32 protocol) in hci_activate_target()
692 struct nfc_target *target, in hci_deactivate_target()
722 static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_transceive()
781 struct nfc_target *target) in hci_check_presence()
/linux-5.19.10/drivers/nfc/pn544/
Dpn544.c444 struct nfc_target *target, u8 comm_mode, in pn544_hci_dep_link_up()
481 struct nfc_target *target) in pn544_hci_target_from_gate()
503 struct nfc_target *target) in pn544_hci_complete_target_discovered()
603 struct nfc_target *target, in pn544_hci_im_transceive()
682 struct nfc_target *target) in pn544_hci_check_presence()
/linux-5.19.10/net/nfc/nci/
Dntf.c203 struct nfc_target *target, in nci_add_new_protocol()
284 struct nfc_target *target; in nci_add_new_target()
321 (sizeof(struct nfc_target)*NCI_MAX_DISCOVERED_TARGETS)); in nci_clear_target_list()
466 struct nfc_target *target; in nci_target_auto_activated()
Dcore.c878 struct nfc_target *target, __u32 protocol) in nci_activate_target()
882 const struct nfc_target *nci_target = NULL; in nci_activate_target()
943 struct nfc_target *target, in nci_deactivate_target()
968 static int nci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_dep_link_up()
1012 static int nci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_transceive()
/linux-5.19.10/Documentation/driver-api/nfc/
Dnfc-hci.rst73 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
77 struct nfc_target *target);
79 struct nfc_target *target);
81 struct nfc_target *target, struct sk_buff *skb,
85 struct nfc_target *target);