Searched refs:n_devs (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/mfd/ |
A D | core.h | 145 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/drivers/mfd/ |
A D | madera-core.c | 461 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()
|
A D | max77686.c | 169 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()
|
A D | mfd-core.c | 326 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument 333 for (i = 0; i < n_devs; i++) { in mfd_add_devices() 414 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument 425 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
|
/linux/drivers/input/joystick/ |
A D | turbografx.c | 150 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()
|
/linux/drivers/edac/ |
A D | i7core_edac.c | 237 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()
|
A D | sb_edac.c | 361 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()
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-core.c | 53 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"); 2008 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe() 2010 for (i = 0; i < n_devs; i++) { in vivid_probe() 2026 n_devs = i; in vivid_probe() 2036 for (i = 0; i < n_devs; i++) { in vivid_remove()
|
/linux/drivers/leds/ |
A D | leds-pca9532.c | 321 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()
|
/linux/Documentation/admin-guide/media/ |
A D | vivid.rst | 55 - n_devs: 84 n_devs=4 node_types=0x1,0x1,0x100,0x100 146 n_devs=4 vid_cap_nr=2,4,6,8 1295 $ sudo modprobe vivid n_devs=2 node_types=0x10101,0x1
|
Completed in 30 milliseconds