Home
last modified time | relevance | path

Searched refs:of_regulator_match (Results 1 – 32 of 32) sorted by relevance

/linux-4.4.14/include/linux/regulator/
Dof_regulator.h11 struct of_regulator_match { struct
24 extern int of_regulator_match(struct device *dev, struct device_node *node, argument
25 struct of_regulator_match *matches,
36 static inline int of_regulator_match(struct device *dev, in of_regulator_match() function
38 struct of_regulator_match *matches, in of_regulator_match()
/linux-4.4.14/drivers/regulator/
Dof_regulator.c196 struct of_regulator_match *matches;
227 int of_regulator_match(struct device *dev, struct device_node *node, in of_regulator_match() function
228 struct of_regulator_match *matches, in of_regulator_match()
252 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
263 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
287 EXPORT_SYMBOL_GPL(of_regulator_match);
Dpfuze100-regulator.c341 static struct of_regulator_match pfuze100_matches[] = {
360 static struct of_regulator_match pfuze200_matches[] = {
378 static struct of_regulator_match pfuze3000_matches[] = {
395 static struct of_regulator_match *pfuze_matches;
416 ret = of_regulator_match(dev, parent, pfuze3000_matches, in pfuze_parse_regulators_dt()
421 ret = of_regulator_match(dev, parent, pfuze200_matches, in pfuze_parse_regulators_dt()
428 ret = of_regulator_match(dev, parent, pfuze100_matches, in pfuze_parse_regulators_dt()
Dbcm590xx-regulator.c285 static struct of_regulator_match bcm590xx_matches[] = {
317 struct of_regulator_match **bcm590xx_reg_matches) in bcm590xx_parse_dt_reg_data()
322 struct of_regulator_match *matches = bcm590xx_matches; in bcm590xx_parse_dt_reg_data()
343 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in bcm590xx_parse_dt_reg_data()
372 struct of_regulator_match *bcm590xx_reg_matches = NULL; in bcm590xx_probe()
Dtps65090-regulator.c324 static struct of_regulator_match tps65090_matches[] = {
341 struct of_regulator_match **tps65090_reg_matches) in tps65090_parse_dt_reg_data()
365 ret = of_regulator_match(&pdev->dev, regulators, tps65090_matches, in tps65090_parse_dt_reg_data()
404 struct of_regulator_match **tps65090_reg_matches) in tps65090_parse_dt_reg_data()
420 struct of_regulator_match *tps65090_reg_matches = NULL; in tps65090_regulator_probe()
Dtps6507x-regulator.c362 static struct of_regulator_match tps6507x_matches[] = {
372 struct of_regulator_match **tps6507x_reg_matches) in tps6507x_parse_dt_reg_data()
377 struct of_regulator_match *matches; in tps6507x_parse_dt_reg_data()
395 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in tps6507x_parse_dt_reg_data()
433 struct of_regulator_match *tps6507x_reg_matches = NULL; in tps6507x_pmic_probe()
Dact8865-regulator.c283 static struct of_regulator_match act8846_matches[] = {
298 static struct of_regulator_match act8865_matches[] = {
308 static struct of_regulator_match act8600_matches[] = {
329 struct of_regulator_match *matches; in act8865_pdata_from_dt()
355 matched = of_regulator_match(dev, np, matches, num_matches); in act8865_pdata_from_dt()
Das3711-regulator.c169 static struct of_regulator_match
191 struct of_regulator_match *match; in as3711_regulator_parse_dt()
199 ret = of_regulator_match(dev->parent, regulators, in as3711_regulator_parse_dt()
Dtps6586x-regulator.c377 static struct of_regulator_match tps6586x_matches[] = {
397 struct of_regulator_match **tps6586x_reg_matches) in tps6586x_parse_regulator_dt()
413 err = of_regulator_match(&pdev->dev, regs, tps6586x_matches, num); in tps6586x_parse_regulator_dt()
443 struct of_regulator_match **tps6586x_reg_matches) in tps6586x_parse_regulator_dt()
457 struct of_regulator_match *tps6586x_reg_matches = NULL; in tps6586x_regulator_probe()
Dtps65910-regulator.c969 static struct of_regulator_match tps65910_matches[] = {
986 static struct of_regulator_match tps65911_matches[] = {
1004 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1009 struct of_regulator_match *matches; in tps65910_parse_dt_reg_data()
1040 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in tps65910_parse_dt_reg_data()
1069 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1084 struct of_regulator_match *tps65910_reg_matches = NULL; in tps65910_probe()
Dpbias-regulator.c101 static struct of_regulator_match pbias_matches[] = {
156 count = of_regulator_match(&pdev->dev, np, pbias_matches, in pbias_regulator_probe()
Dda9063-regulator.c635 static struct of_regulator_match da9063_matches[] = {
659 struct of_regulator_match **da9063_reg_matches) in da9063_parse_regulators_dt()
672 num = of_regulator_match(&pdev->dev, node, da9063_matches, in da9063_parse_regulators_dt()
709 struct of_regulator_match **da9063_reg_matches) in da9063_parse_regulators_dt()
720 struct of_regulator_match *da9063_reg_matches = NULL; in da9063_regulator_probe()
Dmax1586.c166 struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)] = { }; in of_get_max1586_platform_data()
185 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in of_get_max1586_platform_data()
Dmax14577.c169 static struct of_regulator_match max14577_regulator_matches[] = {
174 static struct of_regulator_match max77836_regulator_matches[] = {
Dmax8925-regulator.c191 static struct of_regulator_match max8925_regulator_matches[] = {
262 rcount = of_regulator_match(&pdev->dev, np, in max8925_regulator_dt_init()
Dab8500-ext.c338 static struct of_regulator_match ab8500_ext_regulator_match[] = {
354 err = of_regulator_match(&pdev->dev, np, in ab8500_ext_regulator_probe()
Ds2mpa01.c344 struct of_regulator_match rdata[S2MPA01_REGULATOR_MAX] = { }; in s2mpa01_pmic_probe()
366 of_regulator_match(&pdev->dev, reg_np, rdata, in s2mpa01_pmic_probe()
Dmax8907-regulator.c192 static struct of_regulator_match max8907_matches[] = {
239 ret = of_regulator_match(&pdev->dev, regulators, max8907_matches, in max8907_regulator_parse_dt()
Dlp872x.c818 static struct of_regulator_match lp8720_matches[] = {
827 static struct of_regulator_match lp8725_matches[] = {
844 struct of_regulator_match *match; in lp872x_populate_pdata_from_dt()
883 count = of_regulator_match(dev, np, match, num_matches); in lp872x_populate_pdata_from_dt()
Dda9211-regulator.c257 static struct of_regulator_match da9211_matches[] = {
275 num = of_regulator_match(dev, node, da9211_matches, in da9211_parse_regulators_dt()
Ddb8500-prcmu.c450 static struct of_regulator_match db8500_regulator_matches[] = {
499 err = of_regulator_match(&pdev->dev, np, in db8500_regulator_probe()
Dab8500.c2899 static struct of_regulator_match ab8500_regulator_match[] = {
2912 static struct of_regulator_match ab8505_regulator_match[] = {
2928 static struct of_regulator_match ab8540_regulator_match[] = {
2945 static struct of_regulator_match ab9540_regulator_match[] = {
2964 struct of_regulator_match *match;
3044 struct of_regulator_match *match; in ab8500_regulator_probe()
3054 err = of_regulator_match(&pdev->dev, np, in ab8500_regulator_probe()
Dmax8660.c338 struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)] = { }; in max8660_pdata_from_dt()
349 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in max8660_pdata_from_dt()
Dltc3589.c241 static struct of_regulator_match ltc3589_matches[LTC3589_NUM_REGULATORS] = {
264 ret = of_regulator_match(dev, node, ltc3589_matches, in ltc3589_parse_regulators_dt()
Dab3100.c553 static struct of_regulator_match ab3100_regulator_matches[] = {
683 err = of_regulator_match(&pdev->dev, np, in ab3100_regulators_probe()
Dhi6421-regulator.c87 static struct of_regulator_match hi6421_regulator_match[] = {
601 ret = of_regulator_match(dev, np, in hi6421_regulator_probe()
Ds2mps11.c688 struct of_regulator_match *rdata, struct s2mps11_info *s2mps11) in s2mps14_pmic_dt_parse_ext_control_gpio()
710 struct of_regulator_match *rdata, struct s2mps11_info *s2mps11) in s2mps11_pmic_dt_parse()
720 of_regulator_match(&pdev->dev, reg_np, rdata, s2mps11->rdev_num); in s2mps11_pmic_dt_parse()
965 struct of_regulator_match *rdata = NULL; in s2mps11_pmic_probe()
Drk808-regulator.c509 static struct of_regulator_match rk808_reg_matches[] = {
538 ret = of_regulator_match(dev, np, rk808_reg_matches, in rk808_regulator_dt_parse_pdata()
Dda9055-regulator.c539 static struct of_regulator_match da9055_reg_matches[] = {
566 ret = of_regulator_match(&pdev->dev, np, &da9055_reg_matches[regid], 1); in da9055_regulator_dt_init()
Das3722-regulator.c685 static struct of_regulator_match as3722_regulator_matches[] = {
722 ret = of_regulator_match(&pdev->dev, np, as3722_regulator_matches, in as3722_get_regulator_dt_data()
Dpalmas-regulator.c1350 static struct of_regulator_match palmas_matches[] = {
1380 static struct of_regulator_match tps65917_matches[] = {
1441 ret = of_regulator_match(dev, regulators, ddata->palmas_matches, in palmas_dt_to_pdata()
/linux-4.4.14/include/linux/mfd/
Dpalmas.h123 struct of_regulator_match *palmas_matches;