Searched refs:newval (Results 1 – 6 of 6) sorted by relevance
/sound/mips/ |
D | ad1843.c | 201 int newval) in ad1843_write_bits() argument 208 newbits = (newval << field->lo_bit) & mask; in ad1843_write_bits() 337 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval) in ad1843_set_gain() argument 342 int lg = (newval >> 0) & mask; in ad1843_set_gain() 343 int rg = (newval >> 8) & mask; in ad1843_set_gain()
|
/sound/oss/ |
D | sb_mixer.c | 235 static void oss_change_bits(sb_devc *devc, unsigned char *regval, int dev, int chn, int newval) in oss_change_bits() argument 241 newval = (int) ((newval * mask) + 50) / 100; /* Scale */ in oss_change_bits() 246 *regval |= (newval & mask) << shift; /* Set the new value */ in oss_change_bits()
|
D | ad1848.c | 460 unsigned char *muteval, int dev, int chn, int newval) in oss_change_bits() argument 468 set_mute_bit = (newval == 0) ^ devc->mix_devices[dev][chn].mutepol; in oss_change_bits() 471 newval = 100 - newval; in oss_change_bits() 487 newval = (int) ((newval * mask) + 50) / 100; /* Scale it */ in oss_change_bits() 489 *regval |= (newval & mask) << shift; /* Set new value */ in oss_change_bits()
|
/sound/ppc/ |
D | snd_ps3.c | 79 u32 newval = read_reg(reg) | or_val; in update_reg() local 80 write_reg(reg, newval); in update_reg() 84 u32 newval = (read_reg(reg) & mask) | or_val; in update_mask_reg() local 85 write_reg(reg, newval); in update_mask_reg()
|
/sound/usb/ |
D | mixer_quirks.c | 791 u8 newval = ucontrol->value.integer.value[0]; in snd_nativeinstruments_control_put() local 794 if (oldval == newval) in snd_nativeinstruments_control_put() 798 kcontrol->private_value |= (unsigned int)newval << 24; in snd_nativeinstruments_control_put()
|
/sound/pci/hda/ |
D | hda_codec.c | 940 unsigned int oldval, newval; in update_pcm_stream_id() local 944 newval = (stream_tag << 4) | channel_id; in update_pcm_stream_id() 945 if (oldval != newval) in update_pcm_stream_id() 948 newval); in update_pcm_stream_id()
|