Lines Matching refs:num
357 #define regulator_desc_s2mps11_ldo(num, step) { \ argument
358 .name = "LDO"#num, \
359 .id = S2MPS11_LDO##num, \
367 .vsel_reg = S2MPS11_REG_L1CTRL + num - 1, \
369 .enable_reg = S2MPS11_REG_L1CTRL + num - 1, \
373 #define regulator_desc_s2mps11_buck1_4(num) { \ argument
374 .name = "BUCK"#num, \
375 .id = S2MPS11_BUCK##num, \
384 .vsel_reg = S2MPS11_REG_B1CTRL2 + (num - 1) * 2, \
386 .enable_reg = S2MPS11_REG_B1CTRL1 + (num - 1) * 2, \
407 #define regulator_desc_s2mps11_buck67810(num, min, step, min_sel, voltages) { \ argument
408 .name = "BUCK"#num, \
409 .id = S2MPS11_BUCK##num, \
418 .vsel_reg = S2MPS11_REG_B6CTRL2 + (num - 6) * 2, \
420 .enable_reg = S2MPS11_REG_B6CTRL1 + (num - 6) * 2, \
497 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ argument
498 .name = "LDO"#num, \
499 .id = S2MPS13_LDO##num, \
507 .vsel_reg = S2MPS13_REG_L1CTRL + num - 1, \
509 .enable_reg = S2MPS13_REG_L1CTRL + num - 1, \
513 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ argument
514 .name = "BUCK"#num, \
515 .id = S2MPS13_BUCK##num, \
524 .vsel_reg = S2MPS13_REG_B1OUT + (num - 1) * 2, \
526 .enable_reg = S2MPS13_REG_B1CTRL + (num - 1) * 2, \
530 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ argument
531 .name = "BUCK"#num, \
532 .id = S2MPS13_BUCK##num, \
541 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
543 .enable_reg = S2MPS13_REG_B1CTRL + (num - 1) * 2, \
547 #define regulator_desc_s2mps13_buck8_10(num, min, step, min_sel) { \ argument
548 .name = "BUCK"#num, \
549 .id = S2MPS13_BUCK##num, \
558 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
560 .enable_reg = S2MPS13_REG_B1CTRL + (num) * 2 - 1, \
629 #define regulator_desc_s2mps14_ldo(num, min, step) { \ argument
630 .name = "LDO"#num, \
631 .id = S2MPS14_LDO##num, \
638 .vsel_reg = S2MPS14_REG_L1CTRL + num - 1, \
640 .enable_reg = S2MPS14_REG_L1CTRL + num - 1, \
644 #define regulator_desc_s2mps14_buck(num, min, step, min_sel) { \ argument
645 .name = "BUCK"#num, \
646 .id = S2MPS14_BUCK##num, \
655 .vsel_reg = S2MPS14_REG_B1CTRL2 + (num - 1) * 2, \
657 .enable_reg = S2MPS14_REG_B1CTRL1 + (num - 1) * 2, \
720 #define regulator_desc_s2mps15_ldo(num, range) { \ argument
721 .name = "LDO"#num, \
722 .id = S2MPS15_LDO##num, \
729 .vsel_reg = S2MPS15_REG_L1CTRL + num - 1, \
731 .enable_reg = S2MPS15_REG_L1CTRL + num - 1, \
735 #define regulator_desc_s2mps15_buck(num, range) { \ argument
736 .name = "BUCK"#num, \
737 .id = S2MPS15_BUCK##num, \
745 .vsel_reg = S2MPS15_REG_B1CTRL2 + ((num - 1) * 2), \
747 .enable_reg = S2MPS15_REG_B1CTRL1 + ((num - 1) * 2), \
941 #define regulator_desc_s2mpu02_ldo1(num) { \ argument
942 .name = "LDO"#num, \
943 .id = S2MPU02_LDO##num, \
956 #define regulator_desc_s2mpu02_ldo2(num) { \ argument
957 .name = "LDO"#num, \
958 .id = S2MPU02_LDO##num, \
971 #define regulator_desc_s2mpu02_ldo3(num) { \ argument
972 .name = "LDO"#num, \
973 .id = S2MPU02_LDO##num, \
981 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
983 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
986 #define regulator_desc_s2mpu02_ldo4(num) { \ argument
987 .name = "LDO"#num, \
988 .id = S2MPU02_LDO##num, \
996 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
998 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
1001 #define regulator_desc_s2mpu02_ldo5(num) { \ argument
1002 .name = "LDO"#num, \
1003 .id = S2MPU02_LDO##num, \
1011 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
1013 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
1017 #define regulator_desc_s2mpu02_buck1234(num) { \ argument
1018 .name = "BUCK"#num, \
1019 .id = S2MPU02_BUCK##num, \
1028 .vsel_reg = S2MPU02_REG_B1CTRL2 + (num - 1) * 2, \
1030 .enable_reg = S2MPU02_REG_B1CTRL1 + (num - 1) * 2, \
1033 #define regulator_desc_s2mpu02_buck5(num) { \ argument
1034 .name = "BUCK"#num, \
1035 .id = S2MPU02_BUCK##num, \
1049 #define regulator_desc_s2mpu02_buck6(num) { \ argument
1050 .name = "BUCK"#num, \
1051 .id = S2MPU02_BUCK##num, \
1065 #define regulator_desc_s2mpu02_buck7(num) { \ argument
1066 .name = "BUCK"#num, \
1067 .id = S2MPU02_BUCK##num, \