• Home
  • Raw
  • Download

Lines Matching refs:target

569 					   struct nfc_target *target)  in st21nfca_get_iso15693_inventory()  argument
588 memcpy(target->iso15693_uid, inventory_skb->data, inventory_skb->len); in st21nfca_get_iso15693_inventory()
589 target->iso15693_dsfid = inventory_skb->data[1]; in st21nfca_get_iso15693_inventory()
590 target->is_iso15693 = 1; in st21nfca_get_iso15693_inventory()
597 struct nfc_target *target, u8 comm_mode, in st21nfca_hci_dep_link_up() argument
602 info->dep_info.idx = target->idx; in st21nfca_hci_dep_link_up()
617 struct nfc_target *target) in st21nfca_hci_target_from_gate() argument
626 target->supported_protocols = NFC_PROTO_FELICA_MASK; in st21nfca_hci_target_from_gate()
634 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in st21nfca_hci_target_from_gate()
635 target->sens_res = 0x0c00; in st21nfca_hci_target_from_gate()
645 target->supported_protocols = in st21nfca_hci_target_from_gate()
647 if (target->supported_protocols == 0xffffffff) in st21nfca_hci_target_from_gate()
650 target->sens_res = atqa; in st21nfca_hci_target_from_gate()
651 target->sel_res = sak; in st21nfca_hci_target_from_gate()
652 memcpy(target->nfcid1, uid, len); in st21nfca_hci_target_from_gate()
653 target->nfcid1_len = len; in st21nfca_hci_target_from_gate()
658 target->supported_protocols = NFC_PROTO_ISO15693_MASK; in st21nfca_hci_target_from_gate()
659 r = st21nfca_get_iso15693_inventory(hdev, target); in st21nfca_hci_target_from_gate()
672 struct nfc_target *target) in st21nfca_hci_complete_target_discovered() argument
697 memcpy(target->sensf_res, nfcid_skb->data, in st21nfca_hci_complete_target_discovered()
699 target->sensf_res_len = nfcid_skb->len; in st21nfca_hci_complete_target_discovered()
701 if (target->sensf_res[0] == 0x01 && in st21nfca_hci_complete_target_discovered()
702 target->sensf_res[1] == 0xfe) in st21nfca_hci_complete_target_discovered()
703 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
706 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
722 memcpy(target->sensf_res, nfcid_skb->data, in st21nfca_hci_complete_target_discovered()
724 target->sensf_res_len = nfcid_skb->len; in st21nfca_hci_complete_target_discovered()
725 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_complete_target_discovered()
727 target->hci_reader_gate = ST21NFCA_RF_READER_F_GATE; in st21nfca_hci_complete_target_discovered()
760 struct nfc_target *target, in st21nfca_hci_im_transceive() argument
767 target->hci_reader_gate, skb->len); in st21nfca_hci_im_transceive()
769 switch (target->hci_reader_gate) { in st21nfca_hci_im_transceive()
771 if (target->supported_protocols == NFC_PROTO_NFC_DEP_MASK) in st21nfca_hci_im_transceive()
775 return nfc_hci_send_cmd_async(hdev, target->hci_reader_gate, in st21nfca_hci_im_transceive()
781 return nfc_hci_send_cmd_async(hdev, target->hci_reader_gate, in st21nfca_hci_im_transceive()
791 return nfc_hci_send_cmd_async(hdev, target->hci_reader_gate, in st21nfca_hci_im_transceive()
807 struct nfc_target *target) in st21nfca_hci_check_presence() argument
811 switch (target->hci_reader_gate) { in st21nfca_hci_check_presence()
821 return nfc_hci_send_cmd(hdev, target->hci_reader_gate, in st21nfca_hci_check_presence()
824 return nfc_hci_send_cmd(hdev, target->hci_reader_gate, in st21nfca_hci_check_presence()