Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c207 static void vivid_fill_buff_noise(__s16 *tch_buf, int size) in vivid_fill_buff_noise() argument
216 tch_buf[i] = 0; in vivid_fill_buff_noise()
218 tch_buf[i] = (rand / 10) % 7 - 3; in vivid_fill_buff_noise()
228 __s16 *tch_buf, in vivid_tch_buf_set() argument
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()
[all …]