Searched refs:bitmask (Results 1 – 2 of 2) sorted by relevance
476 unsigned short val, bitmask; in snd_ac97_get_enum_double() local478 for (bitmask = 1; bitmask < e->mask; bitmask <<= 1) in snd_ac97_get_enum_double()481 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); in snd_ac97_get_enum_double()483 ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); in snd_ac97_get_enum_double()494 unsigned short mask, bitmask; in snd_ac97_put_enum_double() local496 for (bitmask = 1; bitmask < e->mask; bitmask <<= 1) in snd_ac97_put_enum_double()501 mask = (bitmask - 1) << e->shift_l; in snd_ac97_put_enum_double()506 mask |= (bitmask - 1) << e->shift_r; in snd_ac97_put_enum_double()
1325 unsigned bitmask, in snd_azf3328_ctrl_reg_6AH_update() argument1331 chip->shadow_reg_ctrl_6AH |= bitmask; in snd_azf3328_ctrl_reg_6AH_update()1333 chip->shadow_reg_ctrl_6AH &= ~bitmask; in snd_azf3328_ctrl_reg_6AH_update()1336 bitmask, do_mask, chip->shadow_reg_ctrl_6AH); in snd_azf3328_ctrl_reg_6AH_update()