Lines Matching refs:target
296 struct nfc_target *target; in nfc_dep_link_up() local
321 target = nfc_find_target(dev, target_index); in nfc_dep_link_up()
322 if (target == NULL) { in nfc_dep_link_up()
327 rc = dev->ops->dep_link_up(dev, target, comm_mode, gb, gb_len); in nfc_dep_link_up()
329 dev->active_target = target; in nfc_dep_link_up()
380 struct nfc_target *target; in nfc_dep_link_is_up() local
382 target = nfc_find_target(dev, target_idx); in nfc_dep_link_is_up()
383 if (target == NULL) in nfc_dep_link_is_up()
386 dev->active_target = target; in nfc_dep_link_is_up()
408 struct nfc_target *target; in nfc_activate_target() local
425 target = nfc_find_target(dev, target_idx); in nfc_activate_target()
426 if (target == NULL) { in nfc_activate_target()
431 rc = dev->ops->activate_target(dev, target, protocol); in nfc_activate_target()
433 dev->active_target = target; in nfc_activate_target()