Home
last modified time | relevance | path

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

12345

/Linux-v4.19/sound/isa/cs423x/
Dcs4236.c154 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
156 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
158 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
160 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
162 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } },
164 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
166 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
168 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } },
170 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
172 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC0103" } } },
[all …]
/Linux-v4.19/sound/isa/sb/
Dsb16.c151 { .id = "CTL0024", .devs = { { "CTL0031" } } },
153 { .id = "CTL0025", .devs = { { "CTL0031" } } },
155 { .id = "CTL0026", .devs = { { "CTL0031" } } },
157 { .id = "CTL0027", .devs = { { "CTL0031" } } },
159 { .id = "CTL0028", .devs = { { "CTL0031" } } },
161 { .id = "CTL0029", .devs = { { "CTL0031" } } },
163 { .id = "CTL002a", .devs = { { "CTL0031" } } },
166 { .id = "CTL002b", .devs = { { "CTL0031" } } },
168 { .id = "CTL002c", .devs = { { "CTL0031" } } },
170 { .id = "CTL0051", .devs = { { "CTL0001" } } },
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/watchdog/
Dcpwd.c89 } devs[WD_NUMDEVS]; member
209 (p->devs[index].intr_mask); in cpwd_toggleintr()
225 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer()
245 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer()
263 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer()
264 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer()
273 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer()
277 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer()
293 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer()
295 p->devs[index].runstatus &= ~WD_STAT_SVCD; in cpwd_starttimer()
[all …]
/Linux-v4.19/drivers/fmc/
Dfmc-core.c202 int fmc_device_register_n_gw(struct fmc_device **devs, int n, in fmc_device_register_n_gw() argument
213 if (fmc_check_version(devs[0]->version, devs[0]->carrier_name)) in fmc_device_register_n_gw()
216 devarray = kmemdup(devs, n * sizeof(*devs), GFP_KERNEL); in fmc_device_register_n_gw()
320 fmc_debug_exit(devs[i]); in fmc_device_register_n_gw()
321 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); in fmc_device_register_n_gw()
322 device_del(&devs[i]->dev); in fmc_device_register_n_gw()
323 fmc_free_id_info(devs[i]); in fmc_device_register_n_gw()
324 put_device(&devs[i]->dev); in fmc_device_register_n_gw()
331 int fmc_device_register_n(struct fmc_device **devs, int n) in fmc_device_register_n() argument
333 return fmc_device_register_n_gw(devs, n, NULL); in fmc_device_register_n()
[all …]
/Linux-v4.19/sound/isa/ad1816a/
Dad1816a.c68 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
70 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
72 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
74 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
76 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
78 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
80 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
82 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
84 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } },
86 { .id = "TER1411", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
[all …]
/Linux-v4.19/drivers/md/
Draid10.c127 int size = offsetof(struct r10bio, devs[conf->copies]); in r10bio_pool_alloc()
189 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
195 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
202 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
209 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
237 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
238 bio_put(r10_bio->devs[j].bio); in r10buf_pool_alloc()
239 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
240 bio_put(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
256 struct bio *bio = r10bio->devs[j].bio; in r10buf_pool_free()
[all …]
/Linux-v4.19/drivers/char/tpm/
Dtpm-chip.c168 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release()
236 device_initialize(&chip->devs); in tpm_chip_alloc()
244 chip->devs.parent = pdev; in tpm_chip_alloc()
245 chip->devs.class = tpmrm_class; in tpm_chip_alloc()
246 chip->devs.release = tpm_devs_release; in tpm_chip_alloc()
260 chip->devs.devt = in tpm_chip_alloc()
266 rc = dev_set_name(&chip->devs, "tpmrm%d", chip->dev_num); in tpm_chip_alloc()
293 put_device(&chip->devs); in tpm_chip_alloc()
342 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_add_char_device()
344 dev_err(&chip->devs, in tpm_add_char_device()
[all …]
/Linux-v4.19/sound/isa/
Dals100.c85 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
89 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
93 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
97 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } },
101 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
105 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } },
109 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } },
113 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
127 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
131 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
[all …]
Dazt2320.c84 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } },
86 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } },
88 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } },
90 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } },
92 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } },
94 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } },
109 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
113 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
/Linux-v4.19/Documentation/device-mapper/
Dstriped.txt10 Parameters: <num devs> <chunk size> [<dev path> <offset>]+
11 <num devs>: Number of underlying devices.
33 my @devs = @ARGV;
40 $min_dev_size = `blockdev --getsz $devs[0]`;
42 my $this_size = `blockdev --getsz $devs[$i]`;
52 $table .= " $devs[$i] 0";
/Linux-v4.19/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-v4.19/drivers/infiniband/hw/usnic/
Dusnic_uiom.c499 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
532 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
551 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
575 struct device **devs; in usnic_uiom_get_dev_list() local
579 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
580 if (!devs) { in usnic_uiom_get_dev_list()
581 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
585 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
586 devs[i++] = uiom_dev->dev; in usnic_uiom_get_dev_list()
590 return devs; in usnic_uiom_get_dev_list()
[all …]
Dusnic_uiom.h61 struct list_head devs; member
90 void usnic_uiom_free_dev_list(struct device **devs);
/Linux-v4.19/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\"), " \
269 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { in xpram_setup_sizes()
270 pr_err("%d is not a valid number of XPRAM devices\n",devs); in xpram_setup_sizes()
273 xpram_devs = devs; in xpram_setup_sizes()
/Linux-v4.19/drivers/nvdimm/
Dnamespace_devs.c1755 struct device *dev, **devs; in create_namespace_io() local
1762 devs = kcalloc(2, sizeof(struct device *), GFP_KERNEL); in create_namespace_io()
1763 if (!devs) { in create_namespace_io()
1777 devs[0] = dev; in create_namespace_io()
1778 return devs; in create_namespace_io()
2169 struct nd_namespace_label *nd_label, struct device **devs, in add_namespace_resource() argument
2177 u8 *uuid = namespace_to_uuid(devs[i]); in add_namespace_resource()
2187 if (is_namespace_blk(devs[i])) { in add_namespace_resource()
2189 to_nd_namespace_blk(devs[i]), in add_namespace_resource()
2292 struct device *dev, **devs = NULL; in scan_labels() local
[all …]
/Linux-v4.19/Documentation/usb/
Dwusb-cbaf75 devs="$(echo /sys/bus/usb/drivers/wusb-cbaf/[0-9]*)"
96 for dev in ${2:-$devs}; do
103 for dev in ${2:-$devs}
109 for dev in ${2:-$devs}; do
/Linux-v4.19/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()
/Linux-v4.19/arch/arm/mach-rpc/
Driscpc.c185 static struct platform_device *devs[] __initdata = { variable
200 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
/Linux-v4.19/drivers/iommu/
Dintel-svm.c213 list_for_each_entry_rcu(sdev, &svm->devs, list) in intel_flush_svm_range()
266 list_for_each_entry_rcu(sdev, &svm->devs, list) { in intel_mm_release()
331 list_for_each_entry(sdev, &svm->devs, list) { in intel_svm_bind_mm()
390 INIT_LIST_HEAD_RCU(&svm->devs); in intel_svm_bind_mm()
422 list_add_rcu(&sdev->list, &svm->devs); in intel_svm_bind_mm()
451 list_for_each_entry(sdev, &svm->devs, list) { in intel_svm_unbind_mm()
469 if (list_empty(&svm->devs)) { in intel_svm_unbind_mm()
651 list_for_each_entry_rcu(sdev, &svm->devs, list) { in prq_event_thread()
660 if (WARN_ON(&sdev->list == &svm->devs)) in prq_event_thread()
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci.c1327 struct vfio_devices *devs = data; in vfio_pci_get_devs() local
1330 if (devs->cur_index == devs->max_index) in vfio_pci_get_devs()
1342 devs->devices[devs->cur_index++] = device; in vfio_pci_get_devs()
1360 struct vfio_devices devs = { .cur_index = 0 }; in vfio_pci_try_bus_reset() local
1374 devs.max_index = i; in vfio_pci_try_bus_reset()
1375 devs.devices = kcalloc(i, sizeof(struct vfio_device *), GFP_KERNEL); in vfio_pci_try_bus_reset()
1376 if (!devs.devices) in vfio_pci_try_bus_reset()
1380 vfio_pci_get_devs, &devs, slot)) in vfio_pci_try_bus_reset()
1383 for (i = 0; i < devs.cur_index; i++) { in vfio_pci_try_bus_reset()
1384 tmp = vfio_device_data(devs.devices[i]); in vfio_pci_try_bus_reset()
[all …]
/Linux-v4.19/drivers/usb/host/
Dxhci-ring.c392 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
418 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
446 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring()
519 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_find_new_dequeue_state()
702 if (!xhci->devs[slot_id]) in xhci_handle_cmd_stop_ep()
712 vdev = xhci->devs[slot_id]; in xhci_handle_cmd_stop_ep()
716 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_handle_cmd_stop_ep()
851 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_kill_endpoint_urbs()
910 if (!xhci->devs[i]) in xhci_hc_died()
1037 dev = xhci->devs[slot_id]; in xhci_handle_cmd_set_deq()
[all …]
/Linux-v4.19/sound/pci/
Dvia82xx_modem.c250 struct viadev devs[VIA_MAX_MODEM_DEVS]; member
500 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt()
780 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open()
791 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
838 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
839 chip->devs[idx].direction = direction; in init_viadev()
840 chip->devs[idx].port = chip->port + reg_offset; in init_viadev()
1044 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend()
1061 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume()
1081 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_free()
[all …]
/Linux-v4.19/drivers/mfd/
Ducb1x00-core.c411 list_add_tail(&dev->dev_node, &ucb->devs); in ucb1x00_add_dev()
412 list_add_tail(&dev->drv_node, &drv->devs); in ucb1x00_add_dev()
589 INIT_LIST_HEAD(&ucb->devs); in ucb1x00_probe()
622 list_for_each_safe(l, n, &ucb->devs) { in ucb1x00_remove()
643 INIT_LIST_HEAD(&drv->devs); in ucb1x00_register_driver()
659 list_for_each_safe(l, n, &drv->devs) { in ucb1x00_unregister_driver()
674 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_suspend()
727 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_resume()
/Linux-v4.19/drivers/sbus/char/
Dbbc_i2c.c58 if (bp->devs[i].device == op) { in set_device_claimage()
59 bp->devs[i].client_claimed = val; in set_device_claimage()
74 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev()
334 bp->devs[entry].device = child_op; in attach_one_i2c()
335 bp->devs[entry].client_claimed = 0; in attach_one_i2c()

12345