Home
last modified time | relevance | path

Searched full:als (Results 1 – 25 of 65) sorted by relevance

123

/linux/Documentation/devicetree/bindings/leds/
H A Dleds-lm3532.txt31 Optional properties if ALS mode is used:
32 - ti,als-vmin - Minimum ALS voltage defined in Volts
33 - ti,als-vmax - Maximum ALS voltage defined in Volts
34 Per the data sheet the max ALS voltage is 2V and the min is 0V
41 - ti,als-avrg-time-us - Determines the length of time the device needs to
42 average the two ALS inputs. This is only used if
45 - ti,als-input-mode - Determines how the device uses the attached ALS
56 if the LED strings are controlled by the ALS.
59 0x01 - LED strings are ALS controlled
80 ti,als-vmin = <0>;
[all …]
/linux/drivers/leds/
H A Dleds-lm3532.c99 * @config: value of ALS configuration register
102 * @als_avrg_time: ALS averaging time
103 * @als_input_mode: ALS input mode for brightness control
104 * @als_vmin: Minimum ALS voltage
105 * @als_vmax: Maximum ALS voltage
106 * @zone_lo: values of ALS lo ZB(Zone Boundary) registers
107 * @zone_hi: values of ALS hi ZB(Zone Boundary) registers
154 * @als_data: Pointer to the als data struct
449 struct lm3532_als_data *als = priv->als_data; in lm3532_als_configure() local
455 als_vmin = als->als_vmin; in lm3532_als_configure()
[all …]
H A Dleds-lm3530.c54 /* ALS Config Register Options */
65 /* ALS Resistor Select */
91 { "als", LM3530_BL_MODE_ALS },
100 * @mode: mode of operation - manual, ALS, PWM
117 * @config : value of ALS configuration register
118 * @imp_sel : value of ALS resistor select register
119 * @zone : values of ALS ZB(Zone Boundary) registers
156 struct lm3530_als_data *als) in lm3530_als_configure() argument
176 als->zones[i] = (((als_vmin + LM3530_ALS_OFFSET_mV) + in lm3530_als_configure()
179 als->config = in lm3530_als_configure()
[all …]
/linux/include/linux/
H A Dled-lm3530.h24 #define LM3530_ALS_AVRG_TIME_32ms (0) /* ALS Averaging Time */
42 /* ALS Resistor Select */
43 #define LM3530_ALS_IMPD_Z (0x00) /* ALS Impedance */
62 LM3530_BL_MODE_ALS, /* "als" */
66 /* ALS input select */
82 * @mode: mode of operation i.e. Manual, ALS or PWM
83 * @als_input_mode: select source of ALS input - ALS1/2 or average
86 * @als_avrg_time: ALS input averaging time
92 * @als_vmin: als input voltage calibrated for max brightness in mV
93 * @als_vmax: als input voltage calibrated for min brightness in mV
/linux/arch/s390/boot/
H A Dals.c12 static unsigned long als[] = { FACILITIES_ALS }; variable
36 for (i = 0; i < ARRAY_SIZE(als); i++) { in print_missing_facilities()
37 val = ~stfle_fac_list[i] & als[i]; in print_missing_facilities()
77 for (i = 0; i < ARRAY_SIZE(als); i++) { in verify_facilities()
78 if ((stfle_fac_list[i] & als[i]) != als[i]) in verify_facilities()
/linux/include/linux/platform_data/
H A Dtsl2772.h38 * @als_time: Integration time of the ALS channel ADCs in 2.73 ms
43 * @wait_time: Time between proximity and ALS cycles in 2.73
49 * @als_prox_config: The value of the ALS / Proximity configuration
51 * @als_cal_target: Known external ALS reading for calibration.
52 * @als_persistence: H/W Filters, Number of 'out of limits' ALS readings.
53 * @als_interrupt_en: Enable/Disable ALS interrupts
/linux/Documentation/misc-devices/
H A Dbh1770glc.rst21 ALS and proximity parts operates on their own, but they shares common I2C
23 but ALS side results are used to estimate reliability of the proximity sensor.
25 ALS produces 16 bit lux values. The chip contains interrupt logic to produce
30 8 bit. Driver supports only one channel. Driver uses ALS results to estimate
31 reliability of the proximity results. Thus ALS is always running while
H A Dapds990x.rst19 APDS990x is a combined ambient light and proximity sensor. ALS and proximity
20 functionality are highly connected. ALS measurement path must be running
23 ALS produces raw measurement values for two channels: Clear channel
34 ALS contains 4 different gain steps. Driver automatically
/linux/drivers/iio/light/
H A Dgp2ap020a00f.c59 #define GP2AP020A00F_ALS_REG 0x01 /* ALS related settings */
62 #define GP2AP020A00F_TL_L_REG 0x04 /* ALS: Threshold low LSB */
63 #define GP2AP020A00F_TL_H_REG 0x05 /* ALS: Threshold low MSB */
64 #define GP2AP020A00F_TH_L_REG 0x06 /* ALS: Threshold high LSB */
65 #define GP2AP020A00F_TH_H_REG 0x07 /* ALS: Threshold high MSB */
70 #define GP2AP020A00F_D0_L_REG 0x0c /* ALS result: Clear/Illuminance LSB */
71 #define GP2AP020A00F_D0_H_REG 0x0d /* ALS result: Clear/Illuminance MSB */
72 #define GP2AP020A00F_D1_L_REG 0x0e /* ALS result: IR LSB */
73 #define GP2AP020A00F_D1_H_REG 0x0f /* ALS result: IR LSB */
94 #define GP2AP020A00F_FLAG_A 0x02 /* ALS: interrupt result */
[all …]
H A Djsa1212.c92 /* JSA1212 ALS RNG REG bits */
119 bool als_en; /* ALS enable status */
124 /* ALS range idx to val mapping */
128 /* Enables or disables ALS function based on status */
176 dev_err(&data->client->dev, "als data read err\n"); in jsa1212_read_als_data()
405 dev_err(dev, "als resume failed\n"); in jsa1212_resume()
H A Disl76682.c58 u32 als; member
85 /* Need to wait for conversion time if ALS/IR mode enabled */ in isl76682_get()
110 if (chan->type == IIO_LIGHT && val2 != isl76682_range_table[i].als) in isl76682_write_raw()
153 *val2 = isl76682_range_table[i].als; in isl76682_read_raw()
H A Dtsl2772.c301 ALS, enumerator
309 [tsl2571] = ALS,
314 [tsl2572] = ALS,
837 * Obtain and lock both ALS and PROX resources, determine and save device state
1148 /* ALS filter values are 1, 2, 3, 5, 10, 15, ..., 60 */ in tsl2772_write_event_value()
1211 /* ALS filter values are 1, 2, 3, 5, 10, 15, ..., 60 */ in tsl2772_read_event_value()
1457 [ALS] = {
1487 TSL2772_DEVICE_INFO(ALS),
1512 [ALS] = {
1562 .info = &tsl2772_device_info[ALS],
H A Dal3010.c119 * ALS ADC value is stored in two adjacent registers: in al3010_read_raw()
198 return dev_err_probe(dev, ret, "failed to init ALS\n"); in al3010_probe()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-backlight-driver-lm35336 Get the ALS output channel used as input in
7 ALS-current-control mode (0, 1), where:
19 Enable ALS-current-control mode (0, 1).
H A Dsysfs-class-led-driver-lm35336 Set the ALS output channel to use as input in
7 ALS-current-control mode (1, 2), where:
19 Enable ALS-current-control mode (0, 1).
H A Dsysfs-bus-iio-light-lm3533-als52 These values correspond to the ALS-mapper target registers for
53 ALS-mapper Y + 1.
H A Dsysfs-bus-iio-light-tsl27725 Causes an internal calibration of the als gain trim
H A Dsysfs-bus-iio-light-tsl25835 This property causes an internal calibration of the als gain trim
/linux/drivers/misc/
H A Dbh1770glc.c24 #define BH1770_ALS_CONTROL 0x80 /* ALS operation mode control */
30 #define BH1770_ALS_MEAS_RATE 0x86 /* ALS meas. rate at stand alone mode */
33 #define BH1770_ALS_DATA_0 0x8c /* ALS DATA low byte */
34 #define BH1770_ALS_DATA_1 0x8d /* ALS DATA high byte */
43 #define BH1770_ALS_TH_UP_0 0x96 /* ALS upper threshold low byte */
44 #define BH1770_ALS_TH_UP_1 0x97 /* ALS upper threshold high byte */
45 #define BH1770_ALS_TH_LOW_0 0x98 /* ALS lower threshold low byte */
46 #define BH1770_ALS_TH_LOW_1 0x99 /* ALS lower threshold high byte */
397 * ALS is started always since proximity needs als results in bh1770_chip_on()
399 * Let's assume dark until the first ALS measurement is ready. in bh1770_chip_on()
[all …]
H A Dapds9802als.c3 * apds9802als.c - apds9802 ALS Driver
231 dev_info(&client->dev, "ALS chip found\n"); in apds9802als_probe()
307 MODULE_DESCRIPTION("Avago apds9802als ALS Driver");
H A DKconfig335 tristate "Medfield Avago APDS9802 ALS Sensor module"
338 If you say yes here you get support for the ALS APDS9802 ambient
375 tristate "BH1770GLC / SFH7770 combined ALS - Proximity sensor"
385 tristate "APDS990X combined als and proximity sensors"
/linux/Documentation/devicetree/bindings/iio/light/
H A Dliteon,ltr390.yaml7 title: Lite-On LTR390 ALS and UV Sensor
10 The Lite-On LTR390 is an ALS (Ambient Light Sensor) and a UV sensor in a
H A Dcapella,cm3605.yaml18 This ALS and proximity sensor was one of the very first deployed in mobile
29 ASET line (drive low to activate the ALS, should be flagged
/linux/drivers/input/gameport/
H A Dns558.c151 { .id = "@P@0001", .driver_data = 0 }, /* ALS 100 */
152 { .id = "@P@0020", .driver_data = 0 }, /* ALS 200 */
153 { .id = "@P@1001", .driver_data = 0 }, /* ALS 100+ */
154 { .id = "@P@2001", .driver_data = 0 }, /* ALS 120 */
/linux/drivers/mfd/
H A Dlm3533-core.c48 .name = "lm3533-als",
384 if (!pdata->als) in lm3533_device_als_init()
387 lm3533_als_devs[0].platform_data = pdata->als; in lm3533_device_als_init()
388 lm3533_als_devs[0].pdata_size = sizeof(*pdata->als); in lm3533_device_als_init()
393 dev_err(lm3533->dev, "failed to add ALS device\n"); in lm3533_device_als_init()

123