Searched refs:res_x_cpi (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/input/ |
D | input_pat912x.c | 65 int16_t res_x_cpi; member 150 int16_t res_x_cpi, int16_t res_y_cpi) in pat912x_set_resolution() argument 155 if (res_x_cpi >= 0) { in pat912x_set_resolution() 156 if (!IN_RANGE(res_x_cpi, 0, RES_MAX)) { in pat912x_set_resolution() 157 LOG_ERR("res_x_cpi out of range: %d", res_x_cpi); in pat912x_set_resolution() 162 res_x_cpi / RES_SCALING_FACTOR); in pat912x_set_resolution() 212 ret = pat912x_set_resolution(dev, cfg->res_x_cpi, cfg->res_y_cpi); in pat912x_configure() 328 BUILD_ASSERT(IN_RANGE(DT_INST_PROP_OR(n, res_x_cpi, 0), 0, RES_MAX), \ 341 .res_x_cpi = DT_INST_PROP_OR(n, res_x_cpi, -1), \
|
/Zephyr-latest/include/zephyr/input/ |
D | input_pat912x.h | 20 int16_t res_x_cpi, int16_t res_y_cpi);
|