Searched refs:vcnl4200_ps (Results 1 – 1 of 1) sorted by relevance
203 struct vcnl4200_channel vcnl4200_ps; member339 data->vcnl4200_ps.last_measurement = ktime_get(); in vcnl4200_set_power_state()373 data->vcnl4200_ps.reg = VCNL4200_PS_DATA; in vcnl4200_init()379 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init()385 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init()390 mutex_init(&data->vcnl4200_ps.lock); in vcnl4200_init()511 return vcnl4200_measure(data, &data->vcnl4200_ps, val); in vcnl4200_measure_proximity()647 data->vcnl4200_ps.sampling_rate = ktime_set(0, val * 60 * NSEC_PER_USEC); in vcnl4040_write_ps_it()