Searched refs:old_bits (Results 1 – 4 of 4) sorted by relevance
109 u16 old_bits, new_bits; in xonar_gpio_bit_switch_put() local113 old_bits = oxygen_read16(chip, OXYGEN_GPIO_DATA); in xonar_gpio_bit_switch_put()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()
649 unsigned char old_bits = chip->aes_bits[aes_idx]; in hr222_iec958_update_byte() local652 if ((old_bits & 0x01) != (new_bits & 0x01)) { in hr222_iec958_update_byte()660 old_bits >>= 1; in hr222_iec958_update_byte()
955 unsigned char old_bits = chip->aes_bits[aes_idx]; in pcxhr_iec958_update_byte() local959 if ((old_bits & 0x01) != (new_bits & 0x01)) { in pcxhr_iec958_update_byte()977 old_bits >>= 1; in pcxhr_iec958_update_byte()
1296 unsigned int old_bits = 0, change = 0; in snd_trident_spdif_hw_params() local1311 old_bits = trident->spdif_pcm_bits; in snd_trident_spdif_hw_params()1312 if (old_bits & IEC958_AES0_PROFESSIONAL) in snd_trident_spdif_hw_params()1337 change = old_bits != trident->spdif_pcm_bits; in snd_trident_spdif_hw_params()