Lines Matching +full:input +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2011 ST-Ericsson SA.
9 * based on leds-lm3530.c by Dan Murphy <D.Murphy@motorola.com>
66 /* ALS input select */
68 LM3530_INPUT_AVRG = 0, /* ALS1 and ALS2 input average */
69 LM3530_INPUT_ALS1, /* ALS1 Input */
70 LM3530_INPUT_ALS2, /* ALS2 Input */
82 * @mode: mode of operation i.e. Manual, ALS or PWM
83 * @als_input_mode: select source of ALS input - ALS1/2 or average
85 * @pwm_pol_hi: PWM input polarity - active high/active low
86 * @als_avrg_time: ALS input averaging time
87 * @brt_ramp_law: brightness mapping mode - exponential/linear
90 * @als1_resistor_sel: internal resistance from ALS1 input to ground
91 * @als2_resistor_sel: internal resistance from ALS2 input to ground
92 * @als_vmin: als input voltage calibrated for max brightness in mV
93 * @als_vmax: als input voltage calibrated for min brightness in mV
94 * @brt_val: brightness value (0-127)
95 * @pwm_data: PWM control functions (only valid when the mode is PWM)
98 enum lm3530_mode mode; member