Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 25 of 208) sorted by relevance

123456789

/sound/pci/ac97/
Dac97_patch.h25 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument
28 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument
30 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument
35 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument
40 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
51 unsigned short mask; member
Dac97_codec.c62 unsigned int mask; member
398 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s… in snd_ac97_update_bits()
414 unsigned short mask, unsigned short value) in snd_ac97_update_bits_nolock()
430 static int snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, u… in snd_ac97_ad18xx_update_pcm_bits()
494 unsigned short mask, bitmask; in snd_ac97_put_enum_double() local
538 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_info_volsw() local
556 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_get_volsw() local
580 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_volsw() local
828 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_spsa() local
887 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument
[all …]
/sound/pci/
Dak4531_codec.c61 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
66 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
77 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() local
91 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single() local
110 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single() local
128 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
133 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
144 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_double() local
160 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_double() local
184 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_double() local
Des1938.c288 unsigned char mask, unsigned char val) in snd_es1938_mixer_bits()
370 static int snd_es1938_bits(struct es1938 *chip, unsigned char reg, unsigned char mask, in snd_es1938_bits()
1141 unsigned char mask, unsigned char val) in snd_es1938_reg_bits()
1157 #define ES1938_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
1165 #define ES1938_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
1174 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_info_single() local
1189 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_get_single() local
1206 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_put_single() local
1218 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
1226 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
[all …]
Dfm801.c266 unsigned short mask, unsigned short value) in snd_fm801_update_bits()
845 #define FM801_SINGLE(xname, reg, shift, mask, invert) \ argument
853 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_info_single() local
868 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_get_single() local
884 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_put_single() local
894 #define FM801_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
898 #define FM801_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument
909 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_info_double() local
925 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_get_double() local
947 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_fm801_put_double() local
/sound/soc/
Dsoc-io.c66 unsigned int mask, unsigned int val, bool *change) in snd_soc_component_update_bits_legacy()
102 unsigned int reg, unsigned int mask, unsigned int val) in snd_soc_component_update_bits()
138 unsigned int reg, unsigned int mask, unsigned int val) in snd_soc_component_update_bits_async()
183 unsigned int reg, unsigned int mask, unsigned int value) in snd_soc_component_test_bits()
228 unsigned int mask, unsigned int value) in snd_soc_update_bits()
248 unsigned int mask, unsigned int value) in snd_soc_test_bits()
Dsoc-ops.c105 unsigned int mask; in snd_soc_put_enum_double() local
138 unsigned int reg, unsigned int mask, unsigned int shift, in snd_soc_read_signed()
260 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() local
320 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw() local
381 int mask = (1 << (fls(min + max) - 1)) - 1; in snd_soc_get_volsw_sx() local
426 int mask = (1 << (fls(min + max) - 1)) - 1; in snd_soc_put_volsw_sx() local
501 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_range() local
553 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_range() local
683 unsigned int val, mask; in snd_soc_bytes_put() local
842 unsigned long mask = (1UL<<mc->nbits)-1; in snd_soc_get_xr_sx() local
[all …]
/sound/isa/cs423x/
Dcs4236_lib.c394 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
400 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
410 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_info_single() local
425 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_single() local
442 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_single() local
459 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument
471 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_singlec() local
488 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_singlec() local
505 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
512 shift_right, mask, invert, xtlv) \ argument
[all …]
/sound/isa/ad1816a/
Dad1816a_lib.c58 unsigned char mask, unsigned char value) in snd_ad1816a_out_mask()
80 unsigned short mask, unsigned short value) in snd_ad1816a_write_mask()
770 #define AD1816A_SINGLE_TLV(xname, reg, shift, mask, invert, xtlv) \ argument
777 #define AD1816A_SINGLE(xname, reg, shift, mask, invert) \ argument
784 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single() local
799 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single() local
816 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single() local
834 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument
842 #define AD1816A_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
849 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_double() local
[all …]
/sound/pci/oxygen/
Doxygen_io.c68 u8 value, u8 mask) in oxygen_write8_masked()
79 u16 value, u16 mask) in oxygen_write16_masked()
90 u32 value, u32 mask) in oxygen_write32_masked()
100 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) in oxygen_ac97_wait()
188 unsigned int index, u16 data, u16 mask) in oxygen_write_ac97_masked()
/sound/soc/intel/common/
Dsst-dsp.c163 u32 mask, u32 value) in sst_dsp_shim_update_bits_unlocked()
183 u64 mask, u64 value) in sst_dsp_shim_update_bits64_unlocked()
202 u32 mask, u32 value) in sst_dsp_shim_update_bits_forced_unlocked()
217 u32 mask, u32 value) in sst_dsp_shim_update_bits()
230 u64 mask, u64 value) in sst_dsp_shim_update_bits64()
244 u32 mask, u32 value) in sst_dsp_shim_update_bits_forced()
254 int sst_dsp_register_poll(struct sst_dsp *ctx, u32 offset, u32 mask, in sst_dsp_register_poll()
/sound/i2c/other/
Dak4xxx-adda.c363 #define AK_COMPOSE(chip,addr,shift,mask) \ argument
369 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_info() local
393 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in put_ak_reg() local
417 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_put() local
427 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_stereo_volume_info() local
452 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_stereo_volume_put() local
581 int mask = AK_GET_MASK(kcontrol->private_value); in ak4xxx_capture_source_get() local
596 int mask = AK_GET_MASK(kcontrol->private_value); in ak4xxx_capture_source_put() local
/sound/spi/
Dat73c213.c410 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get() local
433 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_put() local
460 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_info() local
482 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_get() local
512 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_put() local
581 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_switch_put() local
647 #define AT73C213_MONO_SWITCH(xname, xindex, reg, shift, mask, invert) \ argument
658 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
/sound/isa/es1688/
Des1688_lib.c794 #define ES1688_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
802 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single() local
817 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single() local
834 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single() local
853 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
861 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_info_double() local
878 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_double() local
912 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_double() local
/sound/pci/hda/
Dpatch_si3054.c93 #define PRIVATE_VALUE(reg,mask) ((reg<<16)|(mask&0xffff)) argument
104 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_get() local
114 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_put() local
122 #define SI3054_KCONTROL(kname,reg,mask) { \ argument
/sound/soc/codecs/
Dda7219-aad.c324 int i, report = 0, mask = 0; in da7219_aad_irq_thread() local
688 u8 cfg, mask; in da7219_aad_handle_pdata() local
863 u8 mask[DA7219_AAD_IRQ_REG_MAX]; in da7219_aad_init() local
908 u8 mask[DA7219_AAD_IRQ_REG_MAX]; in da7219_aad_exit() local
D88pm860x-codec.c337 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_2r_out() local
357 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_2r_out() local
926 int data = 0, mask = MUTE_LEFT | MUTE_RIGHT; in pm860x_digital_mute() local
941 unsigned char inf = 0, mask = 0; in pm860x_pcm_hw_params() local
984 unsigned char inf = 0, mask = 0; in pm860x_pcm_set_dai_fmt() local
1089 unsigned char inf = 0, mask = 0; in pm860x_i2s_set_dai_fmt() local
1223 int mask; in pm860x_codec_handler() local
/sound/isa/sb/
Dsb_mixer.c62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single() local
77 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single() local
93 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single() local
114 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_double() local
131 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_double() local
151 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_double() local
/sound/isa/
Dopl3sa2.c341 #define OPL3SA2_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
346 #define OPL3SA2_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
361 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single() local
378 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single() local
396 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
401 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument
418 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_double() local
440 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_double() local
Des18xx.c246 unsigned char mask, unsigned char val) in snd_es18xx_bits()
312 unsigned char mask, unsigned char val) in snd_es18xx_mixer_bits()
333 unsigned char mask) in snd_es18xx_mixer_writable()
1108 unsigned char mask, unsigned char val) in snd_es18xx_reg_bits()
1124 #define ES18XX_SINGLE(xname, xindex, reg, shift, mask, flags) \ argument
1135 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_info_single() local
1149 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_get_single() local
1169 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_put_single() local
1191 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1199 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es18xx_info_double() local
[all …]
/sound/mips/
Dad1843.c203 int w, mask, oldval, newbits; in ad1843_write_bits() local
232 int w = 0, mask, *value, reg = -1; in ad1843_read_multi() local
266 int w, m, mask, bits; in ad1843_write_multi() local
314 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_get_gain() local
340 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_set_gain() local
/sound/pci/ice1712/
Dmaya44.c108 unsigned short mask, unsigned short val) in wm8776_write_bits()
126 unsigned short mask; /* value mask */ member
238 #define COMPOSE_SW_VAL(idx, reg, mask) ((idx) | ((reg) << 8) | ((mask) << 16)) argument
264 unsigned int mask, val; in maya_sw_put() local
297 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, in maya_set_gpio_bits()
329 unsigned int val, mask; in maya_gpio_sw_put() local
/sound/oss/
Dsb_mixer.c237 unsigned char mask; in oss_change_bits() local
398 static int set_recmask(sb_devc * devc, int mask) in set_recmask()
500 static int set_outmask(sb_devc * devc, int mask) in set_outmask()
/sound/soc/atmel/
Datmel-classd.c256 u32 mask, val; in atmel_classd_codec_probe() local
337 u32 mask, val; in atmel_classd_codec_dai_digital_mute() local
388 u32 mask, val; in atmel_classd_codec_dai_hw_params() local
455 u32 mask, val; in atmel_classd_codec_dai_trigger() local
/sound/arm/
Daaci.c183 aaci_chan_wait_ready(struct aaci_runtime *aacirun, unsigned long mask) in aaci_chan_wait_ready()
199 static void aaci_fifo_irq(struct aaci *aaci, int channel, u32 mask) in aaci_fifo_irq()
330 u32 mask; in aaci_irq() local
388 unsigned int mask = 1 << 0, slots; in aaci_rule_channels() local

123456789