Searched refs:totalMS (Results 1 – 2 of 2) sorted by relevance
159 int totalMS = onMS + offMS; in set_speaker_light_locked() local163 freq = totalMS / 50; in set_speaker_light_locked()167 pwm = (onMS * 255) / totalMS; in set_speaker_light_locked()
250 int totalMS = onMS + offMS; in set_speaker_light_locked() local254 freq = totalMS / 50; in set_speaker_light_locked()258 pwm = (onMS * 255) / totalMS; in set_speaker_light_locked()