Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 51) sorted by relevance

123

/drivers/nfc/microread/
Dmicroread.c473 struct nfc_target *targets; in microread_target_discovered() local
478 targets = kzalloc(sizeof(struct nfc_target), GFP_KERNEL); in microread_target_discovered()
479 if (targets == NULL) { in microread_target_discovered()
484 targets->hci_reader_gate = gate; in microread_target_discovered()
488 targets->supported_protocols = in microread_target_discovered()
490 targets->sens_res = in microread_target_discovered()
492 targets->sel_res = skb->data[MICROREAD_EMCF_A_SAK]; in microread_target_discovered()
493 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A_LEN]; in microread_target_discovered()
494 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
498 memcpy(targets->nfcid1, &skb->data[MICROREAD_EMCF_A_UID], in microread_target_discovered()
[all …]
/drivers/net/ethernet/mscc/
Docelot_io.c20 regmap_read(ocelot->targets[target], in __ocelot_read_ix()
32 regmap_write(ocelot->targets[target], in __ocelot_write_ix()
44 regmap_update_bits(ocelot->targets[target], in __ocelot_rmw_ix()
87 regmap_read(ocelot->targets[target], in __ocelot_target_read_ix()
95 regmap_write(ocelot->targets[target], in __ocelot_target_write_ix()
122 ocelot->targets[target], in ocelot_regfields_init()
Docelot_vsc7514.c489 regmap_write(ocelot->targets[HSIO], HSIO_PLL5G_CFG4, in ocelot_pll5_init()
492 regmap_write(ocelot->targets[HSIO], HSIO_PLL5G_CFG0, in ocelot_pll5_init()
504 regmap_write(ocelot->targets[HSIO], HSIO_PLL5G_CFG2, in ocelot_pll5_init()
1206 ocelot->targets[io_target[i].id] = NULL; in mscc_ocelot_probe()
1212 ocelot->targets[io_target[i].id] = target; in mscc_ocelot_probe()
1221 ocelot->targets[HSIO] = hsio; in mscc_ocelot_probe()
1238 if (irq_ptp_rdy > 0 && ocelot->targets[PTP]) { in mscc_ocelot_probe()
/drivers/block/aoe/
Daoedev.c216 tt = d->targets; in aoedev_downdev()
284 t = d->targets; in freedev()
385 kfree(doomed->targets); in flush()
466 d->targets = kcalloc(NTARGETS, sizeof(*d->targets), GFP_ATOMIC); in aoedev_by_aoeaddr()
467 if (!d->targets) { in aoedev_by_aoeaddr()
481 d->tgt = d->targets; in aoedev_by_aoeaddr()
Daoecmd.c258 if (!d->targets || !d->targets[0]) { in newframe()
265 if (tt >= &d->targets[d->ntargets] || !*tt) in newframe()
266 tt = d->targets; in newframe()
717 for (i = good = 0; i < d->ntargets && d->targets[i]; ++i) in count_targets()
718 if (d->targets[i]->taint == 0) in count_targets()
1012 t = d->targets; in gettgt()
1427 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets()
1430 memmove(tt, d->targets, sizeof(*d->targets) * oldn); in grow_targets()
1431 d->tgt = tt + (d->tgt - d->targets); in grow_targets()
1432 kfree(d->targets); in grow_targets()
[all …]
Daoeblk.c52 struct aoetgt *t = d->targets[0]; in aoedisk_show_mac()
71 t = d->targets; in aoedisk_show_netif()
131 t = d->targets; in aoedisk_debugfs_show()
/drivers/s390/crypto/
Dzcrypt_api.c986 struct ep11_target_dev *targets) in is_desired_ep11_card() argument
989 if (targets->ap_id == dev_id || targets->ap_id == AUTOSEL_AP) in is_desired_ep11_card()
991 targets++; in is_desired_ep11_card()
998 struct ep11_target_dev *targets) in is_desired_ep11_queue() argument
1003 if ((targets->ap_id == card || targets->ap_id == AUTOSEL_AP) && in is_desired_ep11_queue()
1004 (targets->dom_id == dom || targets->dom_id == AUTOSEL_DOM)) in is_desired_ep11_queue()
1006 targets++; in is_desired_ep11_queue()
1017 struct ep11_target_dev *targets; in _zcrypt_send_ep11_cprb() local
1037 targets = NULL; in _zcrypt_send_ep11_cprb()
1041 targets = kcalloc(target_num, sizeof(*targets), GFP_KERNEL); in _zcrypt_send_ep11_cprb()
[all …]
/drivers/net/bonding/
Dbond_options.c1003 __be32 *targets = bond->params.arp_targets; in _bond_options_arp_ip_target_set() local
1010 targets[slot] = target; in _bond_options_arp_ip_target_set()
1016 __be32 *targets = bond->params.arp_targets; in _bond_option_arp_ip_target_add() local
1025 if (bond_get_targets_ip(targets, target) != -1) { /* dup */ in _bond_option_arp_ip_target_add()
1031 ind = bond_get_targets_ip(targets, 0); /* first free slot */ in _bond_option_arp_ip_target_add()
1051 __be32 *targets = bond->params.arp_targets; in bond_option_arp_ip_target_rem() local
1063 ind = bond_get_targets_ip(targets, target); in bond_option_arp_ip_target_rem()
1070 if (ind == 0 && !targets[1] && bond->params.arp_interval) in bond_option_arp_ip_target_rem()
1077 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()
1081 for (i = ind; (i < BOND_MAX_ARP_TARGETS-1) && targets[i+1]; i++) in bond_option_arp_ip_target_rem()
[all …]
Dbond_netlink.c527 struct nlattr *targets; in bond_fill_info() local
558 targets = nla_nest_start_noflag(skb, IFLA_BOND_ARP_IP_TARGET); in bond_fill_info()
559 if (!targets) in bond_fill_info()
572 nla_nest_end(skb, targets); in bond_fill_info()
574 nla_nest_cancel(skb, targets); in bond_fill_info()
/drivers/scsi/
Dinitio.c620 host->targets[i].flags = *flags & ~(TCF_SYNC_DONE | TCF_WDTR_DONE); in initio_init()
621 if (host->targets[i].flags & TCF_EN_255) in initio_init()
622 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
624 host->targets[i].drv_flags = 0; in initio_init()
625 host->targets[i].js_period = 0; in initio_init()
626 host->targets[i].sconfig0 = host->sconf1; in initio_init()
627 host->targets[i].heads = *heads++; in initio_init()
628 if (host->targets[i].heads == 255) in initio_init()
629 host->targets[i].drv_flags = TCF_DRV_255_63; in initio_init()
631 host->targets[i].drv_flags = 0; in initio_init()
[all …]
/drivers/md/
Ddm-table.c139 t->targets = n_targets; in alloc_targets()
210 struct dm_target *tgt = t->targets + i; in dm_table_destroy()
492 prev = &table->targets[table->num_targets - 1]; in adjoin()
675 dm_device_name(t->md), t->targets->type->name); in dm_table_add_target()
681 tgt = t->targets + t->num_targets; in dm_table_add_target()
913 tgt = t->targets + i; in dm_table_determine_type()
1011 !dm_target_is_immutable(t->targets[0].type)) in dm_table_get_immutable_target()
1014 return t->targets; in dm_table_get_immutable_target()
1056 ti = t->targets + i; in dm_table_alloc_md_mempools()
1563 return t->targets + index; in dm_table_get_target()
[all …]
Ddm-core.h151 struct dm_target *targets; member
/drivers/acpi/numa/
Dhmat.c37 static LIST_HEAD(targets);
97 list_for_each_entry(target, &targets, node) in find_mem_target()
141 list_add_tail(&target->node, &targets); in alloc_memory_target()
761 list_for_each_entry(target, &targets, node) in hmat_register_targets()
796 list_for_each_entry_safe(target, tnext, &targets, node) { in hmat_free_structures()
DKconfig16 register memory initiators with their targets, and export
/drivers/md/persistent-data/
DKconfig9 device-mapper targets such as the thin provisioning target.
/drivers/base/firmware_loader/builtin/
DMakefile40 targets := $(patsubst $(obj)/%,%, \ macro
/drivers/misc/lkdtm/
DMakefile22 targets += rodata.o rodata_objcopy.o
/drivers/scsi/ibmvscsi/
Dibmvfc.c605 list_for_each_entry(tgt, &vhost->targets, queue) in ibmvfc_link_down()
638 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_init_host()
966 list_for_each_entry(tgt, &vhost->targets, queue) in __ibmvfc_get_target()
1559 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_relogin()
1818 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_bsg_plogi()
2618 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_terminate_rport_io()
2758 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_handle_async()
4143 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_alloc_target()
4150 list_for_each_entry(tgt, &vhost->targets, queue) { in ibmvfc_alloc_target()
4202 list_add_tail(&tgt->queue, &vhost->targets); in ibmvfc_alloc_target()
[all …]
/drivers/crypto/vmx/
DMakefile14 targets += aesp8-ppc.S ghashp8-ppc.S
/drivers/staging/comedi/drivers/ni_routing/tools/
DMakefile11 @echo Typical targets:
/drivers/video/logo/
DMakefile37 targets += *_mono.c *_vga16.c *_clut224.c *_gray256.c
/drivers/memory/
DMakefile40 targets += emif-asm-offsets.s
/drivers/net/wan/
DMakefile69 targets += wanxlfw.inc wanxlfw.bin wanxlfw.o
/drivers/lightnvm/
Dcore.c42 list_for_each_entry(tgt, &dev->targets, list) in nvm_find_target()
58 list_for_each_entry(tgt, &dev->targets, list) { in nvm_target_exists()
421 list_add_tail(&t->list, &dev->targets); in nvm_create_tgt()
1104 INIT_LIST_HEAD(&dev->targets); in nvm_core_init()
1214 list_for_each_entry_safe(t, tmp, &dev->targets, list) { in nvm_unregister()
/drivers/gpu/drm/radeon/
DMakefile7 targets := rn50_reg_safe.h r100_reg_safe.h r200_reg_safe.h rv515_reg_safe.h r300_reg_safe.h r420_re… macro

123