| /linux/drivers/iio/light/ |
| H A D | lm3533-als.c | 65 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 …]
|
| H A D | acpi-als.c | 75 static int acpi_als_read_value(struct acpi_als *als, char *prop, s32 *val) in acpi_als_read_value() argument 80 status = acpi_evaluate_integer(als->device->handle, prop, NULL, in acpi_als_read_value() 84 acpi_evaluation_failure_warn(als->device->handle, prop, status); in acpi_als_read_value() 96 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_notify() local 101 iio_trigger_poll_nested(als->trig); in acpi_als_notify() 116 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_read_raw() local 127 ret = acpi_als_read_value(als, ACPI_ALS_ILLUMINANCE, &temp_val); in acpi_als_read_raw() 144 struct acpi_als *als = iio_priv(indio_dev); in acpi_als_trigger_handler() local 152 mutex_lock(&als->lock); in acpi_als_trigger_handler() 154 ret = acpi_als_read_value(als, ACPI_ALS_ILLUMINANCE, &val); in acpi_als_trigger_handler() [all …]
|
| H A D | hid-sensor-als.c | 30 struct hid_sensor_hub_attribute_info als[CHANNEL_SCAN_INDEX_MAX]; member 151 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw() 152 min = als_state->als[chan->scan_index].logical_minimum; in als_read_raw() 156 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw() 157 min = als_state->als[chan->scan_index].logical_minimum; in als_read_raw() 161 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw() 162 min = als_state->als[chan->scan_index].logical_minimum; in als_read_raw() 166 report_id = als_state->als[chan->scan_index].report_id; in als_read_raw() 167 min = als_state->als[chan->scan_index].logical_minimum; in als_read_raw() 332 &st->als[i]); in als_parse_report() [all …]
|
| H A D | Makefile | 7 obj-$(CONFIG_ACPI_ALS) += acpi-als.o 29 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o 31 obj-$(CONFIG_IQS621_ALS) += iqs621-als.o 37 obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.o
|
| H A D | isl76682.c | 58 u32 als; member 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 D | Kconfig | 21 be called acpi-als. 77 tristate "APDS9160 combined als and proximity sensor" 266 will be called iqs621-als. 327 module will be called hid-sensor-als.
|
| /linux/drivers/leds/ |
| H A D | leds-lm3532.c | 449 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 …]
|
| H A D | leds-lm3530.c | 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() 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/arch/s390/boot/ |
| H A D | als.c | 12 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()
|
| H A D | ipl_parm.c | 200 unsigned long als[] = { FACILITIES_ALS }; in check_cleared_facilities() local 203 for (i = 0; i < ARRAY_SIZE(als); i++) { in check_cleared_facilities() 204 if ((stfle_fac_list[i] & als[i]) != als[i]) { in check_cleared_facilities()
|
| H A D | Makefile | 28 obj-y := head.o als.o startup.o physmem_info.o ipl_parm.o ipl_report.o vmem.o
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-lm3532.txt | 32 - 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/arch/arm64/kvm/vgic/ |
| H A D | vgic.c | 847 struct ap_list_summary *als) in summarize_ap_list() argument 854 *als = (typeof(*als)){}; in summarize_ap_list() 863 als->nr_pend++; in summarize_ap_list() 865 als->nr_act++; in summarize_ap_list() 868 als->nr_sgi++; in summarize_ap_list() 955 struct ap_list_summary als; in vgic_flush_lr_state() local 961 summarize_ap_list(vcpu, &als); in vgic_flush_lr_state() 963 if (irqs_outside_lrs(&als)) in vgic_flush_lr_state() 986 vgic_v2_configure_hcr(vcpu, &als); in vgic_flush_lr_state() 989 vgic_v3_configure_hcr(vcpu, &als); in vgic_flush_lr_state()
|
| H A D | vgic-v3.c | 25 struct ap_list_summary *als) in vgic_v3_configure_hcr() argument 34 if (irqs_pending_outside_lrs(als)) in vgic_v3_configure_hcr() 36 if (irqs_active_outside_lrs(als)) in vgic_v3_configure_hcr() 38 if (irqs_outside_lrs(als)) in vgic_v3_configure_hcr() 41 if (!als->nr_sgi) in vgic_v3_configure_hcr() 63 irqs_active_outside_lrs(als) || in vgic_v3_configure_hcr()
|
| H A D | vgic-v2.c | 31 struct ap_list_summary *als) in vgic_v2_configure_hcr() argument 37 if (irqs_pending_outside_lrs(als)) in vgic_v2_configure_hcr() 39 if (irqs_active_outside_lrs(als)) in vgic_v2_configure_hcr() 41 if (irqs_outside_lrs(als)) in vgic_v2_configure_hcr()
|
| H A D | vgic.h | 282 void vgic_v2_configure_hcr(struct kvm_vcpu *vcpu, struct ap_list_summary *als); 323 void vgic_v3_configure_hcr(struct kvm_vcpu *vcpu, struct ap_list_summary *als);
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-light-tsl2772 | 5 Causes an internal calibration of the als gain trim
|
| H A D | sysfs-bus-iio-light-tsl2583 | 5 This property causes an internal calibration of the als gain trim
|
| /linux/drivers/mfd/ |
| H A D | lm3533-core.c | 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()
|
| /linux/include/linux/mfd/ |
| H A D | lm3533.h | 76 struct lm3533_als_platform_data *als; member
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | motorola-mapphone-handset.dtsi | 175 als_proximity_pins: als-proximity-pins {
|
| H A D | am335x-sl50.dts | 506 als: isl29023@44 { label
|
| /linux/tools/power/cpupower/po/ |
| H A D | de.po | 511 "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/scripts/mod/ |
| H A D | file2alias.c | 51 struct module_alias *new, *als; in module_alias_printf() local 90 list_for_each_entry(als, &mod->aliases, node) { in module_alias_printf() 91 if (!strcmp(als->str, new->str)) { in module_alias_printf()
|
| /linux/Documentation/filesystems/ |
| H A D | afs.rst | 211 111416553 --als--v 0 0 \_ rxrpc: afs@CAMBRIDGE.REDHAT.COM
|