Searched refs:n_devs (Results 1 – 8 of 8) sorted by relevance
/drivers/mfd/ |
D | madera-core.c | 435 int n_devs = 0; in madera_dev_init() local 550 n_devs = ARRAY_SIZE(cs47l15_devs); in madera_dev_init() 563 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init() 577 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init() 591 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init() 606 n_devs = ARRAY_SIZE(cs47l92_devs); in madera_dev_init() 619 if (!n_devs) { in madera_dev_init() 679 mfd_devs, n_devs, in madera_dev_init()
|
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() 220 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
|
D | mfd-core.c | 283 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() argument 292 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); in mfd_add_devices() 296 for (i = 0; i < n_devs; i++) { in mfd_add_devices() 360 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() argument 371 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices()
|
/drivers/input/joystick/ |
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()
|
/drivers/edac/ |
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() 1240 for (i = 0; i < i7core_dev->n_devs; i++) { in i7core_put_devices() 1432 for (i = 0; i < table->n_devs; i++) { in i7core_get_all_devices() 1439 i = table->n_devs; in i7core_get_all_devices() 1463 for (i = 0; i < i7core_dev->n_devs; i++) { in mci_bind_devs()
|
D | sb_edac.c | 359 int n_devs; member 779 sbridge_dev->n_devs = table->n_devs_per_imc; in alloc_sbridge_dev() 2308 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_put_devices() 2496 for (i = 0; i < sbridge_dev->n_devs; i++) { in sbridge_mci_bind_devs() 2570 for (i = 0; i < sbridge_dev->n_devs; i++) { in ibridge_mci_bind_devs() 2663 for (i = 0; i < sbridge_dev->n_devs; i++) { in haswell_mci_bind_devs() 2748 for (i = 0; i < sbridge_dev->n_devs; i++) { in broadwell_mci_bind_devs() 2824 for (i = 0; i < sbridge_dev->n_devs; i++) { in knl_mci_bind_devs()
|
/drivers/media/platform/vivid/ |
D | vivid-core.c | 50 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"); 1551 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe() 1553 for (i = 0; i < n_devs; i++) { in vivid_probe() 1569 n_devs = i; in vivid_probe() 1579 for (i = 0; i < n_devs; i++) { in vivid_remove()
|
/drivers/leds/ |
D | leds-pca9532.c | 319 static int pca9532_destroy_devices(struct pca9532_data *data, int n_devs) in pca9532_destroy_devices() argument 321 int i = n_devs; in pca9532_destroy_devices()
|