/drivers/staging/comedi/drivers/ |
H A D | comedi_bond.c | 66 struct bonded_device **devs; member in struct:comedi_bond_private 78 struct bonded_device **devs; local 89 devs = devpriv->devs; 91 struct bonded_device *bdev = *devs++; 141 struct bonded_device **devs; local 146 devs = devpriv->devs; 147 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs 196 struct bonded_device **devs; local [all...] |
/drivers/watchdog/ |
H A D | cpwd.c | 89 } devs[WD_NUMDEVS]; member in struct:cpwd 209 (p->devs[index].intr_mask); 225 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); 245 if (p->devs[id].runstatus & WD_STAT_BSTOP) { 263 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) 264 cpwd_readw(p->devs[index].regs + WD_DCNTR); 273 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { 277 p->devs[index].runstatus |= WD_STAT_BSTOP; 293 p->devs[index].runstatus &= ~WD_STAT_BSTOP; 295 p->devs[inde [all...] |
/drivers/fmc/ |
H A D | fmc-core.c | 144 int fmc_device_register_n(struct fmc_device **devs, int n) argument 154 if (fmc_check_version(devs[0]->version, devs[0]->carrier_name)) 157 devarray = kmemdup(devs, n * sizeof(*devs), GFP_KERNEL); 249 sysfs_remove_bin_file(&devs[i]->dev.kobj, &fmc_eeprom_attr); 250 device_del(&devs[i]->dev); 251 fmc_free_id_info(devs[i]); 252 put_device(&devs[i]->dev); 265 void fmc_device_unregister_n(struct fmc_device **devs, in argument [all...] |
/drivers/infiniband/hw/usnic/ |
H A D | usnic_uiom.h | 44 struct list_head devs; member in struct:usnic_uiom_pd 73 void usnic_uiom_free_dev_list(struct device **devs);
|
H A D | usnic_uiom.c | 485 INIT_LIST_HEAD(&pd->devs); 518 list_add_tail(&uiom_dev->link, &pd->devs); 537 list_for_each_entry(uiom_dev, &pd->devs, link) { 561 struct device **devs; local 565 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); 566 if (!devs) { 567 devs = ERR_PTR(-ENOMEM); 571 list_for_each_entry(uiom_dev, &pd->devs, link) { 572 devs[ 579 usnic_uiom_free_dev_list(struct device **devs) argument [all...] |
/drivers/char/agp/ |
H A D | ali-agp.c | 304 struct agp_device_ids *devs = ali_agp_device_ids; local 314 for (j = 0; devs[j].chipset_name; j++) { 315 if (pdev->device == devs[j].device_id) 340 devs[j].chipset_name = "M1631"; 343 devs[j].chipset_name = "M1632"; 346 devs[j].chipset_name = "M1641"; 349 devs[j].chipset_name = "M1621"; 352 devs[j].chipset_name = "M1647"; 355 devs[j].chipset_name = "M1651"; 365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[ [all...] |
/drivers/md/ |
H A D | raid10.c | 86 * the success by setting devs[n].bio to IO_MADE_GOOD 110 int size = offsetof(struct r10bio, devs[conf->copies]); 163 r10_bio->devs[j].bio = bio; 169 r10_bio->devs[j].repl_bio = bio; 176 struct bio *rbio = r10_bio->devs[j].repl_bio; 177 bio = r10_bio->devs[j].bio; 183 struct bio *rbio = r10_bio->devs[0].bio; 204 safe_put_page(r10_bio->devs[j].bio->bi_io_vec[i].bv_page); 208 if (r10_bio->devs[j].bio) 209 bio_put(r10_bio->devs[ 717 struct r10dev devs[conf->copies]; member in struct:__anon1982 4581 struct r10dev devs[conf->copies]; member in struct:__anon1983 [all...] |
H A D | raid10.h | 128 } devs[0]; member in struct:r10bio
|
/drivers/s390/block/ |
H A D | xpram.c | 22 * 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\"), " \ 266 if (devs <= 0 || devs > XPRAM_MAX_DEVS) { 267 pr_err("%d is not a valid number of XPRAM devices\n",devs); 270 xpram_devs = devs;
|
/drivers/macintosh/ |
H A D | macio-adb.c | 67 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 D | via-macii.c | 88 static int macii_autopoll(int devs); 280 static int macii_autopoll(int devs) argument 287 autopoll_devs = devs & 0xFFFE;
|
/drivers/vfio/pci/ |
H A D | vfio_pci.c | 934 struct vfio_devices *devs = data; local 940 if (devs->cur_index == devs->max_index) 943 devs->devices[devs->cur_index] = vfio_device_get_from_dev(&pdev->dev); 944 if (!devs->devices[devs->cur_index]) 947 devs->cur_index++; 965 struct vfio_devices devs = { .cur_index = 0 }; local 979 devs [all...] |
/drivers/sbus/char/ |
H A D | bbc_i2c.h | 71 } devs[NUM_CHILDREN]; member in struct:bbc_i2c_bus
|
H A D | bbc_i2c.c | 58 if (bp->devs[i].device == op) { 59 bp->devs[i].client_claimed = val; 74 if (!(op = bp->devs[i].device)) 334 bp->devs[entry].device = child_op; 335 bp->devs[entry].client_claimed = 0;
|
/drivers/staging/ozwpan/ |
H A D | ozproto.h | 42 int oz_protocol_init(char *devs);
|
H A D | ozproto.c | 769 int oz_protocol_init(char *devs) argument 782 if (devs[0] == '*') { 787 while (*devs) { 788 devs = oz_get_next_device_name(devs, d, sizeof(d));
|
/drivers/mfd/ |
H A D | ucb1x00-core.c | 411 list_add_tail(&dev->dev_node, &ucb->devs); 412 list_add_tail(&dev->drv_node, &drv->devs); 594 INIT_LIST_HEAD(&ucb->devs); 627 list_for_each_safe(l, n, &ucb->devs) { 648 INIT_LIST_HEAD(&drv->devs); 664 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) {
|
H A D | kempld-core.c | 109 struct mfd_cell devs[KEMPLD_MAX_DEVS]; local 113 devs[i++] = kempld_devs[KEMPLD_I2C]; 116 devs[i++] = kempld_devs[KEMPLD_WDT]; 119 devs[i++] = kempld_devs[KEMPLD_GPIO]; 122 devs[i++] = kempld_devs[KEMPLD_UART]; 124 return mfd_add_devices(pld->dev, -1, devs, i, NULL, 0, NULL);
|
/drivers/media/pci/mantis/ |
H A D | hopper_cards.c | 64 static int devs; variable 168 mantis->num = devs; 210 devs++;
|
H A D | mantis_cards.c | 57 static int devs; variable 176 mantis->num = devs; 224 devs++;
|
/drivers/uwb/ |
H A D | whci.c | 21 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 D | xhci.c | 1212 if (!udev->slot_id || !xhci->devs[udev->slot_id]) { 1218 virt_dev = xhci->devs[udev->slot_id]; 1253 out_ctx = xhci->devs[slot_id]->out_ctx; 1278 command->in_ctx = xhci->devs[slot_id]->in_ctx; 1287 xhci_endpoint_copy(xhci, xhci->devs[slot_id]->in_ctx, 1288 xhci->devs[slot_id]->out_ctx, ep_index); 1398 if (xhci->devs[slot_id]->eps[ep_index].ep_state & 1403 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state & 1464 ep = &xhci->devs[slot_id]->eps[ep_index]; 1574 ep = &xhci->devs[ur [all...] |
/drivers/mtd/ |
H A D | mtd_blkdevs.c | 335 list_for_each_entry(d, &tr->devs, list) { 369 list_add_tail(&new->list, &tr->devs); 506 list_for_each_entry_safe(dev, next, &tr->devs, list) 554 INIT_LIST_HEAD(&tr->devs); 574 list_for_each_entry_safe(dev, next, &tr->devs, list) 580 BUG_ON(!list_empty(&tr->devs));
|
/drivers/scsi/ |
H A D | st.h | 70 struct device *devs[2]; /* Auto-rewind and non-rewind devices */ member in struct:st_modedef
|
/drivers/pcmcia/ |
H A D | pxa2xx_sharpsl.c | 29 #define SCOOP_DEV platform_scoop_config->devs 241 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev;
|