Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/mfd/
Dcore.h133 const struct mfd_cell *cells, int n_devs,
138 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() argument
140 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, in mfd_add_hotplug_devices()
148 const struct mfd_cell *cells, int n_devs,
/Linux-v6.6/drivers/mfd/
Dmax77541.c135 int n_devs; in max77541_pmic_setup() local
141 n_devs = ARRAY_SIZE(max77540_devs); in max77541_pmic_setup()
145 n_devs = ARRAY_SIZE(max77541_devs); in max77541_pmic_setup()
160 cells, n_devs, NULL, 0, NULL); in max77541_pmic_setup()
Dmadera-core.c460 int n_devs = 0; in madera_dev_init() local
604 n_devs = ARRAY_SIZE(cs47l15_devs); in madera_dev_init()
617 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init()
631 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init()
645 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init()
660 n_devs = ARRAY_SIZE(cs47l92_devs); in madera_dev_init()
673 if (!n_devs) { in madera_dev_init()
739 mfd_devs, n_devs, in madera_dev_init()
Dmax77686.c168 int n_devs; in max77686_i2c_probe() local
186 n_devs = ARRAY_SIZE(max77686_devs); in max77686_i2c_probe()
191 n_devs = ARRAY_SIZE(max77802_devs); in max77686_i2c_probe()
218 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
Dmfd-core.c313 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument
320 for (i = 0; i < n_devs; i++) { in mfd_add_devices()
408 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument
419 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
/Linux-v6.6/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-v6.6/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-v6.6/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");
2001 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe()
2003 for (i = 0; i < n_devs; i++) { in vivid_probe()
2019 n_devs = i; in vivid_probe()
2029 for (i = 0; i < n_devs; i++) { in vivid_remove()
/Linux-v6.6/drivers/leds/
Dleds-pca9532.c319 static void pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument
321 int i = n_devs; in pca9532_destroy_devices()
/Linux-v6.6/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