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

/linux-4.1.27/include/sound/
H A Dsoc.h44 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \
45 SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable)
49 #define SOC_DOUBLE_R_VALUE(xlreg, xrreg, xshift, xmax, xinvert) \
51 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
53 #define SOC_DOUBLE_R_S_VALUE(xlreg, xrreg, xshift, xmin, xmax, xsign_bit, xinvert) \
55 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
58 #define SOC_DOUBLE_R_RANGE_VALUE(xlreg, xrreg, xshift, xmin, xmax, xinvert) \
60 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
67 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \
72 {.reg = xreg, .rreg = xreg, .shift = xshift, \
73 .rshift = xshift, .min = xmin, .max = xmax, \
83 #define SOC_SINGLE_SX_TLV(xname, xreg, xshift, xmin, xmax, tlv_array) \
93 .shift = xshift, .rshift = xshift, \
95 #define SOC_SINGLE_RANGE_TLV(xname, xreg, xshift, xmin, xmax, xinvert, tlv_array) \
103 {.reg = xreg, .rreg = xreg, .shift = xshift, \
104 .rshift = xshift, .min = xmin, .max = xmax, \
112 #define SOC_DOUBLE_R(xname, reg_left, reg_right, xshift, xmax, xinvert) \
116 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
118 #define SOC_DOUBLE_R_RANGE(xname, reg_left, reg_right, xshift, xmin, \
124 xshift, xmin, xmax, xinvert) }
134 #define SOC_DOUBLE_R_TLV(xname, reg_left, reg_right, xshift, xmax, xinvert, tlv_array) \
141 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
143 #define SOC_DOUBLE_R_RANGE_TLV(xname, reg_left, reg_right, xshift, xmin, \
152 xshift, xmin, xmax, xinvert) }
153 #define SOC_DOUBLE_R_SX_TLV(xname, xreg, xrreg, xshift, xmin, xmax, tlv_array) \
163 .shift = xshift, .rshift = xshift, \
165 #define SOC_DOUBLE_R_S_TLV(xname, reg_left, reg_right, xshift, xmin, xmax, xsign_bit, xinvert, tlv_array) \
172 .private_value = SOC_DOUBLE_R_S_VALUE(reg_left, reg_right, xshift, \
186 #define SOC_ENUM_SINGLE(xreg, xshift, xitems, xtexts) \
187 SOC_ENUM_DOUBLE(xreg, xshift, xshift, xitems, xtexts)
193 #define SOC_VALUE_ENUM_SINGLE(xreg, xshift, xmask, xnitmes, xtexts, xvalues) \
194 SOC_VALUE_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xnitmes, xtexts, xvalues)
202 #define SOC_SINGLE_EXT(xname, xreg, xshift, xmax, xinvert,\
207 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
215 #define SOC_SINGLE_EXT_TLV(xname, xreg, xshift, xmax, xinvert,\
223 .private_value = SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, 0) }
234 #define SOC_DOUBLE_R_EXT_TLV(xname, reg_left, reg_right, xshift, xmax, xinvert,\
242 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
295 #define SOC_SINGLE_STROBE(xname, xreg, xshift, xinvert) \
296 SOC_SINGLE_EXT(xname, xreg, xshift, 1, xinvert, \
306 #define SOC_ENUM_SINGLE_DECL(name, xreg, xshift, xtexts) \
307 SOC_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xtexts)
313 #define SOC_VALUE_ENUM_SINGLE_DECL(name, xreg, xshift, xmask, xtexts, xvalues) \
314 SOC_VALUE_ENUM_DOUBLE_DECL(name, xreg, xshift, xshift, xmask, xtexts, xvalues)
/linux-4.1.27/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.1.27/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.1.27/sound/soc/intel/atom/
H A Dsst-atom-controls.h863 #define SST_SSP_MUX_ENUM(xreg, xshift, xtexts) \
864 (struct soc_enum) SOC_ENUM_DOUBLE(xreg, xshift, xshift, ARRAY_SIZE(xtexts), xtexts)
866 #define SST_SSP_MUX_CTL(xpname, xinstance, xreg, xshift, xtexts) \
868 SST_SSP_MUX_ENUM(xreg, xshift, xtexts))
/linux-4.1.27/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.1.27/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.1.27/sound/soc/codecs/
H A Dwm9712.c240 #define WM9712_HP_MIXER_CTRL(xname, xmixer, xshift) { \
245 (xmixer << 8) | xshift, 1, 0, 0) \
H A Dwm9713.c315 #define WM9713_HP_MIXER_CTRL(xname, xmixer, xshift) { \
320 xshift, xmixer, 1, 0, 0) \
H A Dwm8962.c1534 #define WM8962_DSP2_ENABLE(xname, xshift) \
1538 .private_value = xshift }
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_dmm_tiler.c51 #define GEOM(xshift, yshift, bytes_per_pixel) { \
52 .x_shft = (xshift), \
55 .slot_w = 1 << (SLOT_WIDTH_BITS - (xshift)), \

Completed in 1595 milliseconds