Home
last modified time | relevance | path

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

/linux/drivers/nfc/pn544/
H A Dpn544.c485 target->supported_protocols = NFC_PROTO_FELICA_MASK; in pn544_hci_target_from_gate()
488 target->supported_protocols = NFC_PROTO_JEWEL_MASK; in pn544_hci_target_from_gate()
492 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_target_from_gate()
511 if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_complete_target_discovered()
519 } else if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_complete_target_discovered()
527 } else if (target->supported_protocols & NFC_PROTO_FELICA_MASK) { in pn544_hci_complete_target_discovered()
548 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in pn544_hci_complete_target_discovered()
557 } else if (target->supported_protocols & NFC_PROTO_ISO14443_MASK) { in pn544_hci_complete_target_discovered()
614 if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { in pn544_hci_im_transceive()
684 pr_debug("supported protocol %d\n", target->supported_protocols); in pn544_hci_check_presence()
[all …]
/linux/net/nfc/
H A Ddigital_core.c391 target->supported_protocols = (1 << protocol); in digital_target_found()
754 __u32 supported_protocols, in nfc_digital_allocate_device() argument
781 if (supported_protocols & NFC_PROTO_JEWEL_MASK) in nfc_digital_allocate_device()
783 if (supported_protocols & NFC_PROTO_MIFARE_MASK) in nfc_digital_allocate_device()
785 if (supported_protocols & NFC_PROTO_FELICA_MASK) in nfc_digital_allocate_device()
787 if (supported_protocols & NFC_PROTO_NFC_DEP_MASK) in nfc_digital_allocate_device()
789 if (supported_protocols & NFC_PROTO_ISO15693_MASK) in nfc_digital_allocate_device()
791 if (supported_protocols & NFC_PROTO_ISO14443_MASK) in nfc_digital_allocate_device()
793 if (supported_protocols & NFC_PROTO_ISO14443_B_MASK) in nfc_digital_allocate_device()
H A Dcore.c1052 u32 supported_protocols, in nfc_allocate_device() argument
1062 if (!supported_protocols) in nfc_allocate_device()
1079 dev->supported_protocols = supported_protocols; in nfc_allocate_device()
H A Dnetlink.c74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target()
298 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || in nfc_genl_setup_device_added()
/linux/drivers/nfc/st21nfca/
H A Dcore.c626 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()
645 target->supported_protocols = in st21nfca_hci_target_from_gate()
647 if (target->supported_protocols == 0xffffffff) in st21nfca_hci_target_from_gate()
658 target->supported_protocols = NFC_PROTO_ISO15693_MASK; in st21nfca_hci_target_from_gate()
703 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
706 target->supported_protocols = in st21nfca_hci_complete_target_discovered()
725 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_complete_target_discovered()
771 if (target->supported_protocols == NFC_PROTO_NFC_DEP_MASK) in st21nfca_hci_im_transceive()
/linux/drivers/nfc/microread/
H A Dmicroread.c339 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; in microread_target_from_gate()
486 targets->supported_protocols = in microread_target_discovered()
500 targets->supported_protocols = in microread_target_discovered()
514 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; in microread_target_discovered()
519 targets->supported_protocols = NFC_PROTO_JEWEL_MASK; in microread_target_discovered()
526 targets->supported_protocols = NFC_PROTO_FELICA_MASK; in microread_target_discovered()
/linux/include/net/nfc/
H A Dnfc.h94 u32 supported_protocols; member
181 u32 supported_protocols; member
206 u32 supported_protocols,
H A Ddigital.h240 __u32 supported_protocols,
H A Dnci.h555 struct nci_nfcee_supported_protocol supported_protocols; member
/linux/net/ceph/
H A Dauth.c19 static u32 supported_protocols[] = { variable
141 num = ARRAY_SIZE(supported_protocols); in ceph_auth_build_hello()
145 ceph_encode_32(&p, supported_protocols[i]); in ceph_auth_build_hello()
/linux/net/nfc/nci/
H A Dcore.c925 if (!(nci_target->supported_protocols & (1 << protocol))) { in nci_activate_target()
1161 __u32 supported_protocols, in nci_allocate_device() argument
1166 pr_debug("supported_protocols 0x%x\n", supported_protocols); in nci_allocate_device()
1171 if (!supported_protocols) in nci_allocate_device()
1191 supported_protocols, in nci_allocate_device()
/linux/net/nfc/hci/
H A 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/drivers/media/common/siano/
H A Dsmscoreapi.h649 u8 supported_protocols; member
H A Dsmscoreapi.c1529 ver->firmware_id, ver->supported_protocols, in smscore_onresponse()
1534 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()