Home
last modified time | relevance | path

Searched refs:bits_per_sample (Results 1 - 25 of 56) sorted by relevance

123

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
H A Dq6asm.h57 u32 bits_per_sample; member
86 u16 bits_per_sample; member
103 uint16_t bits_per_sample, bool is_gapless);
106 uint32_t format, uint16_t bits_per_sample);
110 uint16_t bits_per_sample);
118 uint16_t bits_per_sample);
H A Dq6asm.c93 u16 bits_per_sample; member
121 u16 bits_per_sample; member
134 u16 bits_per_sample; member
165 u16 bits_per_sample; member
185 uint16_t bits_per_sample; member
211 u16 bits_per_sample; member
229 uint16_t bits_per_sample; member
921 * @bits_per_sample: bits per sample
928 uint16_t bits_per_sample, bool is_gapless) in q6asm_open_write()
953 open->bits_per_sample in q6asm_open_write()
926 q6asm_open_write(struct audio_client *ac, uint32_t stream_id, uint32_t format, u32 codec_profile, uint16_t bits_per_sample, bool is_gapless) q6asm_open_write() argument
1091 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
1396 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
1500 __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) __q6asm_open_read() argument
1553 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.c64 uint16_t bits_per_sample; member
263 0, prtd->bits_per_sample, false); in q6asm_dai_prepare()
267 prtd->bits_per_sample); in q6asm_dai_prepare()
287 prtd->bits_per_sample); in q6asm_dai_prepare()
293 prtd->bits_per_sample); in q6asm_dai_prepare()
504 prtd->bits_per_sample = 16; in q6asm_dai_hw_params()
507 prtd->bits_per_sample = 24; in q6asm_dai_hw_params()
765 wma_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
826 alac_cfg.bit_depth = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
[all...]
H A Dq6routing.c328 int bits_per_sample; member
379 session->bits_per_sample = pdata->bits_per_sample; in q6routing_stream_open()
386 session->bits_per_sample, 0, 0); in q6routing_stream_open()
1058 session->bits_per_sample = 16; in routing_hw_params()
1061 session->bits_per_sample = 24; in routing_hw_params()
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
H A Dq6asm.h57 u32 bits_per_sample; member
86 u16 bits_per_sample; member
103 uint16_t bits_per_sample, bool is_gapless);
106 uint32_t format, uint16_t bits_per_sample);
110 uint16_t bits_per_sample);
118 uint16_t bits_per_sample);
H A Dq6asm.c93 u16 bits_per_sample; member
121 u16 bits_per_sample; member
134 u16 bits_per_sample; member
165 u16 bits_per_sample; member
185 uint16_t bits_per_sample; member
211 u16 bits_per_sample; member
229 uint16_t bits_per_sample; member
921 * @bits_per_sample: bits per sample
928 uint16_t bits_per_sample, bool is_gapless) in q6asm_open_write()
953 open->bits_per_sample in q6asm_open_write()
926 q6asm_open_write(struct audio_client *ac, uint32_t stream_id, uint32_t format, u32 codec_profile, uint16_t bits_per_sample, bool is_gapless) q6asm_open_write() argument
1091 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
1396 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
1500 __q6asm_open_read(struct audio_client *ac, uint32_t stream_id, uint32_t format, uint16_t bits_per_sample) __q6asm_open_read() argument
1553 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.c64 uint16_t bits_per_sample; member
263 0, prtd->bits_per_sample, false); in q6asm_dai_prepare()
267 prtd->bits_per_sample); in q6asm_dai_prepare()
287 prtd->bits_per_sample); in q6asm_dai_prepare()
293 prtd->bits_per_sample); in q6asm_dai_prepare()
490 prtd->bits_per_sample = 16; in q6asm_dai_hw_params()
493 prtd->bits_per_sample = 24; in q6asm_dai_hw_params()
751 wma_cfg.bits_per_sample = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
812 alac_cfg.bit_depth = prtd->bits_per_sample; in __q6asm_dai_compr_set_codec_params()
[all...]
H A Dq6apm-dai.c72 uint16_t bits_per_sample; member
244 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_prepare()
458 prtd->bits_per_sample = 16; in q6apm_dai_hw_params()
461 prtd->bits_per_sample = 24; in q6apm_dai_hw_params()
656 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()
700 cfg.bit_width = prtd->bits_per_sample; in q6apm_dai_compr_set_params()
H A Dq6routing.c332 int bits_per_sample; member
389 session->bits_per_sample = pdata->bits_per_sample; in q6routing_stream_open()
396 session->bits_per_sample, 0, 0); in q6routing_stream_open()
1075 session->bits_per_sample = 16; in routing_hw_params()
1078 session->bits_per_sample = 24; in routing_hw_params()
H A Daudioreach.h136 uint16_t bits_per_sample; member
547 uint32_t bits_per_sample; member
580 uint16_t bits_per_sample; member
756 u16 bits_per_sample; member
/kernel/linux/linux-5.10/drivers/media/platform/
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...]
/kernel/linux/linux-6.6/drivers/media/platform/intel/
H A Dpxa_camera.c233 * @bits_per_sample: How many bits the bridge has to sample
241 u8 bits_per_sample; member
260 .bits_per_sample = 8,
270 .bits_per_sample = 8,
280 .bits_per_sample = 8,
290 .bits_per_sample = 8,
300 .bits_per_sample = 8,
310 .bits_per_sample = 8,
320 .bits_per_sample = 8,
330 .bits_per_sample
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dr600_hdmi.c72 status.bits_per_sample = 8; in r600_audio_status()
75 status.bits_per_sample = 16; in r600_audio_status()
78 status.bits_per_sample = 20; in r600_audio_status()
81 status.bits_per_sample = 24; in r600_audio_status()
84 status.bits_per_sample = 32; in r600_audio_status()
89 status.bits_per_sample = 16; in r600_audio_status()
125 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi()
430 audio.channels, audio.rate, audio.bits_per_sample); in r600_hdmi_update_audio_settings()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-nhlt.c30 wfmt->bits_per_sample, wfmt->samples_per_sec); in skl_get_specific_cfg()
31 if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { in skl_get_specific_cfg()
57 dev_dbg(dev, "bits_per_sample=%d\n", bps); in dump_config()
224 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks()
243 (bps == wav_fmt->fmt.bits_per_sample)) { in skl_get_ssp_clks()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg-format.h25 u32 bits_per_sample; /* Bits per sample */ member
/kernel/linux/linux-6.6/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-msg-format.h27 u32 bits_per_sample; /* Bits per sample */ member
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-nhlt.c122 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks()
141 (bps == wav_fmt->fmt.bits_per_sample)) { in skl_get_ssp_clks()
/kernel/linux/linux-5.10/include/sound/
H A Dintel-nhlt.h21 u16 bits_per_sample; member
/kernel/linux/linux-6.6/include/sound/
H A Dintel-nhlt.h34 u16 bits_per_sample; member
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_stream.c28 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl() local
37 value = (channels * bits_per_sample * in snd_hdac_get_stream_stripe_ctl()
40 value = (channels * bits_per_sample) / sdo_line; in snd_hdac_get_stream_stripe_ctl()
/kernel/linux/linux-5.10/sound/soc/xilinx/
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()
/kernel/linux/linux-5.10/drivers/staging/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()
/kernel/linux/linux-6.6/drivers/comedi/
H A Ddrivers.c419 unsigned int bits_per_sample; in comedi_bytes_per_scan_cmd() local
425 bits_per_sample = 8 * comedi_bytes_per_sample(s); in comedi_bytes_per_scan_cmd()
426 num_samples = DIV_ROUND_UP(cmd->scan_end_arg, bits_per_sample); in comedi_bytes_per_scan_cmd()

Completed in 28 milliseconds

123