Searched refs:colorRGB (Results 1 – 2 of 2) sorted by relevance
216 unsigned int colorRGB; in set_speaker_light_locked() local234 colorRGB = state->color; in set_speaker_light_locked()238 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()241 red = ((colorRGB >> 16) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()242 green = ((colorRGB >> 8) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()243 blue = (colorRGB & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()
215 unsigned int colorRGB; in set_speaker_light_locked() local233 colorRGB = state->color; in set_speaker_light_locked()237 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()240 red = ((colorRGB >> 16) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()241 green = ((colorRGB >> 8) & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()242 blue = (colorRGB & 0xFF) * rgb_brightness_ratio / 255; in set_speaker_light_locked()