Home
last modified time | relevance | path

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

/openbmc/linux/include/net/nfc/
H A 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);
H A 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);
H A Dnci_core.h239 struct nfc_target targets[NCI_MAX_DISCOVERED_TARGETS];
/openbmc/linux/net/nfc/
H A 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()
578 struct nfc_target *target = arg; in digital_in_recv_attrib_res()
648 struct nfc_target *target = NULL; in digital_in_recv_sensb_res()
[all …]
H A 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,
H A 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()
H A 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()
H A 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()
H A Dnetlink.c61 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target()
/openbmc/linux/drivers/nfc/pn533/
H A Dpn533.c895 struct nfc_target nfc_tgt; in pn533_target_found()
1291 struct nfc_target nfc_target; in pn533_poll_dep_complete() local
1298 memset(&nfc_target, 0, sizeof(struct nfc_target)); in pn533_poll_dep_complete()
1314 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1315 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
1401 struct nfc_target nfc_tgt; in pn533_autopoll_complete()
1867 struct nfc_target *target, u8 mode) in pn533_deactivate_target()
1927 struct nfc_target nfc_target; in pn533_in_dep_link_up_complete() local
1931 memset(&nfc_target, 0, sizeof(struct nfc_target)); in pn533_in_dep_link_up_complete()
1934 nfc_target.nfcid1_len = 10; in pn533_in_dep_link_up_complete()
[all …]
/openbmc/linux/drivers/nfc/microread/
H A 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()
/openbmc/linux/drivers/nfc/st21nfca/
H A 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()
H A Ddep.c496 struct nfc_target *target; in st21nfca_im_send_atr_req()
/openbmc/linux/net/nfc/hci/
H A 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()
/openbmc/linux/drivers/nfc/pn544/
H A 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()
/openbmc/linux/net/nfc/nci/
H A Dntf.c203 struct nfc_target *target, in nci_add_new_protocol()
290 struct nfc_target *target; in nci_add_new_target()
327 (sizeof(struct nfc_target)*NCI_MAX_DISCOVERED_TARGETS)); in nci_clear_target_list()
472 struct nfc_target *target; in nci_target_auto_activated()
H A Dcore.c879 struct nfc_target *target, __u32 protocol) in nci_activate_target()
883 const struct nfc_target *nci_target = NULL; in nci_activate_target()
949 struct nfc_target *target, in nci_deactivate_target()
974 static int nci_dep_link_up(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_dep_link_up()
1018 static int nci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, in nci_transceive()
/openbmc/linux/Documentation/driver-api/nfc/
H A 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);