Searched defs:targets (Results 1 - 2 of 2) sorted by relevance

/net/nfc/
H A Dcore.c201 * nfc_start_poll - start polling for nfc targets
206 * The device remains polling for targets until a target is found or
248 * nfc_stop_poll - stop polling for nfc targets
284 if (dev->targets[i].idx == target_idx)
285 return &dev->targets[i];
762 * nfc_targets_found - inform that targets were found
764 * @dev: The nfc device that found the targets
765 * @targets: array of nfc targets found
766 * @ntargets: targets arra
777 nfc_targets_found(struct nfc_dev *dev, struct nfc_target *targets, int n_targets) argument
[all...]
/net/nfc/hci/
H A Dcore.c192 struct nfc_target *targets; local
200 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL);
201 if (targets == NULL)
221 targets->supported_protocols =
223 if (targets->supported_protocols == 0xffffffff) {
228 targets->sens_res = be16_to_cpu(*(__be16 *)atqa_skb->data);
229 targets->sel_res = sak_skb->data[0];
241 memcpy(targets->nfcid1, uid_skb->data, uid_skb->len);
242 targets->nfcid1_len = uid_skb->len;
246 targets);
[all...]

Completed in 53 milliseconds