Home
last modified time | relevance | path

Searched refs:als (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/iio/light/
Dlm3533-als.c65 struct lm3533_als *als = iio_priv(indio_dev); in lm3533_als_get_adc() local
75 ret = lm3533_read(als->lm3533, reg, &val); in lm3533_als_get_adc()
88 struct lm3533_als *als = iio_priv(indio_dev); in _lm3533_als_get_zone() local
92 ret = lm3533_read(als->lm3533, LM3533_REG_ALS_ZONE_INFO, &val); in _lm3533_als_get_zone()
106 struct lm3533_als *als = iio_priv(indio_dev); in lm3533_als_get_zone() local
109 if (test_bit(LM3533_ALS_FLAG_INT_ENABLED, &als->flags)) { in lm3533_als_get_zone()
110 *zone = atomic_read(&als->zone); in lm3533_als_get_zone()
132 struct lm3533_als *als = iio_priv(indio_dev); in lm3533_als_get_target() local
143 ret = lm3533_read(als->lm3533, reg, val); in lm3533_als_get_target()
153 struct lm3533_als *als = iio_priv(indio_dev); in lm3533_als_set_target() local
[all …]
Dacpi-als.c85 static int acpi_als_read_value(struct acpi_als *als, char *prop, s32 *val) in acpi_als_read_value() argument
90 status = acpi_evaluate_integer(als->device->handle, prop, NULL, in acpi_als_read_value()
94 acpi_evaluation_failure_warn(als->device->handle, prop, status); in acpi_als_read_value()
106 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_notify() local
111 iio_trigger_poll_nested(als->trig); in acpi_als_notify()
126 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_read_raw() local
137 ret = acpi_als_read_value(als, ACPI_ALS_ILLUMINANCE, &temp_val); in acpi_als_read_raw()
154 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_trigger_handler() local
155 s32 *buffer = als->evt_buffer; in acpi_als_trigger_handler()
159 mutex_lock(&als->lock); in acpi_als_trigger_handler()
[all …]
DMakefile7 obj-$(CONFIG_ACPI_ALS) += acpi-als.o
25 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
27 obj-$(CONFIG_IQS621_ALS) += iqs621-als.o
32 obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.o
DKconfig21 be called acpi-als.
219 will be called iqs621-als.
266 module will be called hid-sensor-als.
/linux-6.6.21/drivers/leds/
Dleds-lm3532.c449 struct lm3532_als_data *als = priv->als_data; in lm3532_als_configure() local
455 als_vmin = als->als_vmin; in lm3532_als_configure()
456 als_vmax = als->als_vmax; in lm3532_als_configure()
461 als->zones_lo[i] = ((als_vmin + als_vstep + (i * als_vstep)) * in lm3532_als_configure()
463 als->zones_hi[i] = ((als_vmin + LM3532_ALS_OFFSET_mV + in lm3532_als_configure()
467 ret = regmap_write(priv->regmap, zone_reg, als->zones_lo[i]); in lm3532_als_configure()
472 ret = regmap_write(priv->regmap, zone_reg, als->zones_hi[i]); in lm3532_als_configure()
477 als->config = (als->als_avrg_time | (LM3532_ENABLE_ALS) | in lm3532_als_configure()
478 (als->als_input_mode << LM3532_ALS_SEL_SHIFT)); in lm3532_als_configure()
480 return regmap_write(priv->regmap, LM3532_ALS_CONFIG, als->config); in lm3532_als_configure()
[all …]
Dleds-lm3530.c156 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()
184 als->imp_sel = in lm3530_als_configure()
234 struct lm3530_als_data als; in lm3530_init_registers() local
236 memset(&als, 0, sizeof(struct lm3530_als_data)); in lm3530_init_registers()
247 lm3530_als_configure(pdata, &als); in lm3530_init_registers()
267 reg_val[1] = als.config; /* LM3530_ALS_CONFIG */ in lm3530_init_registers()
269 reg_val[3] = als.imp_sel; /* LM3530_ALS_IMP_SELECT */ in lm3530_init_registers()
271 reg_val[5] = als.zones[0]; /* LM3530_ALS_ZB0_REG */ in lm3530_init_registers()
[all …]
/linux-6.6.21/arch/s390/boot/
Dals.c20 static unsigned long als[] = { FACILITIES_ALS }; variable
70 for (i = 0; i < ARRAY_SIZE(als); i++) { in print_missing_facilities()
71 val = ~stfle_fac_list[i] & als[i]; in print_missing_facilities()
110 for (i = 0; i < ARRAY_SIZE(als); i++) { in verify_facilities()
111 if ((stfle_fac_list[i] & als[i]) != als[i]) in verify_facilities()
Dipl_parm.c210 unsigned long als[] = { FACILITIES_ALS }; in check_cleared_facilities() local
213 for (i = 0; i < ARRAY_SIZE(als); i++) { in check_cleared_facilities()
214 if ((stfle_fac_list[i] & als[i]) != als[i]) { in check_cleared_facilities()
DMakefile38 obj-y := head.o als.o startup.o physmem_info.o ipl_parm.o ipl_report.o vmem.o
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Dleds-lm3532.txt32 - ti,als-vmin - Minimum ALS voltage defined in Volts
33 - ti,als-vmax - Maximum ALS voltage defined in Volts
41 - ti,als-avrg-time-us - Determines the length of time the device needs to
45 - ti,als-input-mode - Determines how the device uses the attached ALS
80 ti,als-vmin = <0>;
81 ti,als-vmax = <2000>;
84 ti,als-avrg-time-us = <17920>;
85 ti,als-input-mode = <0x00>;
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-iio-light-tsl27725 Causes an internal calibration of the als gain trim
Dsysfs-bus-iio-light-tsl25835 This property causes an internal calibration of the als gain trim
/linux-6.6.21/include/linux/mfd/
Dlm3533.h77 struct lm3533_als_platform_data *als; member
/linux-6.6.21/drivers/mfd/
Dlm3533-core.c386 if (!pdata->als) in lm3533_device_als_init()
389 lm3533_als_devs[0].platform_data = pdata->als; in lm3533_device_als_init()
390 lm3533_als_devs[0].pdata_size = sizeof(*pdata->als); in lm3533_device_als_init()
/linux-6.6.21/tools/power/cpupower/po/
Dde.po511 "Sofern kein anderer Parameter als '-c, --cpu' angegeben wird, liefert "
537 "Sie können nicht mehr als einen Parameter --cpu und/oder\n"
538 "mehr als ein ausgabespezifisches Argument angeben\n"
628 "2. Der Parameter -f bzw. --freq kann mit keinem anderen als dem Parameter\n"
962 msgstr "Sie können nicht mehr als ein ausgabenspezifisches Argument angeben\n"
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_vbt_defs.h945 struct als_data_entry als[5]; member
/linux-6.6.21/Documentation/filesystems/
Dafs.rst211 111416553 --als--v 0 0 \_ rxrpc: afs@CAMBRIDGE.REDHAT.COM
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Dam335x-sl50.dts505 als: isl29023@44 { label
Dmotorola-mapphone-common.dtsi436 als_proximity_pins: als-proximity-pins {
/linux-6.6.21/drivers/platform/x86/hp/
Dhp-wmi.c786 static DEVICE_ATTR_RW(als);
/linux-6.6.21/drivers/misc/
DKconfig363 tristate "APDS990X combined als and proximity sensors"
/linux-6.6.21/Documentation/admin-guide/media/
Dbttv.rst623 - LR50 rev. Q ("PARTS: 7031505116), Tuner wurde als Nr. 5 erkannt, Eingänge