Lines Matching defs:bits
718 /* up to bits 10, 384kHZ isn't supported properly */
751 * snd_hdac_stream_format_bits - obtain bits per sample value.
754 * @maxbits: the maximum bits per sample.
756 * Return: The number of bits per sample.
762 unsigned int bits;
770 bits = snd_pcm_hw_params_bits(¶ms);
772 return min(bits, maxbits);
773 return bits;
780 * @bits: bits per sample.
785 unsigned int snd_hdac_stream_format(unsigned int channels, unsigned int bits, unsigned int rate)
804 switch (bits) {
831 * @bits: bits per sample.
833 * @spdif_ctls: HD-audio SPDIF status bits (0 if irrelevant).
837 unsigned int snd_hdac_spdif_stream_format(unsigned int channels, unsigned int bits,
840 unsigned int val = snd_hdac_stream_format(channels, bits, rate);