Lines Matching refs:sleep_time
572 u8 cyapa_sleep_time_to_pwr_cmd(u16 sleep_time) in cyapa_sleep_time_to_pwr_cmd() argument
576 sleep_time = clamp_val(sleep_time, 20, 1000); in cyapa_sleep_time_to_pwr_cmd()
577 encoded_time = sleep_time < 100 ? sleep_time / 10 : sleep_time / 20 + 5; in cyapa_sleep_time_to_pwr_cmd()
744 u16 sleep_time; in cyapa_show_suspend_scanrate() local
753 sleep_time = cyapa->suspend_sleep_time; in cyapa_show_suspend_scanrate()
770 sleep_time); in cyapa_show_suspend_scanrate()
782 u16 sleep_time; in cyapa_update_suspend_scanrate() local
793 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate()
794 cyapa->suspend_sleep_time = min_t(u16, sleep_time, 1000); in cyapa_update_suspend_scanrate()
868 u16 sleep_time; in cyapa_show_rt_suspend_scanrate() local
876 sleep_time = cyapa->runtime_suspend_sleep_time; in cyapa_show_rt_suspend_scanrate()
883 sleep_time); in cyapa_show_rt_suspend_scanrate()