Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-touch-cap.c222 static inline int get_random_pressure(void) in get_random_pressure() function
235 tch_buf[index] = offset + get_random_pressure(); in vivid_tch_buf_set()
238 tch_buf[index - 1] = offset + get_random_pressure(); in vivid_tch_buf_set()
240 tch_buf[index + 1] = offset + get_random_pressure(); in vivid_tch_buf_set()
242 tch_buf[index - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
244 tch_buf[index + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
247 tch_buf[index - 1 - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
249 tch_buf[index + 1 - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
251 tch_buf[index - 1 + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
253 tch_buf[index + 1 + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set()
[all …]