Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/nfc/pn544/
Dpn544.c497 target->supported_protocols = NFC_PROTO_FELICA_MASK; in pn544_hci_target_from_gate()
500 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn544_hci_target_from_gate()
504 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_target_from_gate()
523 if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_complete_target_discovered()
531 } else if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_complete_target_discovered()
539 } else if (target->supported_protocols & NFC_PROTO_FELICA_MASK) { in pn544_hci_complete_target_discovered()
560 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_complete_target_discovered()
569 } else if (target->supported_protocols & NFC_PROTO_ISO14443_MASK) { in pn544_hci_complete_target_discovered()
626 if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_im_transceive()
696 pr_debug("supported protocol %d\b", target->supported_protocols); in pn544_hci_check_presence()
[all …]
/linux-4.4.14/net/nfc/
Ddigital_core.c389 target->supported_protocols = (1 << protocol); in digital_target_found()
747 __u32 supported_protocols, in nfc_digital_allocate_device() argument
774 if (supported_protocols & NFC_PROTO_JEWEL_MASK) in nfc_digital_allocate_device()
776 if (supported_protocols & NFC_PROTO_MIFARE_MASK) in nfc_digital_allocate_device()
778 if (supported_protocols & NFC_PROTO_FELICA_MASK) in nfc_digital_allocate_device()
780 if (supported_protocols & NFC_PROTO_NFC_DEP_MASK) in nfc_digital_allocate_device()
782 if (supported_protocols & NFC_PROTO_ISO15693_MASK) in nfc_digital_allocate_device()
784 if (supported_protocols & NFC_PROTO_ISO14443_MASK) in nfc_digital_allocate_device()
786 if (supported_protocols & NFC_PROTO_ISO14443_B_MASK) in nfc_digital_allocate_device()
Dcore.c1042 u32 supported_protocols, in nfc_allocate_device() argument
1051 if (!supported_protocols) in nfc_allocate_device()
1059 dev->supported_protocols = supported_protocols; in nfc_allocate_device()
Dnetlink.c88 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target()
330 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || in nfc_genl_device_added()
572 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || in nfc_genl_send_device()
/linux-4.4.14/drivers/nfc/st21nfca/
Dcore.c645 target->supported_protocols = NFC_PROTO_FELICA_MASK; in st21nfca_hci_target_from_gate()
653 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in st21nfca_hci_target_from_gate()
664 target->supported_protocols = in st21nfca_hci_target_from_gate()
666 if (target->supported_protocols == 0xffffffff) in st21nfca_hci_target_from_gate()
677 target->supported_protocols = NFC_PROTO_ISO15693_MASK; in st21nfca_hci_target_from_gate()
722 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
725 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
743 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_complete_target_discovered()
789 if (target->supported_protocols == NFC_PROTO_NFC_DEP_MASK) in st21nfca_hci_im_transceive()
/linux-4.4.14/drivers/nfc/microread/
Dmicroread.c351 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in microread_target_from_gate()
499 targets->supported_protocols = in microread_target_discovered()
513 targets->supported_protocols = in microread_target_discovered()
527 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in microread_target_discovered()
532 targets->supported_protocols = NFC_PROTO_JEWEL_MASK; in microread_target_discovered()
539 targets->supported_protocols = NFC_PROTO_FELICA_MASK; in microread_target_discovered()
/linux-4.4.14/include/net/nfc/
Dnfc.h103 u32 supported_protocols; member
188 u32 supported_protocols; member
213 u32 supported_protocols,
Ddigital.h249 __u32 supported_protocols,
Dnci.h533 struct nci_nfcee_supported_protocol supported_protocols; member
Dnci_core.h275 __u32 supported_protocols,
/linux-4.4.14/net/ceph/
Dauth.c18 static u32 supported_protocols[] = { variable
121 num = ARRAY_SIZE(supported_protocols); in ceph_auth_build_hello()
125 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
/linux-4.4.14/drivers/nfc/
Dpn533.c1268 nfc_tgt->supported_protocols = NFC_PROTO_MIFARE_MASK; in pn533_target_found_type_a()
1271 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK; in pn533_target_found_type_a()
1274 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_target_found_type_a()
1277 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK | in pn533_target_found_type_a()
1326 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn533_target_found_felica()
1328 nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK; in pn533_target_found_felica()
1376 nfc_tgt->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn533_target_found_jewel()
1435 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in pn533_target_found_type_b()
1477 if (!(nfc_tgt.supported_protocols & dev->poll_protocols)) { in pn533_target_found()
1485 nfc_tgt.supported_protocols); in pn533_target_found()
[all …]
Dnfcsim.c91 nfc_tgt.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in nfcsim_target_found()
/linux-4.4.14/net/nfc/nci/
Dcore.c805 if (!(nci_target->supported_protocols & (1 << protocol))) { in nci_activate_target()
1041 __u32 supported_protocols, in nci_allocate_device() argument
1046 pr_debug("supported_protocols 0x%x\n", supported_protocols); in nci_allocate_device()
1051 if (!supported_protocols) in nci_allocate_device()
1072 supported_protocols, in nci_allocate_device()
Dntf.c264 target->supported_protocols |= protocol; in nci_add_new_protocol()
/linux-4.4.14/net/nfc/hci/
Dcore.c310 targets->supported_protocols = in nfc_hci_target_discovered()
312 if (targets->supported_protocols == 0xffffffff) { in nfc_hci_target_discovered()
341 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in nfc_hci_target_discovered()
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.h662 u8 supported_protocols; member
Dsmscoreapi.c1541 ver->firmware_id, ver->supported_protocols, in smscore_onresponse()
1546 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()