Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_pat912x.c52 #define RES_MAX (UINT8_MAX * RES_SCALING_FACTOR) macro
156 if (!IN_RANGE(res_x_cpi, 0, RES_MAX)) { in pat912x_set_resolution()
169 if (!IN_RANGE(res_y_cpi, 0, RES_MAX)) { in pat912x_set_resolution()
328 BUILD_ASSERT(IN_RANGE(DT_INST_PROP_OR(n, res_x_cpi, 0), 0, RES_MAX), \
330 BUILD_ASSERT(IN_RANGE(DT_INST_PROP_OR(n, res_y_cpi, 0), 0, RES_MAX), \
Dinput_paw32xx.c61 #define RES_MAX (127 * RES_STEP) macro
245 if (!IN_RANGE(res_cpi, RES_MIN, RES_MAX)) { in paw32xx_set_resolution()
447 RES_MIN, RES_MAX), "invalid res-cpi"); \
Dinput_pmw3610.c97 #define RES_MAX 3200 macro
268 if (!IN_RANGE(res_cpi, RES_MIN, RES_MAX)) { in pmw3610_set_resolution()
569 RES_MIN, RES_MAX), "invalid res-cpi"); \