Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/mfd/
Dcore.h121 const struct mfd_cell *cells, int n_devs,
126 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() argument
128 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, in mfd_add_hotplug_devices()
135 const struct mfd_cell *cells, int n_devs,
/Linux-v4.19/drivers/mfd/
Dmadera-core.c348 int n_devs = 0; in madera_dev_init() local
457 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init()
471 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init()
485 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init()
498 if (!n_devs) { in madera_dev_init()
558 mfd_devs, n_devs, in madera_dev_init()
Dmax77686.c183 int n_devs; in max77686_i2c_probe() local
201 n_devs = ARRAY_SIZE(max77686_devs); in max77686_i2c_probe()
206 n_devs = ARRAY_SIZE(max77802_devs); in max77686_i2c_probe()
234 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
Dmfd-core.c273 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
282 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices()
286 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
350 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument
361 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
/Linux-v4.19/drivers/input/joystick/
Dturbografx.c162 int *n_buttons, n_devs; in tgfx_attach() local
178 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach()
201 for (i = 0; i < n_devs; i++) { in tgfx_attach()
/Linux-v4.19/drivers/edac/
Di7core_edac.c239 int n_devs; member
246 int n_devs; member
376 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) }
464 i7core_dev->pdev = kcalloc(table->n_devs, sizeof(*i7core_dev->pdev), in alloc_i7core_dev()
472 i7core_dev->n_devs = table->n_devs; in alloc_i7core_dev()
1242 for (i = 0; i < i7core_dev->n_devs; i++) { in i7core_put_devices()
1434 for (i = 0; i < table->n_devs; i++) { in i7core_get_all_devices()
1441 i = table->n_devs; in i7core_get_all_devices()
1465 for (i = 0; i < i7core_dev->n_devs; i++) { in mci_bind_devs()
Dsb_edac.c360 int n_devs; member
780 sbridge_dev->n_devs = table->n_devs_per_imc; in alloc_sbridge_dev()
2223 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices()
2411 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs()
2485 for (i = 0; i < sbridge_dev->n_devs; i++) { in ibridge_mci_bind_devs()
2578 for (i = 0; i < sbridge_dev->n_devs; i++) { in haswell_mci_bind_devs()
2663 for (i = 0; i < sbridge_dev->n_devs; i++) { in broadwell_mci_bind_devs()
2739 for (i = 0; i < sbridge_dev->n_devs; i++) { in knl_mci_bind_devs()
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-core.c50 static unsigned n_devs = 1; variable
51 module_param(n_devs, uint, 0444);
52 MODULE_PARM_DESC(n_devs, " number of driver instances to create");
1415 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
1417 for (i = 0; i < n_devs; i++) { in vivid_probe()
1433 n_devs = i; in vivid_probe()
1443 for (i = 0; i < n_devs; i++) { in vivid_remove()
/Linux-v4.19/drivers/leds/
Dleds-pca9532.c323 static int pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument
325 int i = n_devs; in pca9532_destroy_devices()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dvivid.rst51 - n_devs:
77 n_devs=4 node_types=0x1,0x1,0x100,0x100
139 n_devs=4 vid_cap_nr=2,4,6,8
1222 $ sudo modprobe vivid n_devs=2 node_types=0x10101,0x1