Searched refs:old_bits (Results 1 – 4 of 4) sorted by relevance
120 u16 old_bits, new_bits; in xonar_gpio_bit_switch_put() local124 old_bits = oxygen_read16(chip, OXYGEN_GPIO_DATA); in xonar_gpio_bit_switch_put()126 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()
662 unsigned char old_bits = chip->aes_bits[aes_idx]; in hr222_iec958_update_byte() local665 if ((old_bits & 0x01) != (new_bits & 0x01)) { in hr222_iec958_update_byte()673 old_bits >>= 1; in hr222_iec958_update_byte()
968 unsigned char old_bits = chip->aes_bits[aes_idx]; in pcxhr_iec958_update_byte() local972 if ((old_bits & 0x01) != (new_bits & 0x01)) { in pcxhr_iec958_update_byte()990 old_bits >>= 1; in pcxhr_iec958_update_byte()
1343 unsigned int old_bits = 0, change = 0; in snd_trident_spdif_hw_params() local1358 old_bits = trident->spdif_pcm_bits; in snd_trident_spdif_hw_params()1359 if (old_bits & IEC958_AES0_PROFESSIONAL) in snd_trident_spdif_hw_params()1384 change = old_bits != trident->spdif_pcm_bits; in snd_trident_spdif_hw_params()