/linux/include/sound/ |
H A D | soc.h | 52 #define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \ argument 53 SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable) 57 #define SOC_DOUBLE_R_VALUE(xlreg, xrreg, xshift, xmax, xinvert) \ argument 59 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 61 #define SOC_DOUBLE_R_S_VALUE(xlreg, xrreg, xshift, xmin, xmax, xsign_bit, xinvert) \ argument 63 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 66 #define SOC_DOUBLE_R_RANGE_VALUE(xlreg, xrreg, xshift, xmin, xmax, xinvert) \ argument 68 {.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \ 75 #define SOC_SINGLE_RANGE(xname, xreg, xshift, xmin, xmax, xinvert) \ argument 80 {.reg = xreg, .rreg = xreg, .shift = xshift, \ [all …]
|
/linux/sound/pci/ac97/ |
H A D | ac97_patch.h | 43 #define AC97_ENUM_SINGLE(xreg, xshift, xmask, xtexts) \ argument 44 AC97_ENUM_DOUBLE(xreg, xshift, xshift, xmask, xtexts)
|
/linux/sound/soc/tegra/ |
H A D | tegra210_ope.h | 73 #define TEGRA_SOC_BYTES_EXT(xname, xbase, xregs, xshift, xmask, \ argument 86 .shift = xshift \
|
H A D | tegra210_mbdrc.c | 521 #define TEGRA_MBDRC_BYTES_EXT(xname, xbase, xregs, xshift, xmask, xinfo) \ argument 522 TEGRA_SOC_BYTES_EXT(xname, xbase, xregs, xshift, xmask, \ 527 #define TEGRA_MBDRC_BAND_BYTES_EXT(xname, xbase, xshift, xmask, xinfo) \ argument 529 xshift, xmask, xinfo)
|
/linux/drivers/video/fbdev/aty/ |
H A D | mach64_ct.c | 122 u8 vshift, xshift; in aty_dsp_gt() local 167 xshift = 6 - dsp_precision; in aty_dsp_gt() 168 vshift += xshift; in aty_dsp_gt() 172 (1 << (vshift - xshift)); in aty_dsp_gt() 179 tmp = ((ras_multiplier << xshift) + ras_divider) / ras_divider; in aty_dsp_gt() 182 dsp_on = dsp_on + (tmp * 2) + (pll->xclkpagefaultdelay << xshift); in aty_dsp_gt()
|
/linux/sound/soc/codecs/ |
H A D | rt715-sdca.c | 417 #define RT715_SDCA_PR_VALUE(xreg_base, xcount, xmax, xshift, xinvert) \ argument 420 .shift = xshift, .invert = xinvert}) 422 #define RT715_SDCA_FU_CTRL(xname, reg_base, xshift, xmax, xinvert, xcount) \ argument 428 xshift, xinvert)} 430 #define SOC_DOUBLE_R_EXT(xname, reg_left, reg_right, xshift, xmax, xinvert,\ argument 435 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
|
H A D | wm9712.c | 278 #define WM9712_HP_MIXER_CTRL(xname, xmixer, xshift) { \ argument 283 (xmixer << 8) | xshift, 1, 0, 0) \
|
H A D | wm9713.c | 287 #define WM9713_HP_MIXER_CTRL(xname, xmixer, xshift) { \ argument 292 xshift, xmixer, 1, 0, 0) \
|
H A D | rt715.c | 489 #define SOC_DOUBLE_R_EXT(xname, reg_left, reg_right, xshift, xmax, xinvert,\ argument 494 .private_value = SOC_DOUBLE_R_VALUE(reg_left, reg_right, xshift, \
|
H A D | wm8962.c | 1525 #define WM8962_DSP2_ENABLE(xname, xshift) \ argument 1529 .private_value = xshift }
|
/linux/sound/soc/intel/atom/ |
H A D | sst-atom-controls.h | 863 #define SST_SSP_MUX_ENUM(xreg, xshift, xtexts) \ argument 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) \ argument 868 SST_SSP_MUX_ENUM(xreg, xshift, xtexts))
|
/linux/Documentation/sound/soc/ |
H A D | codec.rst | 105 #define SOC_ENUM_SINGLE(xreg, xshift, xmask, xtexts) 111 xshift = control bit(s) offset in register
|
/linux/sound/pci/ice1712/ |
H A D | ews.c | 789 #define EWS88D_CONTROL(xiface, xname, xshift, xinvert, xaccess) \ argument 796 .private_value = xshift | (xinvert << 8),\ 930 #define DMX6FIRE_CONTROL(xname, xshift, xinvert) \ argument 936 .private_value = xshift | (xinvert << 8),\
|
/linux/sound/ppc/ |
H A D | awacs.c | 189 #define AWACS_VOLUME(xname, xreg, xshift, xinverted) \ argument 194 .private_value = (xreg) | ((xshift) << 8) | ((xinverted) << 16) } 240 #define AWACS_SWITCH(xname, xreg, xshift, xinvert) \ argument 245 .private_value = (xreg) | ((xshift) << 8) | ((xinvert) << 16) }
|
/linux/sound/soc/fsl/ |
H A D | fsl_audmix.c | 17 #define SOC_ENUM_SINGLE_S(xreg, xshift, xtexts) \ argument 18 SOC_ENUM_SINGLE(xreg, xshift, ARRAY_SIZE(xtexts), xtexts)
|
/linux/sound/pci/hda/ |
H A D | tas2781_hda_i2c.c | 42 #define ACARD_SINGLE_RANGE_EXT_TLV(xname, xreg, xshift, xmin, xmax, xinvert, \ argument 51 {.reg = xreg, .rreg = xreg, .shift = xshift, \ 52 .rshift = xshift, .min = xmin, .max = xmax, \
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ argument 47 .x_shft = (xshift), \ 50 .slot_w = 1 << (SLOT_WIDTH_BITS - (xshift)), \
|