Searched defs:devs (Results 1 - 25 of 31) sorted by relevance

12

/drivers/macintosh/
H A Dadb-iop.c259 int adb_iop_autopoll(int devs) argument
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-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 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-pmu68k.c107 static int pmu_autopoll(int devs);
380 pmu_autopoll(int devs) argument
386 if (devs) {
387 adb_dev_map = devs;
/drivers/media/pci/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/fmc/
H A Dfmc-core.c144 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 Dusnic_uiom.h44 struct list_head devs; member in struct:usnic_uiom_pd
73 void usnic_uiom_free_dev_list(struct device **devs);
H A Dusnic_uiom.c485 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/staging/comedi/drivers/
H A Dcomedi_bond.c66 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/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/char/agp/
H A Dali-agp.c304 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...]
H A Dvia-agp.c442 struct agp_device_ids *devs = via_agp_device_ids; local
452 printk (KERN_INFO PFX "Detected VIA %s chipset\n", devs[j].chipset_name);
H A Dati-agp.c494 struct agp_device_ids *devs = ati_agp_device_ids; local
504 for (j = 0; devs[j].chipset_name; j++) {
505 if (pdev->device == devs[j].device_id)
523 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/mfd/
H A Dkempld-core.c109 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/pnp/pnpbios/
H A Dcore.c361 unsigned int devs = 0; local
384 devs++;
397 nodes_got, nodes_got != 1 ? "s" : "", devs);
/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\"), " \
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/sbus/char/
H A Dbbc_i2c.h71 } devs[NUM_CHILDREN]; member in struct:bbc_i2c_bus
/drivers/md/
H A Draid10.h128 } devs[0]; member in struct:r10bio
/drivers/base/
H A Dplatform.c159 * @devs: array of platform devices to add
162 int platform_add_devices(struct platform_device **devs, int num) argument
167 ret = platform_device_register(devs[i]);
170 platform_device_unregister(devs[i]);
1095 * @devs: array of early platform devices to add
1101 void __init early_platform_add_devices(struct platform_device **devs, int num) argument
1108 dev = &devs[i]->dev;
/drivers/input/joystick/
H A Ddb9.c273 static int db9_saturn_report(unsigned char id, unsigned char data[60], struct input_dev *devs[], int n, int max_pads) argument
280 dev = devs[n];
336 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) argument
361 tmp = db9_saturn_report(id, data, devs, tmp, max_pads);
/drivers/staging/ozwpan/
H A Dozproto.c769 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/vfio/pci/
H A Dvfio_pci.c934 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...]

Completed in 602 milliseconds

12