Lines Matching refs:latency
44 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()
363 mcpdm->latency[stream] = 10; in omap_mcpdm_dai_hw_params()
383 int latency = mcpdm->latency[stream2]; in omap_mcpdm_prepare() local
386 if (!latency || mcpdm->latency[stream1] < latency) in omap_mcpdm_prepare()
387 latency = mcpdm->latency[stream1]; in omap_mcpdm_prepare()
390 cpu_latency_qos_update_request(pm_qos_req, latency); in omap_mcpdm_prepare()
391 else if (latency) in omap_mcpdm_prepare()
392 cpu_latency_qos_add_request(pm_qos_req, latency); in omap_mcpdm_prepare()