Home
last modified time | relevance | path

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

/linux-4.1.27/sound/oss/
Dsb_card.h28 {.id = "CTL0024", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
30 {.id = "CTL0025", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
32 {.id = "CTL0026", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
34 {.id = "CTL0027", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
36 {.id = "CTL0028", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
38 {.id = "CTL0029", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
40 {.id = "CTL002a", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
42 {.id = "CTL002b", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
44 {.id = "CTL002c", .driver_data = 0, .devs = { {.id="CTL0031"}, } },
46 {.id = "CTL00ed", .driver_data = 0, .devs = { {.id="CTL0041"}, } },
[all …]
Dmsnd.c44 static multisound_dev_t *devs[MSND_MAX_DEVS]; variable
52 if (devs[i] == NULL) in msnd_register()
58 devs[i] = dev; in msnd_register()
68 if (devs[i] == dev) in msnd_unregister()
76 devs[i] = NULL; in msnd_unregister()
Dsb_card.c244 struct pnp_dev *dev = pnp_request_card_device(card, card_id->devs[0].id, NULL); in sb_pnp_probe()
/linux-4.1.27/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-4.1.27/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-4.1.27/drivers/staging/comedi/drivers/
Dcomedi_bond.c65 struct bonded_device **devs; member
77 struct bonded_device **devs; in bonding_dio_insn_bits() local
88 devs = devpriv->devs; in bonding_dio_insn_bits()
90 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits()
140 struct bonded_device **devs; in bonding_dio_insn_config() local
145 devs = devpriv->devs; in bonding_dio_insn_config()
146 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs++) in bonding_dio_insn_config()
195 struct bonded_device **devs; in do_dev_config() local
250 devs = krealloc(devpriv->devs, in do_dev_config()
251 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config()
[all …]
/linux-4.1.27/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-4.1.27/drivers/fmc/
Dfmc-core.c144 int fmc_device_register_n(struct fmc_device **devs, int n) in fmc_device_register_n() argument
154 if (fmc_check_version(devs[0]->version, devs[0]->carrier_name)) in fmc_device_register_n()
157 devarray = kmemdup(devs, n * sizeof(*devs), GFP_KERNEL); in fmc_device_register_n()
249 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); in fmc_device_register_n()
250 device_del(&devs[i]->dev); in fmc_device_register_n()
251 fmc_free_id_info(devs[i]); in fmc_device_register_n()
252 put_device(&devs[i]->dev); in fmc_device_register_n()
265 void fmc_device_unregister_n(struct fmc_device **devs, int n) in fmc_device_unregister_n() argument
273 kfree(devs[0]->devarray); in fmc_device_unregister_n()
276 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); in fmc_device_unregister_n()
[all …]
/linux-4.1.27/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-4.1.27/drivers/md/
Draid10.c110 int size = offsetof(struct r10bio, devs[conf->copies]); in r10bio_pool_alloc()
163 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
169 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
176 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
177 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
183 struct bio *rbio = r10_bio->devs[0].bio; in r10buf_pool_alloc()
204 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page); in r10buf_pool_alloc()
208 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
209 bio_put(r10_bio->devs[j].bio); in r10buf_pool_alloc()
210 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
[all …]
Draid10.h128 } devs[0]; member
Draid5.c2023 int devs = max(conf->raid_disks, conf->previous_raid_disks); in grow_stripes() local
2035 sizeof(struct stripe_head)+(devs-1)*sizeof(struct r5dev), in grow_stripes()
2040 conf->pool_size = devs; in grow_stripes()
/linux-4.1.27/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()
Dcmi8330.c186 { .id = "CMI0001", .devs = { { "@X@0001" }, { "@@@0001" }, { "@H@0001" }, { "A@@0001" } } },
187 { .id = "CMI0001", .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } } },
340 acard->type = (id->devs[3].id[0]) ? CMI8329 : CMI8330; in snd_cmi8330_pnp()
342 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_cmi8330_pnp()
346 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_cmi8330_pnp()
350 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_cmi8330_pnp()
Dopl3sa2.c154 { .id = "YMH0020", .devs = { { "YMH0021" } } },
156 { .id = "YMH0030", .devs = { { "YMH0021" } } },
158 { .id = "YMH0800", .devs = { { "YMH0021" } } },
160 { .id = "YMH0801", .devs = { { "YMH0021" } } },
162 { .id = "NMX2200", .devs = { { "YMH2210" } } },
164 { .id = "NMX2200", .devs = { { "NMX2210" } } },
791 pdev = pnp_request_card_device(pcard, id->devs[0].id, NULL); in snd_opl3sa2_pnp_cdetect()
794 id->devs[0].id); in snd_opl3sa2_pnp_cdetect()
Des18xx.c2067 { .id = "ESS1868", .devs = { { "ESS1868" }, { "ESS0000" } } },
2069 { .id = "ESS1868", .devs = { { "ESS8601" }, { "ESS8600" } } },
2071 { .id = "ESS1868", .devs = { { "ESS8611" }, { "ESS8610" } } },
2073 { .id = "ESS0003", .devs = { { "ESS1869" }, { "ESS0006" } } },
2075 { .id = "ESS1869", .devs = { { "ESS1869" }, { "ESS0006" } } },
2077 { .id = "ESS1878", .devs = { { "ESS1878" }, { "ESS0004" } } },
2079 { .id = "ESS1879", .devs = { { "ESS1879" }, { "ESS0009" } } },
2090 chip->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_audiodrive_pnpc()
2094 chip->devc = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_audiodrive_pnpc()
Dsscape.c92 { .id = "ENS3081", .devs = { { "ENS0000" } } }, /* Soundscape PnP */
93 { .id = "ENS4081", .devs = { { "ENS1011" } } }, /* VIVO90 */
1246 dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in sscape_pnp_detect()
/linux-4.1.27/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 --getsize $devs[0]`;
42 my $this_size = `blockdev --getsize $devs[$i]`;
52 $table .= " $devs[$i] 0";
/linux-4.1.27/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()
Dati-agp.c494 struct agp_device_ids *devs = ati_agp_device_ids; in agp_ati_probe() local
504 for (j = 0; devs[j].chipset_name; j++) { in agp_ati_probe()
505 if (pdev->device == devs[j].device_id) in agp_ati_probe()
523 dev_info(&pdev->dev, "Ati %s chipset\n", devs[j].chipset_name); in agp_ati_probe()
Duninorth-agp.c598 struct agp_device_ids *devs = uninorth_agp_device_ids; in agp_uninorth_probe() local
609 for (j = 0; devs[j].chipset_name != NULL; ++j) { in agp_uninorth_probe()
610 if (pdev->device == devs[j].device_id) { in agp_uninorth_probe()
612 devs[j].chipset_name); in agp_uninorth_probe()
Dvia-agp.c442 struct agp_device_ids *devs = via_agp_device_ids; in agp_via_probe() local
452 printk (KERN_INFO PFX "Detected VIA %s chipset\n", devs[j].chipset_name); in agp_via_probe()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_uiom.c485 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
518 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
537 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
561 struct device **devs; in usnic_uiom_get_dev_list() local
565 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
566 if (!devs) { in usnic_uiom_get_dev_list()
567 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
571 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
572 devs[i++] = uiom_dev->dev; in usnic_uiom_get_dev_list()
576 return devs; in usnic_uiom_get_dev_list()
[all …]
Dusnic_uiom.h44 struct list_head devs; member
73 void usnic_uiom_free_dev_list(struct device **devs);
/linux-4.1.27/drivers/s390/block/
Dxpram.c65 static int devs = XPRAM_DEVS; variable
68 module_param(devs, int, 0);
71 MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \
266 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { in xpram_setup_sizes()
267 pr_err("%d is not a valid number of XPRAM devices\n",devs); in xpram_setup_sizes()
270 xpram_devs = devs; in xpram_setup_sizes()
/linux-4.1.27/drivers/vfio/pci/
Dvfio_pci.c1061 struct vfio_devices *devs = data; in vfio_pci_get_devs() local
1067 if (devs->cur_index == devs->max_index) in vfio_pci_get_devs()
1070 devs->devices[devs->cur_index] = vfio_device_get_from_dev(&pdev->dev); in vfio_pci_get_devs()
1071 if (!devs->devices[devs->cur_index]) in vfio_pci_get_devs()
1074 devs->cur_index++; in vfio_pci_get_devs()
1092 struct vfio_devices devs = { .cur_index = 0 }; in vfio_pci_try_bus_reset() local
1106 devs.max_index = i; in vfio_pci_try_bus_reset()
1107 devs.devices = kcalloc(i, sizeof(struct vfio_device *), GFP_KERNEL); in vfio_pci_try_bus_reset()
1108 if (!devs.devices) in vfio_pci_try_bus_reset()
1112 vfio_pci_get_devs, &devs, slot)) in vfio_pci_try_bus_reset()
[all …]
/linux-4.1.27/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-4.1.27/drivers/macintosh/
Dmacio-adb.c67 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()
Dvia-macii.c88 static int macii_autopoll(int devs);
280 static int macii_autopoll(int devs) in macii_autopoll() argument
287 autopoll_devs = devs & 0xFFFE; in macii_autopoll()
Dvia-pmu68k.c107 static int pmu_autopoll(int devs);
380 pmu_autopoll(int devs) in pmu_autopoll() argument
386 if (devs) { in pmu_autopoll()
387 adb_dev_map = devs; in pmu_autopoll()
Dvia-cuda.c92 static int cuda_adb_autopoll(int devs);
332 cuda_adb_autopoll(int devs) in cuda_adb_autopoll() argument
339 cuda_request(&req, NULL, 3, CUDA_PACKET, CUDA_AUTOPOLL, (devs? 1: 0)); in cuda_adb_autopoll()
Dadb-iop.c259 int adb_iop_autopoll(int devs) in adb_iop_autopoll() argument
Dvia-pmu.c185 static int pmu_adb_autopoll(int devs);
1041 static int __pmu_adb_autopoll(int devs) in __pmu_adb_autopoll() argument
1045 if (devs) { in __pmu_adb_autopoll()
1058 static int pmu_adb_autopoll(int devs) in pmu_adb_autopoll() argument
1063 adb_dev_map = devs; in pmu_adb_autopoll()
1064 return __pmu_adb_autopoll(devs); in pmu_adb_autopoll()
/linux-4.1.27/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-4.1.27/drivers/usb/host/
Dxhci.c1225 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { in xhci_check_args()
1231 virt_dev = xhci->devs[udev->slot_id]; in xhci_check_args()
1266 out_ctx = xhci->devs[slot_id]->out_ctx; in xhci_check_maxpacket()
1291 command->in_ctx = xhci->devs[slot_id]->in_ctx; in xhci_check_maxpacket()
1300 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, in xhci_check_maxpacket()
1301 xhci->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
1416 if (xhci->devs[slot_id]->eps[ep_index].ep_state & in xhci_urb_enqueue()
1421 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state & in xhci_urb_enqueue()
1482 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_urb_to_transfer_ring()
1564 i < urb_priv->length && xhci->devs[urb->dev->slot_id]; in xhci_urb_dequeue()
[all …]
Dxhci-ring.c331 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_ring_ep_doorbell()
357 ep = &xhci->devs[slot_id]->eps[ep_index]; in ring_doorbell_for_active_rings()
381 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_triad_to_transfer_ring()
441 struct xhci_virt_device *dev = xhci->devs[slot_id]; in xhci_find_new_dequeue_state()
649 if (!xhci->devs[slot_id]) in xhci_handle_cmd_stop_ep()
658 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_handle_cmd_stop_ep()
778 ep = &xhci->devs[slot_id]->eps[ep_index]; in xhci_kill_endpoint_urbs()
885 if (!xhci->devs[i]) in xhci_stop_endpoint_command_watchdog()
966 dev = xhci->devs[slot_id]; in xhci_handle_cmd_set_deq()
1073 xhci->devs[slot_id]->in_ctx->dma, slot_id, in xhci_handle_cmd_reset_ep()
[all …]
Dxhci-mem.c920 if (slot_id == 0 || !xhci->devs[slot_id]) in xhci_free_virt_device()
923 dev = xhci->devs[slot_id]; in xhci_free_virt_device()
963 kfree(xhci->devs[slot_id]); in xhci_free_virt_device()
964 xhci->devs[slot_id] = NULL; in xhci_free_virt_device()
974 if (slot_id == 0 || xhci->devs[slot_id]) { in xhci_alloc_virt_device()
979 xhci->devs[slot_id] = kzalloc(sizeof(*xhci->devs[slot_id]), flags); in xhci_alloc_virt_device()
980 if (!xhci->devs[slot_id]) in xhci_alloc_virt_device()
982 dev = xhci->devs[slot_id]; in xhci_alloc_virt_device()
1043 virt_dev = xhci->devs[udev->slot_id]; in xhci_copy_ep0_dequeue_into_input_ctx()
1097 dev = xhci->devs[udev->slot_id]; in xhci_setup_addressable_virt_dev()
[all …]
Dxhci-hub.c250 if (!xhci->devs[i]) in xhci_find_slot_id_by_port()
252 speed = xhci->devs[i]->udev->speed; in xhci_find_slot_id_by_port()
254 && xhci->devs[i]->fake_port == port) { in xhci_find_slot_id_by_port()
278 virt_dev = xhci->devs[slot_id]; in xhci_stop_device()
325 ep = &xhci->devs[slot_id]->eps[i]; in xhci_ring_device()
Dxhci.h1510 struct xhci_virt_device *devs[MAX_HC_SLOTS]; member
/linux-4.1.27/drivers/media/pci/mantis/
Dhopper_cards.c64 static int devs; variable
168 mantis->num = devs; in hopper_pci_probe()
210 devs++; in hopper_pci_probe()
Dmantis_cards.c57 static int devs; variable
176 mantis->num = devs; in mantis_pci_probe()
224 devs++; in mantis_pci_probe()
/linux-4.1.27/sound/pci/
Dvia82xx_modem.c250 struct viadev devs[VIA_MAX_MODEM_DEVS]; member
498 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt()
778 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open()
789 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
836 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
837 chip->devs[idx].direction = direction; in init_viadev()
838 chip->devs[idx].port = chip->port + reg_offset; in init_viadev()
1042 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend()
1059 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume()
1079 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_free()
[all …]
Dvia82xx.c383 struct viadev devs[VIA_MAX_DEVS]; member
645 struct viadev *viadev = &chip->devs[i]; in snd_via686_interrupt()
686 struct viadev *viadev = &chip->devs[i]; in snd_via8233_interrupt()
1242 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via686_playback_open()
1260 viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via8233_playback_open()
1284 struct viadev *viadev = &chip->devs[chip->multi_devno]; in snd_via8233_multi_open()
1314 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
1437 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
1438 chip->devs[idx].shadow_shift = shadow_pos * 4; in init_viadev()
1439 chip->devs[idx].direction = direction; in init_viadev()
[all …]
/linux-4.1.27/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()
594 INIT_LIST_HEAD(&ucb->devs); in ucb1x00_probe()
627 list_for_each_safe(l, n, &ucb->devs) { in ucb1x00_remove()
648 INIT_LIST_HEAD(&drv->devs); in ucb1x00_register_driver()
664 list_for_each_safe(l, n, &drv->devs) { in ucb1x00_unregister_driver()
679 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_suspend()
732 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_resume()
Dkempld-core.c109 struct mfd_cell devs[KEMPLD_MAX_DEVS]; in kempld_register_cells_generic() local
113 devs[i++] = kempld_devs[KEMPLD_I2C]; in kempld_register_cells_generic()
116 devs[i++] = kempld_devs[KEMPLD_WDT]; in kempld_register_cells_generic()
119 devs[i++] = kempld_devs[KEMPLD_GPIO]; in kempld_register_cells_generic()
122 devs[i++] = kempld_devs[KEMPLD_UART]; in kempld_register_cells_generic()
124 return mfd_add_devices(pld->dev, -1, devs, i, NULL, 0, NULL); in kempld_register_cells_generic()
/linux-4.1.27/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()
Dbbc_i2c.h71 } devs[NUM_CHILDREN]; member
/linux-4.1.27/sound/isa/gus/
Dinterwave.c142 { .id = "GRV0001", .devs = { { .id = "GRV0000" } } },
144 { .id = "STB011a", .devs = { { .id = "STB0010" } } },
146 { .id = "DXP3201", .devs = { { .id = "DXP0010" } } },
149 { .id = "CDC1111", .devs = { { .id = "CDC1112" } } },
151 { .id = "ADV55ff", .devs = { { .id = "ADV0010" } } },
153 { .id = "ADV550a", .devs = { { .id = "ADV0010" } } },
156 { .id = "ADV550a", .devs = { { .id = "ADV0010" }, { .id = "ADV0015" } } },
561 iwcard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_interwave_pnp()
566 iwcard->devtc = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_interwave_pnp()
/linux-4.1.27/drivers/mtd/
Dmtd_blkdevs.c337 list_for_each_entry(d, &tr->devs, list) { in add_mtd_blktrans_dev()
371 list_add_tail(&new->list, &tr->devs); in add_mtd_blktrans_dev()
508 list_for_each_entry_safe(dev, next, &tr->devs, list) in blktrans_notify_remove()
556 INIT_LIST_HEAD(&tr->devs); in register_mtd_blktrans()
576 list_for_each_entry_safe(dev, next, &tr->devs, list) in deregister_mtd_blktrans()
582 BUG_ON(!list_empty(&tr->devs)); in deregister_mtd_blktrans()
/linux-4.1.27/drivers/uwb/
Dwhci.c21 struct umc_dev *devs[0]; member
124 card->devs[n] = umc; in whci_add_cap()
134 struct umc_dev *umc = card->devs[n]; in whci_del_cap()
/linux-4.1.27/include/linux/mfd/
Ducb1x00.h140 struct list_head devs; member
156 struct list_head devs; member
/linux-4.1.27/sound/isa/wavefront/
Dwavefront.c93 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "PnPb006" }, { "CSC0004" } } },
95 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PnPb006" }, { "CSC0004" } } },
112 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
128 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
135 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
/linux-4.1.27/include/linux/
Dfmc.h227 extern int fmc_device_register_n(struct fmc_device **devs, int n);
228 extern void fmc_device_unregister_n(struct fmc_device **devs, int n);
Dadb.h35 int (*autopoll)(int devs);
Disapnp.h64 } devs[ISAPNP_CARD_DEVS]; /* logical devices */ member
Dplatform_device.h265 extern void early_platform_add_devices(struct platform_device **devs, int num);
Dmod_devicetable.h207 } devs[PNP_MAX_DEVICES]; member
/linux-4.1.27/sound/isa/es1688/
Des1688.c240 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_card_es968_pnp()
325 { .id = "ESS0968", .devs = { { "@@@0968" }, } },
326 { .id = "ESS0968", .devs = { { "ESS0968" }, } },
/linux-4.1.27/arch/arm/include/asm/hardware/
Dscoop.h62 struct scoop_pcmcia_dev *devs; member
/linux-4.1.27/drivers/pnp/pnpbios/
Dcore.c362 unsigned int devs = 0; in build_devlist() local
385 devs++; in build_devlist()
398 nodes_got, nodes_got != 1 ? "s" : "", devs); in build_devlist()
/linux-4.1.27/sound/isa/opti9xx/
Dopti92x-ad1848.c158 .devs = { { "OPT0000" }, { "OPT0002" }, { "OPT0005" } },
162 .devs = { { "OPT9250" }, { "OPT0002" }, { "OPT0005" } },
166 { .id = "OPT0931", .devs = { { "OPT9310" }, { "OPT0002" } },
742 pdev = pnp_request_card_device(card, pid->devs[0].id, NULL);
759 devmc = pnp_request_card_device(card, pid->devs[2].id, NULL);
784 devmpu = pnp_request_card_device(card, pid->devs[1].id, NULL);
Dmiro.c149 .devs = { { "MIR0000" }, { "MIR0002" }, { "MIR0005" } }, },
1520 pdev = pnp_request_card_device(card, pid->devs[0].id, NULL); in snd_card_miro_pnp()
1524 devmpu = pnp_request_card_device(card, pid->devs[1].id, NULL); in snd_card_miro_pnp()
1528 devmc = pnp_request_card_device(card, pid->devs[2].id, NULL); in snd_card_miro_pnp()
/linux-4.1.27/drivers/staging/ozwpan/
Dozproto.c769 int oz_protocol_init(char *devs) in oz_protocol_init() argument
782 if (devs[0] == '*') { in oz_protocol_init()
787 while (*devs) { in oz_protocol_init()
788 devs = oz_get_next_device_name(devs, d, sizeof(d)); in oz_protocol_init()
Dozproto.h42 int oz_protocol_init(char *devs);
/linux-4.1.27/arch/arm/plat-samsung/
DMakefile21 obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
/linux-4.1.27/fs/btrfs/
Dreada.c86 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl member
297 zone->devs[i] = bbio->stripes[i].dev; in reada_find_zone()
596 peer = radix_tree_lookup(&zone->devs[i]->reada_zones, index); in reada_peer_zones_set_lock()
831 zone->devs[j]->devid); in dump_devs()
860 re->zones[i]->devs[j]->devid); in dump_devs()
898 re->zones[i]->devs[j]->devid); in dump_devs()
/linux-4.1.27/include/linux/mtd/
Dblktrans.h84 struct list_head devs; member
/linux-4.1.27/drivers/pcmcia/
Dpxa2xx_sharpsl.c29 #define SCOOP_DEV platform_scoop_config->devs
241 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev; in sharpsl_pcmcia_init()
/linux-4.1.27/fs/nfs/
Dcallback_xdr.c311 if (n > ULONG_MAX / sizeof(*args->devs)) { in decode_devicenotify_args()
316 args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); in decode_devicenotify_args()
317 if (!args->devs) { in decode_devicenotify_args()
324 struct cb_devicenotifyitem *dev = &args->devs[i]; in decode_devicenotify_args()
378 kfree(args->devs); in decode_devicenotify_args()
Dcallback.h182 struct cb_devicenotifyitem *devs; member
Dcallback_proc.c274 struct cb_devicenotifyitem *dev = &args->devs[i]; in nfs4_callback_devicenotify()
296 kfree(args->devs); in nfs4_callback_devicenotify()
/linux-4.1.27/drivers/base/
Dplatform.c171 int platform_add_devices(struct platform_device **devs, int num) in platform_add_devices() argument
176 ret = platform_device_register(devs[i]); in platform_add_devices()
179 platform_device_unregister(devs[i]); in platform_add_devices()
1109 void __init early_platform_add_devices(struct platform_device **devs, int num) in early_platform_add_devices() argument
1116 dev = &devs[i]->dev; in early_platform_add_devices()
/linux-4.1.27/drivers/input/joystick/
Ddb9.c273 static int db9_saturn_report(unsigned char id, unsigned char data[60], struct input_dev *devs[], in… in db9_saturn_report() argument
280 dev = devs[n]; in db9_saturn_report()
336 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) in db9_saturn() argument
361 tmp = db9_saturn_report(id, data, devs, tmp, max_pads); in db9_saturn()
/linux-4.1.27/drivers/scsi/
Dst.h70 struct device *devs[2]; /* Auto-rewind and non-rewind devices */ member
Dst.c2228 d0 = STm->devs[0];
2229 d1 = STm->devs[1];
2233 STm->devs[0] = d0;
2234 STm->devs[1] = d1;
4054 STm->devs[rew] = dev; in create_one_cdev()
4077 &tape->modes[0].devs[0]->kobj, "tape"); in create_cdevs()
4089 if (STm->devs[rew]) in remove_cdevs()
4090 device_unregister(STm->devs[rew]); in remove_cdevs()
/linux-4.1.27/drivers/pnp/
Dcard.c32 !*drv_id->devs[i].id) in match_card()
37 drv_id->devs[i].id)) { in match_card()
/linux-4.1.27/scripts/mod/
Dfile2alias.c562 DEF_FIELD_ADDR(symval + i*id_size, pnp_card_device_id, devs); in do_pnp_card_entries()
565 const char *id = (char *)(*devs)[j].id; in do_pnp_card_entries()
574 DEF_FIELD_ADDR(symval + i2*id_size, pnp_card_device_id, devs); in do_pnp_card_entries()
577 const char *id2 = (char *)(*devs)[j2].id; in do_pnp_card_entries()
Ddevicetable-offsets.c71 DEVID_FIELD(pnp_card_device_id, devs); in main()
/linux-4.1.27/Documentation/
Dmd-cluster.txt170 6. Other nodes drop lock on no-new-devs (CR) if device is found
171 7. Node 1 attempts EX lock on no-new-devs
/linux-4.1.27/arch/arm/mach-pxa/
Dpoodle.c155 .devs = &poodle_pcmcia_scoop[0],
Dcorgi.c186 .devs = &corgi_pcmcia_scoop[0],
Dtosa.c239 .devs = &tosa_pcmcia_scoop[0],
Dspitz.c266 .devs = &spitz_pcmcia_scoop[0],
/linux-4.1.27/arch/arm/mach-sa1100/
Dcollie.c86 .devs = &collie_pcmcia_scoop[0],
/linux-4.1.27/sound/isa/msnd/
Dmsnd_pinnacle.c1101 pnp_dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_msnd_pnp_detect()
1105 mpu_dev = pnp_request_card_device(pcard, pid->devs[1].id, NULL); in snd_msnd_pnp_detect()
1196 { .id = "BVJ0440", .devs = { { "TBS0000" }, { "TBS0001" } } },
/linux-4.1.27/Documentation/scsi/
Dosst.txt24 the osst driver has been written to make these tape devs supported by Linux.
/linux-4.1.27/
DCREDITS3358 D: kernel hacker: unnamed block devs, NFS client, fast select, precision timer
DMAINTAINERS11059 L: zd1211-devs@lists.sourceforge.net (subscribers-only)