/drivers/watchdog/ |
D | cpwd.c | 89 } devs[WD_NUMDEVS]; member 207 (p->devs[index].intr_mask); in cpwd_toggleintr() 223 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer() 243 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer() 261 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer() 262 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer() 271 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer() 275 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer() 291 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer() 293 p->devs[index].runstatus &= ~WD_STAT_SVCD; in cpwd_starttimer() [all …]
|
/drivers/md/ |
D | raid10.c | 65 int size = offsetof(struct r10bio_s, devs[conf->copies]); in r10bio_pool_alloc() 122 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc() 129 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc() 146 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page); in r10buf_pool_alloc() 150 bio_put(r10_bio->devs[j].bio); in r10buf_pool_alloc() 163 struct bio *bio = r10bio->devs[j].bio; in r10buf_pool_free() 180 struct bio **bio = & r10_bio->devs[i].bio; in put_all_bios() 248 conf->mirrors[r10_bio->devs[slot].devnum].head_position = in update_head_pos() 249 r10_bio->devs[slot].addr + (r10_bio->sectors); in update_head_pos() 261 dev = r10_bio->devs[slot].devnum; in raid10_end_read_request() [all …]
|
/drivers/staging/comedi/drivers/ |
D | comedi_bond.c | 161 struct BondedDevice **devs; member 310 struct BondedDevice *bdev = devpriv->devs[i]; in bonding_dio_insn_bits() 467 devpriv->devs = in doDevConfig() 468 Realloc(devpriv->devs, in doDevConfig() 470 if (!devpriv->devs) { in doDevConfig() 476 devpriv->devs[devpriv->ndevs - 1] = bdev; in doDevConfig() 505 while (devpriv->ndevs-- && devpriv->devs) { in doDevUnconfig() 508 bdev = devpriv->devs[devpriv->ndevs]; in doDevUnconfig() 517 kfree(devpriv->devs); in doDevUnconfig() 518 devpriv->devs = NULL; in doDevUnconfig()
|
/drivers/char/agp/ |
D | ali-agp.c | 304 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 = "M????"; 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()
|
D | ati-agp.c | 476 struct agp_device_ids *devs = ati_agp_device_ids; in agp_ati_probe() local 486 for (j = 0; devs[j].chipset_name; j++) { in agp_ati_probe() 487 if (pdev->device == devs[j].device_id) in agp_ati_probe() 505 dev_info(&pdev->dev, "Ati %s chipset\n", devs[j].chipset_name); in agp_ati_probe()
|
D | uninorth-agp.c | 585 struct agp_device_ids *devs = uninorth_agp_device_ids; in agp_uninorth_probe() local 596 for (j = 0; devs[j].chipset_name != NULL; ++j) { in agp_uninorth_probe() 597 if (pdev->device == devs[j].device_id) { in agp_uninorth_probe() 599 devs[j].chipset_name); in agp_uninorth_probe()
|
D | via-agp.c | 442 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()
|
/drivers/s390/block/ |
D | xpram.c | 63 static int __initdata devs = XPRAM_DEVS; variable 66 module_param(devs, int, 0); 69 MODULE_PARM_DESC(devs, "number of devices (\"partitions\"), " \ 263 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { in xpram_setup_sizes() 264 pr_err("%d is not a valid number of XPRAM devices\n",devs); in xpram_setup_sizes() 267 xpram_devs = devs; in xpram_setup_sizes()
|
/drivers/mfd/ |
D | ucb1x00-core.c | 381 list_add(&dev->dev_node, &ucb->devs); in ucb1x00_add_dev() 382 list_add(&dev->drv_node, &drv->devs); in ucb1x00_add_dev() 524 INIT_LIST_HEAD(&ucb->devs); in ucb1x00_probe() 550 list_for_each_safe(l, n, &ucb->devs) { in ucb1x00_remove() 564 INIT_LIST_HEAD(&drv->devs); in ucb1x00_register_driver() 580 list_for_each_safe(l, n, &drv->devs) { in ucb1x00_unregister_driver() 593 list_for_each_entry(dev, &ucb->devs, dev_node) { in ucb1x00_suspend() 607 list_for_each_entry(dev, &ucb->devs, dev_node) { in ucb1x00_resume()
|
D | ucb1x00.h | 125 struct list_head devs; member 140 struct list_head devs; member
|
/drivers/macintosh/ |
D | macio-adb.c | 68 static int macio_adb_autopoll(int devs); 131 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument 136 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll() 137 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll() 138 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
|
D | via-macii.c | 89 static int macii_autopoll(int devs); 281 static int macii_autopoll(int devs) in macii_autopoll() argument 288 autopoll_devs = devs & 0xFFFE; in macii_autopoll()
|
D | via-pmu68k.c | 109 static int pmu_autopoll(int devs); 382 pmu_autopoll(int devs) in pmu_autopoll() argument 388 if (devs) { in pmu_autopoll() 389 adb_dev_map = devs; in pmu_autopoll()
|
D | via-cuda.c | 94 static int cuda_adb_autopoll(int devs); 327 cuda_adb_autopoll(int devs) in cuda_adb_autopoll() argument 334 cuda_request(&req, NULL, 3, CUDA_PACKET, CUDA_AUTOPOLL, (devs? 1: 0)); in cuda_adb_autopoll()
|
D | adb-iop.c | 259 int adb_iop_autopoll(int devs) in adb_iop_autopoll() argument
|
D | via-pmu.c | 181 static int pmu_adb_autopoll(int devs); 1009 pmu_adb_autopoll(int devs) in pmu_adb_autopoll() argument 1016 if (devs) { in pmu_adb_autopoll() 1017 adb_dev_map = devs; in pmu_adb_autopoll()
|
/drivers/mtd/ |
D | mtd_blkdevs.c | 228 list_for_each_entry(d, &tr->devs, list) { in add_mtd_blktrans_dev() 254 list_add_tail(&new->list, &tr->devs); in add_mtd_blktrans_dev() 319 list_for_each_entry_safe(dev, next, &tr->devs, list) in blktrans_notify_remove() 392 INIT_LIST_HEAD(&tr->devs); in register_mtd_blktrans() 417 list_for_each_entry_safe(dev, next, &tr->devs, list) in deregister_mtd_blktrans() 427 BUG_ON(!list_empty(&tr->devs)); in deregister_mtd_blktrans()
|
/drivers/sbus/char/ |
D | bbc_i2c.c | 59 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() 336 bp->devs[entry].device = child_op; in attach_one_i2c() 337 bp->devs[entry].client_claimed = 0; in attach_one_i2c()
|
D | bbc_i2c.h | 71 } devs[NUM_CHILDREN]; member
|
/drivers/uwb/ |
D | whci.c | 19 struct umc_dev *devs[0]; member 122 card->devs[n] = umc; in whci_add_cap() 132 struct umc_dev *umc = card->devs[n]; in whci_del_cap()
|
/drivers/pnp/pnpbios/ |
D | core.c | 361 unsigned int devs = 0; in build_devlist() local 384 devs++; in build_devlist() 397 nodes_got, nodes_got != 1 ? "s" : "", devs); in build_devlist()
|
/drivers/pcmcia/ |
D | pxa2xx_sharpsl.c | 29 #define SCOOP_DEV platform_scoop_config->devs 267 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev; in sharpsl_pcmcia_init()
|
/drivers/input/joystick/ |
D | db9.c | 272 static int db9_saturn_report(unsigned char id, unsigned char data[60], struct input_dev *devs[], in… in db9_saturn_report() argument 279 dev = devs[n]; in db9_saturn_report() 335 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) in db9_saturn() argument 360 tmp = db9_saturn_report(id, data, devs, tmp, max_pads); in db9_saturn()
|
/drivers/base/ |
D | platform.c | 105 int platform_add_devices(struct platform_device **devs, int num) in platform_add_devices() argument 110 ret = platform_device_register(devs[i]); in platform_add_devices() 113 platform_device_unregister(devs[i]); in platform_add_devices()
|
/drivers/pnp/ |
D | card.c | 31 !*drv_id->devs[i].id) in match_card() 36 drv_id->devs[i].id)) { in match_card()
|