Searched refs:vcnl4200_ps (Results 1 – 1 of 1) sorted by relevance
128 struct vcnl4200_channel vcnl4200_ps; member207 data->vcnl4200_ps.last_measurement = ktime_get(); in vcnl4200_set_power_state()239 data->vcnl4200_ps.reg = VCNL4200_PS_DATA; in vcnl4200_init()245 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init()252 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init()257 mutex_init(&data->vcnl4200_ps.lock); in vcnl4200_init()378 return vcnl4200_measure(data, &data->vcnl4200_ps, val); in vcnl4200_measure_proximity()