Searched refs:nfc_tgt (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/nfc/ |
D | pn533.c | 1256 static int pn533_target_found_type_a(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_type_a() argument 1268 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() 1282 nfc_tgt->sens_res = be16_to_cpu(tgt_type_a->sens_res); in pn533_target_found_type_a() 1283 nfc_tgt->sel_res = tgt_type_a->sel_res; in pn533_target_found_type_a() 1284 nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; in pn533_target_found_type_a() 1285 memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); in pn533_target_found_type_a() 1314 static int pn533_target_found_felica(struct nfc_target *nfc_tgt, u8 *tgt_data, in pn533_target_found_felica() argument [all …]
|
D | nfcsim.c | 85 struct nfc_target nfc_tgt; in nfcsim_target_found() local 89 memset(&nfc_tgt, 0, sizeof(struct nfc_target)); in nfcsim_target_found() 91 nfc_tgt.supported_protocols = NFC_PROTO_NFC_DEP_MASK; in nfcsim_target_found() 92 nfc_targets_found(dev->nfc_dev, &nfc_tgt, 1); in nfcsim_target_found()
|