/Linux-v5.4/Documentation/misc-devices/ |
D | bh1770glc.txt | 16 BH1770GLC and SFH7770 are combined ambient light and proximity sensors. 17 ALS and proximity parts operates on their own, but they shares common I2C 19 but ALS side results are used to estimate reliability of the proximity sensor. 24 Proximity part contains IR-led driver up to 3 IR leds. The chip measures 25 amount of reflected IR light and produces proximity result. Resolution is 27 reliability of the proximity results. Thus ALS is always running while 28 proximity detection is needed. 31 Proximity low interrupt doesn't exists in the chip. This is simulated 32 by using a delayed work. As long as there is proximity threshold above 33 interrupts the delayed work is pushed forward. So, when proximity level goes [all …]
|
D | apds990x.txt | 16 APDS990x is a combined ambient light and proximity sensor. ALS and proximity 18 while the proximity functionality is enabled. 38 Proximity side is little bit simpler. There is no need for complex conversions. 88 RO - measured proximity value 95 RW - enable / disable proximity - uses counting logic 96 1 enables the proximity 97 0 disables the proximity 101 values: 0 or prox0_sensor_range value. 0 means no proximity, 102 1023 means proximity. This causes minimal number of interrupts. 111 RW - threshold level which trigs proximity events.
|
/Linux-v5.4/drivers/iio/light/ |
D | Kconfig | 56 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor" 63 APDS9960 gesture/RGB/ALS/proximity sensor. 121 tristate "Capella CM3605 ambient light and proximity sensor" 125 ambient light and short range proximity sensor. 135 This option enables proximity & RGB sensor using 142 tristate "ChromeOS EC Light and Proximity Sensors" 145 Say Y here if you use the light and proximity sensors 152 tristate "Sharp GP2AP020A00F Proximity/ALS sensor" 159 Say Y here if you have a Sharp GP2AP020A00F proximity/ALS combo-chip 166 tristate "Intersil 29018 light and proximity sensor" [all …]
|
D | vcnl4000.c | 4 * light and proximity sensor 16 * proximity threshold and event handling 17 * periodic ALS/proximity measurement (VCNL4010/20) 37 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */ 41 #define VCNL4000_PS_RESULT_HI 0x87 /* Proximity result register, MSB */ 42 #define VCNL4000_PS_RESULT_LO 0x88 /* Proximity result register, LSB */ 43 #define VCNL4000_PS_MEAS_FREQ 0x89 /* Proximity test signal frequency */ 44 #define VCNL4000_PS_MOD_ADJ 0x8a /* Proximity modulator timing adjustment */ 47 #define VCNL4200_PS_CONF1 0x03 /* Proximity configuration */ 48 #define VCNL4200_PS_DATA 0x08 /* Proximity data */ [all …]
|
D | cm3605.c | 3 * CM3605 Ambient Light and Proximity Sensor 9 * and an early endavour into mobile light and proximity sensors. 41 * @dir: proximity direction: start as FALLING 42 * @led: trigger for the infrared LED used by the proximity sensor 329 MODULE_DESCRIPTION("CM3605 ambient light and proximity sensor driver");
|
D | isl29018.c | 5 * IIO driver for monitoring ambient light intensity in luxi, proximity 232 /* Do proximity sensing with required scheme */ in isl29018_read_proximity_ir() 307 * Proximity Sensing Scheme: Bit 7. This bit programs the function 308 * of the proximity detection. Logic 0 of this bit, Scheme 0, makes 309 * full n (4, 8, 12, 16) bits (unsigned) proximity detection. The range 310 * of Scheme 0 proximity count is from 0 to 2^n. Logic 1 of this bit, 313 * proximity count is from -2^(n-1) to 2^(n-1) . The sign bit is extended 315 * range, Scheme 1 proximity detection is less affected by the 329 * Return the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_show() 349 * Get the "proximity scheme" i.e. if the chip does on chip in proximity_on_chip_ambient_infrared_suppression_store()
|
/Linux-v5.4/include/linux/platform_data/ |
D | tsl2772.h | 4 * and proximity (prox) within the TAOS TSL2772 family of devices. 25 /* Proximity diode to use */ 43 * @wait_time: Time between proximity and ALS cycles in 2.73 45 * @prox_time: Integration time of the proximity ADC in 2.73 ms 49 * @als_prox_config: The value of the ALS / Proximity configuration 56 * @prox_persistence: H/W Filters, Number of 'out of limits' proximity 58 * @prox_interrupt_en: Enable/Disable proximity interrupts. 59 * @prox_thres_low: Low threshold proximity detection. 60 * @prox_thres_high: High threshold proximity detection. 61 * @prox_pulse_count: Number if proximity emitter pulses. [all …]
|
D | apds990x.h | 4 * Chip is combined proximity and ambient light sensor. 48 * @ppcount: number of IR pulses used for proximity estimation 52 * Proximity detection result depends heavily on correct ppcount, pdrive
|
/Linux-v5.4/Documentation/devicetree/bindings/iio/light/ |
D | tsl2772.yaml | 7 title: AMS/TAOS Ambient Light Sensor (ALS) and Proximity Detector 13 Ambient light sensing and proximity detection with an i2c interface. 34 amstaos,proximity-diodes: 35 description: Proximity diodes to enable 48 description: Current for the proximity LED 79 amstaos,proximity-diodes = <0>;
|
D | cm3605.txt | 2 Ambient Light and Short Distance Proximity Sensor 7 This ALS and proximity sensor was one of the very first deployed in mobile 16 the POUT (proximity sensor out) line. The edge detection must 18 and away from the proximity sensor.
|
D | gp2ap020a00f.txt | 1 * Sharp GP2AP020A00F I2C Proximity/ALS sensor 3 The proximity detector sensor requires power supply
|
D | cm36651.txt | 1 * Capella CM36651 I2C Proximity and Color Light sensor 9 of the cm36651 for proximity detection.
|
D | stk33xx.yaml | 8 Sensortek STK33xx I2C Ambient Light and Proximity sensor 14 Ambient light and proximity sensor over an i2c interface.
|
D | isl29018.yaml | 8 Intersil 29018/29023/29035 Ambient Light, Infrared Light, and Proximity Sensor 14 Ambient and infrared light sensing with proximity detection over an i2c
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-bus-iio-light-isl29018 | 9 Scheme 0, makes full n (4, 8, 12, 16) bits (unsigned) proximity 10 detection. The range of Scheme 0 proximity count is from 0 to 13 range of Scheme 1 proximity count is from -2^(n-1) to 2^(n-1). 15 Scheme 0 has wider dynamic range, Scheme 1 proximity detection
|
/Linux-v5.4/drivers/acpi/ |
D | numa.c | 23 /* maps to convert between proximity domain and logical node ID */ 76 * acpi_map_pxm_to_online_node - Map proximity ID to online node 77 * @pxm: ACPI proximity ID 80 * node. When the mapped node from a given proximity ID is offline, it 86 * offline nodes. A node may be offline when a device proximity ID is 124 pr_debug("SRAT Processor (id[0x%02x] eid[0x%02x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry() 136 pr_debug("SRAT Memory (0x%llx length 0x%llx) in proximity domain %d %s%s%s\n", in acpi_table_print_srat_entry() 153 pr_debug("SRAT Processor (x2apicid[0x%08x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry() 165 pr_debug("SRAT Processor (acpi id[0x%04x]) in proximity domain %d %s\n", in acpi_table_print_srat_entry() 243 * Default callback for parsing of the Proximity Domain <-> Memory [all …]
|
/Linux-v5.4/arch/x86/mm/ |
D | srat.c | 9 * Assumes all memory regions belonging to a single proximity domain 26 /* Callback for Proximity Domain -> x2APIC mapping */ 50 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_x2apic_affinity_init() 65 /* Callback for Proximity Domain -> LAPIC mapping */ 85 printk(KERN_ERR "SRAT: Too many proximity domains %x\n", pxm); in acpi_numa_processor_affinity_init()
|
/Linux-v5.4/drivers/iio/proximity/ |
D | Kconfig | 3 # Proximity sensors 22 menu "Proximity and distance sensors" 90 tristate "SX9500 Semtech proximity sensor" 97 proximity/button sensor.
|
/Linux-v5.4/include/linux/input/ |
D | gp2ap002a00f.h | 10 * struct gp2a_platform_data - Sharp gp2ap002a00f proximity platform data 12 * @wakeup: Set to true if the proximity can wake the device from suspend
|
/Linux-v5.4/arch/arm64/kernel/ |
D | acpi_numa.c | 13 * Assumes all memory regions belonging to a single proximity domain 91 /* Callback for Proximity Domain -> ACPI processor UID mapping */ 113 pr_err("SRAT: Too many proximity domains %d\n", pxm); in acpi_numa_gicc_affinity_init()
|
/Linux-v5.4/drivers/misc/ |
D | bh1770glc.c | 4 * Chip is combined proximity and ambient light sensor. 205 /* Proper proximity response needs fastest lux rate (100ms) */ in bh1770_lux_rate() 226 /* InfraredLED is controlled by the chip during proximity scanning */ 397 * ALS is started always since proximity needs als results in bh1770_chip_on() 464 * when ALS levels goes above limit, proximity result may be in bh1770_prox_read_result() 465 * false proximity. Thus ignore the result. With real proximity in bh1770_prox_read_result() 473 /* Strong proximity level or force mode requires immediate response */ in bh1770_prox_read_result() 480 /* Persistence filttering to reduce false proximity events */ in bh1770_prox_read_result() 496 /* Set proximity detection rate based on above or below value */ in bh1770_prox_read_result() 549 * This work is re-scheduled at every proximity interrupt. [all …]
|
D | apds990x.c | 4 * Chip is combined proximity and ambient light sensor. 26 #define APDS990X_PTIME 0x02 /* Proximity ADC time */ 32 #define APDS990X_PILTL 0x08 /* Proximity interrupt low threshold low byte */ 33 #define APDS990X_PILTH 0x09 /* Proximity interrupt low threshold hi byte */ 34 #define APDS990X_PIHTL 0x0a /* Proximity interrupt hi threshold low byte */ 35 #define APDS990X_PIHTH 0x0b /* Proximity interrupt hi threshold hi byte */ 38 #define APDS990X_PPCOUNT 0x0e /* Proximity pulse count */ 47 #define APDS990X_PDATAL 0x18 /* Proximity ADC low data register */ 48 #define APDS990X_PDATAH 0x19 /* Proximity ADC high data register */ 238 /* ALS is mandatory, proximity optional */ in apds990x_mode_on() [all …]
|
/Linux-v5.4/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-light | 14 in proximity mode. When this is enabled, then the device should 16 proximity reading. If this is not enabled, the driver can still 24 This property is supported by proximity sensors and should be
|
/Linux-v5.4/drivers/hid/ |
D | hid-uclogic-params.h | 24 /* Normal reports: zero - out of proximity, one - in proximity */ 26 /* Inverted reports: zero - in proximity, one - out of proximity */
|
/Linux-v5.4/Documentation/driver-api/iio/ |
D | intro.rst | 28 * proximity sensors 33 combined functionality (e.g. light plus proximity sensor).
|