Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/nfc/
Dnfc.h57 struct nfc_target;
65 int (*dep_link_up)(struct nfc_dev *dev, struct nfc_target *target,
68 int (*activate_target)(struct nfc_dev *dev, struct nfc_target *target,
71 struct nfc_target *target, u8 mode);
72 int (*im_transceive)(struct nfc_dev *dev, struct nfc_target *target,
76 int (*check_presence)(struct nfc_dev *dev, struct nfc_target *target);
101 struct nfc_target { struct
177 struct nfc_target *targets;
185 struct nfc_target *active_target;
287 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.h244 struct nfc_target targets[NCI_MAX_DISCOVERED_TARGETS];
/linux-4.4.14/net/nfc/
Ddigital_technology.c173 struct nfc_target *target);
226 struct nfc_target *target = arg; in digital_in_recv_ats()
260 struct nfc_target *target) in digital_in_send_rats()
283 struct nfc_target *target = arg; in digital_in_recv_sel_res()
350 struct nfc_target *target, in digital_in_send_sel_req()
398 struct nfc_target *target = arg; in digital_in_recv_sdd_res()
451 struct nfc_target *target) in digital_in_send_sdd_req()
483 struct nfc_target *target = NULL; in digital_in_recv_sens_res()
497 target = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in digital_in_recv_sens_res()
582 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.c308 struct nfc_target *target, u8 protocol) in digital_target_found()
590 struct nfc_target *target, in digital_dep_link_up()
614 struct nfc_target *target, __u32 protocol) in digital_activate_target()
634 struct nfc_target *target, in digital_deactivate_target()
692 static int digital_in_send(struct nfc_dev *nfc_dev, struct nfc_target *target, in digital_in_send()
Ddigital_dep.c278 struct nfc_target *target = arg; in digital_in_recv_psl_res()
340 struct nfc_target *target) in digital_in_send_psl_req()
382 struct nfc_target *target = arg; in digital_in_recv_atr_res()
446 struct nfc_target *target, __u8 comm_mode, __u8 *gb, in digital_in_send_atr_req()
851 struct nfc_target *target, struct sk_buff *skb, in digital_in_send_dep_req()
Dnetlink.c75 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target()
/linux-4.4.14/drivers/nfc/
Dnfcsim.c85 struct nfc_target nfc_tgt; in nfcsim_target_found()
89 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in nfcsim_target_found()
128 struct nfc_target *target, in nfcsim_dep_link_up()
239 struct nfc_target *target, u32 protocol) in nfcsim_activate_target()
249 struct nfc_target *target, u8 mode) in nfcsim_deactivate_target()
287 static int nfcsim_tx(struct nfc_dev *nfc_dev, struct nfc_target *target, in nfcsim_tx()
338 struct nfc_target *target, struct sk_buff *skb, in nfcsim_im_transceive()
Dpn533.c1256 static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_a()
1314 static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_felica()
1366 static int pn533_target_found_jewel(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_jewel()
1425 static int pn533_target_found_type_b(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_b()
1443 struct nfc_target nfc_tgt; in pn533_target_found()
1452 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in pn533_target_found()
1864 struct nfc_target nfc_target; in pn533_poll_dep_complete() local
1884 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_poll_dep_complete()
1885 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1886 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
[all …]
/linux-4.4.14/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-4.4.14/net/nfc/hci/
Dcore.c281 struct nfc_target *targets; in nfc_hci_target_discovered()
289 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in nfc_hci_target_discovered()
652 static int hci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_dep_link_up()
675 struct nfc_target *target, u32 protocol) in hci_activate_target()
681 struct nfc_target *target, in hci_deactivate_target()
711 static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in hci_transceive()
770 struct nfc_target *target) in hci_check_presence()
/linux-4.4.14/drivers/nfc/st21nfca/
Dcore.c588 struct nfc_target *target) in st21nfca_get_iso15693_inventory()
616 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up()
636 struct nfc_target *target) in st21nfca_hci_target_from_gate()
691 struct nfc_target *target) in st21nfca_hci_complete_target_discovered()
778 struct nfc_target *target, in st21nfca_hci_im_transceive()
826 struct nfc_target *target) in st21nfca_hci_check_presence()
Ddep.c527 struct nfc_target *target; in st21nfca_im_send_atr_req()
/linux-4.4.14/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-4.4.14/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.c772 struct nfc_target *target, __u32 protocol) in nci_activate_target()
776 struct nfc_target *nci_target = NULL; in nci_activate_target()
838 struct nfc_target *target, in nci_deactivate_target()
865 static int nci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_dep_link_up()
911 static int nci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_transceive()
/linux-4.4.14/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);