Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/sound/isa/cs423x/
Dcs4236.c139 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
141 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
143 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
145 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
147 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } },
149 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
151 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
153 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } },
155 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
157 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } },
[all …]
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb16.c136 { .id = "CTL0024", .devs = { { "CTL0031" } } },
138 { .id = "CTL0025", .devs = { { "CTL0031" } } },
140 { .id = "CTL0026", .devs = { { "CTL0031" } } },
142 { .id = "CTL0027", .devs = { { "CTL0031" } } },
144 { .id = "CTL0028", .devs = { { "CTL0031" } } },
146 { .id = "CTL0029", .devs = { { "CTL0031" } } },
148 { .id = "CTL002a", .devs = { { "CTL0031" } } },
151 { .id = "CTL002b", .devs = { { "CTL0031" } } },
153 { .id = "CTL002c", .devs = { { "CTL0031" } } },
155 { .id = "CTL0051", .devs = { { "CTL0001" } } },
[all …]
/kernel/linux/linux-5.10/drivers/staging/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 …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dcpwd.c91 } devs[WD_NUMDEVS]; member
211 (p->devs[index].intr_mask); in cpwd_toggleintr()
227 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer()
247 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer()
265 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer()
266 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer()
275 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer()
279 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer()
295 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer()
297 p->devs[index].runstatus &= ~WD_STAT_SVCD; in cpwd_starttimer()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/isa/ad1816a/
Dad1816a.c56 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
58 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
60 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
62 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
64 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
66 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
68 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
70 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
72 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } },
74 { .id = "TER1411", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
[all …]
/kernel/linux/linux-5.10/drivers/md/
Draid10.c94 int size = offsetof(struct r10bio, devs[conf->copies]); 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 …]
/kernel/linux/linux-5.10/sound/isa/
Dals100.c73 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
77 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
81 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
85 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } },
89 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
93 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } },
97 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } },
101 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
115 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
119 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
[all …]
Dazt2320.c72 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } },
74 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } },
76 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } },
78 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } },
80 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } },
82 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } },
97 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
101 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
/kernel/linux/linux-5.10/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";
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/s390/block/
Dxpram.c66 static int devs = XPRAM_DEVS; variable
69 module_param(devs, int, 0);
72 MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \
270 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { in xpram_setup_sizes()
271 pr_err("%d is not a valid number of XPRAM devices\n",devs); in xpram_setup_sizes()
274 xpram_devs = devs; in xpram_setup_sizes()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
2219 struct nd_namespace_label *nd_label, struct device **devs, in add_namespace_resource() argument
2227 u8 *uuid = namespace_to_uuid(devs[i]); in add_namespace_resource()
2237 if (is_namespace_blk(devs[i])) { in add_namespace_resource()
2239 to_nd_namespace_blk(devs[i]), in add_namespace_resource()
2345 struct device *dev, **devs = NULL; in scan_labels() local
[all …]
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci.c1171 struct vfio_devices devs = { .cur_index = 0 }; in vfio_pci_ioctl() local
1264 devs.max_index = count; in vfio_pci_ioctl()
1265 devs.devices = kcalloc(count, sizeof(struct vfio_device *), in vfio_pci_ioctl()
1267 if (!devs.devices) { in vfio_pci_ioctl()
1280 &devs, slot); in vfio_pci_ioctl()
1284 for (; mem_idx < devs.cur_index; mem_idx++) { in vfio_pci_ioctl()
1287 tmp = vfio_device_data(devs.devices[mem_idx]); in vfio_pci_ioctl()
1301 for (i = 0; i < devs.cur_index; i++) { in vfio_pci_ioctl()
1305 device = devs.devices[i]; in vfio_pci_ioctl()
1314 kfree(devs.devices); in vfio_pci_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dmacio-adb.c68 static int macio_adb_autopoll(int devs);
130 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument
135 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll()
136 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll()
137 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
Driscpc.c183 static struct platform_device *devs[] __initdata = { variable
198 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
/kernel/linux/linux-5.10/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)) \
/kernel/linux/linux-5.10/drivers/iommu/intel/
Dsvm.c160 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_flush_svm_range()
194 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_mm_release()
210 list_for_each_entry((sdev), &(svm)->devs, list) \
238 if (WARN_ON(list_empty(&svm->devs))) in pasid_to_svm_sdev()
242 list_for_each_entry_rcu(d, &svm->devs, list) { in pasid_to_svm_sdev()
338 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_gpasid()
388 list_add_rcu(&sdev->list, &svm->devs); in intel_svm_bind_gpasid()
390 if (!IS_ERR_OR_NULL(svm) && list_empty(&svm->devs)) { in intel_svm_bind_gpasid()
424 if (list_empty(&svm->devs)) { in intel_svm_unbind_gpasid()
579 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_mm()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-ring.c408 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
437 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
474 if (!xhci->devs[slot_id]) { in xhci_get_virt_ep()
479 return &xhci->devs[slot_id]->eps[ep_index]; in xhci_get_virt_ep()
568 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_find_new_dequeue_state()
800 if (!xhci->devs[slot_id]) in xhci_handle_cmd_stop_ep()
814 vdev = xhci->devs[slot_id]; in xhci_handle_cmd_stop_ep()
952 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_kill_endpoint_urbs()
1011 if (!xhci->devs[i]) in xhci_hc_died()
1147 dev = xhci->devs[slot_id]; in xhci_handle_cmd_set_deq()
[all …]
/kernel/linux/linux-5.10/sound/pci/
Dvia82xx_modem.c236 struct viadev devs[VIA_MAX_MODEM_DEVS]; member
488 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt()
764 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open()
775 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
818 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
819 chip->devs[idx].direction = direction; in init_viadev()
820 chip->devs[idx].port = chip->port + reg_offset; in init_viadev()
1017 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend()
1033 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume()
1053 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_free()
[all …]
/kernel/linux/linux-5.10/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()

1234567