Home
last modified time | relevance | path

Searched refs:new_bits (Results 1 – 4 of 4) sorted by relevance

/sound/pci/oxygen/
Dxonar_lib.c109 u16 old_bits, new_bits; in xonar_gpio_bit_switch_put() local
115 new_bits = old_bits | bit; in xonar_gpio_bit_switch_put()
117 new_bits = old_bits & ~bit; in xonar_gpio_bit_switch_put()
118 changed = new_bits != old_bits; in xonar_gpio_bit_switch_put()
120 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_bits); in xonar_gpio_bit_switch_put()
Doxygen_mixer.c349 u32 new_bits; in spdif_default_put() local
352 new_bits = iec958_to_oxygen(value); in spdif_default_put()
354 changed = new_bits != chip->spdif_bits; in spdif_default_put()
356 chip->spdif_bits = new_bits; in spdif_default_put()
358 write_spdif_bits(chip, new_bits); in spdif_default_put()
389 u32 new_bits; in spdif_pcm_put() local
392 new_bits = iec958_to_oxygen(value); in spdif_pcm_put()
394 changed = new_bits != chip->spdif_pcm_bits; in spdif_pcm_put()
396 chip->spdif_pcm_bits = new_bits; in spdif_pcm_put()
398 write_spdif_bits(chip, new_bits); in spdif_pcm_put()
/sound/pci/pcxhr/
Dpcxhr_mix22.c648 unsigned char new_bits = aes_bits; in hr222_iec958_update_byte() local
652 if ((old_bits & 0x01) != (new_bits & 0x01)) { in hr222_iec958_update_byte()
656 PCXHR_OUTPB(chip->mgr, PCXHR_XLX_CSUER, new_bits&0x01 ? in hr222_iec958_update_byte()
661 new_bits >>= 1; in hr222_iec958_update_byte()
Dpcxhr_mixer.c954 unsigned char new_bits = aes_bits; in pcxhr_iec958_update_byte() local
959 if ((old_bits & 0x01) != (new_bits & 0x01)) { in pcxhr_iec958_update_byte()
965 cmd |= (new_bits & 0x01) << 23; /* add bit value */ in pcxhr_iec958_update_byte()
978 new_bits >>= 1; in pcxhr_iec958_update_byte()