Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c271 if (test_pat_idx >= TCH_PATTERN_COUNT) in vivid_fillbuff_tch()
295 (f->width / TCH_PATTERN_COUNT)); in vivid_fillbuff_tch()
300 offset_x = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * x) / in vivid_fillbuff_tch()
301 TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
302 offset_y = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * y) / in vivid_fillbuff_tch()
303 TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
312 offset_x = (test_pat_idx * x) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
313 offset_y = (test_pat_idx * y) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
Dvivid-touch-cap.h13 #define TCH_PATTERN_COUNT 12 macro