Lines Matching refs:num
309 #define regulator_desc_ldo(num) { \ argument
310 .name = "LDO"#num, \
311 .of_match = of_match_ptr("LDO"#num), \
314 .id = MAX77686_LDO##num, \
322 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
324 .enable_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
328 #define regulator_desc_lpm_ldo(num) { \ argument
329 .name = "LDO"#num, \
330 .of_match = of_match_ptr("LDO"#num), \
332 .id = MAX77686_LDO##num, \
340 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
342 .enable_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
346 #define regulator_desc_ldo_low(num) { \ argument
347 .name = "LDO"#num, \
348 .of_match = of_match_ptr("LDO"#num), \
350 .id = MAX77686_LDO##num, \
358 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
360 .enable_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
364 #define regulator_desc_ldo1_low(num) { \ argument
365 .name = "LDO"#num, \
366 .of_match = of_match_ptr("LDO"#num), \
368 .id = MAX77686_LDO##num, \
376 .vsel_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
378 .enable_reg = MAX77686_REG_LDO1CTRL1 + num - 1, \
382 #define regulator_desc_buck(num) { \ argument
383 .name = "BUCK"#num, \
384 .of_match = of_match_ptr("BUCK"#num), \
387 .id = MAX77686_BUCK##num, \
396 .vsel_reg = MAX77686_REG_BUCK5OUT + (num - 5) * 2, \
398 .enable_reg = MAX77686_REG_BUCK5CTRL + (num - 5) * 2, \
401 #define regulator_desc_buck1(num) { \ argument
402 .name = "BUCK"#num, \
403 .of_match = of_match_ptr("BUCK"#num), \
405 .id = MAX77686_BUCK##num, \
419 #define regulator_desc_buck_dvs(num) { \ argument
420 .name = "BUCK"#num, \
421 .of_match = of_match_ptr("BUCK"#num), \
423 .id = MAX77686_BUCK##num, \
432 .vsel_reg = MAX77686_REG_BUCK2DVS1 + (num - 2) * 10, \
434 .enable_reg = MAX77686_REG_BUCK2CTRL1 + (num - 2) * 10, \
437 .ramp_reg = MAX77686_REG_BUCK2CTRL1 + (num - 2) * 10, \