Lines Matching refs:num
261 #define regulator_desc_s2mps11_ldo(num, step) { \ argument
262 .name = "LDO"#num, \
263 .id = S2MPS11_LDO##num, \
270 .vsel_reg = S2MPS11_REG_L1CTRL + num - 1, \
272 .enable_reg = S2MPS11_REG_L1CTRL + num - 1, \
276 #define regulator_desc_s2mps11_buck1_4(num) { \ argument
277 .name = "BUCK"#num, \
278 .id = S2MPS11_BUCK##num, \
286 .vsel_reg = S2MPS11_REG_B1CTRL2 + (num - 1) * 2, \
288 .enable_reg = S2MPS11_REG_B1CTRL1 + (num - 1) * 2, \
308 #define regulator_desc_s2mps11_buck67810(num, min, step) { \ argument
309 .name = "BUCK"#num, \
310 .id = S2MPS11_BUCK##num, \
318 .vsel_reg = S2MPS11_REG_B6CTRL2 + (num - 6) * 2, \
320 .enable_reg = S2MPS11_REG_B6CTRL1 + (num - 6) * 2, \
393 #define regulator_desc_s2mps13_ldo(num, min, step, min_sel) { \ argument
394 .name = "LDO"#num, \
395 .id = S2MPS13_LDO##num, \
403 .vsel_reg = S2MPS13_REG_L1CTRL + num - 1, \
405 .enable_reg = S2MPS13_REG_L1CTRL + num - 1, \
409 #define regulator_desc_s2mps13_buck(num, min, step, min_sel) { \ argument
410 .name = "BUCK"#num, \
411 .id = S2MPS13_BUCK##num, \
420 .vsel_reg = S2MPS13_REG_B1OUT + (num - 1) * 2, \
422 .enable_reg = S2MPS13_REG_B1CTRL + (num - 1) * 2, \
426 #define regulator_desc_s2mps13_buck7(num, min, step, min_sel) { \ argument
427 .name = "BUCK"#num, \
428 .id = S2MPS13_BUCK##num, \
437 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
439 .enable_reg = S2MPS13_REG_B1CTRL + (num - 1) * 2, \
443 #define regulator_desc_s2mps13_buck8_10(num, min, step, min_sel) { \ argument
444 .name = "BUCK"#num, \
445 .id = S2MPS13_BUCK##num, \
454 .vsel_reg = S2MPS13_REG_B1OUT + (num) * 2 - 1, \
456 .enable_reg = S2MPS13_REG_B1CTRL + (num) * 2 - 1, \
610 #define regulator_desc_s2mps14_ldo(num, min, step) { \ argument
611 .name = "LDO"#num, \
612 .id = S2MPS14_LDO##num, \
619 .vsel_reg = S2MPS14_REG_L1CTRL + num - 1, \
621 .enable_reg = S2MPS14_REG_L1CTRL + num - 1, \
625 #define regulator_desc_s2mps14_buck(num, min, step, min_sel) { \ argument
626 .name = "BUCK"#num, \
627 .id = S2MPS14_BUCK##num, \
636 .vsel_reg = S2MPS14_REG_B1CTRL2 + (num - 1) * 2, \
638 .enable_reg = S2MPS14_REG_B1CTRL1 + (num - 1) * 2, \
782 #define regulator_desc_s2mpu02_ldo1(num) { \ argument
783 .name = "LDO"#num, \
784 .id = S2MPU02_LDO##num, \
797 #define regulator_desc_s2mpu02_ldo2(num) { \ argument
798 .name = "LDO"#num, \
799 .id = S2MPU02_LDO##num, \
812 #define regulator_desc_s2mpu02_ldo3(num) { \ argument
813 .name = "LDO"#num, \
814 .id = S2MPU02_LDO##num, \
822 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
824 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
827 #define regulator_desc_s2mpu02_ldo4(num) { \ argument
828 .name = "LDO"#num, \
829 .id = S2MPU02_LDO##num, \
837 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
839 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
842 #define regulator_desc_s2mpu02_ldo5(num) { \ argument
843 .name = "LDO"#num, \
844 .id = S2MPU02_LDO##num, \
852 .vsel_reg = S2MPU02_REG_L3CTRL + num - 3, \
854 .enable_reg = S2MPU02_REG_L3CTRL + num - 3, \
858 #define regulator_desc_s2mpu02_buck1234(num) { \ argument
859 .name = "BUCK"#num, \
860 .id = S2MPU02_BUCK##num, \
869 .vsel_reg = S2MPU02_REG_B1CTRL2 + (num - 1) * 2, \
871 .enable_reg = S2MPU02_REG_B1CTRL1 + (num - 1) * 2, \
874 #define regulator_desc_s2mpu02_buck5(num) { \ argument
875 .name = "BUCK"#num, \
876 .id = S2MPU02_BUCK##num, \
890 #define regulator_desc_s2mpu02_buck6(num) { \ argument
891 .name = "BUCK"#num, \
892 .id = S2MPU02_BUCK##num, \
906 #define regulator_desc_s2mpu02_buck7(num) { \ argument
907 .name = "BUCK"#num, \
908 .id = S2MPU02_BUCK##num, \