Lines Matching refs:num

299 #define regulator_77802_desc_p_ldo(num, supply, log)	{		\  argument
300 .name = "LDO"#num, \
301 .of_match = of_match_ptr("LDO"#num), \
303 .id = MAX77802_LDO##num, \
312 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
314 .enable_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
320 #define regulator_77802_desc_n_ldo(num, supply, log) { \ argument
321 .name = "LDO"#num, \
322 .of_match = of_match_ptr("LDO"#num), \
324 .id = MAX77802_LDO##num, \
333 .vsel_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
335 .enable_reg = MAX77802_REG_LDO1CTRL1 + num - 1, \
341 #define regulator_77802_desc_16_buck(num) { \ argument
342 .name = "BUCK"#num, \
343 .of_match = of_match_ptr("BUCK"#num), \
345 .id = MAX77802_BUCK##num, \
346 .supply_name = "inb"#num, \
354 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
356 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL, \
358 .ramp_reg = MAX77802_REG_BUCK ## num ## CTRL, \
366 #define regulator_77802_desc_234_buck(num) { \ argument
367 .name = "BUCK"#num, \
368 .of_match = of_match_ptr("BUCK"#num), \
370 .id = MAX77802_BUCK##num, \
371 .supply_name = "inb"#num, \
379 .vsel_reg = MAX77802_REG_BUCK ## num ## DVS1, \
381 .enable_reg = MAX77802_REG_BUCK ## num ## CTRL1, \
384 .ramp_reg = MAX77802_REG_BUCK ## num ## CTRL1, \
392 #define regulator_77802_desc_buck5(num) { \ argument
393 .name = "BUCK"#num, \
394 .of_match = of_match_ptr("BUCK"#num), \
396 .id = MAX77802_BUCK##num, \
397 .supply_name = "inb"#num, \
413 #define regulator_77802_desc_buck7_10(num) { \ argument
414 .name = "BUCK"#num, \
415 .of_match = of_match_ptr("BUCK"#num), \
417 .id = MAX77802_BUCK##num, \
418 .supply_name = "inb"#num, \
426 .vsel_reg = MAX77802_REG_BUCK7OUT + (num - 7) * 3, \
428 .enable_reg = MAX77802_REG_BUCK7CTRL + (num - 7) * 3, \