Lines Matching refs:xreg
31 #define SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, xmax, xinvert, xautodisable) \ argument
33 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
36 #define SOC_DOUBLE_S_VALUE(xreg, shift_left, shift_right, xmin, xmax, xsign_bit, xinvert, xautodisa… argument
38 {.reg = xreg, .rreg = xreg, .shift = shift_left, \
41 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \ argument
42 SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable)
43 #define SOC_SINGLE_VALUE_EXT(xreg, xmax, xinvert) \ argument
45 {.reg = xreg, .max = xmax, .platform_max = xmax, .invert = xinvert})
64 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \ argument
69 {.reg = xreg, .rreg = xreg, .shift = xshift, \
80 #define SOC_SINGLE_SX_TLV(xname, xreg, xshift, xmin, xmax, tlv_array) \ argument
89 {.reg = xreg, .rreg = xreg, \
92 #define SOC_SINGLE_RANGE_TLV(xname, xreg, xshift, xmin, xmax, xinvert, tlv_array) \ argument
100 {.reg = xreg, .rreg = xreg, .shift = xshift, \
158 #define SOC_DOUBLE_R_SX_TLV(xname, xreg, xrreg, xshift, xmin, xmax, tlv_array) \ argument
167 {.reg = xreg, .rreg = xrreg, \
179 #define SOC_SINGLE_S8_TLV(xname, xreg, xmin, xmax, tlv_array) \ argument
187 {.reg = xreg, .rreg = xreg, \
190 #define SOC_DOUBLE_S8_TLV(xname, xreg, xmin, xmax, tlv_array) \ argument
197 .private_value = SOC_DOUBLE_S_VALUE(xreg, 0, 8, xmin, xmax, 7, 0, 0) }
198 #define SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xitems, xtexts) \ argument
199 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
202 #define SOC_ENUM_SINGLE(xreg, xshift, xitems, xtexts) \ argument
203 SOC_ENUM_DOUBLE(xreg, xshift, xshift, xitems, xtexts)
206 #define SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, xitems, xtexts, xvalues) \ argument
207 { .reg = xreg, .shift_l = xshift_l, .shift_r = xshift_r, \
209 #define SOC_VALUE_ENUM_SINGLE(xreg, xshift, xmask, xitems, xtexts, xvalues) \ argument
210 SOC_VALUE_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xitems, xtexts, xvalues)
211 #define SOC_VALUE_ENUM_SINGLE_AUTODISABLE(xreg, xshift, xmask, xitems, xtexts, xvalues) \ argument
212 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \
222 #define SOC_SINGLE_EXT(xname, xreg, xshift, xmax, xinvert,\ argument
227 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
242 #define SOC_SINGLE_EXT_TLV(xname, xreg, xshift, xmax, xinvert,\ argument
250 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
251 #define SOC_SINGLE_RANGE_EXT_TLV(xname, xreg, xshift, xmin, xmax, xinvert, \ argument
260 {.reg = xreg, .rreg = xreg, .shift = xshift, \
263 #define SOC_DOUBLE_EXT_TLV(xname, xreg, shift_left, shift_right, xmax, xinvert,\ argument
271 .private_value = SOC_DOUBLE_VALUE(xreg, shift_left, shift_right, \
337 #define SOC_SINGLE_STROBE(xname, xreg, xshift, xinvert) \ argument
338 SOC_SINGLE_EXT(xname, xreg, xshift, 1, xinvert, \
345 #define SOC_ENUM_DOUBLE_DECL(name, xreg, xshift_l, xshift_r, xtexts) \ argument
346 const struct soc_enum name = SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, \
348 #define SOC_ENUM_SINGLE_DECL(name, xreg, xshift, xtexts) \ argument
349 SOC_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xtexts)
352 #define SOC_VALUE_ENUM_DOUBLE_DECL(name, xreg, xshift_l, xshift_r, xmask, xtexts, xvalues) \ argument
353 const struct soc_enum name = SOC_VALUE_ENUM_DOUBLE(xreg, xshift_l, xshift_r, xmask, \
355 #define SOC_VALUE_ENUM_SINGLE_DECL(name, xreg, xshift, xmask, xtexts, xvalues) \ argument
356 SOC_VALUE_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xmask, xtexts, xvalues)
358 #define SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL(name, xreg, xshift, xmask, xtexts, xvalues) \ argument
359 const struct soc_enum name = SOC_VALUE_ENUM_SINGLE_AUTODISABLE(xreg, \