Home
last modified time | relevance | path

Searched refs:get_random_pressure (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c219 static inline int get_random_pressure(void) in get_random_pressure() function
232 tch_buf[index] = offset + get_random_pressure(); in vivid_tch_buf_set()
235 tch_buf[index - 1] = offset + get_random_pressure(); in vivid_tch_buf_set()
237 tch_buf[index + 1] = offset + get_random_pressure(); in vivid_tch_buf_set()
239 tch_buf[index - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
241 tch_buf[index + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
244 tch_buf[index - 1 - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
246 tch_buf[index + 1 - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
248 tch_buf[index - 1 + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
250 tch_buf[index + 1 + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
[all …]