Lines Matching refs:latency
834 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()
951 int latency; in omap_mcbsp_dai_hw_params() local
984 latency = (buffer_size - pkt_size) / channels; in omap_mcbsp_dai_hw_params()
985 latency = latency * USEC_PER_SEC / in omap_mcbsp_dai_hw_params()
987 mcbsp->latency[substream->stream] = latency; in omap_mcbsp_dai_hw_params()