Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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];
/kernel/linux/linux-5.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.c267 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
284 struct nfc_target *target; in nfc_dep_link_up()
368 struct nfc_target *target; in nfc_dep_link_is_up()
396 struct nfc_target *target; in nfc_activate_target()
763 struct nfc_target *targets, int n_targets) in nfc_targets_found()
788 n_targets * sizeof(struct nfc_target), in nfc_targets_found()
821 struct nfc_target *tg; in nfc_target_lost()
845 (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()
593 struct nfc_target *target, in digital_dep_link_up()
619 struct nfc_target *target, __u32 protocol) in digital_activate_target()
639 struct nfc_target *target, in digital_deactivate_target()
698 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()
/kernel/linux/linux-5.10/drivers/nfc/pn533/
Dpn533.c715 static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_a()
773 static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_felica()
825 static int pn533_target_found_jewel(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_jewel()
884 static int pn533_target_found_type_b(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_b()
903 struct nfc_target nfc_tgt; in pn533_target_found()
912 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in pn533_target_found()
1315 struct nfc_target nfc_target; in pn533_poll_dep_complete() local
1335 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_poll_dep_complete()
1336 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1337 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/microread/
Dmicroread.c302 struct nfc_target *target, u8 comm_mode, in microread_dep_link_up()
336 struct nfc_target *target) in microread_target_from_gate()
351 struct nfc_target *target) in microread_complete_target_discovered()
400 struct nfc_target *target, in microread_im_transceive()
473 struct nfc_target *targets; in microread_target_discovered()
478 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in microread_target_discovered()
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
Dcore.c570 struct nfc_target *target) in st21nfca_get_iso15693_inventory()
598 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up()
618 struct nfc_target *target) in st21nfca_hci_target_from_gate()
673 struct nfc_target *target) in st21nfca_hci_complete_target_discovered()
761 struct nfc_target *target, in st21nfca_hci_im_transceive()
808 struct nfc_target *target) in st21nfca_hci_check_presence()
Ddep.c519 struct nfc_target *target; in st21nfca_im_send_atr_req()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/nfc/pn544/
Dpn544.c445 struct nfc_target *target, u8 comm_mode, in pn544_hci_dep_link_up()
482 struct nfc_target *target) in pn544_hci_target_from_gate()
504 struct nfc_target *target) in pn544_hci_complete_target_discovered()
604 struct nfc_target *target, in pn544_hci_im_transceive()
683 struct nfc_target *target) in pn544_hci_check_presence()
/kernel/linux/linux-5.10/net/nfc/nci/
Dntf.c181 struct nfc_target *target, in nci_add_new_protocol()
262 struct nfc_target *target; in nci_add_new_target()
299 (sizeof(struct nfc_target)*NCI_MAX_DISCOVERED_TARGETS)); in nci_clear_target_list()
442 struct nfc_target *target; in nci_target_auto_activated()
Dcore.c860 struct nfc_target *target, __u32 protocol) in nci_activate_target()
864 struct nfc_target *nci_target = NULL; in nci_activate_target()
926 struct nfc_target *target, in nci_deactivate_target()
953 static int nci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_dep_link_up()
999 static int nci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_transceive()
/kernel/linux/linux-5.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);