Lines Matching full:als
59 #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 */
105 #define GP2AP020A00F_RES_A_MASK 0x38 /* ALS: Resolution */
114 #define GP2AP020A00F_RANGE_A_MASK 0x07 /* ALS: Max measurable range */
451 * For the high lux mode ALS threshold has to be scaled down in gp2ap020a00f_write_event_threshold()
735 /* Clear als threshold registers to avoid spurious in gp2ap020a00f_adjust_lux_mode()
742 "Clearing als threshold register failed.\n"); in gp2ap020a00f_adjust_lux_mode()
750 "Clearing als threshold register failed.\n"); in gp2ap020a00f_adjust_lux_mode()
788 /* Adjust als threshold register values to the new lux mode */ in gp2ap020a00f_adjust_lux_mode()
794 "Adjusting als threshold value failed.\n"); in gp2ap020a00f_adjust_lux_mode()
804 "Adjusting als threshold value failed.\n"); in gp2ap020a00f_adjust_lux_mode()
1393 * LIGHT_CLEAR or LIGHT_IR scan mode results in enabling ALS in gp2ap020a00f_buffer_postenable()
1616 MODULE_DESCRIPTION("Sharp GP2AP020A00F Proximity/ALS sensor driver");