Searched refs:sample_width (Results 1 – 8 of 8) sorted by relevance
/sound/soc/codecs/ |
D | cs4234.c | 349 int ret = 0, rate_ad, sample_width; in cs4234_dai_hw_params() local 395 sample_width = params_width(params); in cs4234_dai_hw_params() 396 switch (sample_width) { in cs4234_dai_hw_params() 398 sample_width = 0; in cs4234_dai_hw_params() 401 sample_width = 1; in cs4234_dai_hw_params() 404 sample_width = 2; in cs4234_dai_hw_params() 407 sample_width = 3; in cs4234_dai_hw_params() 416 sample_width << CS4234_SDOUTX_SW_SHIFT); in cs4234_dai_hw_params() 420 sample_width << CS4234_INPUT_SW_SHIFT | in cs4234_dai_hw_params() 421 sample_width << CS4234_LOW_LAT_SW_SHIFT | in cs4234_dai_hw_params() [all …]
|
D | hdmi-codec.c | 481 unsigned int sample_width, in hdmi_codec_fill_codec_params() argument 507 hp->sample_width = sample_width; in hdmi_codec_fill_codec_params()
|
/sound/usb/ |
D | format.c | 35 int sample_width, sample_bytes; in parse_audio_format_i_type() local 48 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 56 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 71 sample_width = as->bBitResolution; in parse_audio_format_i_type() 82 fp->fmt_bits = sample_width; in parse_audio_format_i_type() 96 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type() 98 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type() 101 sample_width, sample_bytes); in parse_audio_format_i_type() 127 sample_width, sample_bytes); in parse_audio_format_i_type()
|
/sound/core/ |
D | pcm_iec958.c | 48 static int fill_iec958_consumer(uint rate, uint sample_width, in fill_iec958_consumer() argument 91 switch (sample_width) { in fill_iec958_consumer()
|
/sound/isa/sb/ |
D | sb16_csp.c | 87 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels); 232 err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); in snd_sb_csp_ioctl() 789 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) in snd_sb_csp_start() argument 804 if (!(sample_width & p->acc_width)) { in snd_sb_csp_start() 828 if (sample_width == SNDRV_SB_CSP_SAMPLE_8BIT) in snd_sb_csp_start() 839 p->run_width = sample_width; in snd_sb_csp_start()
|
/sound/soc/sh/ |
D | fsi.c | 212 int sample_width; /* sample width */ member 532 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init() 560 io->sample_width = 0; in fsi_stream_quit() 1137 switch (io->sample_width) { in fsi_pio_transfer() 1532 switch (io->sample_width) { in fsi_hw_startup()
|
D | rz-ssi.c | 88 int sample_width; member 217 strm->sample_width = samples_to_bytes(runtime, 1); in rz_ssi_stream_init()
|
/sound/soc/ti/ |
D | davinci-mcasp.c | 792 int sample_width) in davinci_config_channel_size() argument 796 u32 mask = (1ULL << sample_width) - 1; in davinci_config_channel_size() 803 slot_width = sample_width; in davinci_config_channel_size() 818 tx_rotate = (sample_width / 4) & 0x7; in davinci_config_channel_size() 819 rx_rotate = (slot_width - sample_width) / 4; in davinci_config_channel_size() 843 tx_rotate = (sample_width / 4 + 2) & 0x7; in davinci_config_channel_size()
|