Lines Matching refs:num
311 #define regulator_77802_desc_p_ldo(num, supply, log) { \ argument
312 .name = "LDO"#num, \
313 .of_match = of_match_ptr("LDO"#num), \
315 .id = MAX77802_LDO##num, \
324 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
326 .enable_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
332 #define regulator_77802_desc_n_ldo(num, supply, log) { \ argument
333 .name = "LDO"#num, \
334 .of_match = of_match_ptr("LDO"#num), \
336 .id = MAX77802_LDO##num, \
345 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
347 .enable_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
353 #define regulator_77802_desc_16_buck(num) { \ argument
354 .name = "BUCK"#num, \
355 .of_match = of_match_ptr("BUCK"#num), \
357 .id = MAX77802_BUCK##num, \
358 .supply_name = "inb"#num, \
366 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
368 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL, \
370 .ramp_reg = MAX77802_REG_BUCK ## num ## CTRL, \
378 #define regulator_77802_desc_234_buck(num) { \ argument
379 .name = "BUCK"#num, \
380 .of_match = of_match_ptr("BUCK"#num), \
382 .id = MAX77802_BUCK##num, \
383 .supply_name = "inb"#num, \
391 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
393 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL1, \
396 .ramp_reg = MAX77802_REG_BUCK ## num ## CTRL1, \
404 #define regulator_77802_desc_buck5(num) { \ argument
405 .name = "BUCK"#num, \
406 .of_match = of_match_ptr("BUCK"#num), \
408 .id = MAX77802_BUCK##num, \
409 .supply_name = "inb"#num, \
425 #define regulator_77802_desc_buck7_10(num) { \ argument
426 .name = "BUCK"#num, \
427 .of_match = of_match_ptr("BUCK"#num), \
429 .id = MAX77802_BUCK##num, \
430 .supply_name = "inb"#num, \
438 .vsel_reg = MAX77802_REG_BUCK7OUT + (num - 7) * 3, \
440 .enable_reg = MAX77802_REG_BUCK7CTRL + (num - 7) * 3, \