Searched refs:n_targets (Results 1 – 8 of 8) sorted by relevance
293 for (i = 0; i < ndev->n_targets; i++) { in nci_add_new_target()305 if (ndev->n_targets == NCI_MAX_DISCOVERED_TARGETS) { in nci_add_new_target()310 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()317 ndev->n_targets++; in nci_add_new_target()320 ndev->n_targets); in nci_add_new_target()329 ndev->n_targets = 0; in nci_clear_target_list()391 ndev->n_targets); in nci_rf_discover_ntf_packet()475 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()484 ndev->n_targets++; in nci_target_auto_activated()487 target->logical_idx, ndev->n_targets); in nci_target_auto_activated()[all …]
900 for (i = 0; i < ndev->n_targets; i++) { in nci_activate_target()
272 for (i = 0; i < dev->n_targets; i++) { in nfc_find_target()769 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument773 pr_debug("dev_name=%s n_targets=%d\n", dev_name(&dev->dev), n_targets); in nfc_targets_found()775 for (i = 0; i < n_targets; i++) in nfc_targets_found()794 n_targets * sizeof(struct nfc_target), in nfc_targets_found()798 dev->n_targets = 0; in nfc_targets_found()804 dev->n_targets = n_targets; in nfc_targets_found()834 for (i = 0; i < dev->n_targets; i++) { in nfc_target_lost()840 if (i == dev->n_targets) { in nfc_target_lost()846 dev->n_targets--; in nfc_target_lost()[all …]
107 addr->target_idx < dev->target_next_idx - dev->n_targets) { in rawsock_connect()
144 while (i < dev->n_targets) { in nfc_genl_dump_targets()
167 int n_targets; member
240 int n_targets; member
107 struct dm_target *n_targets; in alloc_targets() local117 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()124 t->targets = n_targets; in alloc_targets()