Home
last modified time | relevance | path

Searched refs:bits_per_sample (Results 1 – 25 of 27) sorted by relevance

12

/linux/sound/soc/xilinx/
H A Dxlnx_i2s.c60 unsigned int bits_per_sample; in xlnx_i2s_set_sysclk() local
63 bits_per_sample = 32; in xlnx_i2s_set_sysclk()
65 bits_per_sample = drv_data->data_width; in xlnx_i2s_set_sysclk()
67 drv_data->ratnum.num = freq / (bits_per_sample * drv_data->channels) / 2; in xlnx_i2s_set_sysclk()
98 unsigned int bits_per_sample, sclk, sclk_div; in xlnx_i2s_hw_params() local
101 bits_per_sample = 32; in xlnx_i2s_hw_params()
103 bits_per_sample = drv_data->data_width; in xlnx_i2s_hw_params()
105 sclk = params_rate(params) * bits_per_sample * params_channels(params); in xlnx_i2s_hw_params()
H A Dxlnx_formatter_pcm.c458 u32 low, high, active_ch, val, bytes_per_ch, bits_per_sample; in xlnx_formatter_pcm_hw_params() local
506 bits_per_sample = params_width(params); in xlnx_formatter_pcm_hw_params()
507 switch (bits_per_sample) { in xlnx_formatter_pcm_hw_params()
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h56 u32 bits_per_sample; member
85 u16 bits_per_sample; member
102 uint16_t bits_per_sample, bool is_gapless);
105 uint32_t format, uint16_t bits_per_sample);
109 uint16_t bits_per_sample);
117 uint16_t bits_per_sample);
H A Dq6asm.c94 u16 bits_per_sample; member
122 u16 bits_per_sample; member
135 u16 bits_per_sample; member
166 u16 bits_per_sample; member
186 uint16_t bits_per_sample; member
212 u16 bits_per_sample; member
230 uint16_t bits_per_sample; member
929 uint16_t bits_per_sample, bool is_gapless) in q6asm_open_write() argument
954 open->bits_per_sample = bits_per_sample; in q6asm_open_write()
1096 uint16_t bits_per_sample) in q6asm_media_format_block_multi_ch_pcm() argument
[all …]
H A Dq6asm-dai.c65 uint16_t bits_per_sample; member
258 0, prtd->bits_per_sample, false); in q6asm_dai_prepare()
262 prtd->bits_per_sample); in q6asm_dai_prepare()
282 prtd->bits_per_sample); in q6asm_dai_prepare()
288 prtd->bits_per_sample); in q6asm_dai_prepare()
480 prtd->bits_per_sample = 16; in q6asm_dai_hw_params()
483 prtd->bits_per_sample = 24; in q6asm_dai_hw_params()
741 wma_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
802 alac_cfg.bit_depth = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
836 ape_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
[all …]
H A Dq6apm-dai.c72 uint16_t bits_per_sample; member
240 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_prepare()
455 prtd->bits_per_sample = 16; in q6apm_dai_hw_params()
458 prtd->bits_per_sample = 24; in q6apm_dai_hw_params()
653 prtd->bits_per_sample = 16; in q6apm_dai_compr_set_params()
667 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
699 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
H A Daudioreach.h136 uint16_t bits_per_sample; member
545 uint32_t bits_per_sample; member
578 uint16_t bits_per_sample; member
754 u16 bits_per_sample; member
H A Dq6routing.c333 int bits_per_sample; member
390 session->bits_per_sample = pdata->bits_per_sample; in q6routing_stream_open()
397 session->bits_per_sample, 0, 0); in q6routing_stream_open()
1076 session->bits_per_sample = 16; in routing_hw_params()
1079 session->bits_per_sample = 24; in routing_hw_params()
H A Daudioreach.c873 mp3_cfg->bits_per_sample = mcfg->bit_width; in audioreach_set_compr_media_format()
1094 media_cfg->bits_per_sample = mcfg->bit_width; in audioreach_pcm_set_media_format()
1148 cfg->bits_per_sample = mcfg->bit_width; in audioreach_shmem_set_media_format()
/linux/drivers/gpu/drm/radeon/
H A Dr600_hdmi.c73 status.bits_per_sample = 8; in r600_audio_status()
76 status.bits_per_sample = 16; in r600_audio_status()
79 status.bits_per_sample = 20; in r600_audio_status()
82 status.bits_per_sample = 24; in r600_audio_status()
85 status.bits_per_sample = 32; in r600_audio_status()
90 status.bits_per_sample = 16; in r600_audio_status()
126 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi()
431 audio.channels, audio.rate, audio.bits_per_sample); in r600_hdmi_update_audio_settings()
H A Dradeon.h1744 int bits_per_sample; member
/linux/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg-format.h27 u32 bits_per_sample; /* Bits per sample */ member
/linux/drivers/comedi/
H A Ddrivers.c420 unsigned int bits_per_sample; in comedi_bytes_per_scan_cmd() local
426 bits_per_sample = 8 * comedi_bytes_per_sample(s); in comedi_bytes_per_scan_cmd()
427 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd()
/linux/include/sound/
H A Dintel-nhlt.h34 u16 bits_per_sample; member
/linux/drivers/acpi/
H A Dnhlt.c151 wav->bits_per_sample == bps && in acpi_nhlt_endpoint_find_fmtcfg()
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c790 switch (format->bits_per_sample) { in set_audio_format()
815 format->bits_per_sample == 32 && !format->mono_to_stereo) { in set_audio_format()
820 switch (format->bits_per_sample) { in set_audio_format()
H A Dechoaudio.h329 u8 bits_per_sample; /* 8, 16, 24, 32 (24 bits left aligned) */ member
H A Dechoaudio.c694 format.bits_per_sample = 8; in pcm_prepare()
697 format.bits_per_sample = 16; in pcm_prepare()
700 format.bits_per_sample = 24; in pcm_prepare()
706 format.bits_per_sample = 32; in pcm_prepare()
/linux/drivers/media/i2c/
H A Dov5648.c1698 unsigned int bits_per_sample; in ov5648_state_mipi_configure() local
1735 bits_per_sample = 8; in ov5648_state_mipi_configure()
1738 bits_per_sample = 10; in ov5648_state_mipi_configure()
1745 mipi_pixel_rate = mipi_clk_rate * 2 * lanes_count / bits_per_sample; in ov5648_state_mipi_configure()
H A Dov8865.c2247 unsigned int bits_per_sample; in ov8865_state_mipi_configure() local
2284 bits_per_sample = 10; in ov8865_state_mipi_configure()
2291 mipi_pixel_rate = mipi_clk_rate * 2 * lanes_count / bits_per_sample; in ov8865_state_mipi_configure()
/linux/sound/hda/
H A Dintel-nhlt.c252 _bps = wfmt->bits_per_sample; in nhlt_get_specific_cfg()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mode.h248 int bits_per_sample; member
H A Ddce_v6_0.c1383 adev->mode_info.audio.pin[i].bits_per_sample = -1; in dce_v6_0_audio_init()
H A Ddce_v8_0.c1430 adev->mode_info.audio.pin[i].bits_per_sample = -1; in dce_v8_0_audio_init()
/linux/include/acpi/
H A Dactbl2.h2142 u16 bits_per_sample; member

12