Home
last modified time | relevance | path

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

/sound/pci/ac97/
Dac97_codec.c476 unsigned short val, bitmask; in snd_ac97_get_enum_double() local
478 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() local
496 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()
/sound/pci/
Dazt3328.c1325 unsigned bitmask, in snd_azf3328_ctrl_reg_6AH_update() argument
1331 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()