Searched refs:n_devs (Results 1 - 7 of 7) sorted by relevance
/drivers/mfd/ |
H A D | max77686.c | 234 int n_devs; local 271 n_devs = ARRAY_SIZE(max77686_devs); 278 n_devs = ARRAY_SIZE(max77802_devs); 335 ret = mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, 0, NULL);
|
H A D | mfd-core.c | 238 const struct mfd_cell *cells, int n_devs, 247 cnts = kcalloc(n_devs, sizeof(*cnts), GFP_KERNEL); 251 for (i = 0; i < n_devs; i++) { 237 mfd_add_devices(struct device *parent, int id, const struct mfd_cell *cells, int n_devs, struct resource *mem_base, int irq_base, struct irq_domain *domain) argument
|
/drivers/edac/ |
H A D | sb_edac.c | 296 int n_devs; member in struct:pci_id_table 304 int n_devs; member in struct:sbridge_dev 363 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) } 578 sbridge_dev->pdev = kzalloc(sizeof(*sbridge_dev->pdev) * table->n_devs, 586 sbridge_dev->n_devs = table->n_devs; 1411 for (i = 0; i < sbridge_dev->n_devs; i++) { 1530 for (i = 0; i < table->n_devs; i++) { 1537 i = table->n_devs; 1558 for (i = 0; i < sbridge_dev->n_devs; [all...] |
H A D | i7core_edac.c | 239 int n_devs; member in struct:pci_id_table 246 int n_devs; member in struct:i7core_dev 386 #define PCI_ID_TABLE_ENTRY(A) { .descr=A, .n_devs = ARRAY_SIZE(A) } 474 i7core_dev->pdev = kzalloc(sizeof(*i7core_dev->pdev) * table->n_devs, 482 i7core_dev->n_devs = table->n_devs; 1252 for (i = 0; i < i7core_dev->n_devs; i++) { 1444 for (i = 0; i < table->n_devs; i++) { 1451 i = table->n_devs; 1475 for (i = 0; i < i7core_dev->n_devs; [all...] |
/drivers/input/joystick/ |
H A D | turbografx.c | 159 static struct tgfx __init *tgfx_probe(int parport, int *n_buttons, int n_devs) argument 195 for (i = 0; i < n_devs; i++) {
|
/drivers/leds/ |
H A D | leds-pca9532.c | 296 static int pca9532_destroy_devices(struct pca9532_data *data, int n_devs) argument 298 int i = n_devs;
|
/drivers/media/platform/vivid/ |
H A D | vivid-core.c | 59 static unsigned n_devs = 1; variable 60 module_param(n_devs, uint, 0444); 61 MODULE_PARM_DESC(n_devs, " number of driver instances to create"); 1280 /* This routine allocates from 1 to n_devs virtual drivers. 1298 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); 1300 for (i = 0; i < n_devs; i++) { 1315 /* n_devs will reflect the actual number of allocated devices */ 1316 n_devs = i;
|
Completed in 160 milliseconds