Home
last modified time | relevance | path

Searched refs:n_targets (Results 1 – 5 of 5) sorted by relevance

/net/nfc/nci/
Dntf.c265 for (i = 0; i < ndev->n_targets; i++) { in nci_add_new_target()
277 if (ndev->n_targets == NCI_MAX_DISCOVERED_TARGETS) { in nci_add_new_target()
282 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()
289 ndev->n_targets++; in nci_add_new_target()
292 ndev->n_targets); in nci_add_new_target()
301 ndev->n_targets = 0; in nci_clear_target_list()
363 ndev->n_targets); in nci_rf_discover_ntf_packet()
445 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()
454 ndev->n_targets++; in nci_target_auto_activated()
457 target->logical_idx, ndev->n_targets); in nci_target_auto_activated()
[all …]
Dcore.c869 for (i = 0; i < ndev->n_targets; i++) { in nci_activate_target()
/net/nfc/
Dcore.c271 for (i = 0; i < dev->n_targets; i++) { in nfc_find_target()
764 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
768 pr_debug("dev_name=%s n_targets=%d\n", dev_name(&dev->dev), n_targets); in nfc_targets_found()
770 for (i = 0; i < n_targets; i++) in nfc_targets_found()
789 n_targets * sizeof(struct nfc_target), in nfc_targets_found()
793 dev->n_targets = 0; in nfc_targets_found()
799 dev->n_targets = n_targets; in nfc_targets_found()
829 for (i = 0; i < dev->n_targets; i++) { in nfc_target_lost()
835 if (i == dev->n_targets) { in nfc_target_lost()
841 dev->n_targets--; in nfc_target_lost()
[all …]
Drawsock.c106 addr->target_idx < dev->target_next_idx - dev->n_targets) { in rawsock_connect()
Dnetlink.c148 while (i < dev->n_targets) { in nfc_genl_dump_targets()