Searched refs:new_bits (Results 1 – 4 of 4) sorted by relevance
120 u16 old_bits, new_bits; in xonar_gpio_bit_switch_put() local126 new_bits = old_bits | bit; in xonar_gpio_bit_switch_put()128 new_bits = old_bits & ~bit; in xonar_gpio_bit_switch_put()129 changed = new_bits != old_bits; in xonar_gpio_bit_switch_put()131 oxygen_write16(chip, OXYGEN_GPIO_DATA, new_bits); in xonar_gpio_bit_switch_put()
361 u32 new_bits; in spdif_default_put() local364 new_bits = iec958_to_oxygen(value); in spdif_default_put()366 changed = new_bits != chip->spdif_bits; in spdif_default_put()368 chip->spdif_bits = new_bits; in spdif_default_put()370 write_spdif_bits(chip, new_bits); in spdif_default_put()401 u32 new_bits; in spdif_pcm_put() local404 new_bits = iec958_to_oxygen(value); in spdif_pcm_put()406 changed = new_bits != chip->spdif_pcm_bits; in spdif_pcm_put()408 chip->spdif_pcm_bits = new_bits; in spdif_pcm_put()410 write_spdif_bits(chip, new_bits); in spdif_pcm_put()
661 unsigned char new_bits = aes_bits; in hr222_iec958_update_byte() local665 if ((old_bits & 0x01) != (new_bits & 0x01)) { in hr222_iec958_update_byte()669 PCXHR_OUTPB(chip->mgr, PCXHR_XLX_CSUER, new_bits&0x01 ? in hr222_iec958_update_byte()674 new_bits >>= 1; in hr222_iec958_update_byte()
967 unsigned char new_bits = aes_bits; in pcxhr_iec958_update_byte() local972 if ((old_bits & 0x01) != (new_bits & 0x01)) { in pcxhr_iec958_update_byte()978 cmd |= (new_bits & 0x01) << 23; /* add bit value */ in pcxhr_iec958_update_byte()991 new_bits >>= 1; in pcxhr_iec958_update_byte()