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

/linux-master/include/linux/mfd/
H A Dcore.h133 const struct mfd_cell *cells, int n_devs,
138 const struct mfd_cell *cells, int n_devs)
140 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs,
148 const struct mfd_cell *cells, int n_devs,
137 mfd_add_hotplug_devices(struct device *parent, const struct mfd_cell *cells, int n_devs) argument
/linux-master/drivers/mfd/
H A Dmax77541.c135 int n_devs; local
141 n_devs = ARRAY_SIZE(max77540_devs);
145 n_devs = ARRAY_SIZE(max77541_devs);
160 cells, n_devs, NULL, 0, NULL);
H A Dmax77686.c168 int n_devs; local
186 n_devs = ARRAY_SIZE(max77686_devs);
191 n_devs = ARRAY_SIZE(max77802_devs);
218 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL,
H A Dmadera-core.c460 int n_devs = 0; local
604 n_devs = ARRAY_SIZE(cs47l15_devs);
617 n_devs = ARRAY_SIZE(cs47l35_devs);
631 n_devs = ARRAY_SIZE(cs47l85_devs);
645 n_devs = ARRAY_SIZE(cs47l90_devs);
660 n_devs = ARRAY_SIZE(cs47l92_devs);
673 if (!n_devs) {
739 mfd_devs, n_devs,
H A Dmfd-core.c313 * @n_devs: Number of child devices to register.
320 const struct mfd_cell *cells, int n_devs,
327 for (i = 0; i < n_devs; i++) {
408 * @n_devs: Number of child devices to register.
415 const struct mfd_cell *cells, int n_devs,
426 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base,
319 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
414 devm_mfd_add_devices(struct device *dev, int id, const struct mfd_cell *cells, int n_devs, struct resource *mem_base, int irq_base, struct irq_domain *domain) argument
/linux-master/drivers/input/joystick/
H A Dturbografx.c147 int *n_buttons, n_devs; local
163 n_devs = tgfx_cfg[port_idx].nargs - 1;
186 for (i = 0; i < n_devs; i++) {
/linux-master/drivers/edac/
H A Di7core_edac.c237 int n_devs; member in struct:pci_id_table
244 int n_devs; member in struct:i7core_dev
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),
470 i7core_dev->n_devs = table->n_devs;
1239 for (i = 0; i < i7core_dev->n_devs; i++) {
1431 for (i = 0; i < table->n_devs; i++) {
1438 i = table->n_devs;
1462 for (i = 0; i < i7core_dev->n_devs;
[all...]
H A Dsb_edac.c367 int n_devs; member in struct:sbridge_dev
787 sbridge_dev->n_devs = table->n_devs_per_imc;
2435 for (i = 0; i < sbridge_dev->n_devs; i++) {
2623 for (i = 0; i < sbridge_dev->n_devs; i++) {
2697 for (i = 0; i < sbridge_dev->n_devs; i++) {
2790 for (i = 0; i < sbridge_dev->n_devs; i++) {
2875 for (i = 0; i < sbridge_dev->n_devs; i++) {
2951 for (i = 0; i < sbridge_dev->n_devs; i++) {
/linux-master/drivers/leds/
H A Dleds-pca9532.c319 static void pca9532_destroy_devices(struct pca9532_data *data, int n_devs) argument
321 int i = n_devs;
/linux-master/drivers/media/test-drivers/vivid/
H A 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");
1997 /* This routine allocates from 1 to n_devs virtual drivers.
2015 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS);
2017 for (i = 0; i < n_devs; i++) {
2032 /* n_devs will reflect the actual number of allocated devices */
2033 n_devs = i;
2043 for (i = 0; i < n_devs;
[all...]

Completed in 516 milliseconds