Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/nfc/nci/
Dntf.c271 for (i = 0; i < ndev->n_targets; i++) { in nci_add_new_target()
283 if (ndev->n_targets == NCI_MAX_DISCOVERED_TARGETS) { in nci_add_new_target()
288 target = &ndev->targets[ndev->n_targets]; in nci_add_new_target()
295 ndev->n_targets++; in nci_add_new_target()
298 ndev->n_targets); in nci_add_new_target()
307 ndev->n_targets = 0; in nci_clear_target_list()
369 ndev->n_targets); in nci_rf_discover_ntf_packet()
451 target = &ndev->targets[ndev->n_targets]; in nci_target_auto_activated()
460 ndev->n_targets++; in nci_target_auto_activated()
463 target->logical_idx, ndev->n_targets); in nci_target_auto_activated()
[all …]
Dcore.c885 for (i = 0; i < ndev->n_targets; i++) { in nci_activate_target()
/kernel/linux/linux-5.10/net/nfc/
Dcore.c271 for (i = 0; i < dev->n_targets; i++) { in nfc_find_target()
763 struct nfc_target *targets, int n_targets) in nfc_targets_found() argument
767 pr_debug("dev_name=%s n_targets=%d\n", dev_name(&dev->dev), n_targets); in nfc_targets_found()
769 for (i = 0; i < n_targets; i++) in nfc_targets_found()
788 n_targets * sizeof(struct nfc_target), in nfc_targets_found()
792 dev->n_targets = 0; in nfc_targets_found()
798 dev->n_targets = n_targets; in nfc_targets_found()
828 for (i = 0; i < dev->n_targets; i++) { in nfc_target_lost()
834 if (i == dev->n_targets) { in nfc_target_lost()
840 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()
/kernel/linux/linux-5.10/drivers/block/rsxx/
Ddma.c200 for (i = 0; i < card->n_targets; i++) in dma_intr_coal_auto_tune()
689 for (i = 0; i < card->n_targets; i++) { in rsxx_dma_queue_bio()
740 for (i = 0; i < card->n_targets; i++) { in rsxx_dma_queue_bio()
755 for (i = 0; i < card->n_targets; i++) in rsxx_dma_queue_bio()
859 card->_stripe.upper_shift = ffs(card->n_targets) - 1; in rsxx_dma_stripe_setup()
861 card->_stripe.target_mask = card->n_targets - 1; in rsxx_dma_stripe_setup()
898 card->n_targets); in rsxx_dma_setup()
901 for (i = 0; i < card->n_targets; i++) in rsxx_dma_setup()
910 for (i = 0; i < card->n_targets; i++) { in rsxx_dma_setup()
925 for (i = 0; i < card->n_targets; i++) { in rsxx_dma_setup()
[all …]
Dcore.c117 for (i = 0; i < card->n_targets; i++) { in rsxx_attr_stats_show()
364 for (i = 0; i < card->n_targets; i++) { in rsxx_isr()
565 for (i = 0; i < card->n_targets; i++) { in rsxx_eeh_frozen()
592 for (i = 0; i < card->n_targets; i++) { in rsxx_eeh_failure()
676 for (i = 0; i < card->n_targets; i++) { in rsxx_slot_reset()
691 if (card->n_targets & RSXX_MAX_TARGETS) in rsxx_slot_reset()
699 for (i = 0; i < card->n_targets; i++) { in rsxx_slot_reset()
716 for (i = 0; i < card->n_targets; i++) { in rsxx_slot_reset()
851 st = rsxx_get_num_targets(card, &card->n_targets); in rsxx_pci_probe()
856 card->ctrl = kcalloc(card->n_targets, sizeof(*card->ctrl), in rsxx_pci_probe()
[all …]
Drsxx_priv.h172 int n_targets; member
404 unsigned int *n_targets);
Dcregs.c508 unsigned int *n_targets) in rsxx_get_num_targets() argument
511 sizeof(*n_targets), n_targets, 0); in rsxx_get_num_targets()
/kernel/linux/linux-5.10/include/net/nfc/
Dnfc.h167 int n_targets; member
Dnci_core.h240 int n_targets; member
/kernel/linux/linux-5.10/drivers/md/
Ddm-table.c122 struct dm_target *n_targets; in alloc_targets() local
132 n_targets = (struct dm_target *) (n_highs + num); in alloc_targets()
139 t->targets = n_targets; in alloc_targets()