Lines Matching refs:iout
244 u32 micro_amp, u32 iout_max[2], u32 iout[2]) in max77693_distribute_currents()
247 iout[fled_id] = micro_amp; in max77693_distribute_currents()
252 iout[FLED1] = min(micro_amp, iout_max[FLED1]); in max77693_distribute_currents()
253 iout[FLED2] = micro_amp - iout[FLED1]; in max77693_distribute_currents()
262 if (iout[FLED2]) in max77693_distribute_currents()
271 u32 iout[2]; in max77693_set_torch_current() local
274 led->iout_torch_max, iout); in max77693_set_torch_current()
277 iout1_reg = max77693_led_iout_to_reg(iout[FLED1]); in max77693_set_torch_current()
281 iout2_reg = max77693_led_iout_to_reg(iout[FLED2]); in max77693_set_torch_current()
298 u32 iout[2]; in max77693_set_flash_current() local
302 led->iout_flash_max, iout); in max77693_set_flash_current()
305 iout1_reg = max77693_led_iout_to_reg(iout[FLED1]); in max77693_set_flash_current()
312 iout2_reg = max77693_led_iout_to_reg(iout[FLED2]); in max77693_set_flash_current()
706 u32 *iout, u32 min, u32 max, u32 step) in max77693_align_iout_current() argument
711 if (iout[FLED1] > min) { in max77693_align_iout_current()
712 iout[FLED1] /= 2; in max77693_align_iout_current()
713 iout[FLED2] = iout[FLED1]; in max77693_align_iout_current()
715 iout[FLED1] = min; in max77693_align_iout_current()
716 iout[FLED2] = 0; in max77693_align_iout_current()
723 clamp_align(&iout[i], min, max, step); in max77693_align_iout_current()
725 iout[i] = 0; in max77693_align_iout_current()