Home
last modified time | relevance | path

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

/linux-6.1.9/net/nfc/nci/
Dntf.c293 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 …]
Dcore.c899 for (i = 0; i < ndev->n_targets; i++) { in nci_activate_target()
/linux-6.1.9/net/nfc/
Dcore.c272 for (i = 0; i < dev->n_targets; i++) { in nfc_find_target()
769 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
773 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 …]
Drawsock.c106 addr->target_idx < dev->target_next_idx - dev->n_targets) { in rawsock_connect()
Dnetlink.c144 while (i < dev->n_targets) { in nfc_genl_dump_targets()
/linux-6.1.9/include/net/nfc/
Dnfc.h167 int n_targets; member
Dnci_core.h240 int n_targets; member
/linux-6.1.9/drivers/md/
Ddm-table.c106 struct dm_target *n_targets; in alloc_targets() local
116 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()
123 t->targets = n_targets; in alloc_targets()