Lines Matching refs:target
195 * The device remains polling for targets until a target is found or
202 pr_debug("dev_name %s initiator protocols 0x%x target protocols 0x%x\n",
285 struct nfc_target *target;
310 target = nfc_find_target(dev, target_index);
311 if (target == NULL) {
316 rc = dev->ops->dep_link_up(dev, target, comm_mode, gb, gb_len);
318 dev->active_target = target;
369 struct nfc_target *target;
371 target = nfc_find_target(dev, target_idx);
372 if (target == NULL)
375 dev->active_target = target;
388 * nfc_activate_target - prepare the target for data exchange
390 * @dev: The nfc device that found the target
391 * @target_idx: index of the target that must be activated
397 struct nfc_target *target;
414 target = nfc_find_target(dev, target_idx);
415 if (target == NULL) {
420 rc = dev->ops->activate_target(dev, target, protocol);
422 dev->active_target = target;
436 * nfc_deactivate_target - deactivate a nfc target
438 * @dev: The nfc device that found the target
439 * @target_idx: index of the target that must be deactivated
480 * @dev: The nfc device that found the target
481 * @target_idx: index of the target
657 /* Only LLCP target mode for now */
814 * nfc_target_lost - inform that an activated target went out of field
816 * @dev: The nfc device that had the activated target in field
817 * @target_idx: the nfc index of the target
819 * The device driver must call this function when the activated target