Symbol: LINEAR_RANGE
drivers/leds/rgb/leds-mt6370-rgb.c
202
[R_LED123_CURR] = LINEAR_RANGE(4000, 1, 6, 4000),
drivers/leds/rgb/leds-mt6370-rgb.c
203
[R_LED4_CURR] = LINEAR_RANGE(2000, 1, 3, 2000),
drivers/leds/rgb/leds-mt6370-rgb.c
204
[R_LED_TRFON] = LINEAR_RANGE(125, 0, 15, 200),
drivers/leds/rgb/leds-mt6370-rgb.c
205
[R_LED_TOFF] = LINEAR_RANGE(250, 0, 15, 400),
drivers/leds/rgb/leds-mt6370-rgb.c
209
[R_LED123_CURR] = LINEAR_RANGE(2000, 1, 14, 2000),
drivers/leds/rgb/leds-mt6370-rgb.c
210
[R_LED4_CURR] = LINEAR_RANGE(2000, 1, 14, 2000),
drivers/leds/rgb/leds-mt6370-rgb.c
211
[R_LED_TRFON] = LINEAR_RANGE(125, 0, 15, 250),
drivers/leds/rgb/leds-mt6370-rgb.c
212
[R_LED_TOFF] = LINEAR_RANGE(250, 0, 15, 500),
drivers/power/supply/bd99954-charger.c
763
LINEAR_RANGE(0, 0x0, 0x1ff, 32000),
drivers/power/supply/bd99954-charger.c
768
LINEAR_RANGE(0, 0x0, 0x10, 64000),
drivers/power/supply/bd99954-charger.c
769
LINEAR_RANGE(1024000, 0x11, 0x1f, 0),
drivers/power/supply/bd99954-charger.c
777
LINEAR_RANGE(2560000, 0, 0xA0, 0),
drivers/power/supply/bd99954-charger.c
778
LINEAR_RANGE(2560000, 0xA0, 0x4B0, 16000),
drivers/power/supply/bd99954-charger.c
779
LINEAR_RANGE(19200000, 0x4B0, 0x7FF, 0),
drivers/power/supply/bd99954-charger.c
784
LINEAR_RANGE(2560000, 0, 0x28, 0),
drivers/power/supply/bd99954-charger.c
785
LINEAR_RANGE(2560000, 0x28, 0x12C, 64000),
drivers/power/supply/bd99954-charger.c
786
LINEAR_RANGE(19200000, 0x12C, 0x1FF, 0),
drivers/power/supply/bd99954-charger.c
791
LINEAR_RANGE(2048000, 0, 0x20, 0),
drivers/power/supply/bd99954-charger.c
792
LINEAR_RANGE(2048000, 0x20, 0x12C, 64000),
drivers/power/supply/bd99954-charger.c
793
LINEAR_RANGE(19200000, 0x12C, 0x1FF, 0),
drivers/power/supply/bd99954-charger.c
798
LINEAR_RANGE(0, 0, 0xFF, 64000),
drivers/power/supply/rt9471.c
195
[RT9471_RANGE_AICR] = LINEAR_RANGE(50000, 1, 63, 50000),
drivers/power/supply/rt9471.c
196
[RT9471_RANGE_MIVR] = LINEAR_RANGE(3900000, 0, 15, 100000),
drivers/power/supply/rt9471.c
197
[RT9471_RANGE_IPRE] = LINEAR_RANGE(50000, 0, 15, 50000),
drivers/power/supply/rt9471.c
198
[RT9471_RANGE_VCHG] = LINEAR_RANGE(3900000, 0, 80, 10000),
drivers/power/supply/rt9471.c
199
[RT9471_RANGE_ICHG] = LINEAR_RANGE(0, 0, 63, 50000),
drivers/power/supply/rt9471.c
200
[RT9471_RANGE_IEOC] = LINEAR_RANGE(50000, 0, 15, 50000),
drivers/regulator/tps6287x-regulator.c
44
LINEAR_RANGE(400000, 0, 0xFF, 1250),
drivers/regulator/tps6287x-regulator.c
45
LINEAR_RANGE(400000, 0, 0xFF, 2500),
drivers/regulator/tps6287x-regulator.c
46
LINEAR_RANGE(400000, 0, 0xFF, 5000),
drivers/regulator/tps6287x-regulator.c
47
LINEAR_RANGE(800000, 0, 0xFF, 10000),
include/linux/linear_range.h
38
[_idx] = LINEAR_RANGE(_min, _min_sel, _max_sel, _step)
include/linux/regulator/driver.h
54
LINEAR_RANGE(_min_uV, _min_sel, _max_sel, _step_uV)
include/linux/regulator/driver.h
58
LINEAR_RANGE(_min_uV, ((_min_uV) - (_offs_uV)) / (_step_uV), \
lib/tests/test_linear_ranges.c
110
LINEAR_RANGE(RANGE1_MIN, RANGE1_MIN_SEL, RANGE1_MAX_SEL, RANGE1_STEP),
lib/tests/test_linear_ranges.c
111
LINEAR_RANGE(RANGE2_MIN, RANGE2_MIN_SEL, RANGE2_MAX_SEL, RANGE2_STEP),