Lines Matching refs:num

171 #define atc2603c_reg_desc_dcdc(num, min, step, n_volt, vsel_h, vsel_l) { \  argument
172 .name = "DCDC"#num, \
173 .supply_name = "dcdc"#num, \
174 .of_match = of_match_ptr("dcdc"#num), \
176 .id = ATC2603C_ID_DCDC##num, \
182 .vsel_reg = ATC2603C_PMU_DC##num##_CTL0, \
184 .enable_reg = ATC2603C_PMU_DC##num##_CTL0, \
190 #define atc2603c_reg_desc_dcdc_range(num, vsel_h, vsel_l) { \ argument
191 .name = "DCDC"#num, \
192 .supply_name = "dcdc"#num, \
193 .of_match = of_match_ptr("dcdc"#num), \
195 .id = ATC2603C_ID_DCDC##num, \
201 .vsel_reg = ATC2603C_PMU_DC##num##_CTL0, \
203 .enable_reg = ATC2603C_PMU_DC##num##_CTL0, \
209 #define atc2603c_reg_desc_dcdc_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument
210 .name = "DCDC"#num, \
211 .supply_name = "dcdc"#num, \
212 .of_match = of_match_ptr("dcdc"#num), \
214 .id = ATC2603C_ID_DCDC##num, \
220 .vsel_reg = ATC2603C_PMU_DC##num##_CTL0, \
226 #define atc2603c_reg_desc_ldo(num, min, step, n_volt, vsel_h, vsel_l) { \ argument
227 .name = "LDO"#num, \
228 .supply_name = "ldo"#num, \
229 .of_match = of_match_ptr("ldo"#num), \
231 .id = ATC2603C_ID_LDO##num, \
237 .vsel_reg = ATC2603C_PMU_LDO##num##_CTL, \
239 .enable_reg = ATC2603C_PMU_LDO##num##_CTL, \
245 #define atc2603c_reg_desc_ldo_fixed(num, min, step, n_volt, vsel_h, vsel_l) { \ argument
246 .name = "LDO"#num, \
247 .supply_name = "ldo"#num, \
248 .of_match = of_match_ptr("ldo"#num), \
250 .id = ATC2603C_ID_LDO##num, \
256 .vsel_reg = ATC2603C_PMU_LDO##num##_CTL, \
262 #define atc2603c_reg_desc_ldo_noops(num, vfixed) { \ argument
263 .name = "LDO"#num, \
264 .supply_name = "ldo"#num, \
265 .of_match = of_match_ptr("ldo"#num), \
267 .id = ATC2603C_ID_LDO##num, \
275 #define atc2603c_reg_desc_ldo_switch(num, min, step, n_volt, vsel_h, vsel_l) { \ argument
276 .name = "SWITCHLDO"#num, \
277 .supply_name = "switchldo"#num, \
278 .of_match = of_match_ptr("switchldo"#num), \
280 .id = ATC2603C_ID_SWITCHLDO##num, \
338 #define atc2609a_reg_desc_dcdc(num, en_bit) { \ argument
339 .name = "DCDC"#num, \
340 .supply_name = "dcdc"#num, \
341 .of_match = of_match_ptr("dcdc"#num), \
343 .id = ATC2609A_ID_DCDC##num, \
349 .vsel_reg = ATC2609A_PMU_DC##num##_CTL0, \
357 #define atc2609a_reg_desc_dcdc_range(num, en_bit) { \ argument
358 .name = "DCDC"#num, \
359 .supply_name = "dcdc"#num, \
360 .of_match = of_match_ptr("dcdc"#num), \
362 .id = ATC2609A_ID_DCDC##num, \
368 .vsel_reg = ATC2609A_PMU_DC##num##_CTL0, \
376 #define atc2609a_reg_desc_ldo(num) { \ argument
377 .name = "LDO"#num, \
378 .supply_name = "ldo"#num, \
379 .of_match = of_match_ptr("ldo"#num), \
381 .id = ATC2609A_ID_LDO##num, \
387 .vsel_reg = ATC2609A_PMU_LDO##num##_CTL0, \
389 .enable_reg = ATC2609A_PMU_LDO##num##_CTL0, \
395 #define atc2609a_reg_desc_ldo_bypass(num) { \ argument
396 .name = "LDO"#num, \
397 .supply_name = "ldo"#num, \
398 .of_match = of_match_ptr("ldo"#num), \
400 .id = ATC2609A_ID_LDO##num, \
406 .vsel_reg = ATC2609A_PMU_LDO##num##_CTL0, \
408 .enable_reg = ATC2609A_PMU_LDO##num##_CTL0, \
411 .bypass_reg = ATC2609A_PMU_LDO##num##_CTL0, \
416 #define atc2609a_reg_desc_ldo_range_pick(num, n_range, n_volt) { \ argument
417 .name = "LDO"#num, \
418 .supply_name = "ldo"#num, \
419 .of_match = of_match_ptr("ldo"#num), \
421 .id = ATC2609A_ID_LDO##num, \
427 .vsel_reg = ATC2609A_PMU_LDO##num##_CTL0, \
429 .vsel_range_reg = ATC2609A_PMU_LDO##num##_CTL0, \
432 .enable_reg = ATC2609A_PMU_LDO##num##_CTL0, \
438 #define atc2609a_reg_desc_ldo_fixed(num) { \ argument
439 .name = "LDO"#num, \
440 .supply_name = "ldo"#num, \
441 .of_match = of_match_ptr("ldo"#num), \
443 .id = ATC2609A_ID_LDO##num, \
449 .vsel_reg = ATC2609A_PMU_LDO##num##_CTL, \