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

/linux-4.1.27/drivers/nfc/pn544/
H A Dpn544.c497 target->supported_protocols = NFC_PROTO_FELICA_MASK; pn544_hci_target_from_gate()
500 target->supported_protocols = NFC_PROTO_JEWEL_MASK; pn544_hci_target_from_gate()
504 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn544_hci_target_from_gate()
523 if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { pn544_hci_complete_target_discovered()
531 } else if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { pn544_hci_complete_target_discovered()
539 } else if (target->supported_protocols & NFC_PROTO_FELICA_MASK) { pn544_hci_complete_target_discovered()
560 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn544_hci_complete_target_discovered()
569 } else if (target->supported_protocols & NFC_PROTO_ISO14443_MASK) { pn544_hci_complete_target_discovered()
626 if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { pn544_hci_im_transceive()
696 pr_debug("supported protocol %d\b", target->supported_protocols); pn544_hci_check_presence()
697 if (target->supported_protocols & (NFC_PROTO_ISO14443_MASK | pn544_hci_check_presence()
702 } else if (target->supported_protocols & NFC_PROTO_MIFARE_MASK) { pn544_hci_check_presence()
710 } else if (target->supported_protocols & (NFC_PROTO_JEWEL_MASK | pn544_hci_check_presence()
713 } else if (target->supported_protocols & NFC_PROTO_NFC_DEP_MASK) { pn544_hci_check_presence()
/linux-4.1.27/net/nfc/
H A Ddigital_core.c389 target->supported_protocols = (1 << protocol); digital_target_found()
746 __u32 supported_protocols, nfc_digital_allocate_device()
773 if (supported_protocols & NFC_PROTO_JEWEL_MASK) nfc_digital_allocate_device()
775 if (supported_protocols & NFC_PROTO_MIFARE_MASK) nfc_digital_allocate_device()
777 if (supported_protocols & NFC_PROTO_FELICA_MASK) nfc_digital_allocate_device()
779 if (supported_protocols & NFC_PROTO_NFC_DEP_MASK) nfc_digital_allocate_device()
781 if (supported_protocols & NFC_PROTO_ISO15693_MASK) nfc_digital_allocate_device()
783 if (supported_protocols & NFC_PROTO_ISO14443_MASK) nfc_digital_allocate_device()
785 if (supported_protocols & NFC_PROTO_ISO14443_B_MASK) nfc_digital_allocate_device()
745 nfc_digital_allocate_device(struct nfc_digital_ops *ops, __u32 supported_protocols, __u32 driver_capabilities, int tx_headroom, int tx_tailroom) nfc_digital_allocate_device() argument
H A Dcore.c1039 * @supported_protocols: NFC protocols supported by the device
1042 u32 supported_protocols, nfc_allocate_device()
1051 if (!supported_protocols) nfc_allocate_device()
1059 dev->supported_protocols = supported_protocols; nfc_allocate_device()
1041 nfc_allocate_device(struct nfc_ops *ops, u32 supported_protocols, int tx_headroom, int tx_tailroom) nfc_allocate_device() argument
H A Dnetlink.c80 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || nfc_genl_send_target()
322 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || nfc_genl_device_added()
564 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, dev->supported_protocols) || nfc_genl_send_device()
/linux-4.1.27/drivers/nfc/st21nfca/
H A Dst21nfca.c657 target->supported_protocols = NFC_PROTO_FELICA_MASK; st21nfca_hci_target_from_gate()
665 target->supported_protocols = NFC_PROTO_JEWEL_MASK; st21nfca_hci_target_from_gate()
676 target->supported_protocols = st21nfca_hci_target_from_gate()
678 if (target->supported_protocols == 0xffffffff) st21nfca_hci_target_from_gate()
689 target->supported_protocols = NFC_PROTO_ISO15693_MASK; st21nfca_hci_target_from_gate()
734 target->supported_protocols = st21nfca_hci_complete_target_discovered()
737 target->supported_protocols = st21nfca_hci_complete_target_discovered()
755 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; st21nfca_hci_complete_target_discovered()
801 if (target->supported_protocols == NFC_PROTO_NFC_DEP_MASK) st21nfca_hci_im_transceive()
/linux-4.1.27/drivers/nfc/microread/
H A Dmicroread.c351 target->supported_protocols = NFC_PROTO_NFC_DEP_MASK; microread_target_from_gate()
499 targets->supported_protocols = microread_target_discovered()
513 targets->supported_protocols = microread_target_discovered()
527 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; microread_target_discovered()
532 targets->supported_protocols = NFC_PROTO_JEWEL_MASK; microread_target_discovered()
539 targets->supported_protocols = NFC_PROTO_FELICA_MASK; microread_target_discovered()
/linux-4.1.27/include/net/nfc/
H A Dnfc.h103 u32 supported_protocols; member in struct:nfc_target
182 u32 supported_protocols; member in struct:nfc_dev
203 u32 supported_protocols,
H A Ddigital.h249 __u32 supported_protocols,
H A Dnci.h526 struct nci_nfcee_supported_protocol supported_protocols; member in struct:nci_nfcee_discover_ntf
H A Dnci_core.h257 __u32 supported_protocols,
/linux-4.1.27/net/ceph/
H A Dauth.c18 static u32 supported_protocols[] = { variable
121 num = ARRAY_SIZE(supported_protocols); ceph_auth_build_hello()
125 ceph_encode_32(&p, supported_protocols[i]); ceph_auth_build_hello()
/linux-4.1.27/net/nfc/nci/
H A Dcore.c717 if (!(nci_target->supported_protocols & (1 << protocol))) { nci_activate_target()
943 * @supported_protocols: NFC protocols supported by the device
946 __u32 supported_protocols, nci_allocate_device()
951 pr_debug("supported_protocols 0x%x\n", supported_protocols); nci_allocate_device()
956 if (!supported_protocols) nci_allocate_device()
969 supported_protocols, nci_allocate_device()
945 nci_allocate_device(struct nci_ops *ops, __u32 supported_protocols, int tx_headroom, int tx_tailroom) nci_allocate_device() argument
H A Dntf.c264 target->supported_protocols |= protocol; nci_add_new_protocol()
/linux-4.1.27/drivers/nfc/
H A Dpn533.c1268 nfc_tgt->supported_protocols = NFC_PROTO_MIFARE_MASK; pn533_target_found_type_a()
1271 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK; pn533_target_found_type_a()
1274 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn533_target_found_type_a()
1277 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_MASK | pn533_target_found_type_a()
1326 nfc_tgt->supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn533_target_found_felica()
1328 nfc_tgt->supported_protocols = NFC_PROTO_FELICA_MASK; pn533_target_found_felica()
1376 nfc_tgt->supported_protocols = NFC_PROTO_JEWEL_MASK; pn533_target_found_jewel()
1435 nfc_tgt->supported_protocols = NFC_PROTO_ISO14443_B_MASK; pn533_target_found_type_b()
1477 if (!(nfc_tgt.supported_protocols & dev->poll_protocols)) { pn533_target_found()
1485 nfc_tgt.supported_protocols); pn533_target_found()
1487 dev->tgt_available_prots = nfc_tgt.supported_protocols; pn533_target_found()
1884 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn533_poll_dep_complete()
2338 nfc_target.supported_protocols = NFC_PROTO_NFC_DEP_MASK; pn533_in_dep_link_up_complete()
H A Dnfcsim.c91 nfc_tgt.supported_protocols = NFC_PROTO_NFC_DEP_MASK; nfcsim_target_found()
/linux-4.1.27/net/nfc/hci/
H A Dcore.c310 targets->supported_protocols = nfc_hci_target_discovered()
312 if (targets->supported_protocols == 0xffffffff) { nfc_hci_target_discovered()
341 targets->supported_protocols = NFC_PROTO_ISO14443_B_MASK; nfc_hci_target_discovered()
/linux-4.1.27/drivers/media/common/siano/
H A Dsmscoreapi.h660 /* supported_protocols Bitwise OR combination of
662 u8 supported_protocols; member in struct:sms_version_res
H A Dsmscoreapi.c1541 ver->firmware_id, ver->supported_protocols, smscore_onresponse()
1546 coredev->modes_supported = ver->supported_protocols; smscore_onresponse()

Completed in 528 milliseconds