Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 25 of 162) sorted by relevance

1234567

/Linux-v5.15/sound/isa/cs423x/
Dcs4236.c104 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
106 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
108 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
110 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
112 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } },
114 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
116 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
118 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } },
120 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
122 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } },
[all …]
/Linux-v5.15/sound/isa/sb/
Dsb16.c128 { .id = "CTL0024", .devs = { { "CTL0031" } } },
130 { .id = "CTL0025", .devs = { { "CTL0031" } } },
132 { .id = "CTL0026", .devs = { { "CTL0031" } } },
134 { .id = "CTL0027", .devs = { { "CTL0031" } } },
136 { .id = "CTL0028", .devs = { { "CTL0031" } } },
138 { .id = "CTL0029", .devs = { { "CTL0031" } } },
140 { .id = "CTL002a", .devs = { { "CTL0031" } } },
143 { .id = "CTL002b", .devs = { { "CTL0031" } } },
145 { .id = "CTL002c", .devs = { { "CTL0031" } } },
147 { .id = "CTL0051", .devs = { { "CTL0001" } } },
[all …]
/Linux-v5.15/drivers/comedi/drivers/
Dcomedi_bond.c56 struct bonded_device **devs; member
68 struct bonded_device **devs; in bonding_dio_insn_bits() local
79 devs = devpriv->devs; in bonding_dio_insn_bits()
81 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits()
132 struct bonded_device **devs; in bonding_dio_insn_config() local
137 devs = devpriv->devs; in bonding_dio_insn_config()
138 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs++) in bonding_dio_insn_config()
187 struct bonded_device **devs; in do_dev_config() local
242 devs = krealloc(devpriv->devs, in do_dev_config()
243 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config()
[all …]
/Linux-v5.15/drivers/watchdog/
Dcpwd.c91 } devs[WD_NUMDEVS]; member
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
226 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer()
246 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer()
264 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer()
265 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer()
274 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer()
278 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer()
294 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer()
296 p->devs[index].runstatus &= ~WD_STAT_SVCD; in cpwd_starttimer()
[all …]
/Linux-v5.15/fs/crypto/
Dinline_crypt.c26 struct request_queue *devs[]; member
37 struct request_queue **devs) in fscrypt_get_devices() argument
40 devs[0] = bdev_get_queue(sb->s_bdev); in fscrypt_get_devices()
42 sb->s_cop->get_devices(sb, devs); in fscrypt_get_devices()
73 struct request_queue **devs; in fscrypt_select_encryption_impl() local
109 devs = kmalloc_array(num_devs, sizeof(*devs), GFP_KERNEL); in fscrypt_select_encryption_impl()
110 if (!devs) in fscrypt_select_encryption_impl()
112 fscrypt_get_devices(sb, num_devs, devs); in fscrypt_select_encryption_impl()
115 if (!blk_crypto_config_supported(devs[i], &crypto_cfg)) in fscrypt_select_encryption_impl()
121 kfree(devs); in fscrypt_select_encryption_impl()
[all …]
/Linux-v5.15/drivers/md/
Draid10.c94 int size = offsetof(struct r10bio, devs[conf->geo.raid_disks]); in r10bio_pool_alloc()
151 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
157 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
164 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
171 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
199 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
200 bio_put(r10_bio->devs[j].bio); in r10buf_pool_alloc()
201 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
202 bio_put(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
218 struct bio *bio = r10bio->devs[j].bio; in r10buf_pool_free()
[all …]
/Linux-v5.15/sound/isa/ad1816a/
Dad1816a.c49 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
51 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
53 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
55 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
57 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
59 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
61 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
63 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
65 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } },
67 { .id = "TER1411", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
[all …]
/Linux-v5.15/sound/isa/
Dals100.c62 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
66 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
70 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
74 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } },
78 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
82 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } },
86 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } },
90 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
104 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
108 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
[all …]
Dazt2320.c67 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } },
69 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } },
71 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } },
73 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } },
75 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } },
77 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } },
92 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
96 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
/Linux-v5.15/drivers/char/tpm/
Dtpm-chip.c279 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release()
347 device_initialize(&chip->devs); in tpm_chip_alloc()
355 chip->devs.parent = pdev; in tpm_chip_alloc()
356 chip->devs.class = tpmrm_class; in tpm_chip_alloc()
357 chip->devs.release = tpm_devs_release; in tpm_chip_alloc()
371 chip->devs.devt = in tpm_chip_alloc()
377 rc = dev_set_name(&chip->devs, "tpmrm%d", chip->dev_num); in tpm_chip_alloc()
399 put_device(&chip->devs); in tpm_chip_alloc()
448 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_add_char_device()
450 dev_err(&chip->devs, in tpm_add_char_device()
[all …]
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Dstriped.rst11 Parameters: <num devs> <chunk size> [<dev path> <offset>]+
12 <num devs>:
39 my @devs = @ARGV;
46 $min_dev_size = `blockdev --getsz $devs[0]`;
48 my $this_size = `blockdev --getsz $devs[$i]`;
58 $table .= " $devs[$i] 0";
/Linux-v5.15/drivers/char/agp/
Dali-agp.c304 struct agp_device_ids *devs = ali_agp_device_ids; in agp_ali_probe() local
314 for (j = 0; devs[j].chipset_name; j++) { in agp_ali_probe()
315 if (pdev->device == devs[j].device_id) in agp_ali_probe()
340 devs[j].chipset_name = "M1631"; in agp_ali_probe()
343 devs[j].chipset_name = "M1632"; in agp_ali_probe()
346 devs[j].chipset_name = "M1641"; in agp_ali_probe()
349 devs[j].chipset_name = "M1621"; in agp_ali_probe()
352 devs[j].chipset_name = "M1647"; in agp_ali_probe()
355 devs[j].chipset_name = "M1651"; in agp_ali_probe()
365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[j].chipset_name); in agp_ali_probe()
/Linux-v5.15/drivers/infiniband/hw/usnic/
Dusnic_uiom.c461 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
494 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
513 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
537 struct device **devs; in usnic_uiom_get_dev_list() local
541 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
542 if (!devs) { in usnic_uiom_get_dev_list()
543 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
547 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
548 devs[i++] = uiom_dev->dev; in usnic_uiom_get_dev_list()
552 return devs; in usnic_uiom_get_dev_list()
[all …]
Dusnic_uiom.h61 struct list_head devs; member
89 void usnic_uiom_free_dev_list(struct device **devs);
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c28 struct mlx5_core_dev *devs[MLX5_MAX_PORTS]; member
84 if (iter->devs[i]) in mlx5_devcom_register_device()
85 tmp_dev = iter->devs[i]; in mlx5_devcom_register_device()
110 priv->devs[idx] = dev; in mlx5_devcom_register_device()
133 priv->devs[devcom->idx] = NULL; in mlx5_devcom_unregister_device()
138 if (priv->devs[i]) in mlx5_devcom_unregister_device()
/Linux-v5.15/drivers/nvdimm/
Dnamespace_devs.c1808 struct device *dev, **devs; in create_namespace_io() local
1815 devs = kcalloc(2, sizeof(struct device *), GFP_KERNEL); in create_namespace_io()
1816 if (!devs) { in create_namespace_io()
1830 devs[0] = dev; in create_namespace_io()
1831 return devs; in create_namespace_io()
2212 struct nd_namespace_label *nd_label, struct device **devs, in add_namespace_resource() argument
2220 u8 *uuid = namespace_to_uuid(devs[i]); in add_namespace_resource()
2230 if (is_namespace_blk(devs[i])) { in add_namespace_resource()
2232 to_nd_namespace_blk(devs[i]), in add_namespace_resource()
2323 struct device *dev, **devs = NULL; in scan_labels() local
[all …]
/Linux-v5.15/drivers/macintosh/
Dmacio-adb.c67 static int macio_adb_autopoll(int devs);
129 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument
134 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll()
135 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll()
136 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
/Linux-v5.15/arch/arm/mach-rpc/
Driscpc.c184 static struct platform_device *devs[] __initdata = { variable
199 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
/Linux-v5.15/include/linux/
Ddmar.h100 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument
102 dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \
105 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument
106 for_each_dev_scope((devs), (cnt), (i), (tmp)) \
/Linux-v5.15/drivers/iommu/intel/
Dsvm.c57 list_for_each_entry_rcu(t, &svm->devs, list) { in svm_lookup_device_by_sid()
74 list_for_each_entry_rcu(t, &svm->devs, list) { in svm_lookup_device_by_dev()
237 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_flush_svm_range()
271 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_mm_release()
310 if (WARN_ON(list_empty(&svm->devs))) in pasid_to_svm_sdev()
402 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_gpasid()
452 list_add_rcu(&sdev->list, &svm->devs); in intel_svm_bind_gpasid()
454 if (!IS_ERR_OR_NULL(svm) && list_empty(&svm->devs)) { in intel_svm_bind_gpasid()
488 if (list_empty(&svm->devs)) { in intel_svm_unbind_gpasid()
557 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_mm()
[all …]
/Linux-v5.15/sound/pci/
Dvia82xx_modem.c235 struct viadev devs[VIA_MAX_MODEM_DEVS]; member
488 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt()
766 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open()
777 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
820 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
821 chip->devs[idx].direction = direction; in init_viadev()
822 chip->devs[idx].port = chip->port + reg_offset; in init_viadev()
1023 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend()
1039 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume()
1058 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_free()
[all …]
/Linux-v5.15/drivers/mfd/
Ducb1x00-core.c408 list_add_tail(&dev->dev_node, &ucb->devs); in ucb1x00_add_dev()
409 list_add_tail(&dev->drv_node, &drv->devs); in ucb1x00_add_dev()
586 INIT_LIST_HEAD(&ucb->devs); in ucb1x00_probe()
619 list_for_each_safe(l, n, &ucb->devs) { in ucb1x00_remove()
640 INIT_LIST_HEAD(&drv->devs); in ucb1x00_register_driver()
656 list_for_each_safe(l, n, &drv->devs) { in ucb1x00_unregister_driver()
671 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_suspend()
724 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_resume()
/Linux-v5.15/drivers/sbus/char/
Dbbc_i2c.c59 if (bp->devs[i].device == op) { in set_device_claimage()
60 bp->devs[i].client_claimed = val; in set_device_claimage()
75 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev()
335 bp->devs[entry].device = child_op; in attach_one_i2c()
336 bp->devs[entry].client_claimed = 0; in attach_one_i2c()
/Linux-v5.15/tools/testing/selftests/net/
Ddevlink_port_split.py243 devs = json.loads(stdout)['dev']
244 if devs:
245 dev = list(devs.keys())[0]
/Linux-v5.15/drivers/mtd/
Dmtd_blkdevs.c285 list_for_each_entry(d, &tr->devs, list) { in add_mtd_blktrans_dev()
316 list_add_tail(&new->list, &tr->devs); in add_mtd_blktrans_dev()
451 list_for_each_entry_safe(dev, next, &tr->devs, list) in blktrans_notify_remove()
495 INIT_LIST_HEAD(&tr->devs); in register_mtd_blktrans()
515 list_for_each_entry_safe(dev, next, &tr->devs, list) in deregister_mtd_blktrans()
521 BUG_ON(!list_empty(&tr->devs)); in deregister_mtd_blktrans()

1234567