Searched refs:x_phys (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/input/mouse/ |
D | alps.c | 2205 int reg, x_pitch, y_pitch, x_electrode, y_electrode, x_phys, y_phys; in alps_get_v3_v7_resolution() local 2228 x_phys = x_pitch * (x_electrode - 1); /* In 0.1 mm units */ in alps_get_v3_v7_resolution() 2231 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_get_v3_v7_resolution() 2237 x_phys / 10, y_phys / 10, priv->x_res, priv->y_res); in alps_get_v3_v7_resolution() 2407 int x_pitch, y_pitch, x_phys, y_phys; in alps_update_device_area_ss4_v2() local 2418 x_phys = x_pitch * (num_x_electrode - 1); /* In 0.1 mm units */ in alps_update_device_area_ss4_v2() 2421 priv->x_res = priv->x_max * 10 / x_phys; /* units / mm */ in alps_update_device_area_ss4_v2()
|