Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 8 of 8) sorted by relevance

/sound/soc/ti/
Domap-mcpdm.c44 int latency[2]; member
283 if (mcpdm->latency[stream2]) in omap_mcpdm_dai_shutdown()
285 mcpdm->latency[stream2]); in omap_mcpdm_dai_shutdown()
286 else if (mcpdm->latency[stream1]) in omap_mcpdm_dai_shutdown()
289 mcpdm->latency[stream1] = 0; in omap_mcpdm_dai_shutdown()
302 int channels, latency; in omap_mcpdm_dai_hw_params() local
346 latency = threshold; in omap_mcpdm_dai_hw_params()
353 latency = (MCPDM_DN_THRES_MAX - threshold); in omap_mcpdm_dai_hw_params()
360 mcpdm->latency[stream] = latency * USEC_PER_SEC / params_rate(params); in omap_mcpdm_dai_hw_params()
362 if (!mcpdm->latency[stream]) in omap_mcpdm_dai_hw_params()
[all …]
Domap-mcbsp.c834 if (mcbsp->latency[stream2]) in omap_mcbsp_dai_shutdown()
836 mcbsp->latency[stream2]); in omap_mcbsp_dai_shutdown()
837 else if (mcbsp->latency[stream1]) in omap_mcbsp_dai_shutdown()
840 mcbsp->latency[stream1] = 0; in omap_mcbsp_dai_shutdown()
856 int latency = mcbsp->latency[stream2]; in omap_mcbsp_dai_prepare() local
859 if (!latency || mcbsp->latency[stream1] < latency) in omap_mcbsp_dai_prepare()
860 latency = mcbsp->latency[stream1]; in omap_mcbsp_dai_prepare()
863 cpu_latency_qos_update_request(pm_qos_req, latency); in omap_mcbsp_dai_prepare()
864 else if (latency) in omap_mcbsp_dai_prepare()
865 cpu_latency_qos_add_request(pm_qos_req, latency); in omap_mcbsp_dai_prepare()
[all …]
Domap-dmic.c38 int latency; member
221 dmic->latency = (OMAP_DMIC_THRES_MAX - dmic->threshold) * USEC_PER_SEC / in omap_dmic_dai_hw_params()
235 dmic->latency); in omap_dmic_dai_prepare()
Domap-mcbsp-priv.h275 unsigned int latency[2]; member
/sound/pci/mixart/
Dmixart_core.h155 u32 latency; member
Dmixart.c270 buf->sgroup_req.latency = 256; in snd_mixart_add_ref_pipe()
/sound/soc/sof/
DKconfig171 latency and therefore should be used for debug purposes only.
/sound/pci/hda/
Dpatch_ca0132.c3928 unsigned int latency = DSP_PLAYBACK_INIT_LATENCY; in ca0132_playback_pcm_delay() local
3938 latency += DSP_PLAY_ENHANCEMENT_LATENCY; in ca0132_playback_pcm_delay()
3943 latency += DSP_SPEAKER_OUT_LATENCY; in ca0132_playback_pcm_delay()
3945 return (latency * runtime->rate) / 1000; in ca0132_playback_pcm_delay()
4019 unsigned int latency = DSP_CAPTURE_INIT_LATENCY; in ca0132_capture_pcm_delay() local
4026 latency += DSP_CRYSTAL_VOICE_LATENCY; in ca0132_capture_pcm_delay()
4028 return (latency * runtime->rate) / 1000; in ca0132_capture_pcm_delay()