Lines Matching refs:desc
47 struct regulator_desc desc; member
60 struct regulator_desc desc; member
258 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9062_set_suspend_voltage()
261 rdev->desc->vsel_mask, sel); in da9062_set_suspend_voltage()
360 .desc.id = DA9061_ID_BUCK1,
361 .desc.name = "DA9061 BUCK1",
362 .desc.of_match = of_match_ptr("buck1"),
363 .desc.regulators_node = of_match_ptr("regulators"),
364 .desc.ops = &da9062_buck_ops,
365 .desc.min_uV = (300) * 1000,
366 .desc.uV_step = (10) * 1000,
367 .desc.n_voltages = ((1570) - (300))/(10) + 1,
368 .desc.curr_table = da9062_buck_a_limits,
369 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
370 .desc.csel_reg = DA9062AA_BUCK_ILIM_C,
371 .desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
372 .desc.enable_reg = DA9062AA_BUCK1_CONT,
373 .desc.enable_mask = DA9062AA_BUCK1_EN_MASK,
374 .desc.vsel_reg = DA9062AA_VBUCK1_A,
375 .desc.vsel_mask = DA9062AA_VBUCK1_A_MASK,
376 .desc.linear_min_sel = 0,
377 .desc.of_map_mode = da9062_map_buck_mode,
397 .desc.id = DA9061_ID_BUCK2,
398 .desc.name = "DA9061 BUCK2",
399 .desc.of_match = of_match_ptr("buck2"),
400 .desc.regulators_node = of_match_ptr("regulators"),
401 .desc.ops = &da9062_buck_ops,
402 .desc.min_uV = (800) * 1000,
403 .desc.uV_step = (20) * 1000,
404 .desc.n_voltages = ((3340) - (800))/(20) + 1,
405 .desc.curr_table = da9062_buck_b_limits,
406 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_b_limits),
407 .desc.csel_reg = DA9062AA_BUCK_ILIM_A,
408 .desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
409 .desc.enable_reg = DA9062AA_BUCK3_CONT,
410 .desc.enable_mask = DA9062AA_BUCK3_EN_MASK,
411 .desc.vsel_reg = DA9062AA_VBUCK3_A,
412 .desc.vsel_mask = DA9062AA_VBUCK3_A_MASK,
413 .desc.linear_min_sel = 0,
414 .desc.of_map_mode = da9062_map_buck_mode,
434 .desc.id = DA9061_ID_BUCK3,
435 .desc.name = "DA9061 BUCK3",
436 .desc.of_match = of_match_ptr("buck3"),
437 .desc.regulators_node = of_match_ptr("regulators"),
438 .desc.ops = &da9062_buck_ops,
439 .desc.min_uV = (530) * 1000,
440 .desc.uV_step = (10) * 1000,
441 .desc.n_voltages = ((1800) - (530))/(10) + 1,
442 .desc.curr_table = da9062_buck_a_limits,
443 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
444 .desc.csel_reg = DA9062AA_BUCK_ILIM_B,
445 .desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
446 .desc.enable_reg = DA9062AA_BUCK4_CONT,
447 .desc.enable_mask = DA9062AA_BUCK4_EN_MASK,
448 .desc.vsel_reg = DA9062AA_VBUCK4_A,
449 .desc.vsel_mask = DA9062AA_VBUCK4_A_MASK,
450 .desc.linear_min_sel = 0,
451 .desc.of_map_mode = da9062_map_buck_mode,
471 .desc.id = DA9061_ID_LDO1,
472 .desc.name = "DA9061 LDO1",
473 .desc.of_match = of_match_ptr("ldo1"),
474 .desc.regulators_node = of_match_ptr("regulators"),
475 .desc.ops = &da9062_ldo_ops,
476 .desc.min_uV = (900) * 1000,
477 .desc.uV_step = (50) * 1000,
478 .desc.n_voltages = ((3600) - (900))/(50) + 1
480 .desc.enable_reg = DA9062AA_LDO1_CONT,
481 .desc.enable_mask = DA9062AA_LDO1_EN_MASK,
482 .desc.vsel_reg = DA9062AA_VLDO1_A,
483 .desc.vsel_mask = DA9062AA_VLDO1_A_MASK,
484 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
504 .desc.id = DA9061_ID_LDO2,
505 .desc.name = "DA9061 LDO2",
506 .desc.of_match = of_match_ptr("ldo2"),
507 .desc.regulators_node = of_match_ptr("regulators"),
508 .desc.ops = &da9062_ldo_ops,
509 .desc.min_uV = (900) * 1000,
510 .desc.uV_step = (50) * 1000,
511 .desc.n_voltages = ((3600) - (900))/(50) + 1
513 .desc.enable_reg = DA9062AA_LDO2_CONT,
514 .desc.enable_mask = DA9062AA_LDO2_EN_MASK,
515 .desc.vsel_reg = DA9062AA_VLDO2_A,
516 .desc.vsel_mask = DA9062AA_VLDO2_A_MASK,
517 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
537 .desc.id = DA9061_ID_LDO3,
538 .desc.name = "DA9061 LDO3",
539 .desc.of_match = of_match_ptr("ldo3"),
540 .desc.regulators_node = of_match_ptr("regulators"),
541 .desc.ops = &da9062_ldo_ops,
542 .desc.min_uV = (900) * 1000,
543 .desc.uV_step = (50) * 1000,
544 .desc.n_voltages = ((3600) - (900))/(50) + 1
546 .desc.enable_reg = DA9062AA_LDO3_CONT,
547 .desc.enable_mask = DA9062AA_LDO3_EN_MASK,
548 .desc.vsel_reg = DA9062AA_VLDO3_A,
549 .desc.vsel_mask = DA9062AA_VLDO3_A_MASK,
550 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
570 .desc.id = DA9061_ID_LDO4,
571 .desc.name = "DA9061 LDO4",
572 .desc.of_match = of_match_ptr("ldo4"),
573 .desc.regulators_node = of_match_ptr("regulators"),
574 .desc.ops = &da9062_ldo_ops,
575 .desc.min_uV = (900) * 1000,
576 .desc.uV_step = (50) * 1000,
577 .desc.n_voltages = ((3600) - (900))/(50) + 1
579 .desc.enable_reg = DA9062AA_LDO4_CONT,
580 .desc.enable_mask = DA9062AA_LDO4_EN_MASK,
581 .desc.vsel_reg = DA9062AA_VLDO4_A,
582 .desc.vsel_mask = DA9062AA_VLDO4_A_MASK,
583 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
607 .desc.id = DA9062_ID_BUCK1,
608 .desc.name = "DA9062 BUCK1",
609 .desc.of_match = of_match_ptr("buck1"),
610 .desc.regulators_node = of_match_ptr("regulators"),
611 .desc.ops = &da9062_buck_ops,
612 .desc.min_uV = (300) * 1000,
613 .desc.uV_step = (10) * 1000,
614 .desc.n_voltages = ((1570) - (300))/(10) + 1,
615 .desc.curr_table = da9062_buck_a_limits,
616 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
617 .desc.csel_reg = DA9062AA_BUCK_ILIM_C,
618 .desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
619 .desc.enable_reg = DA9062AA_BUCK1_CONT,
620 .desc.enable_mask = DA9062AA_BUCK1_EN_MASK,
621 .desc.vsel_reg = DA9062AA_VBUCK1_A,
622 .desc.vsel_mask = DA9062AA_VBUCK1_A_MASK,
623 .desc.linear_min_sel = 0,
624 .desc.of_map_mode = da9062_map_buck_mode,
644 .desc.id = DA9062_ID_BUCK2,
645 .desc.name = "DA9062 BUCK2",
646 .desc.of_match = of_match_ptr("buck2"),
647 .desc.regulators_node = of_match_ptr("regulators"),
648 .desc.ops = &da9062_buck_ops,
649 .desc.min_uV = (300) * 1000,
650 .desc.uV_step = (10) * 1000,
651 .desc.n_voltages = ((1570) - (300))/(10) + 1,
652 .desc.curr_table = da9062_buck_a_limits,
653 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
654 .desc.csel_reg = DA9062AA_BUCK_ILIM_C,
655 .desc.csel_mask = DA9062AA_BUCK2_ILIM_MASK,
656 .desc.enable_reg = DA9062AA_BUCK2_CONT,
657 .desc.enable_mask = DA9062AA_BUCK2_EN_MASK,
658 .desc.vsel_reg = DA9062AA_VBUCK2_A,
659 .desc.vsel_mask = DA9062AA_VBUCK2_A_MASK,
660 .desc.linear_min_sel = 0,
661 .desc.of_map_mode = da9062_map_buck_mode,
681 .desc.id = DA9062_ID_BUCK3,
682 .desc.name = "DA9062 BUCK3",
683 .desc.of_match = of_match_ptr("buck3"),
684 .desc.regulators_node = of_match_ptr("regulators"),
685 .desc.ops = &da9062_buck_ops,
686 .desc.min_uV = (800) * 1000,
687 .desc.uV_step = (20) * 1000,
688 .desc.n_voltages = ((3340) - (800))/(20) + 1,
689 .desc.curr_table = da9062_buck_b_limits,
690 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_b_limits),
691 .desc.csel_reg = DA9062AA_BUCK_ILIM_A,
692 .desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
693 .desc.enable_reg = DA9062AA_BUCK3_CONT,
694 .desc.enable_mask = DA9062AA_BUCK3_EN_MASK,
695 .desc.vsel_reg = DA9062AA_VBUCK3_A,
696 .desc.vsel_mask = DA9062AA_VBUCK3_A_MASK,
697 .desc.linear_min_sel = 0,
698 .desc.of_map_mode = da9062_map_buck_mode,
718 .desc.id = DA9062_ID_BUCK4,
719 .desc.name = "DA9062 BUCK4",
720 .desc.of_match = of_match_ptr("buck4"),
721 .desc.regulators_node = of_match_ptr("regulators"),
722 .desc.ops = &da9062_buck_ops,
723 .desc.min_uV = (530) * 1000,
724 .desc.uV_step = (10) * 1000,
725 .desc.n_voltages = ((1800) - (530))/(10) + 1,
726 .desc.curr_table = da9062_buck_a_limits,
727 .desc.n_current_limits = ARRAY_SIZE(da9062_buck_a_limits),
728 .desc.csel_reg = DA9062AA_BUCK_ILIM_B,
729 .desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
730 .desc.enable_reg = DA9062AA_BUCK4_CONT,
731 .desc.enable_mask = DA9062AA_BUCK4_EN_MASK,
732 .desc.vsel_reg = DA9062AA_VBUCK4_A,
733 .desc.vsel_mask = DA9062AA_VBUCK4_A_MASK,
734 .desc.linear_min_sel = 0,
735 .desc.of_map_mode = da9062_map_buck_mode,
755 .desc.id = DA9062_ID_LDO1,
756 .desc.name = "DA9062 LDO1",
757 .desc.of_match = of_match_ptr("ldo1"),
758 .desc.regulators_node = of_match_ptr("regulators"),
759 .desc.ops = &da9062_ldo_ops,
760 .desc.min_uV = (900) * 1000,
761 .desc.uV_step = (50) * 1000,
762 .desc.n_voltages = ((3600) - (900))/(50) + 1
764 .desc.enable_reg = DA9062AA_LDO1_CONT,
765 .desc.enable_mask = DA9062AA_LDO1_EN_MASK,
766 .desc.vsel_reg = DA9062AA_VLDO1_A,
767 .desc.vsel_mask = DA9062AA_VLDO1_A_MASK,
768 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
788 .desc.id = DA9062_ID_LDO2,
789 .desc.name = "DA9062 LDO2",
790 .desc.of_match = of_match_ptr("ldo2"),
791 .desc.regulators_node = of_match_ptr("regulators"),
792 .desc.ops = &da9062_ldo_ops,
793 .desc.min_uV = (900) * 1000,
794 .desc.uV_step = (50) * 1000,
795 .desc.n_voltages = ((3600) - (900))/(50) + 1
797 .desc.enable_reg = DA9062AA_LDO2_CONT,
798 .desc.enable_mask = DA9062AA_LDO2_EN_MASK,
799 .desc.vsel_reg = DA9062AA_VLDO2_A,
800 .desc.vsel_mask = DA9062AA_VLDO2_A_MASK,
801 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
821 .desc.id = DA9062_ID_LDO3,
822 .desc.name = "DA9062 LDO3",
823 .desc.of_match = of_match_ptr("ldo3"),
824 .desc.regulators_node = of_match_ptr("regulators"),
825 .desc.ops = &da9062_ldo_ops,
826 .desc.min_uV = (900) * 1000,
827 .desc.uV_step = (50) * 1000,
828 .desc.n_voltages = ((3600) - (900))/(50) + 1
830 .desc.enable_reg = DA9062AA_LDO3_CONT,
831 .desc.enable_mask = DA9062AA_LDO3_EN_MASK,
832 .desc.vsel_reg = DA9062AA_VLDO3_A,
833 .desc.vsel_mask = DA9062AA_VLDO3_A_MASK,
834 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
854 .desc.id = DA9062_ID_LDO4,
855 .desc.name = "DA9062 LDO4",
856 .desc.of_match = of_match_ptr("ldo4"),
857 .desc.regulators_node = of_match_ptr("regulators"),
858 .desc.ops = &da9062_ldo_ops,
859 .desc.min_uV = (900) * 1000,
860 .desc.uV_step = (50) * 1000,
861 .desc.n_voltages = ((3600) - (900))/(50) + 1
863 .desc.enable_reg = DA9062AA_LDO4_CONT,
864 .desc.enable_mask = DA9062AA_LDO4_EN_MASK,
865 .desc.vsel_reg = DA9062AA_VLDO4_A,
866 .desc.vsel_mask = DA9062AA_VLDO4_A_MASK,
867 .desc.linear_min_sel = DA9062AA_VLDO_A_MIN_SEL,
958 regl->desc = regl->info->desc; in da9062_regulator_probe()
959 regl->desc.type = REGULATOR_VOLTAGE; in da9062_regulator_probe()
960 regl->desc.owner = THIS_MODULE; in da9062_regulator_probe()
1004 regl->rdev = devm_regulator_register(&pdev->dev, ®l->desc, in da9062_regulator_probe()
1009 regl->desc.name); in da9062_regulator_probe()