Home
last modified time | relevance | path

Searched refs:maskp (Results 1 – 2 of 2) sorted by relevance

/sound/soc/sti/
Dsti_uniperif.c159 struct snd_mask *maskp = hw_param_mask(params, rule->var); in sti_uniperiph_fix_tdm_format() local
175 maskp->bits[0] &= (u_int32_t)format; in sti_uniperiph_fix_tdm_format()
176 maskp->bits[1] &= (u_int32_t)(format >> 32); in sti_uniperiph_fix_tdm_format()
178 memset(maskp->bits + 2, 0, (SNDRV_MASK_MAX - 64) / 8); in sti_uniperiph_fix_tdm_format()
180 if (!maskp->bits[0] && !maskp->bits[1]) in sti_uniperiph_fix_tdm_format()
/sound/core/
Dpcm_lib.c1203 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask() local
1204 *maskp->bits &= mask; in snd_pcm_hw_constraint_mask()
1205 memset(maskp->bits + 1, 0, (SNDRV_MASK_MAX-32) / 8); /* clear rest */ in snd_pcm_hw_constraint_mask()
1206 if (*maskp->bits == 0) in snd_pcm_hw_constraint_mask()
1225 struct snd_mask *maskp = constrs_mask(constrs, var); in snd_pcm_hw_constraint_mask64() local
1226 maskp->bits[0] &= (u_int32_t)mask; in snd_pcm_hw_constraint_mask64()
1227 maskp->bits[1] &= (u_int32_t)(mask >> 32); in snd_pcm_hw_constraint_mask64()
1228 memset(maskp->bits + 2, 0, (SNDRV_MASK_MAX-64) / 8); /* clear rest */ in snd_pcm_hw_constraint_mask64()
1229 if (! maskp->bits[0] && ! maskp->bits[1]) in snd_pcm_hw_constraint_mask64()