Home
last modified time | relevance | path

Searched refs:bits_per_sample (Results 1 – 25 of 28) 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
922 * @bits_per_sample: bits per sample
929 uint16_t bits_per_sample, bool is_gapless) in q6asm_open_write() argument
954 open->bits_per_sample in q6asm_open_write()
1096 q6asm_media_format_block_multi_ch_pcm(struct audio_client * ac,uint32_t stream_id,uint32_t rate,uint32_t channels,u8 channel_map[PCM_MAX_NUM_CHANNEL],uint16_t bits_per_sample) q6asm_media_format_block_multi_ch_pcm() argument
1400 q6asm_enc_cfg_blk_pcm_format_support(struct audio_client * ac,uint32_t stream_id,uint32_t rate,uint32_t channels,uint16_t bits_per_sample) q6asm_enc_cfg_blk_pcm_format_support() argument
1502 __q6asm_open_read(struct audio_client * ac,uint32_t stream_id,uint32_t format,uint16_t bits_per_sample) __q6asm_open_read() argument
1555 q6asm_open_read(struct audio_client * ac,uint32_t stream_id,uint32_t format,uint16_t bits_per_sample) q6asm_open_read() 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()
[all...]
H A Dq6apm-dai.c71 uint16_t bits_per_sample; member
231 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_prepare()
460 prtd->bits_per_sample = 16; in q6apm_dai_hw_params()
463 prtd->bits_per_sample = 24; in q6apm_dai_hw_params()
658 prtd->bits_per_sample = 16; in q6apm_dai_compr_set_params()
670 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
702 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()
1083 session->bits_per_sample = 16; in routing_hw_params()
1086 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/media/platform/intel/
H A Dpxa_camera.c234 * @bits_per_sample: How many bits the bridge has to sample
242 u8 bits_per_sample; member
261 .bits_per_sample = 8,
271 .bits_per_sample = 8,
281 .bits_per_sample = 8,
291 .bits_per_sample = 8,
301 .bits_per_sample = 8,
311 .bits_per_sample = 8,
321 .bits_per_sample = 8,
331 .bits_per_sample
[all...]
/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()
409 audio.channels, audio.rate, audio.bits_per_sample); in r600_hdmi_update_audio_settings()
H A Dradeon_audio.c271 rdev->audio.pin[i].bits_per_sample = -1; in radeon_audio_init()
H A Dradeon.h1742 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/sound/hda/core/
H A Dstream.c61 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl() local
70 value = (channels * bits_per_sample * in snd_hdac_get_stream_stripe_ctl()
73 value = (channels * bits_per_sample) / sdo_line; in snd_hdac_get_stream_stripe_ctl()
H A Dintel-nhlt.c252 _bps = wfmt->bits_per_sample; in nhlt_get_specific_cfg()
/linux/include/sound/
H A Dintel-nhlt.h34 u16 bits_per_sample; member
/linux/Documentation/driver-api/media/
H A Dtx-rx.rst86 pixel_rate = link_freq * 2 * nr_of_lanes * 16 / k / bits_per_sample
101 * - bits_per_sample
/linux/drivers/acpi/
H A Dnhlt.c151 wav->bits_per_sample == bps && in acpi_nhlt_endpoint_find_fmtcfg()
/linux/drivers/comedi/
H A Ddrivers.c427 unsigned int bits_per_sample; in comedi_bytes_per_scan_cmd() local
433 bits_per_sample = 8 * comedi_bytes_per_sample(s); in comedi_bytes_per_scan_cmd()
434 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd()
/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.c695 format.bits_per_sample = 8; in pcm_prepare()
698 format.bits_per_sample = 16; in pcm_prepare()
701 format.bits_per_sample = 24; in pcm_prepare()
707 format.bits_per_sample = 32; in pcm_prepare()
/linux/drivers/media/i2c/
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/include/acpi/
H A Dactbl2.h2375 u16 bits_per_sample; member

12