Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/mfd/
Dcore.h145 const struct mfd_cell *cells, int n_devs,
150 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() argument
152 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, in mfd_add_hotplug_devices()
160 const struct mfd_cell *cells, int n_devs,
/linux-6.1.9/drivers/mfd/
Dmadera-core.c461 int n_devs = 0; in madera_dev_init() local
605 n_devs = ARRAY_SIZE(cs47l15_devs); in madera_dev_init()
618 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init()
632 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init()
646 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init()
661 n_devs = ARRAY_SIZE(cs47l92_devs); in madera_dev_init()
674 if (!n_devs) { in madera_dev_init()
740 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()
219 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
Dmfd-core.c343 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
350 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
438 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument
449 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
/linux-6.1.9/drivers/input/joystick/
Dturbografx.c147 int *n_buttons, n_devs; in tgfx_attach() local
163 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
186 for (i = 0; i < n_devs; i++) { in tgfx_attach()
/linux-6.1.9/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.c367 int n_devs; member
787 sbridge_dev->n_devs = table->n_devs_per_imc; in alloc_sbridge_dev()
2435 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
2623 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs()
2697 for (i = 0; i < sbridge_dev->n_devs; i++) { in ibridge_mci_bind_devs()
2790 for (i = 0; i < sbridge_dev->n_devs; i++) { in haswell_mci_bind_devs()
2875 for (i = 0; i < sbridge_dev->n_devs; i++) { in broadwell_mci_bind_devs()
2951 for (i = 0; i < sbridge_dev->n_devs; i++) { in knl_mci_bind_devs()
/linux-6.1.9/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");
351 for (i = 0; i < n_devs; i++) { in vivid_validate_fb()
2038 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
2040 for (i = 0; i < n_devs; i++) { in vivid_probe()
2056 n_devs = i; in vivid_probe()
2066 for (i = 0; i < n_devs; i++) { in vivid_remove()
/linux-6.1.9/drivers/leds/
Dleds-pca9532.c321 static void pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument
323 int i = n_devs; in pca9532_destroy_devices()
/linux-6.1.9/Documentation/admin-guide/media/
Dvivid.rst55 - n_devs:
84 n_devs=4 node_types=0x1,0x1,0x100,0x100
146 n_devs=4 vid_cap_nr=2,4,6,8
1309 $ sudo modprobe vivid n_devs=2 node_types=0x10101,0x1