Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/mfd/
Dcore.h116 const struct mfd_cell *cells, int n_devs,
121 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() argument
123 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, in mfd_add_hotplug_devices()
/linux-4.4.14/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.c266 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
275 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices()
279 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
/linux-4.4.14/drivers/input/joystick/
Dturbografx.c166 int *n_buttons, n_devs; in tgfx_attach() local
182 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
207 for (i = 0; i < n_devs; i++) { in tgfx_attach()
/linux-4.4.14/drivers/edac/
Dsb_edac.c299 int n_devs; member
307 int n_devs; member
366 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
660 sbridge_dev->pdev = kzalloc(sizeof(*sbridge_dev->pdev) * table->n_devs, in alloc_sbridge_dev()
668 sbridge_dev->n_devs = table->n_devs; in alloc_sbridge_dev()
1540 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
1659 for (i = 0; i < table->n_devs; i++) { in sbridge_get_all_devices()
1666 i = table->n_devs; in sbridge_get_all_devices()
1688 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs()
1762 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.4.14/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");
1316 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
1318 for (i = 0; i < n_devs; i++) { in vivid_probe()
1334 n_devs = i; in vivid_probe()
1345 for (i = 0; i < n_devs; i++) { in vivid_remove()
/linux-4.4.14/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.4.14/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
1050 $ sudo modprobe vivid n_devs=2 node_types=0x10101,0x1