Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/mfd/
Dcore.h110 const struct mfd_cell *cells, int n_devs,
115 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() argument
117 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, in mfd_add_hotplug_devices()
/linux-4.1.27/drivers/mfd/
Dmax77686.c220 int n_devs; in max77686_i2c_probe() local
248 n_devs = ARRAY_SIZE(max77686_devs); in max77686_i2c_probe()
255 n_devs = ARRAY_SIZE(max77802_devs); in max77686_i2c_probe()
312 ret = mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, 0, NULL); in max77686_i2c_probe()
Dmfd-core.c244 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
253 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices()
257 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
/linux-4.1.27/drivers/edac/
Dsb_edac.c301 int n_devs; member
309 int n_devs; member
368 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
624 sbridge_dev->pdev = kzalloc(sizeof(*sbridge_dev->pdev) * table->n_devs, in alloc_sbridge_dev()
632 sbridge_dev->n_devs = table->n_devs; in alloc_sbridge_dev()
1463 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
1582 for (i = 0; i < table->n_devs; i++) { in sbridge_get_all_devices()
1589 i = table->n_devs; in sbridge_get_all_devices()
1611 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs()
1692 for (i = 0; i < sbridge_dev->n_devs; i++) { in ibridge_mci_bind_devs()
[all …]
Di7core_edac.c239 int n_devs; member
246 int n_devs; member
386 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
474 i7core_dev->pdev = kzalloc(sizeof(*i7core_dev->pdev) * table->n_devs, in alloc_i7core_dev()
482 i7core_dev->n_devs = table->n_devs; in alloc_i7core_dev()
1244 for (i = 0; i < i7core_dev->n_devs; i++) { in i7core_put_devices()
1436 for (i = 0; i < table->n_devs; i++) { in i7core_get_all_devices()
1443 i = table->n_devs; in i7core_get_all_devices()
1467 for (i = 0; i < i7core_dev->n_devs; i++) { in mci_bind_devs()
/linux-4.1.27/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()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-core.c60 static unsigned n_devs = 1; variable
61 module_param(n_devs, uint, 0444);
62 MODULE_PARM_DESC(n_devs, " number of driver instances to create");
1302 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
1304 for (i = 0; i < n_devs; i++) { in vivid_probe()
1320 n_devs = i; in vivid_probe()
/linux-4.1.27/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()
/linux-4.1.27/Documentation/video4linux/
Dvivid.txt91 n_devs: number of driver instances to create. By default set to 1. Up to 64
110 n_devs=4 node_types=0x1,0x1,0x100,0x100
156 n_devs=4 vid_cap_nr=2,4,6,8
1042 $ sudo modprobe vivid n_devs=2 node_types=0x10101,0x1