Home
last modified time | relevance | path

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

1234567891011

/sound/soc/sof/
Dops.c16 u32 mask, u32 value) in snd_sof_pci_update_bits_unlocked()
39 u32 mask, u32 value) in snd_sof_pci_update_bits()
52 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_unlocked()
72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked()
91 u32 mask, u32 value) in snd_sof_dsp_update_bits()
105 u64 mask, u64 value) in snd_sof_dsp_update_bits64()
120 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced_unlocked()
135 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced()
/sound/pci/ac97/
Dac97_patch.h10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument
13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument
15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument
20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument
25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
36 unsigned short mask; member
Dac97_codec.c47 unsigned int mask; member
383 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s… in snd_ac97_update_bits()
399 unsigned short mask, unsigned short value) in snd_ac97_update_bits_nolock()
415 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()
479 unsigned short mask, bitmask; in snd_ac97_put_enum_double() local
523 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_info_volsw() local
541 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_get_volsw() local
565 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_volsw() local
808 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ac97_put_spsa() local
867 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument
[all …]
/sound/pci/
Dak4531_codec.c46 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
51 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() local
76 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single() local
95 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single() local
113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
118 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
129 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_double() local
145 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_double() local
169 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_double() local
Des1938.c269 unsigned char mask, unsigned char val) in snd_es1938_mixer_bits()
354 static int snd_es1938_bits(struct es1938 *chip, unsigned char reg, unsigned char mask, in snd_es1938_bits()
1118 unsigned char mask, unsigned char val) in snd_es1938_reg_bits()
1134 #define ES1938_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
1142 #define ES1938_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
1151 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_info_single() local
1166 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_get_single() local
1183 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_put_single() local
1195 #define ES1938_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert… argument
1203 #define ES1938_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
[all …]
/sound/isa/cs423x/
Dcs4236_lib.c378 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
384 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
394 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_info_single() local
409 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_single() local
426 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_single() local
443 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument
455 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_singlec() local
472 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_singlec() local
489 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
496 shift_right, mask, invert, xtlv) \ argument
[all …]
/sound/soc/
Dsoc-ops.c97 unsigned int mask; in snd_soc_put_enum_double() local
130 unsigned int reg, unsigned int mask, unsigned int shift, in snd_soc_read_signed()
249 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() local
309 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw() local
390 unsigned int mask = (1U << (fls(min + max) - 1)) - 1; in snd_soc_get_volsw_sx() local
428 unsigned int mask = (1U << (fls(min + max) - 1)) - 1; in snd_soc_put_volsw_sx() local
524 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_range() local
597 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_range() local
712 unsigned int val, mask; in snd_soc_bytes_put() local
871 unsigned long mask = (1UL<<mc->nbits)-1; in snd_soc_get_xr_sx() local
[all …]
/sound/isa/ad1816a/
Dad1816a_lib.c46 unsigned char mask, unsigned char value) in snd_ad1816a_out_mask()
68 unsigned short mask, unsigned short value) in snd_ad1816a_write_mask()
712 #define AD1816A_SINGLE_TLV(xname, reg, shift, mask, invert, xtlv) \ argument
719 #define AD1816A_SINGLE(xname, reg, shift, mask, invert) \ argument
726 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single() local
741 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single() local
758 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single() local
776 #define AD1816A_DOUBLE_TLV(xname, reg, shift_left, shift_right, mask, invert, xtlv) \ argument
784 #define AD1816A_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
791 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_double() local
[all …]
/sound/soc/intel/catpt/
Ddsp.c33 dma_cap_mask_t mask; in catpt_dma_request_config_chan() local
155 unsigned long mask, unsigned long new) in catpt_dsp_set_srampge()
190 unsigned long mask) in catpt_dsp_update_srampge()
259 u32 mask, reg, val; in catpt_dsp_select_lpclock() local
359 u32 mask, val; in catpt_dsp_power_down() local
404 u32 mask, val; in catpt_dsp_power_up() local
/sound/soc/intel/common/
Dsst-dsp.c84 u32 mask, u32 value) in sst_dsp_shim_update_bits_unlocked()
105 u32 mask, u32 value) in sst_dsp_shim_update_bits_forced_unlocked()
120 u32 mask, u32 value) in sst_dsp_shim_update_bits()
134 u32 mask, u32 value) in sst_dsp_shim_update_bits_forced()
144 int sst_dsp_register_poll(struct sst_dsp *ctx, u32 offset, u32 mask, in sst_dsp_register_poll()
/sound/pci/oxygen/
Doxygen_io.c56 u8 value, u8 mask) in oxygen_write8_masked()
67 u16 value, u16 mask) in oxygen_write16_masked()
78 u32 value, u32 mask) in oxygen_write32_masked()
88 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask) in oxygen_ac97_wait()
176 unsigned int index, u16 data, u16 mask) in oxygen_write_ac97_masked()
/sound/i2c/other/
Dak4xxx-adda.c349 #define AK_COMPOSE(chip,addr,shift,mask) \ argument
355 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_info() local
379 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in put_ak_reg() local
403 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_volume_put() local
413 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_stereo_volume_info() local
438 unsigned int mask = AK_GET_MASK(kcontrol->private_value); in snd_akm4xxx_stereo_volume_put() local
567 int mask = AK_GET_MASK(kcontrol->private_value); in ak4xxx_capture_source_get() local
582 int mask = AK_GET_MASK(kcontrol->private_value); in ak4xxx_capture_source_put() local
/sound/soc/codecs/
Dcpcap.c227 u16 mask; member
418 unsigned int mask = BIT(e->shift_l); in cpcap_output_mux_put_enum() local
459 int regval, mask; in cpcap_input_right_mux_get_enum() local
502 int regval = 0, mask; in cpcap_input_right_mux_put_enum() local
543 int regval, mask; in cpcap_input_left_mux_get_enum() local
578 int regval = 0, mask; in cpcap_input_left_mux_put_enum() local
964 u16 mask, val; in cpcap_set_sysclk() local
1153 static const u16 mask = in cpcap_hifi_set_dai_fmt() local
1233 static const u16 mask = BIT(CPCAP_BIT_ST_DAC_SW); in cpcap_hifi_set_mute() local
1264 u16 val, mask; in cpcap_voice_hw_params() local
[all …]
Dda7219-aad.c350 int i, ret, report = 0, mask = 0; in da7219_aad_irq_thread() local
719 u8 cfg, mask; in da7219_aad_handle_pdata() local
896 u8 mask[DA7219_AAD_IRQ_REG_MAX]; in da7219_aad_init() local
933 u8 mask[DA7219_AAD_IRQ_REG_MAX]; in da7219_aad_exit() local
/sound/spi/
Dat73c213.c401 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get() local
424 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_put() local
451 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_info() local
473 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_get() local
503 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_put() local
572 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_switch_put() local
638 #define AT73C213_MONO_SWITCH(xname, xindex, reg, shift, mask, invert) \ argument
649 #define AT73C213_STEREO(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
/sound/isa/es1688/
Des1688_lib.c754 #define ES1688_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
762 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single() local
777 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single() local
794 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single() local
813 #define ES1688_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
821 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_info_double() local
838 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_double() local
872 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_double() local
/sound/pci/hda/
Dpatch_si3054.c79 #define PRIVATE_VALUE(reg,mask) ((reg<<16)|(mask&0xffff)) argument
90 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_get() local
100 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_put() local
108 #define SI3054_KCONTROL(kname,reg,mask) { \ argument
/sound/isa/sb/
Dsb_mixer.c47 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single() local
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single() local
78 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single() local
99 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_double() local
116 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_double() local
136 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_double() local
/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c128 unsigned int mask = 0; in mt8195_adda_mtkaif_init() local
238 unsigned int mask = 0; in mtk_adda_ul_mictype() local
545 unsigned int mask = DL_2_GAIN_CTL_PRE_MASK; in mt8195_adda_dl_gain_put() local
558 unsigned int mask = DL_2_GAIN_CTL_PRE_MASK; in mt8195_adda_dl_gain_get() local
643 unsigned int mask = 0; in mtk_dai_da_configure() local
681 unsigned int mask = 0; in mtk_dai_ad_configure() local
/sound/isa/
Dopl3sa2.c325 #define OPL3SA2_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
330 #define OPL3SA2_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
345 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single() local
362 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single() local
380 #define OPL3SA2_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
385 #define OPL3SA2_DOUBLE_TLV(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, inver… argument
402 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_double() local
424 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_double() local
Des18xx.c228 unsigned char mask, unsigned char val) in snd_es18xx_bits()
294 unsigned char mask, unsigned char val) in snd_es18xx_mixer_bits()
315 unsigned char mask) in snd_es18xx_mixer_writable()
1080 unsigned char mask, unsigned char val) in snd_es18xx_reg_bits()
1096 #define ES18XX_SINGLE(xname, xindex, reg, shift, mask, flags) \ argument
1107 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_info_single() local
1121 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_get_single() local
1141 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_put_single() local
1163 #define ES18XX_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
1171 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es18xx_info_double() local
[all …]
/sound/soc/tegra/
Dtegra30_i2s.c80 unsigned int mask = 0, val = 0; in tegra30_i2s_set_fmt() local
140 unsigned int mask, val, reg; in tegra30_i2s_hw_params() local
273 unsigned int mask, val; in tegra30_i2s_set_tdm() local
/sound/mips/
Dad1843.c189 int w, mask, oldval, newbits; in ad1843_write_bits() local
218 int w = 0, mask, *value, reg = -1; in ad1843_read_multi() local
252 int w, m, mask, bits; in ad1843_write_multi() local
300 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_get_gain() local
326 unsigned short mask = (1 << gp->lfield->nbits) - 1; in ad1843_set_gain() local
/sound/pci/ice1712/
Dmaya44.c94 unsigned short mask, unsigned short val) in wm8776_write_bits()
112 unsigned short mask; /* value mask */ member
224 #define COMPOSE_SW_VAL(idx, reg, mask) ((idx) | ((reg) << 8) | ((mask) << 16)) argument
250 unsigned int mask, val; in maya_sw_put() local
283 static int maya_set_gpio_bits(struct snd_ice1712 *ice, unsigned int mask, in maya_set_gpio_bits()
315 unsigned int val, mask; in maya_gpio_sw_put() local
/sound/soc/fsl/
Dfsl_audmix.c87 unsigned int *mask, unsigned int *ctr, in fsl_audmix_state_trans()
157 unsigned int reg_val, val, mask = 0, ctr = 0; in fsl_audmix_put_out_src() local
250 u32 mask = 0, ctr = 0; in fsl_audmix_dai_set_fmt() local

1234567891011