Searched refs:devs (Results 1 - 25 of 35) sorted by relevance

12

/drivers/watchdog/
H A Dcpwd.c90 } devs[WD_NUMDEVS]; member in struct:cpwd
210 (p->devs[index].intr_mask);
226 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT);
246 if (p->devs[id].runstatus & WD_STAT_BSTOP) {
264 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING)
265 cpwd_readw(p->devs[index].regs + WD_DCNTR);
274 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) {
278 p->devs[index].runstatus |= WD_STAT_BSTOP;
294 p->devs[index].runstatus &= ~WD_STAT_BSTOP;
296 p->devs[inde
[all...]
/drivers/md/
H A Draid10.c75 int size = offsetof(struct r10bio, devs[conf->copies]);
127 r10_bio->devs[j].bio = bio;
133 r10_bio->devs[j].repl_bio = bio;
140 struct bio *rbio = r10_bio->devs[j].repl_bio;
141 bio = r10_bio->devs[j].bio;
146 struct bio *rbio = r10_bio->devs[0].bio;
167 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page);
171 bio_put(r10_bio->devs[j].bio);
172 if (r10_bio->devs[j].repl_bio)
173 bio_put(r10_bio->devs[
[all...]
H A Draid10.h117 } devs[0]; member in struct:r10bio
128 * the success by setting devs[n].bio to IO_MADE_GOOD
/drivers/char/agp/
H A Dali-agp.c305 struct agp_device_ids *devs = ali_agp_device_ids; local
315 for (j = 0; devs[j].chipset_name; j++) {
316 if (pdev->device == devs[j].device_id)
341 devs[j].chipset_name = "M1631";
344 devs[j].chipset_name = "M1632";
347 devs[j].chipset_name = "M1641";
350 devs[j].chipset_name = "M1621";
353 devs[j].chipset_name = "M1647";
356 devs[j].chipset_name = "M1651";
366 dev_info(&pdev->dev, "ALi %s chipset\n", devs[
[all...]
H A Dati-agp.c496 struct agp_device_ids *devs = ati_agp_device_ids; local
506 for (j = 0; devs[j].chipset_name; j++) {
507 if (pdev->device == devs[j].device_id)
525 dev_info(&pdev->dev, "Ati %s chipset\n", devs[j].chipset_name);
H A Duninorth-agp.c598 struct agp_device_ids *devs = uninorth_agp_device_ids; local
609 for (j = 0; devs[j].chipset_name != NULL; ++j) {
610 if (pdev->device == devs[j].device_id) {
612 devs[j].chipset_name);
/drivers/staging/comedi/drivers/
H A Dcomedi_bond.c124 struct BondedDevice **devs; member in struct:Private
279 struct BondedDevice *bdev = devpriv->devs[i];
432 /* Now put bdev pointer at end of devpriv->devs array
437 devpriv->devs =
438 Realloc(devpriv->devs,
440 if (!devpriv->devs) {
446 devpriv->devs[devpriv->ndevs - 1] = bdev;
474 while (devpriv->ndevs-- && devpriv->devs) {
477 bdev = devpriv->devs[devpriv->ndevs];
486 kfree(devpriv->devs);
[all...]
/drivers/s390/block/
H A Dxpram.c22 * set by kernel or module parameters (int devs & int sizes[])
65 static int devs = XPRAM_DEVS; variable
68 module_param(devs, int, 0);
71 MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \
264 if (devs <= 0 || devs > XPRAM_MAX_DEVS) {
265 pr_err("%d is not a valid number of XPRAM devices\n",devs);
268 xpram_devs = devs;
/drivers/macintosh/
H A Dmacio-adb.c67 static int macio_adb_autopoll(int devs);
130 static int macio_adb_autopoll(int devs) argument
135 out_8(&adb->active_hi.r, devs >> 8);
136 out_8(&adb->active_lo.r, devs);
137 out_8(&adb->autopoll.r, devs? APE: 0);
H A Dvia-macii.c88 static int macii_autopoll(int devs);
280 static int macii_autopoll(int devs) argument
287 autopoll_devs = devs & 0xFFFE;
H A Dvia-cuda.c92 static int cuda_adb_autopoll(int devs);
332 cuda_adb_autopoll(int devs) argument
339 cuda_request(&req, NULL, 3, CUDA_PACKET, CUDA_AUTOPOLL, (devs? 1: 0));
H A Dadb-iop.c259 int adb_iop_autopoll(int devs) argument
H A Dvia-pmu68k.c107 static int pmu_autopoll(int devs);
380 pmu_autopoll(int devs) argument
386 if (devs) {
387 adb_dev_map = devs;
/drivers/sbus/char/
H A Dbbc_i2c.h71 } devs[NUM_CHILDREN]; member in struct:bbc_i2c_bus
H A Dbbc_i2c.c59 if (bp->devs[i].device == op) {
60 bp->devs[i].client_claimed = val;
75 if (!(op = bp->devs[i].device))
330 bp->devs[entry].device = child_op;
331 bp->devs[entry].client_claimed = 0;
/drivers/staging/ozwpan/
H A Dozproto.h55 int oz_protocol_init(char *devs);
/drivers/mfd/
H A Ducb1x00-core.c406 list_add_tail(&dev->dev_node, &ucb->devs);
407 list_add_tail(&dev->drv_node, &drv->devs);
591 INIT_LIST_HEAD(&ucb->devs);
625 list_for_each_safe(l, n, &ucb->devs) {
649 INIT_LIST_HEAD(&drv->devs);
665 list_for_each_safe(l, n, &drv->devs) {
679 list_for_each_entry(udev, &ucb->devs, dev_node) {
732 list_for_each_entry(udev, &ucb->devs, dev_node) {
/drivers/media/dvb/mantis/
H A Dhopper_cards.c64 static int devs; variable
168 mantis->num = devs;
210 devs++;
H A Dmantis_cards.c57 static int devs; variable
176 mantis->num = devs;
224 devs++;
/drivers/uwb/
H A Dwhci.c21 struct umc_dev *devs[0]; member in struct:whci_card
124 card->devs[n] = umc;
134 struct umc_dev *umc = card->devs[n];
/drivers/usb/host/
H A Dxhci.c465 if (!xhci->devs[i])
468 xhci_dbg_ep_rings(xhci, i, j, &xhci->devs[i]->eps[j]);
1018 if (!udev->slot_id || !xhci->devs[udev->slot_id]) {
1024 virt_dev = xhci->devs[udev->slot_id];
1056 out_ctx = xhci->devs[slot_id]->out_ctx;
1069 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx,
1070 xhci->devs[slot_id]->out_ctx, ep_index);
1071 in_ctx = xhci->devs[slot_id]->in_ctx;
1182 if (xhci->devs[slot_id]->eps[ep_index].ep_state &
1187 } else if (xhci->devs[slot_i
[all...]
H A Dxhci-ring.c287 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
314 ep = &xhci->devs[slot_id]->eps[ep_index];
364 ep = &xhci->devs[slot_id]->eps[ep_index];
424 struct xhci_virt_device *dev = xhci->devs[slot_id];
554 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
646 virt_dev = xhci->devs[slot_id];
660 ep = &xhci->devs[slot_id]->eps[ep_index];
839 if (!xhci->devs[i])
842 temp_ep = &xhci->devs[i]->eps[j];
945 dev = xhci->devs[slot_i
[all...]
/drivers/mtd/
H A Dmtd_blkdevs.c350 list_for_each_entry(d, &tr->devs, list) {
384 list_add_tail(&new->list, &tr->devs);
519 list_for_each_entry_safe(dev, next, &tr->devs, list)
567 INIT_LIST_HEAD(&tr->devs);
587 list_for_each_entry_safe(dev, next, &tr->devs, list)
593 BUG_ON(!list_empty(&tr->devs));
/drivers/pcmcia/
H A Dpxa2xx_sharpsl.c29 #define SCOOP_DEV platform_scoop_config->devs
241 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev;
/drivers/pnp/pnpbios/
H A Dcore.c359 unsigned int devs = 0; local
382 devs++;
395 nodes_got, nodes_got != 1 ? "s" : "", devs);

Completed in 409 milliseconds

12