Home
last modified time | relevance | path

Searched refs:onMS (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/display/msm8960/liblight/
Dlights.c148 int onMS, offMS; in set_speaker_light_locked() local
153 onMS = state->flashOnMS; in set_speaker_light_locked()
158 onMS = 0; in set_speaker_light_locked()
167 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
170 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
171 int totalMS = onMS + offMS; in set_speaker_light_locked()
179 pwm = (onMS * 255) / totalMS; in set_speaker_light_locked()
/hardware/qcom/display/msm8996/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
144 onMS = state->flashOnMS; in set_speaker_light_locked()
149 onMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
172 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8998/liblight/
Dlights.c172 int onMS, offMS; in set_speaker_light_locked() local
181 onMS = state->flashOnMS; in set_speaker_light_locked()
186 onMS = 0; in set_speaker_light_locked()
195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
202 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
209 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/sdm845/display/liblight/
Dlights.c250 int onMS, offMS; in set_speaker_light_locked() local
259 onMS = state->flashOnMS; in set_speaker_light_locked()
264 onMS = 0; in set_speaker_light_locked()
273 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
280 write_double_int(RED_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
282 write_double_int(GREEN_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
284 write_double_int(BLUE_ON_OFF_MS_FILE, onMS, offMS); in set_speaker_light_locked()
/hardware/qcom/display/msm8084/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
143 onMS = state->flashOnMS; in set_speaker_light_locked()
148 onMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8909/liblight/
Dlights.c172 int onMS, offMS; in set_speaker_light_locked() local
181 onMS = state->flashOnMS; in set_speaker_light_locked()
186 onMS = 0; in set_speaker_light_locked()
195 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
202 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
209 if (onMS == offMS) in set_speaker_light_locked()
/hardware/qcom/display/msm8994/liblight/
Dlights.c135 int onMS, offMS; in set_speaker_light_locked() local
144 onMS = state->flashOnMS; in set_speaker_light_locked()
149 onMS = 0; in set_speaker_light_locked()
158 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
165 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8226/liblight/
Dlights.c134 int onMS, offMS; in set_speaker_light_locked() local
143 onMS = state->flashOnMS; in set_speaker_light_locked()
148 onMS = 0; in set_speaker_light_locked()
157 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
164 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
/hardware/qcom/display/msm8909w_3100/liblight/
Dlights.c196 int onMS, offMS; in set_speaker_light_locked() local
205 onMS = state->flashOnMS; in set_speaker_light_locked()
210 onMS = 0; in set_speaker_light_locked()
219 state->flashMode, colorRGB, onMS, offMS); in set_speaker_light_locked()
226 if (onMS > 0 && offMS > 0) { in set_speaker_light_locked()
233 if (onMS == offMS) in set_speaker_light_locked()