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

/linux-4.1.27/include/linux/mfd/
H A Dcore.h87 * calling mfd_add_devices():
101 * Given a platform device that's been created by mfd_add_devices(), fetch
109 extern int mfd_add_devices(struct device *parent, int id,
117 return mfd_add_devices(parent, PLATFORM_DEVID_AUTO, cells, n_devs, mfd_add_hotplug_devices()
/linux-4.1.27/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 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 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.c768 ret = mfd_add_devices(chip->dev, 0, bk_devs, device_bk_init()
788 ret = mfd_add_devices(chip->dev, 0, led_devs, device_led_init()
867 ret = mfd_add_devices(chip->dev, 0, reg_devs, device_regulator_init()
887 ret = mfd_add_devices(chip->dev, 0, &rtc_devs[0], device_rtc_init()
906 ret = mfd_add_devices(chip->dev, 0, &touch_devs[0], device_touch_init()
925 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], 1, device_power_init()
934 ret = mfd_add_devices(chip->dev, 0, &power_devs[1], 1, device_power_init()
941 ret = mfd_add_devices(chip->dev, 0, &power_devs[2], 1, device_power_init()
953 ret = mfd_add_devices(chip->dev, 0, &power_devs[3], 1, device_power_init()
967 ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0], device_onkey_init()
981 ret = mfd_add_devices(chip->dev, 0, &codec_devs[0], device_codec_init()
H A Dmax8925-core.c831 ret = mfd_add_devices(chip->dev, 0, reg_devs, ARRAY_SIZE(reg_devs), init_regulator()
862 ret = mfd_add_devices(chip->dev, 0, &rtc_devs[0], max8925_device_init()
870 ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0], max8925_device_init()
884 ret = mfd_add_devices(chip->dev, 0, bk_devs, ARRAY_SIZE(bk_devs), max8925_device_init()
891 ret = mfd_add_devices(chip->dev, 0, &power_devs[0], max8925_device_init()
901 ret = mfd_add_devices(chip->dev, 0, &touch_devs[0], max8925_device_init()
H A Datmel-hlcdc.c92 return mfd_add_devices(dev, -1, atmel_hlcdc_cells, atmel_hlcdc_probe()
H A Dbcm590xx.c85 ret = mfd_add_devices(&i2c_pri->dev, -1, bcm590xx_devs, bcm590xx_i2c_probe()
H A Dda9063-core.c175 ret = mfd_add_devices(da9063->dev, -1, da9063_devs, da9063_device_init()
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.c97 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.c243 int mfd_add_devices(struct device *parent, int id, mfd_add_devices() function
274 EXPORT_SYMBOL(mfd_add_devices); variable
H A Dtps65217.c203 ret = mfd_add_devices(tps->dev, -1, tps65217s, tps65217_probe()
206 dev_err(tps->dev, "mfd_add_devices failed: %d\n", ret); tps65217_probe()
H A Dwm831x-core.c1788 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1794 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1798 mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1804 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1808 mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1817 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1842 ret = mfd_add_devices(wm831x->dev, wm831x_num, wm831x_device_init()
1855 ret = mfd_add_devices(wm831x->dev, wm831x_num, backlight_devs, wm831x_device_init()
H A Dab8500-core.c1764 ret = mfd_add_devices(ab8500->dev, 0, ab9540_devs, ab8500_probe()
1768 ret = mfd_add_devices(ab8500->dev, 0, ab8540_devs, ab8500_probe()
1775 ret = mfd_add_devices(ab8500->dev, 0, ab8540_cut1_devs, ab8500_probe()
1779 ret = mfd_add_devices(ab8500->dev, 0, ab8540_cut2_devs, ab8500_probe()
1783 ret = mfd_add_devices(ab8500->dev, 0, ab8505_devs, ab8500_probe()
1787 ret = mfd_add_devices(ab8500->dev, 0, ab8500_devs, ab8500_probe()
1795 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 Darizona-core.c701 ret = mfd_add_devices(arizona->dev, -1, early_devs, arizona_dev_init()
1031 ret = mfd_add_devices(arizona->dev, -1, wm5102_devs, arizona_dev_init()
1036 ret = mfd_add_devices(arizona->dev, -1, wm5110_devs, arizona_dev_init()
1040 ret = mfd_add_devices(arizona->dev, -1, wm8997_devs, arizona_dev_init()
H A Dcros_ec.c145 err = mfd_add_devices(dev, 0, cros_devs, cros_ec_register()
H A Dcs5535-mfd.c150 err = mfd_add_devices(&pdev->dev, -1, cs5535_mfd_cells, cs5535_mfd_probe()
H A Dintel_soc_pmic_core.c88 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.c155 ret = mfd_add_devices(max77843->dev, -1, max77843_devs, max77843_probe()
H A Dmt6397-core.c192 ret = mfd_add_devices(&pdev->dev, -1, mt6397_devs, mt6397_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.c190 return mfd_add_devices(&client->dev, 0, tps6105x_cells, tps6105x_probe()
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.c557 ret = mfd_add_devices(da9052->dev, PLATFORM_DEVID_AUTO, da9052_device_init()
561 dev_err(da9052->dev, "mfd_add_devices failed: %d\n", ret); da9052_device_init()
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.c297 ret = mfd_add_devices(tc3589x->dev, -1, tc3589x_dev_gpio, tc3589x_device_init()
308 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.c918 ret = mfd_add_devices(&pdev->dev, pdev->id, asic3_mfd_probe()
925 ret = mfd_add_devices(&pdev->dev, pdev->id, asic3_mfd_probe()
939 ret = mfd_add_devices(&pdev->dev, 0, asic3_mfd_probe()
H A Dtps6586x.c564 ret = mfd_add_devices(tps6586x->dev, -1, tps6586x_i2c_probe()
568 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 Dda9150-core.c350 ret = mfd_add_devices(da9150->dev, -1, da9150_devs, da9150_probe()
H A Dintel_quark_i2c_gpio.c259 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 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 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 Daxp20x.c479 ret = mfd_add_devices(axp20x->dev, -1, axp20x->cells, axp20x_i2c_probe()
H A Dmax77686.c312 ret = mfd_add_devices(max77686->dev, -1, cells, n_devs, NULL, 0, NULL); max77686_i2c_probe()
H A Dmax77693.c287 ret = mfd_add_devices(max77693->dev, -1, max77693_devs, max77693_i2c_probe()
H A Dmax8997.c237 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.c420 ret = mfd_add_devices(sec_pmic->dev, -1, sec_devs, num_sec_devs, NULL, sec_pmic_probe()
H A Dt7l66xb.c389 ret = mfd_add_devices(&dev->dev, dev->id, t7l66xb_probe()
H A Dipaq-micro.c436 ret = mfd_add_devices(&pdev->dev, pdev->id, micro_cells, micro_probe()
H A Dmax14577.c458 ret = mfd_add_devices(max14577->dev, -1, mfd_devs, max14577_i2c_probe()
H A Dlpc_ich.c937 ret = mfd_add_devices(&dev->dev, -1, &lpc_ich_cells[LPC_GPIO], lpc_ich_init_gpio()
1011 ret = mfd_add_devices(&dev->dev, -1, &lpc_ich_cells[LPC_WDT], 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.c826 rval = mfd_add_devices(&client->dev, si476x_core_probe()
H A Dtc6393xb.c713 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.c3127 return mfd_add_devices(parent, 0, &ab8500_cell, 1, NULL, 0, NULL); db8500_prcmu_register_ab8500()
3189 err = mfd_add_devices(&pdev->dev, 0, common_prcmu_devs, db8500_prcmu_probe()
3198 err = mfd_add_devices(&pdev->dev, 0, db8500_prcmu_devs, db8500_prcmu_probe()
H A Drtsx_pcr.c1256 ret = mfd_add_devices(&pcidev->dev, pcr->id, rtsx_pcr_cells, rtsx_pci_probe()
H A Dstmpe.c1080 return mfd_add_devices(stmpe->dev, stmpe->pdata->id, cell, 1, stmpe_add_device()
/linux-4.1.27/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c535 ret = mfd_add_devices(&spi->dev, -1, sensorhub_sensor_devs, ssp_probe()
/linux-4.1.27/drivers/staging/nvec/
H A Dnvec.c891 ret = mfd_add_devices(nvec->dev, 0, nvec_devices, tegra_nvec_probe()

Completed in 1035 milliseconds