Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/nfc/
Dnfc.h58 struct nfc_target;
66 int (*dep_link_up)(struct nfc_dev *dev, struct nfc_target *target,
69 int (*activate_target)(struct nfc_dev *dev, struct nfc_target *target,
72 struct nfc_target *target, u8 mode);
73 int (*im_transceive)(struct nfc_dev *dev, struct nfc_target *target,
77 int (*check_presence)(struct nfc_dev *dev, struct nfc_target *target);
102 struct nfc_target { struct
178 struct nfc_target *targets;
186 struct nfc_target *active_target;
288 struct nfc_target *targets, int ntargets);
Dhci.h41 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
45 struct nfc_target *target);
47 struct nfc_target *target);
49 struct nfc_target *target, struct sk_buff *skb,
53 struct nfc_target *target);
Dnci_core.h250 struct nfc_target targets[NCI_MAX_DISCOVERED_TARGETS];
/Linux-v4.19/net/nfc/
Ddigital_technology.c174 struct nfc_target *target);
227 struct nfc_target *target = arg; in digital_in_recv_ats()
261 struct nfc_target *target) in digital_in_send_rats()
284 struct nfc_target *target = arg; in digital_in_recv_sel_res()
351 struct nfc_target *target, in digital_in_send_sel_req()
399 struct nfc_target *target = arg; in digital_in_recv_sdd_res()
452 struct nfc_target *target) in digital_in_send_sdd_req()
484 struct nfc_target *target = NULL; in digital_in_recv_sens_res()
498 target = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in digital_in_recv_sens_res()
583 struct nfc_target *target = arg; in digital_in_recv_attrib_res()
[all …]
Ddigital.h85 struct nfc_target *target, u8 protocol);
90 struct nfc_target *target, __u8 comm_mode, __u8 *gb,
93 struct nfc_target *target, struct sk_buff *skb,
Dcore.c279 static struct nfc_target *nfc_find_target(struct nfc_dev *dev, u32 target_idx) in nfc_find_target()
296 struct nfc_target *target; in nfc_dep_link_up()
380 struct nfc_target *target; in nfc_dep_link_is_up()
408 struct nfc_target *target; in nfc_activate_target()
776 struct nfc_target *targets, int n_targets) in nfc_targets_found()
801 n_targets * sizeof(struct nfc_target), in nfc_targets_found()
834 struct nfc_target *tg; in nfc_target_lost()
858 (dev->n_targets - i) * sizeof(struct nfc_target)); in nfc_target_lost()
Ddigital_core.c314 struct nfc_target *target, u8 protocol) in digital_target_found()
597 struct nfc_target *target, in digital_dep_link_up()
623 struct nfc_target *target, __u32 protocol) in digital_activate_target()
643 struct nfc_target *target, in digital_deactivate_target()
702 static int digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, in digital_in_send()
Ddigital_dep.c310 struct nfc_target *target = arg; in digital_in_recv_psl_res()
372 struct nfc_target *target) in digital_in_send_psl_req()
414 struct nfc_target *target = arg; in digital_in_recv_atr_res()
484 struct nfc_target *target, __u8 comm_mode, __u8 *gb, in digital_in_send_atr_req()
917 struct nfc_target *target, struct sk_buff *skb, in digital_in_send_dep_req()
Dnetlink.c69 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target()
/Linux-v4.19/drivers/nfc/pn533/
Dpn533.c698 static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_a()
756 static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_felica()
808 static int pn533_target_found_jewel(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_jewel()
867 static int pn533_target_found_type_b(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_b()
886 struct nfc_target nfc_tgt; in pn533_target_found()
895 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in pn533_target_found()
1298 struct nfc_target nfc_target; in pn533_poll_dep_complete() local
1318 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_poll_dep_complete()
1319 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1320 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
[all …]
/Linux-v4.19/drivers/nfc/microread/
Dmicroread.c313 struct nfc_target *target, u8 comm_mode, in microread_dep_link_up()
347 struct nfc_target *target) in microread_target_from_gate()
362 struct nfc_target *target) in microread_complete_target_discovered()
411 struct nfc_target *target, in microread_im_transceive()
484 struct nfc_target *targets; in microread_target_discovered()
489 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in microread_target_discovered()
/Linux-v4.19/drivers/nfc/st21nfca/
Dcore.c581 struct nfc_target *target) in st21nfca_get_iso15693_inventory()
609 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up()
629 struct nfc_target *target) in st21nfca_hci_target_from_gate()
684 struct nfc_target *target) in st21nfca_hci_complete_target_discovered()
771 struct nfc_target *target, in st21nfca_hci_im_transceive()
819 struct nfc_target *target) in st21nfca_hci_check_presence()
Ddep.c527 struct nfc_target *target; in st21nfca_im_send_atr_req()
/Linux-v4.19/net/nfc/hci/
Dcore.c291 struct nfc_target *targets; in nfc_hci_target_discovered()
299 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in nfc_hci_target_discovered()
662 static int hci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_dep_link_up()
685 struct nfc_target *target, u32 protocol) in hci_activate_target()
691 struct nfc_target *target, in hci_deactivate_target()
721 static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_transceive()
780 struct nfc_target *target) in hci_check_presence()
/Linux-v4.19/drivers/nfc/pn544/
Dpn544.c456 struct nfc_target *target, u8 comm_mode, in pn544_hci_dep_link_up()
493 struct nfc_target *target) in pn544_hci_target_from_gate()
515 struct nfc_target *target) in pn544_hci_complete_target_discovered()
615 struct nfc_target *target, in pn544_hci_im_transceive()
694 struct nfc_target *target) in pn544_hci_check_presence()
/Linux-v4.19/net/nfc/nci/
Dntf.c193 struct nfc_target *target, in nci_add_new_protocol()
274 struct nfc_target *target; in nci_add_new_target()
311 (sizeof(struct nfc_target)*NCI_MAX_DISCOVERED_TARGETS)); in nci_clear_target_list()
454 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()
/Linux-v4.19/Documentation/nfc/
Dnfc-hci.txt70 int (*dep_link_up)(struct nfc_hci_dev *hdev, struct nfc_target *target,
74 struct nfc_target *target);
76 struct nfc_target *target);
78 struct nfc_target *target, struct sk_buff *skb,
82 struct nfc_target *target);