Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c261 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
267 test_pat_idx = buf->vb.sequence % TCH_SEQ_COUNT; in vivid_fillbuff_tch()
271 if (test_pat_idx >= TCH_PATTERN_COUNT) in vivid_fillbuff_tch()
274 if (test_pat_idx == 0) in vivid_fillbuff_tch()
280 if (test_pat_idx == 2) in vivid_fillbuff_tch()
284 if (test_pat_idx == 2 || test_pat_idx == 4) in vivid_fillbuff_tch()
288 if (test_pat_idx == 2 || test_pat_idx == 4 || test_pat_idx == 6) in vivid_fillbuff_tch()
294 test_pat_idx * in vivid_fillbuff_tch()
300 offset_x = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * x) / in vivid_fillbuff_tch()
302 offset_y = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * y) / in vivid_fillbuff_tch()
[all …]