Lines Matching refs:_id
26 #define MPQ7920BUCK(_name, _id, _ilim) \
27 [MPQ7920_BUCK ## _id] = { \
28 .id = MPQ7920_BUCK ## _id, \
39 .csel_reg = MPQ7920_BUCK ##_id## _REG_C, \
43 MPQ7920_BUCK ## _id), \
44 .vsel_reg = MPQ7920_BUCK ##_id## _REG_A, \
47 .active_discharge_reg = MPQ7920_BUCK ##_id## _REG_B, \
49 .soft_start_reg = MPQ7920_BUCK ##_id## _REG_C, \
54 #define MPQ7920LDO(_name, _id, _ops, _ilim, _ilim_sz, _creg, _cmask) \
55 [MPQ7920_LDO ## _id] = { \
56 .id = MPQ7920_LDO ## _id, \
64 .vsel_reg = MPQ7920_LDO ##_id## _REG_A, \
70 .enable_reg = (_id == 1) ? 0 : MPQ7920_REG_REGULATOR_EN,\
72 MPQ7920_LDO ##_id + 1), \
75 .active_discharge_reg = MPQ7920_LDO ##_id## _REG_B, \