Home
last modified time | relevance | path

Searched refs:sbits (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/sound/pci/ac97/
Dac97_pcm.c176 unsigned int sbits; in set_spdif_rate() local
215 sbits = ac97->spdif_status; in set_spdif_rate()
216 if (sbits & IEC958_AES0_PROFESSIONAL) { in set_spdif_rate()
217 sbits &= ~IEC958_AES0_PRO_FS; in set_spdif_rate()
219 case 44100: sbits |= IEC958_AES0_PRO_FS_44100; break; in set_spdif_rate()
220 case 48000: sbits |= IEC958_AES0_PRO_FS_48000; break; in set_spdif_rate()
221 case 32000: sbits |= IEC958_AES0_PRO_FS_32000; break; in set_spdif_rate()
224 sbits &= ~(IEC958_AES3_CON_FS << 24); in set_spdif_rate()
226 case 44100: sbits |= IEC958_AES3_CON_FS_44100<<24; break; in set_spdif_rate()
227 case 48000: sbits |= IEC958_AES3_CON_FS_48000<<24; break; in set_spdif_rate()
[all …]
/linux-2.6.39/sound/pci/hda/
Dhda_codec.c2505 static unsigned short convert_from_spdif_status(unsigned int sbits) in convert_from_spdif_status() argument
2509 if (sbits & IEC958_AES0_PROFESSIONAL) in convert_from_spdif_status()
2511 if (sbits & IEC958_AES0_NONAUDIO) in convert_from_spdif_status()
2513 if (sbits & IEC958_AES0_PROFESSIONAL) { in convert_from_spdif_status()
2514 if ((sbits & IEC958_AES0_PRO_EMPHASIS) == in convert_from_spdif_status()
2518 if ((sbits & IEC958_AES0_CON_EMPHASIS) == in convert_from_spdif_status()
2521 if (!(sbits & IEC958_AES0_CON_NOT_COPYRIGHT)) in convert_from_spdif_status()
2523 if (sbits & (IEC958_AES1_CON_ORIGINAL << 8)) in convert_from_spdif_status()
2525 val |= sbits & (IEC958_AES1_CON_CATEGORY << 8); in convert_from_spdif_status()
2534 unsigned int sbits = 0; in convert_to_spdif_status() local
[all …]
Dhda_intel.c1718 int rstart = 0, start, nsync = 0, sbits = 0; in azx_pcm_trigger() local
1741 sbits |= 1 << azx_dev->index; in azx_pcm_trigger()
1749 azx_writel(chip, SYNC, azx_readl(chip, SYNC) | sbits); in azx_pcm_trigger()
1805 azx_writel(chip, SYNC, azx_readl(chip, SYNC) & ~sbits); in azx_pcm_trigger()
/linux-2.6.39/drivers/mfd/
Dda903x.c239 int da903x_query_status(struct device *dev, unsigned int sbits) in da903x_query_status() argument
245 return ((status & sbits) == sbits); in da903x_query_status()
/linux-2.6.39/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c500 int bits, sbits; in cpm_uart_set_termios() local
541 sbits = bits - 5; in cpm_uart_set_termios()
626 out_be16(&sccp->scc_psmr, (sbits << 12) | scval); in cpm_uart_set_termios()
/linux-2.6.39/drivers/tty/serial/
D68360serial.c860 int i, bits, sbits, idx; in change_speed() local
889 sbits = bits - 5; in change_speed()
974 sccp->scc_psmr = (sbits << 12) | scval; in change_speed()