Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/regulator/
H A Dof_regulator.h12 struct of_regulator_match { struct
25 extern int of_regulator_match(struct device *dev, struct device_node *node, argument
26 struct of_regulator_match *matches,
37 static inline int of_regulator_match(struct device *dev, in of_regulator_match() function
39 struct of_regulator_match *matches, in of_regulator_match()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmp8865-regulator.c108 static struct of_regulator_match mp8865_matches = {
115 struct of_regulator_match **mp8865_reg_matches) in mp8865_parse_dt()
133 ret = of_regulator_match(&client->dev, regulators, &mp8865_matches, 1); in mp8865_parse_dt()
152 struct of_regulator_match *mp8865_reg_matches = NULL; in mp8865_probe()
H A Dof_regulator.c298 struct of_regulator_match *matches;
329 int of_regulator_match(struct device *dev, struct device_node *node, in of_regulator_match() function
330 struct of_regulator_match *matches, in of_regulator_match()
354 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
365 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
390 EXPORT_SYMBOL_GPL(of_regulator_match);
H A Dpfuze100-regulator.c445 static struct of_regulator_match pfuze100_matches[] = {
465 static struct of_regulator_match pfuze200_matches[] = {
484 static struct of_regulator_match pfuze3000_matches[] = {
502 static struct of_regulator_match pfuze3001_matches[] = {
516 static struct of_regulator_match *pfuze_matches;
541 ret = of_regulator_match(dev, parent, pfuze3001_matches, in pfuze_parse_regulators_dt()
546 ret = of_regulator_match(dev, parent, pfuze3000_matches, in pfuze_parse_regulators_dt()
551 ret = of_regulator_match(dev, parent, pfuze200_matches, in pfuze_parse_regulators_dt()
558 ret = of_regulator_match(dev, parent, pfuze100_matches, in pfuze_parse_regulators_dt()
H A Dtps65090-regulator.c294 static struct of_regulator_match tps65090_matches[] = {
311 struct of_regulator_match **tps65090_reg_matches) in tps65090_parse_dt_reg_data()
336 ret = of_regulator_match(&pdev->dev, regulators, tps65090_matches, in tps65090_parse_dt_reg_data()
398 struct of_regulator_match **tps65090_reg_matches) in tps65090_parse_dt_reg_data()
414 struct of_regulator_match *tps65090_reg_matches = NULL; in tps65090_regulator_probe()
H A Das3711-regulator.c156 static struct of_regulator_match
178 struct of_regulator_match *match; in as3711_regulator_parse_dt()
186 ret = of_regulator_match(dev->parent, regulators, in as3711_regulator_parse_dt()
H A Dtps6586x-regulator.c375 static struct of_regulator_match tps6586x_matches[] = {
395 struct of_regulator_match **tps6586x_reg_matches) in tps6586x_parse_regulator_dt()
411 err = of_regulator_match(&pdev->dev, regs, tps6586x_matches, num); in tps6586x_parse_regulator_dt()
441 struct of_regulator_match **tps6586x_reg_matches) in tps6586x_parse_regulator_dt()
455 struct of_regulator_match *tps6586x_reg_matches = NULL; in tps6586x_regulator_probe()
H A Dtps65910-regulator.c965 static struct of_regulator_match tps65910_matches[] = {
982 static struct of_regulator_match tps65911_matches[] = {
1000 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1005 struct of_regulator_match *matches; in tps65910_parse_dt_reg_data()
1036 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in tps65910_parse_dt_reg_data()
1065 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1080 struct of_regulator_match *tps65910_reg_matches = NULL; in tps65910_probe()
H A Dpbias-regulator.c107 static struct of_regulator_match pbias_matches[] = {
161 count = of_regulator_match(&pdev->dev, np, pbias_matches, in pbias_regulator_probe()
H A Dmax1586.c153 struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)] = { }; in of_get_max1586_platform_data()
172 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in of_get_max1586_platform_data()
H A Dda9063-regulator.c601 static struct of_regulator_match da9063_matches[] = {
626 struct of_regulator_match **da9063_reg_matches) in da9063_parse_regulators_dt()
644 num = of_regulator_match(&pdev->dev, node, da9063_matches, in da9063_parse_regulators_dt()
682 struct of_regulator_match *da9063_reg_matches = NULL; in da9063_regulator_probe()
H A Dlp8752.c138 static struct of_regulator_match lp8752_reg_matches[] = {
161 count = of_regulator_match(pchip->dev, regs, lp8752_reg_matches, in lp8752_init_data()
H A Dab8500.c1492 static struct of_regulator_match ab8500_regulator_match[] = {
1505 static struct of_regulator_match ab8505_regulator_match[] = {
1526 struct of_regulator_match *match;
1592 struct of_regulator_match *match; in ab8500_regulator_probe()
1602 err = of_regulator_match(&pdev->dev, np, in ab8500_regulator_probe()
H A Dxz3216.c258 static struct of_regulator_match xz3216_reg_matches[] = {
277 count = of_regulator_match(xz3216->dev, regs, xz3216_reg_matches, in xz3216_parse_dt()
H A Dstpmic1_regulator.c522 static struct of_regulator_match stpmic1_matches[] = {
540 struct of_regulator_match *match, in stpmic1_regulator_register()
595 ret = of_regulator_match(&pdev->dev, pdev->dev.of_node, stpmic1_matches, in stpmic1_regulator_probe()
H A Dtps549b22-regulator.c216 static struct of_regulator_match tps549b22_reg_matches[] = {
238 count = of_regulator_match(tps549b22->dev, in tps549b22_parse_dt()
H A Dlp872x.c803 static struct of_regulator_match lp8720_matches[] = {
812 static struct of_regulator_match lp8725_matches[] = {
829 struct of_regulator_match *match; in lp872x_populate_pdata_from_dt()
870 count = of_regulator_match(dev, np, match, num_matches); in lp872x_populate_pdata_from_dt()
H A Dmax8907-regulator.c189 static struct of_regulator_match max8907_matches[] = {
236 ret = of_regulator_match(&pdev->dev, regulators, max8907_matches, in max8907_regulator_parse_dt()
H A Dsyr82x.c360 static struct of_regulator_match syr82x_reg_matches[] = {
380 count = of_regulator_match(syr82x->dev, regs, syr82x_reg_matches, in syr82x_parse_dt()
H A Dda9211-regulator.c273 static struct of_regulator_match da9211_matches[] = {
297 num = of_regulator_match(dev, node, da9211_matches, in da9211_parse_regulators_dt()
H A Dmax8660.c325 struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)] = { }; in max8660_pdata_from_dt()
336 matched = of_regulator_match(dev, np, rmatch, ARRAY_SIZE(rmatch)); in max8660_pdata_from_dt()
H A Dab3100.c549 static struct of_regulator_match ab3100_regulator_matches[] = {
665 err = of_regulator_match(&pdev->dev, np, in ab3100_regulators_probe()
H A Ds2mps11.c834 struct of_regulator_match *rdata, struct s2mps11_info *s2mps11) in s2mps14_pmic_dt_parse_ext_control_gpio()
867 struct of_regulator_match *rdata, struct s2mps11_info *s2mps11, in s2mps11_pmic_dt_parse()
878 of_regulator_match(&pdev->dev, reg_np, rdata, rdev_num); in s2mps11_pmic_dt_parse()
1124 struct of_regulator_match *rdata = NULL; in s2mps11_pmic_probe()
H A Dpalmas-regulator.c1389 static struct of_regulator_match palmas_matches[] = {
1419 static struct of_regulator_match tps65917_matches[] = {
1481 ret = of_regulator_match(dev, regulators, ddata->palmas_matches, in palmas_dt_to_pdata()
1490 struct of_regulator_match *match; in palmas_dt_to_pdata()
H A Das3722-regulator.c563 static struct of_regulator_match as3722_regulator_matches[] = {
600 ret = of_regulator_match(&pdev->dev, np, as3722_regulator_matches, in as3722_get_regulator_dt_data()

12