Home
last modified time | relevance | path

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

/drivers/mfd/
Dmadera-core.c440 int n_devs = 0; in madera_dev_init() local
576 n_devs = ARRAY_SIZE(cs47l15_devs); in madera_dev_init()
589 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init()
603 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init()
617 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init()
632 n_devs = ARRAY_SIZE(cs47l92_devs); in madera_dev_init()
645 if (!n_devs) { in madera_dev_init()
711 mfd_devs, n_devs, in madera_dev_init()
Dmax77686.c169 int n_devs; in max77686_i2c_probe() local
187 n_devs = ARRAY_SIZE(max77686_devs); in max77686_i2c_probe()
192 n_devs = ARRAY_SIZE(max77802_devs); in max77686_i2c_probe()
220 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
Dmfd-core.c342 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
349 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
427 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument
438 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
/drivers/input/joystick/
Dturbografx.c150 int *n_buttons, n_devs; in tgfx_attach() local
166 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
189 for (i = 0; i < n_devs; i++) { in tgfx_attach()
/drivers/edac/
Di7core_edac.c237 int n_devs; member
244 int n_devs; member
374 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
462 i7core_dev->pdev = kcalloc(table->n_devs, sizeof(*i7core_dev->pdev), in alloc_i7core_dev()
470 i7core_dev->n_devs = table->n_devs; in alloc_i7core_dev()
1239 for (i = 0; i < i7core_dev->n_devs; i++) { in i7core_put_devices()
1431 for (i = 0; i < table->n_devs; i++) { in i7core_get_all_devices()
1438 i = table->n_devs; in i7core_get_all_devices()
1462 for (i = 0; i < i7core_dev->n_devs; i++) { in mci_bind_devs()
Dsb_edac.c361 int n_devs; member
781 sbridge_dev->n_devs = table->n_devs_per_imc; in alloc_sbridge_dev()
2306 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
2494 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs()
2568 for (i = 0; i < sbridge_dev->n_devs; i++) { in ibridge_mci_bind_devs()
2661 for (i = 0; i < sbridge_dev->n_devs; i++) { in haswell_mci_bind_devs()
2746 for (i = 0; i < sbridge_dev->n_devs; i++) { in broadwell_mci_bind_devs()
2822 for (i = 0; i < sbridge_dev->n_devs; i++) { in knl_mci_bind_devs()
/drivers/media/test-drivers/vivid/
Dvivid-core.c53 static unsigned n_devs = 1; variable
54 module_param(n_devs, uint, 0444);
55 MODULE_PARM_DESC(n_devs, " number of driver instances to create");
342 for (i = 0; i < n_devs; i++) { in vivid_validate_fb()
1968 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
1970 for (i = 0; i < n_devs; i++) { in vivid_probe()
1986 n_devs = i; in vivid_probe()
1996 for (i = 0; i < n_devs; i++) { in vivid_remove()
/drivers/leds/
Dleds-pca9532.c321 static int pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument
323 int i = n_devs; in pca9532_destroy_devices()