Home
last modified time | relevance | path

Searched refs:of_regulator_match (Results 1 - 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/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,
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()
/kernel/linux/linux-6.6/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,
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()
/kernel/linux/linux-5.10/drivers/regulator/
H A Dof_regulator.c298 struct of_regulator_match *matches;
312 * of_regulator_match - extract multiple regulator init data from device tree.
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); variable
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 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 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 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 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 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 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 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()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dof_regulator.c356 struct of_regulator_match *matches;
370 * of_regulator_match - extract multiple regulator init data from device tree.
387 int of_regulator_match(struct device *dev, struct device_node *node, in of_regulator_match() function
388 struct of_regulator_match *matches, in of_regulator_match()
412 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
423 struct of_regulator_match *match = &matches[i]; in of_regulator_match()
448 EXPORT_SYMBOL_GPL(of_regulator_match); variable
H A Dpfuze100-regulator.c436 static struct of_regulator_match pfuze100_matches[] = {
456 static struct of_regulator_match pfuze200_matches[] = {
475 static struct of_regulator_match pfuze3000_matches[] = {
493 static struct of_regulator_match pfuze3001_matches[] = {
507 static struct of_regulator_match *pfuze_matches;
532 ret = of_regulator_match(dev, parent, pfuze3001_matches, in pfuze_parse_regulators_dt()
537 ret = of_regulator_match(dev, parent, pfuze3000_matches, in pfuze_parse_regulators_dt()
542 ret = of_regulator_match(dev, parent, pfuze200_matches, in pfuze_parse_regulators_dt()
549 ret = of_regulator_match(dev, parent, pfuze100_matches, in pfuze_parse_regulators_dt()
H A Drt5190a-regulator.c219 struct of_regulator_match *match) in rt5190a_of_parse_cb()
312 static struct of_regulator_match rt5190a_regulator_match[] = {
324 struct of_regulator_match *match; in rt5190a_parse_regulator_dt_data()
342 ret = of_regulator_match(priv->dev, regulator_np, in rt5190a_parse_regulator_dt_data()
472 struct of_regulator_match *match = rt5190a_regulator_match + i; in rt5190a_probe()
H A Drtq2208-regulator.c339 struct of_regulator_match *rtq2208_ldo_match, int n_fixed) in rtq2208_of_get_fixed_voltage()
342 struct of_regulator_match *match; in rtq2208_of_get_fixed_voltage()
354 ret = of_regulator_match(dev, np, rtq2208_ldo_match, n_fixed); in rtq2208_of_get_fixed_voltage()
377 int idx, struct of_regulator_match *rtq2208_ldo_match, int *ldo_idx) in rtq2208_init_regulator_desc()
447 struct of_regulator_match rtq2208_ldo_match[2]; in rtq2208_parse_regulator_dt_data()
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 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 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 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 Dpbias-regulator.c106 static struct of_regulator_match pbias_matches[] = {
160 count = of_regulator_match(&pdev->dev, np, pbias_matches, in pbias_regulator_probe()
H A Dtps65910-regulator.c964 static struct of_regulator_match tps65910_matches[] = {
981 static struct of_regulator_match tps65911_matches[] = {
999 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1004 struct of_regulator_match *matches; in tps65910_parse_dt_reg_data()
1035 ret = of_regulator_match(&pdev->dev, regulators, matches, count); in tps65910_parse_dt_reg_data()
1064 struct of_regulator_match **tps65910_reg_matches) in tps65910_parse_dt_reg_data()
1079 struct of_regulator_match *tps65910_reg_matches = NULL; in tps65910_probe()
H A Drt5120-regulator.c264 struct of_regulator_match *match) in rt5120_of_parse_cb()
281 static struct of_regulator_match rt5120_regu_match[RT5120_MAX_REGULATOR] = {
308 ret = of_regulator_match(priv->dev, reg_node, rt5120_regu_match, in rt5120_parse_regulator_dt_data()
H A Dstpmic1_regulator.c538 static struct of_regulator_match stpmic1_matches[] = {
556 struct of_regulator_match *match, in stpmic1_regulator_register()
611 ret = of_regulator_match(&pdev->dev, pdev->dev.of_node, stpmic1_matches, in stpmic1_regulator_probe()
H A Dmax20086-regulator.c135 struct of_regulator_match matches[MAX20086_MAX_REGULATORS] = { }; in max20086_parse_regulators_dt()
149 ret = of_regulator_match(chip->dev, node, matches, in max20086_parse_regulators_dt()

Completed in 18 milliseconds

12