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

/linux-master/net/nfc/nci/
H A Dntf.c293 for (i = 0; i < ndev->n_targets; i++) {
305 if (ndev->n_targets == NCI_MAX_DISCOVERED_TARGETS) {
310 target = &ndev->targets[ndev->n_targets];
317 ndev->n_targets++;
319 pr_debug("logical idx %d, n_targets %d\n", target->logical_idx,
320 ndev->n_targets);
329 ndev->n_targets = 0;
391 ndev->n_targets);
475 target = &ndev->targets[ndev->n_targets];
484 ndev->n_targets
[all...]
H A Dcore.c900 for (i = 0; i < ndev->n_targets; i++) {
/linux-master/net/nfc/
H A Dcore.c272 for (i = 0; i < dev->n_targets; i++) {
757 * @n_targets: targets array size
762 * NOTE: This function can be called with targets=NULL and n_targets=0 to
769 struct nfc_target *targets, int n_targets)
773 pr_debug("dev_name=%s n_targets=%d\n", dev_name(&dev->dev), n_targets);
775 for (i = 0; i < n_targets; i++)
794 n_targets * sizeof(struct nfc_target),
798 dev->n_targets = 0;
804 dev->n_targets
768 nfc_targets_found(struct nfc_dev *dev, struct nfc_target *targets, int n_targets) argument
[all...]
H A Drawsock.c107 addr->target_idx < dev->target_next_idx - dev->n_targets) {
H A Dnetlink.c144 while (i < dev->n_targets) {
/linux-master/include/net/nfc/
H A Dnfc.h167 int n_targets; member in struct:nfc_dev
H A Dnci_core.h240 int n_targets; member in struct:nci_dev
/linux-master/drivers/md/
H A Ddm-table.c107 struct dm_target *n_targets; local
117 n_targets = (struct dm_target *) (n_highs + num);
124 t->targets = n_targets;

Completed in 159 milliseconds