Home
last modified time | relevance | path

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

1234567

/linux/sound/isa/cs423x/
A Dcs4236.c124 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" } } },
128 { .id = "CSC0735", .devs = { { "CSC0000" }, { "CSC0010" } } },
134 { .id = "CSC1425", .devs = { { "CSC0100" }, { "CSC0110" } } },
158 { .id = "CSC6835", .devs = { { "CSC0000" }, { "CSC0010" } } },
168 { .id = "CSCc835", .devs = { { "CSC0000" }, { "CSC0010" } } },
178 { .id = "CSCa836", .devs = { { "CSCa800" }, { "CSCa810" } } },
184 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" } } },
186 { .id = "CSC4825", .devs = { { "CSC0100" }, { "CSC0110" } } },
188 { .id = "CSCe835", .devs = { { "CSC0000" }, { "CSC0010" } } },
190 { .id = "CSCe836", .devs = { { "CSC0000" }, { "CSC0010" } } },
[all …]
/linux/sound/isa/sb/
A 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/drivers/comedi/drivers/
A 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()
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()
242 devs = krealloc(devpriv->devs, in do_dev_config()
245 if (!devs) { in do_dev_config()
251 devpriv->devs = devs; in do_dev_config()
332 kfree(devpriv->devs); in bonding_detach()
[all …]
/linux/drivers/watchdog/
A Dcpwd.c91 } devs[WD_NUMDEVS]; member
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
298 cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT); in cpwd_starttimer()
316 if (intr & p->devs[index].intr_mask) { in cpwd_getstatus()
581 p->devs[i].runstatus &= ~WD_STAT_BSTOP; in cpwd_probe()
582 p->devs[i].runstatus |= WD_STAT_INIT; in cpwd_probe()
583 p->devs[i].timeout = p->timeout; in cpwd_probe()
585 p->devs[i].timeout = *parms[i]; in cpwd_probe()
587 err = misc_register(&p->devs[i].misc); in cpwd_probe()
609 misc_deregister(&p->devs[i].misc); in cpwd_probe()
[all …]
/linux/fs/crypto/
A 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()
121 kfree(devs); in fscrypt_select_encryption_impl()
169 blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
187 blk_put_queue(blk_key->devs[i]); in fscrypt_prepare_inline_crypt_key()
[all …]
/linux/drivers/md/
A Draid10.c151 r10_bio->devs[j].bio = 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()
512 r10_bio->devs[slot].addr, in raid10_end_write_request()
1496 if (r10_bio->devs[i].bio) in raid10_write_request()
1518 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * in __make_request()
1697 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * geo->raid_disks); in raid10_handle_discard()
2946 r10_bio->devs[m].addr, in handle_write_completed()
2963 r10_bio->devs[m].addr, in handle_write_completed()
2983 r10_bio->devs[m].addr, in handle_write_completed()
[all …]
/linux/sound/isa/ad1816a/
A 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" } } },
84 pdev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_ad1816a_pnp()
[all …]
/linux/fs/erofs/
A Dsuper.c286 down_read(&sbi->devs->rwsem); in erofs_init_devices()
300 up_read(&sbi->devs->rwsem); in erofs_init_devices()
322 up_read(&sbi->devs->rwsem); in erofs_init_devices()
560 ++ctx->devs->extra_devices; in erofs_fc_parse_param()
648 sbi->devs = ctx->devs; in erofs_fc_fill_super()
649 ctx->devs = NULL; in erofs_fc_fill_super()
740 if (!devs) in erofs_free_dev_context()
743 idr_destroy(&devs->tree); in erofs_free_dev_context()
744 kfree(devs); in erofs_free_dev_context()
769 if (!ctx->devs) { in erofs_init_fs_context()
[all …]
A Ddata.c155 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local
164 down_read(&devs->rwsem); in erofs_map_dev()
165 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
167 up_read(&devs->rwsem); in erofs_map_dev()
172 up_read(&devs->rwsem); in erofs_map_dev()
173 } else if (devs->extra_devices) { in erofs_map_dev()
174 down_read(&devs->rwsem); in erofs_map_dev()
175 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
191 up_read(&devs->rwsem); in erofs_map_dev()
/linux/sound/isa/
A 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 …]
A 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/drivers/char/tpm/
A Dtpm-chip.c347 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()
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()
452 dev_name(&chip->devs), MAJOR(chip->devs.devt), in tpm_add_char_device()
453 MINOR(chip->devs.devt), rc); in tpm_add_char_device()
[all …]
/linux/drivers/char/agp/
A 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/Documentation/admin-guide/device-mapper/
A 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/drivers/infiniband/hw/usnic/
A 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 …]
A Dusnic_uiom.h61 struct list_head devs; member
89 void usnic_uiom_free_dev_list(struct device **devs);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A 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/drivers/nvdimm/
A Dnamespace_devs.c1818 if (!devs) { in create_namespace_io()
1832 devs[0] = dev; in create_namespace_io()
1833 return devs; in create_namespace_io()
2367 kfree(devs); in scan_labels()
2401 if (!devs) in scan_labels()
2450 return devs; in scan_labels()
2453 if (devs) { in scan_labels()
2459 kfree(devs); in scan_labels()
2488 return devs; in create_namespaces()
2614 if (!devs) in nd_region_register_namespaces()
[all …]
/linux/drivers/macintosh/
A 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/drivers/iommu/intel/
A 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()
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()
488 if (list_empty(&svm->devs)) { in intel_svm_unbind_gpasid()
542 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_mm()
602 list_add_rcu(&sdev->list, &svm->devs); in intel_svm_bind_mm()
609 if (list_empty(&svm->devs)) { in intel_svm_bind_mm()
[all …]
/linux/arch/arm/mach-rpc/
A Driscpc.c184 static struct platform_device *devs[] __initdata = { variable
199 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
/linux/include/linux/
A 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/sound/pci/
A 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/drivers/mfd/
A 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/drivers/sbus/char/
A 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()

Completed in 49 milliseconds

1234567