Searched refs:RES_MAX (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/input/ |
D | input_pat912x.c | 52 #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), \
|
D | input_paw32xx.c | 61 #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"); \
|
D | input_pmw3610.c | 97 #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"); \
|