/kernel/linux/linux-5.10/include/linux/mfd/ |
H 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() 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, 149 mfd_add_hotplug_devices(struct device *parent, const struct mfd_cell *cells, int n_devs) mfd_add_hotplug_devices() argument
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | core.h | 133 const struct mfd_cell *cells, int n_devs, 138 const struct mfd_cell *cells, int n_devs) in mfd_add_hotplug_devices() 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, 137 mfd_add_hotplug_devices(struct device *parent, const struct mfd_cell *cells, int n_devs) mfd_add_hotplug_devices() argument
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | madera-core.c | 440 int n_devs = 0; in madera_dev_init() local 576 n_devs = ARRAY_SIZE(cs47l15_devs); in madera_dev_init() 589 n_devs = ARRAY_SIZE(cs47l35_devs); in madera_dev_init() 603 n_devs = ARRAY_SIZE(cs47l85_devs); in madera_dev_init() 617 n_devs = ARRAY_SIZE(cs47l90_devs); in madera_dev_init() 632 n_devs = ARRAY_SIZE(cs47l92_devs); in madera_dev_init() 645 if (!n_devs) { in madera_dev_init() 711 mfd_devs, n_devs, in madera_dev_init()
|
H 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() 220 ret = devm_mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, in max77686_i2c_probe()
|
H A D | mfd-core.c | 335 * @n_devs: Number of child devices to register. 342 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() 349 for (i = 0; i < n_devs; i++) { in mfd_add_devices() 420 * @n_devs: Number of child devices to register. 427 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() 438 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices() 341 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) mfd_add_devices() argument 426 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) devm_mfd_add_devices() argument
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | madera-core.c | 460 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()
|
H A D | max77541.c | 135 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()
|
H A D | max77686.c | 168 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()
|
H A D | mfd-core.c | 313 * @n_devs: Number of child devices to register. 320 const struct mfd_cell *cells, int n_devs, in mfd_add_devices() 327 for (i = 0; i < n_devs; i++) { in mfd_add_devices() 408 * @n_devs: Number of child devices to register. 415 const struct mfd_cell *cells, int n_devs, in devm_mfd_add_devices() 426 ret = mfd_add_devices(dev, id, cells, n_devs, mem_base, in devm_mfd_add_devices() 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) mfd_add_devices() 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) devm_mfd_add_devices() argument
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | turbografx.c | 147 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()
|
/kernel/linux/linux-5.10/drivers/edac/ |
H 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; in mci_bind_devs() [all...] |
H 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()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H 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; in mci_bind_devs() [all...] |
H A D | sb_edac.c | 367 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()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H 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"); 342 for (i = 0; i < n_devs; i++) { in vivid_validate_fb() 1950 /* This routine allocates from 1 to n_devs virtual drivers. 1968 n_devs = clamp_t(unsigned, n_devs, 1, VIVID_MAX_DEVS); in vivid_probe() 1970 for (i = 0; i < n_devs; i++) { in vivid_probe() 1985 /* n_devs will reflect the actual number of allocated devices */ in vivid_probe() 1986 n_devs in vivid_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H 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"); 1983 /* This routine allocates from 1 to n_devs virtual drivers. 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() 2018 /* n_devs will reflect the actual number of allocated devices */ in vivid_probe() 2019 n_devs = i; in vivid_probe() 2029 for (i = 0; i < n_devs; in vivid_remove() [all...] |
/kernel/linux/linux-5.10/drivers/leds/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-pca9532.c | 319 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()
|