Home
last modified time | relevance | path

Searched refs:n_devs (Results 1 – 6 of 6) sorted by relevance

/drivers/mfd/
Dmfd-core.c161 struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
170 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices()
174 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
/drivers/edac/
Dsb_edac.c294 int n_devs; member
302 int n_devs; member
362 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
441 sbridge_dev->pdev = kzalloc(sizeof(*sbridge_dev->pdev) * table->n_devs, in alloc_sbridge_dev()
449 sbridge_dev->n_devs = table->n_devs; in alloc_sbridge_dev()
474 for (i = 0; i < sbridge_dev->n_devs; i++) { in get_pdev_slot_func()
1136 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
1272 for (i = 0; i < table->n_devs; i++) { in sbridge_get_all_devices()
1279 i = table->n_devs; in sbridge_get_all_devices()
1300 for (i = 0; i < sbridge_dev->n_devs; i++) { in mci_bind_devs()
Di7core_edac.c237 int n_devs; member
244 int n_devs; member
383 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
471 i7core_dev->pdev = kzalloc(sizeof(*i7core_dev->pdev) * table->n_devs, in alloc_i7core_dev()
479 i7core_dev->n_devs = table->n_devs; in alloc_i7core_dev()
504 for (i = 0; i < i7core_dev->n_devs; i++) { in get_pdev_slot_func()
1283 for (i = 0; i < i7core_dev->n_devs; i++) { in i7core_put_devices()
1470 for (i = 0; i < table->n_devs; i++) { in i7core_get_all_devices()
1477 i = table->n_devs; in i7core_get_all_devices()
1501 for (i = 0; i < i7core_dev->n_devs; i++) { in mci_bind_devs()
/drivers/media/video/
Dvivi.c58 static unsigned n_devs = 1; variable
59 module_param(n_devs, uint, 0644);
60 MODULE_PARM_DESC(n_devs, "number of video devices to create");
1366 if (n_devs <= 0) in vivi_init()
1367 n_devs = 1; in vivi_init()
1369 for (i = 0; i < n_devs; i++) { in vivi_init()
1389 n_devs = i; in vivi_init()
/drivers/input/joystick/
Dturbografx.c159 static struct tgfx __init *tgfx_probe(int parport, int *n_buttons, int n_devs) in tgfx_probe() argument
195 for (i = 0; i < n_devs; i++) { in tgfx_probe()
/drivers/leds/
Dleds-pca9532.c296 static int pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument
298 int i = n_devs; in pca9532_destroy_devices()