Home
last modified time | relevance | path

Searched refs:supported_protocols (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/drivers/nfc/pn544/
Dpn544.c486 target->supported_protocols = NFC_PROTO_FELICA_MASK; in pn544_hci_target_from_gate()
489 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn544_hci_target_from_gate()
493 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_target_from_gate()
512 if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_complete_target_discovered()
520 } else if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_complete_target_discovered()
528 } else if (target->supported_protocols & NFC_PROTO_FELICA_MASK) { in pn544_hci_complete_target_discovered()
549 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_complete_target_discovered()
558 } else if (target->supported_protocols & NFC_PROTO_ISO14443_MASK) { in pn544_hci_complete_target_discovered()
615 if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_im_transceive()
685 pr_debug("supported protocol %d\n", target->supported_protocols); in pn544_hci_check_presence()
[all …]
/Linux-v5.10/drivers/nfc/st21nfca/
Dcore.c627 target->supported_protocols = NFC_PROTO_FELICA_MASK; in st21nfca_hci_target_from_gate()
635 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in st21nfca_hci_target_from_gate()
646 target->supported_protocols = in st21nfca_hci_target_from_gate()
648 if (target->supported_protocols == 0xffffffff) in st21nfca_hci_target_from_gate()
659 target->supported_protocols = NFC_PROTO_ISO15693_MASK; in st21nfca_hci_target_from_gate()
704 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
707 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
726 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_complete_target_discovered()
772 if (target->supported_protocols == NFC_PROTO_NFC_DEP_MASK) in st21nfca_hci_im_transceive()
/Linux-v5.10/net/nfc/
Ddigital_core.c386 target->supported_protocols = (1 << protocol); in digital_target_found()
746 __u32 supported_protocols, in nfc_digital_allocate_device() argument
773 if (supported_protocols & NFC_PROTO_JEWEL_MASK) in nfc_digital_allocate_device()
775 if (supported_protocols & NFC_PROTO_MIFARE_MASK) in nfc_digital_allocate_device()
777 if (supported_protocols & NFC_PROTO_FELICA_MASK) in nfc_digital_allocate_device()
779 if (supported_protocols & NFC_PROTO_NFC_DEP_MASK) in nfc_digital_allocate_device()
781 if (supported_protocols & NFC_PROTO_ISO15693_MASK) in nfc_digital_allocate_device()
783 if (supported_protocols & NFC_PROTO_ISO14443_MASK) in nfc_digital_allocate_device()
785 if (supported_protocols & NFC_PROTO_ISO14443_B_MASK) in nfc_digital_allocate_device()
Dcore.c1044 u32 supported_protocols, in nfc_allocate_device() argument
1054 if (!supported_protocols) in nfc_allocate_device()
1071 dev->supported_protocols = supported_protocols; in nfc_allocate_device()
Dnetlink.c74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target()
293 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || in nfc_genl_setup_device_added()
/Linux-v5.10/drivers/nfc/microread/
Dmicroread.c340 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in microread_target_from_gate()
488 targets->supported_protocols = in microread_target_discovered()
502 targets->supported_protocols = in microread_target_discovered()
516 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in microread_target_discovered()
521 targets->supported_protocols = NFC_PROTO_JEWEL_MASK; in microread_target_discovered()
528 targets->supported_protocols = NFC_PROTO_FELICA_MASK; in microread_target_discovered()
/Linux-v5.10/include/net/nfc/
Dnfc.h92 u32 supported_protocols; member
177 u32 supported_protocols; member
202 u32 supported_protocols,
Ddigital.h240 __u32 supported_protocols,
Dnci.h521 struct nci_nfcee_supported_protocol supported_protocols; member
Dnci_core.h271 __u32 supported_protocols,
/Linux-v5.10/net/ceph/
Dauth.c19 static u32 supported_protocols[] = { variable
125 num = ARRAY_SIZE(supported_protocols); in ceph_auth_build_hello()
129 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
/Linux-v5.10/drivers/nfc/pn533/
Dpn533.c724 nfc_tgt->supported_protocols = NFC_PROTO_MIFARE_MASK; in pn533_target_found_type_a()
727 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK; in pn533_target_found_type_a()
730 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_target_found_type_a()
733 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK | in pn533_target_found_type_a()
782 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_target_found_felica()
784 nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK; in pn533_target_found_felica()
832 nfc_tgt->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn533_target_found_jewel()
891 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in pn533_target_found_type_b()
934 if (!(nfc_tgt.supported_protocols & dev->poll_protocols)) { in pn533_target_found()
942 nfc_tgt.supported_protocols); in pn533_target_found()
[all …]
/Linux-v5.10/net/nfc/nci/
Dcore.c881 if (!(nci_target->supported_protocols & (1 << protocol))) { in nci_activate_target()
1117 __u32 supported_protocols, in nci_allocate_device() argument
1122 pr_debug("supported_protocols 0x%x\n", supported_protocols); in nci_allocate_device()
1127 if (!supported_protocols) in nci_allocate_device()
1148 supported_protocols, in nci_allocate_device()
Dntf.c252 target->supported_protocols |= protocol; in nci_add_new_protocol()
/Linux-v5.10/net/nfc/hci/
Dcore.c315 targets->supported_protocols = in nfc_hci_target_discovered()
317 if (targets->supported_protocols == 0xffffffff) { in nfc_hci_target_discovered()
346 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in nfc_hci_target_discovered()
/Linux-v5.10/drivers/media/common/siano/
Dsmscoreapi.h655 u8 supported_protocols; member
Dsmscoreapi.c1538 ver->firmware_id, ver->supported_protocols, in smscore_onresponse()
1543 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()