Home
last modified time | relevance | path

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

12345678

/Linux-v6.1/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-v6.1/fs/crypto/
Dinline_crypt.c27 struct block_device **devs; in fscrypt_get_devices() local
30 devs = sb->s_cop->get_devices(sb, num_devs); in fscrypt_get_devices()
31 if (devs) in fscrypt_get_devices()
32 return devs; in fscrypt_get_devices()
34 devs = kmalloc(sizeof(*devs), GFP_KERNEL); in fscrypt_get_devices()
35 if (!devs) in fscrypt_get_devices()
37 devs[0] = sb->s_bdev; in fscrypt_get_devices()
39 return devs; in fscrypt_get_devices()
73 struct block_device **devs, in fscrypt_log_blk_crypto_impl() argument
80 struct request_queue *q = bdev_get_queue(devs[i]); in fscrypt_log_blk_crypto_impl()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/gpu/host1x/
Dcontext.c24 cdl->devs = NULL; in host1x_memory_context_list_init()
32 cdl->devs = kcalloc(err, sizeof(*cdl->devs), GFP_KERNEL); in host1x_memory_context_list_init()
33 if (!cdl->devs) in host1x_memory_context_list_init()
40 ctx = &cdl->devs[i]; in host1x_memory_context_list_init()
87 device_del(&cdl->devs[i].dev); in host1x_memory_context_list_init()
89 kfree(cdl->devs); in host1x_memory_context_list_init()
100 device_del(&cdl->devs[i].dev); in host1x_memory_context_list_free()
102 kfree(cdl->devs); in host1x_memory_context_list_free()
119 struct host1x_memory_context *cd = &cdl->devs[i]; in host1x_memory_context_alloc()
/Linux-v6.1/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-v6.1/drivers/md/
Draid10.c109 int size = offsetof(struct r10bio, devs[conf->geo.raid_disks]); in r10bio_pool_alloc()
167 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
174 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
181 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
188 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
216 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
217 bio_uninit(r10_bio->devs[j].bio); in r10buf_pool_alloc()
218 kfree(r10_bio->devs[j].bio); in r10buf_pool_alloc()
219 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
220 bio_uninit(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/fs/erofs/
Dsuper.c285 if (sbi->devs->extra_devices && in erofs_scan_devices()
286 ondisk_extradevs != sbi->devs->extra_devices) { in erofs_scan_devices()
288 ondisk_extradevs, sbi->devs->extra_devices); in erofs_scan_devices()
296 down_read(&sbi->devs->rwsem); in erofs_scan_devices()
297 if (sbi->devs->extra_devices) { in erofs_scan_devices()
298 idr_for_each_entry(&sbi->devs->tree, dif, id) { in erofs_scan_devices()
311 err = idr_alloc(&sbi->devs->tree, dif, 0, 0, GFP_KERNEL); in erofs_scan_devices()
316 ++sbi->devs->extra_devices; in erofs_scan_devices()
323 up_read(&sbi->devs->rwsem); in erofs_scan_devices()
570 down_write(&ctx->devs->rwsem); in erofs_fc_parse_param()
[all …]
Ddata.c205 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local
216 down_read(&devs->rwsem); in erofs_map_dev()
217 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
219 up_read(&devs->rwsem); in erofs_map_dev()
226 up_read(&devs->rwsem); in erofs_map_dev()
227 } else if (devs->extra_devices) { in erofs_map_dev()
228 down_read(&devs->rwsem); in erofs_map_dev()
229 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
247 up_read(&devs->rwsem); in erofs_map_dev()
/Linux-v6.1/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-v6.1/drivers/infiniband/hw/usnic/
Dusnic_uiom.c457 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
490 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
509 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
533 struct device **devs; in usnic_uiom_get_dev_list() local
537 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
538 if (!devs) { in usnic_uiom_get_dev_list()
539 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
543 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
544 devs[i++] = uiom_dev->dev; in usnic_uiom_get_dev_list()
548 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-v6.1/drivers/char/tpm/
Dtpm2-space.c583 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release()
595 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove()
596 put_device(&chip->devs); in tpm_devs_remove()
607 device_initialize(&chip->devs); in tpm_devs_add()
608 chip->devs.parent = chip->dev.parent; in tpm_devs_add()
609 chip->devs.class = tpmrm_class; in tpm_devs_add()
617 chip->devs.release = tpm_devs_release; in tpm_devs_add()
618 chip->devs.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_devs_add()
622 rc = dev_set_name(&chip->devs, "tpmrm%d", chip->dev_num); in tpm_devs_add()
626 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c28 struct mlx5_core_dev *devs[MLX5_DEVCOM_PORTS_SUPPORTED]; member
86 if (iter->devs[i]) in mlx5_devcom_register_device()
87 tmp_dev = iter->devs[i]; in mlx5_devcom_register_device()
112 priv->devs[idx] = dev; in mlx5_devcom_register_device()
135 priv->devs[devcom->idx] = NULL; in mlx5_devcom_unregister_device()
140 if (priv->devs[i]) in mlx5_devcom_unregister_device()
/Linux-v6.1/drivers/nvdimm/
Dnamespace_devs.c1527 struct device *dev, **devs; in create_namespace_io() local
1534 devs = kcalloc(2, sizeof(struct device *), GFP_KERNEL); in create_namespace_io()
1535 if (!devs) { in create_namespace_io()
1549 devs[0] = dev; in create_namespace_io()
1550 return devs; in create_namespace_io()
1885 struct nd_namespace_label *nd_label, struct device **devs, in add_namespace_resource() argument
1893 uuid_t *uuid = namespace_to_uuid(devs[i]); in add_namespace_resource()
1929 struct device *dev, **devs = NULL; in scan_labels() local
1948 i = add_namespace_resource(nd_region, nd_label, devs, count); in scan_labels()
1956 memcpy(__devs, devs, sizeof(dev) * count); in scan_labels()
[all …]
/Linux-v6.1/drivers/macintosh/
Dmacio-adb.c70 static int macio_adb_autopoll(int devs);
132 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument
137 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll()
138 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll()
139 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
/Linux-v6.1/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-v6.1/include/linux/
Ddmar.h96 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument
98 dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \
101 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument
102 for_each_dev_scope((devs), (cnt), (i), (tmp)) \
/Linux-v6.1/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-v6.1/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-v6.1/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()

12345678