Home
last modified time | relevance | path

Searched refs:snd_pcm_format_width (Results 1 – 25 of 77) sorted by relevance

1234

/linux/sound/soc/
H A Dsoc-utils.c55 sample_size = snd_pcm_format_width(params_format(params)); in snd_soc_params_to_frame_size()
119 tdm_width = snd_pcm_format_width(params_format(params)); in snd_soc_tdm_params_to_bclk()
/linux/sound/core/oss/
H A Dlinear.c121 src_bytes = snd_pcm_format_width(src_format) / 8; in init_data()
122 dst_bytes = snd_pcm_format_width(dst_format) / 8; in init_data()
H A Dmulaw.c296 snd_pcm_format_width(format) / 8; in init_data()
/linux/include/sound/
H A Dsdw.h39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config()
/linux/sound/soc/codecs/
H A Dmax98520.c176 switch (snd_pcm_format_width(params_format(params))) { in max98520_dai_hw_params()
192 max98520->ch_size = snd_pcm_format_width(params_format(params)); in max98520_dai_hw_params()
249 snd_pcm_format_width(params_format(params)), params_rate(params)); in max98520_dai_hw_params()
H A Dmax98373-i2c.c223 switch (snd_pcm_format_width(params_format(params))) { in max98373_dai_hw_params()
239 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_dai_hw_params()
H A Drt1017-sdca-sdw.c608 stream_config.bps = snd_pcm_format_width(params_format(params)); in rt1017_sdca_pcm_hw_params()
615 params_rate(params), num_channels, snd_pcm_format_width(params_format(params)), in rt1017_sdca_pcm_hw_params()
H A Dmax98388.c567 switch (snd_pcm_format_width(params_format(params))) { in max98388_dai_hw_params()
583 max98388->ch_size = snd_pcm_format_width(params_format(params)); in max98388_dai_hw_params()
H A Dmax98373-sdw.c565 switch (snd_pcm_format_width(params_format(params))) { in max98373_sdw_dai_hw_params()
581 max98373->ch_size = snd_pcm_format_width(params_format(params)); in max98373_sdw_dai_hw_params()
H A Dmax98927.c306 switch (snd_pcm_format_width(params_format(params))) { in max98927_dai_hw_params()
322 max98927->ch_size = snd_pcm_format_width(params_format(params)); in max98927_dai_hw_params()
/linux/sound/core/
H A Dpcm_iec958.c137 snd_pcm_format_width(runtime->format), in snd_pcm_fill_iec958_consumer()
H A Dpcm_misc.c350 int snd_pcm_format_width(snd_pcm_format_t format) in snd_pcm_format_width() function
360 EXPORT_SYMBOL(snd_pcm_format_width);
/linux/sound/soc/qcom/
H A Dstorm.c29 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
H A Dlpass-hdmi.c37 bitwidth = snd_pcm_format_width(format); in lpass_hdmi_daiops_hw_params()
/linux/sound/soc/tegra/
H A Dtegra_isomgr_bw.c49 sample_bytes = snd_pcm_format_width(runtime->format) / 8; in tegra_isomgr_adma_setbw()
/linux/sound/isa/es1688/
H A Des1688_lib.c356 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
368 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_playback_prepare()
418 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
428 if (snd_pcm_format_width(runtime->format) == 8) { in snd_es1688_capture_prepare()
/linux/sound/isa/gus/
H A Dgus_pcm.c74 if (snd_pcm_format_width(runtime->format) == 16) in snd_gf1_pcm_block_change()
110 voice_ctrl = snd_pcm_format_width(runtime->format) == 16 ? 0x24 : 0x20; in snd_gf1_pcm_trigger_up()
121 end -= snd_pcm_format_width(runtime->format) == 16 ? 2 : 1; in snd_gf1_pcm_trigger_up()
350 w16 = (snd_pcm_format_width(runtime->format) == 16); in playback_copy_ack()
/linux/sound/ppc/
H A Dsnd_ps3.c448 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
474 switch (snd_pcm_format_width(substream->runtime->format)) { in snd_ps3_set_avsetting()
483 snd_pcm_format_width(substream->runtime->format)); in snd_ps3_set_avsetting()
/linux/sound/soc/renesas/rcar/
H A Dssi.c420 width = snd_pcm_format_width(runtime->format); in rsnd_ssi_config_init()
539 unsigned int fmt_width = snd_pcm_format_width(params_format(params)); in rsnd_ssi_hw_params()
885 if (snd_pcm_format_width(runtime->format) == 24) in rsnd_ssi_pio_interrupt()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-adda.c189 int bit_width = snd_pcm_format_width(substream->runtime->format); in mt8365_dai_int_adda_prepare()
/linux/sound/isa/msnd/
H A Dmsnd.c491 chip->play_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_playback_hw_params()
638 chip->capture_sample_size = snd_pcm_format_width(params_format(params)); in snd_msnd_capture_hw_params()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-pcm.c229 snd_pcm_format_width(format); in mtk_dai_pcm_hw_params()
/linux/sound/pci/
H A Dsis7019.c510 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_playback_prepare()
766 if (snd_pcm_format_width(runtime->format) == 8) in sis_prepare_timing_voice()
808 if (snd_pcm_format_width(runtime->format) == 8) in sis_pcm_capture_prepare()
/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c214 snd_pcm_format_width(runtime->format)); in snd_bcm2835_pcm_prepare()
/linux/sound/isa/
H A Des18xx.c438 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_playback_hw_params()
472 (snd_pcm_format_width(runtime->format) == 16 ? 0x01 : 0x00) | in snd_es18xx_playback1_prepare()
546 if (snd_pcm_format_width(params_format(hw_params)) == 16) in snd_es18xx_capture_hw_params()
580 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_capture_prepare()
644 (snd_pcm_format_width(runtime->format) == 16 ? 0x04 : 0x00) | in snd_es18xx_playback2_prepare()

1234