Lines Matching refs:delay
283 static void hif_rtpm_init(struct device *dev, int delay) in hif_rtpm_init() argument
285 pm_runtime_set_autosuspend_delay(dev, delay); in hif_rtpm_init()
462 gp_hif_rtpm_ctx->delay = gp_hif_rtpm_ctx->cfg_delay; in hif_rtpm_start()
548 QDF_STATUS hif_rtpm_set_autosuspend_delay(int delay) in hif_rtpm_set_autosuspend_delay() argument
550 if (delay < HIF_RTPM_DELAY_MIN || delay > HIF_RTPM_DELAY_MAX) { in hif_rtpm_set_autosuspend_delay()
551 hif_err("Invalid delay value %d ms", delay); in hif_rtpm_set_autosuspend_delay()
555 __hif_rtpm_set_autosuspend_delay(gp_hif_rtpm_ctx->dev, delay); in hif_rtpm_set_autosuspend_delay()
556 gp_hif_rtpm_ctx->delay = delay; in hif_rtpm_set_autosuspend_delay()
557 hif_info_high("RTPM delay set: %d ms", delay); in hif_rtpm_set_autosuspend_delay()
564 if (gp_hif_rtpm_ctx->delay == gp_hif_rtpm_ctx->cfg_delay) { in hif_rtpm_restore_autosuspend_delay()
566 gp_hif_rtpm_ctx->delay); in hif_rtpm_restore_autosuspend_delay()
572 gp_hif_rtpm_ctx->delay = gp_hif_rtpm_ctx->cfg_delay; in hif_rtpm_restore_autosuspend_delay()
573 hif_info_rl("RTPM delay set: %d ms", gp_hif_rtpm_ctx->delay); in hif_rtpm_restore_autosuspend_delay()
580 return gp_hif_rtpm_ctx->delay; in hif_rtpm_get_autosuspend_delay()