Home
last modified time | relevance | path

Searched refs:aes_idx (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/pci/pcxhr/
H A Dpcxhr_mix22.h40 int hr222_iec958_capture_byte(struct snd_pcxhr *chip, int aes_idx,
42 int hr222_iec958_update_byte(struct snd_pcxhr *chip, int aes_idx,
H A Dpcxhr_mix22.c624 int aes_idx, unsigned char *aes_bits) in hr222_iec958_capture_byte() argument
626 unsigned char idx = (unsigned char)(aes_idx * 8); in hr222_iec958_capture_byte()
638 chip->chip_idx, aes_idx, temp); in hr222_iec958_capture_byte()
645 int aes_idx, unsigned char aes_bits) in hr222_iec958_update_byte() argument
649 unsigned char old_bits = chip->aes_bits[aes_idx]; in hr222_iec958_update_byte()
650 unsigned char idx = (unsigned char)(aes_idx * 8); in hr222_iec958_update_byte()
663 chip->aes_bits[aes_idx] = aes_bits; in hr222_iec958_update_byte()
H A Dpcxhr_mixer.c852 int aes_idx, unsigned char *aes_bits) in pcxhr_iec958_capture_byte() argument
869 switch (aes_idx) { in pcxhr_iec958_capture_byte()
878 switch (aes_idx) { in pcxhr_iec958_capture_byte()
909 chip->chip_idx, aes_idx, temp); in pcxhr_iec958_capture_byte()
951 int aes_idx, unsigned char aes_bits) in pcxhr_iec958_update_byte() argument
955 unsigned char old_bits = chip->aes_bits[aes_idx]; in pcxhr_iec958_update_byte()
964 cmd |= ((aes_idx << 3) + i) << 2; /* add bit offset */ in pcxhr_iec958_update_byte()
972 chip->chip_idx, aes_idx, i, cmd); in pcxhr_iec958_update_byte()
980 chip->aes_bits[aes_idx] = aes_bits; in pcxhr_iec958_update_byte()