Lines Matching full:proximity
3 * Support for Vishay VCNL3020 proximity sensor on i2c bus.
21 #define VCNL_PROXIMITY_RATE 0x82 /* Rate of Proximity Measurement */
22 #define VCNL_LED_CURRENT 0x83 /* IR LED current for proximity mode */
23 #define VCNL_PS_RESULT_HI 0x87 /* Proximity result register, MSB */
24 #define VCNL_PS_RESULT_LO 0x88 /* Proximity result register, LSB */
31 #define VCNL_PS_MOD_ADJ 0x8f /* Proximity Modulator Timing Adjustment */
34 #define VCNL_PS_RDY BIT(5) /* proximity data ready? */
35 #define VCNL_PS_OD BIT(3) /* start on-demand proximity
39 /* Enables periodic proximity measurement */
265 "Error (%d) writing proximity rate register\n", rc); in vcnl3020_write_proxy_samp_freq()
377 /* Enable periodic measurement of proximity data. */ in vcnl3020_enable_periodic()
388 * Enable interrupts on threshold, for proximity data by in vcnl3020_enable_periodic()
670 MODULE_DESCRIPTION("Vishay VCNL3020 proximity sensor driver");