Home
last modified time | relevance | path

Searched refs:sample_width (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/sound/usb/
Dformat.c48 int sample_width, sample_bytes; in parse_audio_format_i_type() local
55 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
63 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
86 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
88 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
91 sample_width, sample_bytes); in parse_audio_format_i_type()
117 sample_width, sample_bytes); in parse_audio_format_i_type()
/linux-4.1.27/include/uapi/sound/
Dsb16_csp.h79 int sample_width; /* sample width, look above */ member
/linux-4.1.27/include/sound/
Dsb16_csp.h50 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
/linux-4.1.27/sound/isa/sb/
Dsb16_csp.c101 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels);
244 err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); in snd_sb_csp_ioctl()
801 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) in snd_sb_csp_start() argument
816 if (!(sample_width & p->acc_width)) { in snd_sb_csp_start()
839 if (sample_width == SNDRV_SB_CSP_SAMPLE_8BIT) in snd_sb_csp_start()
850 p->run_width = sample_width; in snd_sb_csp_start()
/linux-4.1.27/sound/soc/sh/
Dfsi.c216 int sample_width; /* sample width */ member
537 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init()
565 io->sample_width = 0; in fsi_stream_quit()
1129 switch (io->sample_width) { in fsi_pio_transfer()
1521 switch (io->sample_width) { in fsi_hw_startup()