Lines Matching refs:_name
182 #define MC13783_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages) \
183 [MC13783_ ## prefix ## _ ## _name] = { \
185 .name = #prefix "_" #_name, \
189 .id = MC13783_ ## prefix ## _ ## _name, \
193 .enable_bit = MC13783_REG_ ## _reg ## _ ## _name ## EN, \
195 .vsel_shift = MC13783_REG_ ## _vsel_reg ## _ ## _name ## VSEL,\
196 .vsel_mask = MC13783_REG_ ## _vsel_reg ## _ ## _name ## VSEL_M,\
200 #define MC13783_FIXED_DEFINE(prefix, _name, _reg, _voltages) \
201 [MC13783_ ## prefix ## _ ## _name] = { \
203 .name = #prefix "_" #_name, \
207 .id = MC13783_ ## prefix ## _ ## _name, \
211 .enable_bit = MC13783_REG_ ## _reg ## _ ## _name ## EN, \
215 #define MC13783_GPO_DEFINE(prefix, _name, _reg, _voltages) \
216 [MC13783_ ## prefix ## _ ## _name] = { \
218 .name = #prefix "_" #_name, \
222 .id = MC13783_ ## prefix ## _ ## _name, \
226 .enable_bit = MC13783_REG_ ## _reg ## _ ## _name ## EN, \
230 #define MC13783_DEFINE_SW(_name, _reg, _vsel_reg, _voltages) \
231 MC13783_DEFINE(SW, _name, _reg, _vsel_reg, _voltages)
232 #define MC13783_DEFINE_REGU(_name, _reg, _vsel_reg, _voltages) \
233 MC13783_DEFINE(REGU, _name, _reg, _vsel_reg, _voltages)