Searched refs:mfd_add_devices (Results 1 - 89 of 89) sorted by relevance

/linux-4.4.14/include/linux/mfd/
H A Dcore.h93 * calling mfd_add_devices():
107 * Given a platform device that's been created by mfd_add_devices(), fetch
115 extern int mfd_add_devices(struct device *parent, int id,
123 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, mfd_add_hotplug_devices()
/linux-4.4.14/drivers/mfd/
H A Dtimberdale.c756 err = mfd_add_devices(&dev->dev, -1, timb_probe()
762 err = mfd_add_devices(&dev->dev, -1, timb_probe()
768 err = mfd_add_devices(&dev->dev, -1, timb_probe()
774 err = mfd_add_devices(&dev->dev, -1, timb_probe()
787 dev_err(&dev->dev, "mfd_add_devices failed: %d\n", err); timb_probe()
791 err = mfd_add_devices(&dev->dev, 0, timb_probe()
795 dev_err(&dev->dev, "mfd_add_devices failed: %d\n", err); timb_probe()
802 err = mfd_add_devices(&dev->dev, 1, timberdale_cells_bar2, timb_probe()
806 dev_err(&dev->dev, "mfd_add_devices failed: %d\n", err); timb_probe()
H A Dcros_ec.c73 err = mfd_add_devices(ec_dev->dev, PLATFORM_DEVID_AUTO, &ec_cell, 1, cros_ec_register()
91 err = mfd_add_devices(ec_dev->dev, PLATFORM_DEVID_AUTO, cros_ec_register()
H A Das3711.c175 /* We can reuse as3711_subdevs[], it will be copied in mfd_add_devices() */ as3711_i2c_probe()
188 ret = mfd_add_devices(as3711->dev, -1, as3711_subdevs, as3711_i2c_probe()
H A Dhtc-pasic3.c169 ret = mfd_add_devices(&pdev->dev, pdev->id, pasic3_probe()
178 ret = mfd_add_devices(&pdev->dev, pdev->id, &led_cell, 1, r, pasic3_probe()
H A Dbcm590xx.c85 ret = mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, bcm590xx_i2c_probe()
H A Dhi6421-pmic-core.c79 ret = mfd_add_devices(&pdev->dev, 0, hi6421_devs, hi6421_pmic_probe()
H A Drdc321x-southbridge.c88 return mfd_add_devices(&pdev->dev, -1, rdc321x_sb_probe()
H A Drn5t618.c81 ret = mfd_add_devices(&i2c->dev, -1, rn5t618_cells, rn5t618_i2c_probe()
H A Dsky81452.c67 ret = mfd_add_devices(dev, -1, cells, ARRAY_SIZE(cells), NULL, 0, NULL); sky81452_probe()
H A D88pm860x-core.c764 ret = mfd_add_devices(chip->dev, 0, bk_devs, device_bk_init()
784 ret = mfd_add_devices(chip->dev, 0, led_devs, device_led_init()
863 ret = mfd_add_devices(chip->dev, 0, reg_devs, device_regulator_init()
883 ret = mfd_add_devices(chip->dev, 0, &rtc_devs[0], device_rtc_init()
902 ret = mfd_add_devices(chip->dev, 0, &touch_devs[0], device_touch_init()
921 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], 1, device_power_init()
930 ret = mfd_add_devices(chip->dev, 0, &power_devs[1], 1, device_power_init()
937 ret = mfd_add_devices(chip->dev, 0, &power_devs[2], 1, device_power_init()
949 ret = mfd_add_devices(chip->dev, 0, &power_devs[3], 1, device_power_init()
963 ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0], device_onkey_init()
977 ret = mfd_add_devices(chip->dev, 0, &codec_devs[0], device_codec_init()
H A Dmax8925-core.c828 ret = mfd_add_devices(chip->dev, 0, reg_devs, ARRAY_SIZE(reg_devs), init_regulator()
859 ret = mfd_add_devices(chip->dev, 0, &rtc_devs[0], max8925_device_init()
867 ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0], max8925_device_init()
881 ret = mfd_add_devices(chip->dev, 0, bk_devs, ARRAY_SIZE(bk_devs), max8925_device_init()
888 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], max8925_device_init()
898 ret = mfd_add_devices(chip->dev, 0, &touch_devs[0], max8925_device_init()
H A Datmel-hlcdc.c131 return mfd_add_devices(dev, -1, atmel_hlcdc_cells, atmel_hlcdc_probe()
H A Ddavinci_voicecodec.c117 ret = mfd_add_devices(&pdev->dev, pdev->id, davinci_vc->cells, davinci_vc_probe()
H A Dmenf21bmc.c99 ret = mfd_add_devices(&client->dev, 0, menf21bmc_cell, menf21bmc_probe()
H A Drt5033.c100 ret = mfd_add_devices(rt5033->dev, -1, rt5033_devs, rt5033_i2c_probe()
H A Dsun6i-prcm.c156 ret = mfd_add_devices(&pdev->dev, 0, data->subdevs, data->nsubdevs, sun6i_prcm_probe()
H A Dtps6507x.c103 return mfd_add_devices(tps6507x->dev, -1, tps6507x_devs, tps6507x_i2c_probe()
H A Dtps65912-core.c146 ret = mfd_add_devices(tps65912->dev, -1, tps65912_device_init()
H A Dvx855.c104 ret = mfd_add_devices(&pdev->dev, -1, vx855_cells, ARRAY_SIZE(vx855_cells), vx855_probe()
H A Djanz-cmodio.c109 * parameter passed into the mfd_add_devices() function call. All cmodio_setup_subdevice()
148 return mfd_add_devices(&pdev->dev, 0, priv->cells, cmodio_probe_submodules()
H A Dmfd-core.c265 int mfd_add_devices(struct device *parent, int id, mfd_add_devices() function
296 EXPORT_SYMBOL(mfd_add_devices); variable
H A Dtps65217.c208 ret = mfd_add_devices(tps->dev, -1, tps65217s, tps65217_probe()
211 dev_err(tps->dev, "mfd_add_devices failed: %d\n", ret); tps65217_probe()
H A Dwm831x-core.c1790 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1796 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1800 mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1806 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1810 mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1819 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1844 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1857 ret = mfd_add_devices(wm831x->dev, wm831x_num, backlight_devs, wm831x_device_init()
H A Dab8500-core.c1760 ret = mfd_add_devices(ab8500->dev, 0, ab9540_devs, ab8500_probe()
1764 ret = mfd_add_devices(ab8500->dev, 0, ab8540_devs, ab8500_probe()
1771 ret = mfd_add_devices(ab8500->dev, 0, ab8540_cut1_devs, ab8500_probe()
1775 ret = mfd_add_devices(ab8500->dev, 0, ab8540_cut2_devs, ab8500_probe()
1779 ret = mfd_add_devices(ab8500->dev, 0, ab8505_devs, ab8500_probe()
1783 ret = mfd_add_devices(ab8500->dev, 0, ab8500_devs, ab8500_probe()
1791 ret = mfd_add_devices(ab8500->dev, 0, ab8500_bm_devs, ab8500_probe()
H A D88pm800.c320 ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0], device_onkey_init()
341 ret = mfd_add_devices(chip->dev, 0, &rtc_devs[0], device_rtc_init()
356 ret = mfd_add_devices(chip->dev, 0, &regulator_devs[0], device_regulator_init()
H A Dlm3533-core.c396 ret = mfd_add_devices(lm3533->dev, 0, lm3533_als_devs, 1, NULL, lm3533_device_als_init()
425 ret = mfd_add_devices(lm3533->dev, 0, lm3533_bl_devs, lm3533_device_bl_init()
454 ret = mfd_add_devices(lm3533->dev, 0, lm3533_led_devs, lm3533_device_led_init()
H A Dsta2x11-mfd.c614 /* Record this pdev before mfd_add_devices: their probe looks for it */ sta2x11_mfd_probe()
620 err = mfd_add_devices(&pdev->dev, -1, sta2x11_mfd_probe()
627 "mfd_add_devices[%d] failed: %d\n", i, err); sta2x11_mfd_probe()
H A D88pm805.c208 ret = mfd_add_devices(chip->dev, 0, &codec_devs[0], device_805_init()
H A Dcs5535-mfd.c150 err = mfd_add_devices(&pdev->dev, -1, cs5535_mfd_cells, cs5535_mfd_probe()
H A Dda9063-core.c229 ret = mfd_add_devices(da9063->dev, -1, da9063_devs, da9063_device_init()
H A Dintel_soc_pmic_core.c112 ret = mfd_add_devices(dev, -1, config->cell_dev, intel_soc_pmic_i2c_probe()
H A Dlp3943.c126 return mfd_add_devices(dev, -1, lp3943_devs, ARRAY_SIZE(lp3943_devs), lp3943_probe()
H A Dlp8788.c202 return mfd_add_devices(lp->dev, -1, lp8788_devs, lp8788_probe()
H A Dlpc_sch.c197 return mfd_add_devices(&dev->dev, 0, lpc_sch_cells, cells, NULL, 0, NULL); lpc_sch_probe()
H A Dmax77843.c157 ret = mfd_add_devices(max77843->dev, -1, max77843_devs, max77843_probe()
H A Drk808.c216 ret = mfd_add_devices(&client->dev, -1, rk808_probe()
H A Dtc6387xb.c193 ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells, tc6387xb_probe()
H A Dtps6105x.c92 return mfd_add_devices(&tps6105x->client->dev, tps6105x_add_device()
H A Dtps65090.c225 ret = mfd_add_devices(tps65090->dev, -1, tps65090s, tps65090_i2c_probe()
H A Dvexpress-sysreg.c207 return mfd_add_devices(&pdev->dev, PLATFORM_DEVID_AUTO, vexpress_sysreg_probe()
H A Dwm8400-core.c73 return mfd_add_devices(wm8400->dev, -1, &cell, 1, NULL, 0, NULL); wm8400_register_codec()
H A Dda9052-core.c563 ret = mfd_add_devices(da9052->dev, PLATFORM_DEVID_AUTO, da9052_device_init()
567 dev_err(da9052->dev, "mfd_add_devices failed: %d\n", ret); da9052_device_init()
H A Dintel-lpss.c433 ret = mfd_add_devices(dev, lpss->devid, &intel_lpss_idma64_cell, intel_lpss_probe()
440 ret = mfd_add_devices(dev, lpss->devid, lpss->cell, intel_lpss_probe()
H A Dintel_msic.c347 ret = mfd_add_devices(&pdev->dev, -1, &msic_devs[i], 1, NULL, intel_msic_init_devices()
353 ret = mfd_add_devices(&pdev->dev, 0, msic_other_devs, intel_msic_init_devices()
H A Dmax8998.c230 ret = mfd_add_devices(max8998->dev, -1, max8998_i2c_probe()
235 ret = mfd_add_devices(max8998->dev, -1, max8998_i2c_probe()
H A Dtc3589x.c290 ret = mfd_add_devices(tc3589x->dev, -1, tc3589x_dev_gpio, tc3589x_device_init()
301 ret = mfd_add_devices(tc3589x->dev, -1, tc3589x_dev_keypad, tc3589x_device_init()
H A Dtps65910.c513 ret = mfd_add_devices(tps65910->dev, -1, tps65910_i2c_probe()
518 dev_err(&i2c->dev, "mfd_add_devices failed: %d\n", ret); tps65910_i2c_probe()
H A Dasic3.c917 ret = mfd_add_devices(&pdev->dev, pdev->id, asic3_mfd_probe()
924 ret = mfd_add_devices(&pdev->dev, pdev->id, asic3_mfd_probe()
938 ret = mfd_add_devices(&pdev->dev, 0, asic3_mfd_probe()
H A Dtps6586x.c557 ret = mfd_add_devices(tps6586x->dev, -1, tps6586x_i2c_probe()
561 dev_err(&client->dev, "mfd_add_devices failed: %d\n", ret); tps6586x_i2c_probe()
H A Dtps80031.c495 ret = mfd_add_devices(tps80031->dev, -1, tps80031_probe()
500 dev_err(&client->dev, "mfd_add_devices failed: %d\n", ret); tps80031_probe()
H A Dwm8994-core.c347 ret = mfd_add_devices(wm8994->dev, 0, wm8994_device_init()
581 ret = mfd_add_devices(wm8994->dev, -1, wm8994_device_init()
H A Das3722.c400 ret = mfd_add_devices(&i2c->dev, -1, as3722_devs, as3722_i2c_probe()
H A Dda9055-core.c407 ret = mfd_add_devices(da9055->dev, -1, da9055_device_init()
H A Dintel_quark_i2c_gpio.c273 return mfd_add_devices(&pdev->dev, 0, intel_quark_mfd_cells, intel_quark_mfd_probe()
H A Djz4740-adc.c286 ret = mfd_add_devices(&pdev->dev, 0, jz4740_adc_cells, jz4740_adc_probe()
H A Dmax8907.c263 ret = mfd_add_devices(max8907->dev, -1, max8907_cells, max8907_i2c_probe()
H A Dmt6397-core.c257 ret = mfd_add_devices(&pdev->dev, -1, mt6397_devs, mt6397_probe()
H A Drc5t583.c291 ret = mfd_add_devices(rc5t583->dev, -1, rc5t583_subdevs, rc5t583_i2c_probe()
H A Dretu-mfd.c274 ret = mfd_add_devices(rdev->dev, -1, rdat->children, rdat->nchildren, retu_probe()
H A Dstw481x.c209 ret = mfd_add_devices(&client->dev, 0, stw481x_cells, stw481x_probe()
H A Dt7l66xb.c381 ret = mfd_add_devices(&dev->dev, dev->id, t7l66xb_probe()
H A Dti_am335x_tscadc.c283 err = mfd_add_devices(&pdev->dev, pdev->id, tscadc->cells, ti_tscadc_probe()
H A Dtwl4030-audio.c257 ret = mfd_add_devices(&pdev->dev, pdev->id, audio->cells, twl4030_audio_probe()
H A Dwl1273-core.c240 r = mfd_add_devices(&client->dev, -1, core->cells, wl1273_core_probe()
H A Daat2870-core.c430 ret = mfd_add_devices(aat2870->dev, 0, aat2870_devs, aat2870_i2c_probe()
H A Dda9062-core.c485 ret = mfd_add_devices(chip->dev, PLATFORM_DEVID_NONE, da9062_devs, da9062_i2c_probe()
H A Dda9150-core.c460 ret = mfd_add_devices(da9150->dev, -1, da9150_devs, da9150_probe()
H A Dintel_soc_pmic_bxtwc.c392 ret = mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, bxt_wc_dev, bxtwc_probe()
H A Dipaq-micro.c436 ret = mfd_add_devices(&pdev->dev, pdev->id, micro_cells, micro_probe()
H A Dmax77686.c312 ret = mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, 0, NULL); max77686_i2c_probe()
H A Dmax77693.c288 ret = mfd_add_devices(max77693->dev, -1, max77693_devs, max77693_i2c_probe()
H A Dmax8997.c238 ret = mfd_add_devices(max8997->dev, -1, max8997_devs, max8997_i2c_probe()
H A Dmc13xxx-core.c369 return mfd_add_devices(mc13xxx->dev, -1, &cell, 1, NULL, 0, mc13xxx_add_subdevice_pdata()
H A Dsec-core.c453 ret = mfd_add_devices(sec_pmic->dev, -1, sec_devs, num_sec_devs, NULL, sec_pmic_probe()
H A Daxp20x.c700 ret = mfd_add_devices(axp20x->dev, -1, axp20x->cells, axp20x_i2c_probe()
H A Dmax14577.c458 ret = mfd_add_devices(max14577->dev, -1, mfd_devs, max14577_i2c_probe()
H A Darizona-core.c1004 ret = mfd_add_devices(arizona->dev, -1, early_devs, arizona_dev_init()
1405 ret = mfd_add_devices(arizona->dev, PLATFORM_DEVID_NONE, arizona_dev_init()
H A Dlpc_ich.c954 ret = mfd_add_devices(&dev->dev, PLATFORM_DEVID_AUTO, lpc_ich_init_gpio()
1031 ret = mfd_add_devices(&dev->dev, PLATFORM_DEVID_AUTO, lpc_ich_init_wdt()
H A Dab3100-core.c939 err = mfd_add_devices(&client->dev, 0, ab3100_devs, ab3100_probe()
H A Dkempld-core.c124 return mfd_add_devices(pld->dev, -1, devs, i, NULL, 0, NULL); kempld_register_cells_generic()
H A Dsi476x-i2c.c827 rval = mfd_add_devices(&client->dev, si476x_core_probe()
H A Dtc6393xb.c711 ret = mfd_add_devices(&dev->dev, dev->id, tc6393xb_probe()
H A Dtwl6040.c766 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, twl6040_probe()
H A Ddb8500-prcmu.c3126 return mfd_add_devices(parent, 0, &ab8500_cell, 1, NULL, 0, NULL); db8500_prcmu_register_ab8500()
3188 err = mfd_add_devices(&pdev->dev, 0, common_prcmu_devs, db8500_prcmu_probe()
3197 err = mfd_add_devices(&pdev->dev, 0, db8500_prcmu_devs, db8500_prcmu_probe()
H A Drtsx_pcr.c1255 ret = mfd_add_devices(&pcidev->dev, pcr->id, rtsx_pcr_cells, rtsx_pci_probe()
H A Dstmpe.c1074 return mfd_add_devices(stmpe->dev, stmpe->pdata->id, cell, 1, stmpe_add_device()
/linux-4.4.14/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c535 ret = mfd_add_devices(&spi->dev, -1, sensorhub_sensor_devs, ssp_probe()
/linux-4.4.14/drivers/staging/nvec/
H A Dnvec.c890 ret = mfd_add_devices(nvec->dev, 0, nvec_devices, tegra_nvec_probe()

Completed in 2324 milliseconds