Searched refs:xshift (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/include/sound/
H A Dsoc.h45 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \
46 SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable)
50 #define SOC_DOUBLE_R_VALUE(xlreg, xrreg, xshift, xmax, xinvert) \
52 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
54 #define SOC_DOUBLE_R_S_VALUE(xlreg, xrreg, xshift, xmin, xmax, xsign_bit, xinvert) \
56 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
59 #define SOC_DOUBLE_R_RANGE_VALUE(xlreg, xrreg, xshift, xmin, xmax, xinvert) \
61 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
68 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \
73 {.reg = xreg, .rreg = xreg, .shift = xshift, \
74 .rshift = xshift, .min = xmin, .max = xmax, \
84 #define SOC_SINGLE_SX_TLV(xname, xreg, xshift, xmin, xmax, tlv_array) \
94 .shift = xshift, .rshift = xshift, \
96 #define SOC_SINGLE_RANGE_TLV(xname, xreg, xshift, xmin, xmax, xinvert, tlv_array) \
104 {.reg = xreg, .rreg = xreg, .shift = xshift, \
105 .rshift = xshift, .min = xmin, .max = xmax, \
113 #define SOC_DOUBLE_R(xname, reg_left, reg_right, xshift, xmax, xinvert) \
117 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
119 #define SOC_DOUBLE_R_RANGE(xname, reg_left, reg_right, xshift, xmin, \
125 xshift, xmin, xmax, xinvert) }
135 #define SOC_DOUBLE_R_TLV(xname, reg_left, reg_right, xshift, xmax, xinvert, tlv_array) \
142 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
144 #define SOC_DOUBLE_R_RANGE_TLV(xname, reg_left, reg_right, xshift, xmin, \
153 xshift, xmin, xmax, xinvert) }
154 #define SOC_DOUBLE_R_SX_TLV(xname, xreg, xrreg, xshift, xmin, xmax, tlv_array) \
164 .shift = xshift, .rshift = xshift, \
166 #define SOC_DOUBLE_R_S_TLV(xname, reg_left, reg_right, xshift, xmin, xmax, xsign_bit, xinvert, tlv_array) \
173 .private_value = SOC_DOUBLE_R_S_VALUE(reg_left, reg_right, xshift, \
187 #define SOC_ENUM_SINGLE(xreg, xshift, xitems, xtexts) \
188 SOC_ENUM_DOUBLE(xreg, xshift, xshift, xitems, xtexts)
194 #define SOC_VALUE_ENUM_SINGLE(xreg, xshift, xmask, xitems, xtexts, xvalues) \
195 SOC_VALUE_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xitems, xtexts, xvalues)
196 #define SOC_VALUE_ENUM_SINGLE_AUTODISABLE(xreg, xshift, xmask, xitems, xtexts, xvalues) \
197 { .reg = xreg, .shift_l = xshift, .shift_r = xshift, \
207 #define SOC_SINGLE_EXT(xname, xreg, xshift, xmax, xinvert,\
212 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
220 #define SOC_DOUBLE_R_EXT(xname, reg_left, reg_right, xshift, xmax, xinvert,\
225 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
227 #define SOC_SINGLE_EXT_TLV(xname, xreg, xshift, xmax, xinvert,\
235 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
236 #define SOC_SINGLE_RANGE_EXT_TLV(xname, xreg, xshift, xmin, xmax, xinvert, \
245 {.reg = xreg, .rreg = xreg, .shift = xshift, \
246 .rshift = xshift, .min = xmin, .max = xmax, \
258 #define SOC_DOUBLE_R_EXT_TLV(xname, reg_left, reg_right, xshift, xmax, xinvert,\
266 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
319 #define SOC_SINGLE_STROBE(xname, xreg, xshift, xinvert) \
320 SOC_SINGLE_EXT(xname, xreg, xshift, 1, xinvert, \
330 #define SOC_ENUM_SINGLE_DECL(name, xreg, xshift, xtexts) \
331 SOC_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xtexts)
337 #define SOC_VALUE_ENUM_SINGLE_DECL(name, xreg, xshift, xmask, xtexts, xvalues) \
338 SOC_VALUE_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xmask, xtexts, xvalues)
340 #define SOC_VALUE_ENUM_SINGLE_AUTODISABLE_DECL(name, xreg, xshift, xmask, xtexts, xvalues) \
342 xshift, xmask, ARRAY_SIZE(xtexts), xtexts, xvalues)
/linux-4.4.14/sound/pci/ac97/
H A Dac97_patch.h58 #define AC97_ENUM_SINGLE(xreg, xshift, xmask, xtexts) \
59 AC97_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xtexts)
/linux-4.4.14/drivers/video/fbdev/aty/
H A Dmach64_ct.c123 u8 vshift, xshift; aty_dsp_gt() local
168 xshift = 6 - dsp_precision; aty_dsp_gt()
169 vshift += xshift; aty_dsp_gt()
173 (1 << (vshift - xshift)); aty_dsp_gt()
180 tmp = ((ras_multiplier << xshift) + ras_divider) / ras_divider; aty_dsp_gt()
183 dsp_on = dsp_on + (tmp * 2) + (pll->xclkpagefaultdelay << xshift); aty_dsp_gt()
/linux-4.4.14/sound/soc/intel/atom/
H A Dsst-atom-controls.h865 #define SST_SSP_MUX_ENUM(xreg, xshift, xtexts) \
866 (struct soc_enum) SOC_ENUM_DOUBLE(xreg, xshift, xshift, ARRAY_SIZE(xtexts), xtexts)
868 #define SST_SSP_MUX_CTL(xpname, xinstance, xreg, xshift, xtexts) \
870 SST_SSP_MUX_ENUM(xreg, xshift, xtexts))
/linux-4.4.14/sound/pci/ice1712/
H A Dews.c799 #define EWS88D_CONTROL(xiface, xname, xshift, xinvert, xaccess) \
806 .private_value = xshift | (xinvert << 8),\
931 #define DMX6FIRE_CONTROL(xname, xshift, xinvert) \
937 .private_value = xshift | (xinvert << 8),\
/linux-4.4.14/sound/ppc/
H A Dawacs.c201 #define AWACS_VOLUME(xname, xreg, xshift, xinverted) \
206 .private_value = (xreg) | ((xshift) << 8) | ((xinverted) << 16) }
252 #define AWACS_SWITCH(xname, xreg, xshift, xinvert) \
257 .private_value = (xreg) | ((xshift) << 8) | ((xinvert) << 16) }
/linux-4.4.14/sound/soc/codecs/
H A Dwm9712.c243 #define WM9712_HP_MIXER_CTRL(xname, xmixer, xshift) { \
248 (xmixer << 8) | xshift, 1, 0, 0) \
H A Dwm9713.c317 #define WM9713_HP_MIXER_CTRL(xname, xmixer, xshift) { \
322 xshift, xmixer, 1, 0, 0) \
H A Dwm8962.c1532 #define WM8962_DSP2_ENABLE(xname, xshift) \
1536 .private_value = xshift }
/linux-4.4.14/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c52 #define GEOM(xshift, yshift, bytes_per_pixel) { \
53 .x_shft = (xshift), \
56 .slot_w = 1 << (SLOT_WIDTH_BITS - (xshift)), \

Completed in 388 milliseconds