Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_elantech.cpp349 get_range(elantech_cookie* cookie, uint32* x_min, uint32* y_min, uint32* x_max, in get_range() argument
357 *x_max = 544; in get_range()
371 *x_max = ((val[0] & 0xf) << 8) | val[1]; in get_range()
382 *x_max = ((val[0] & 0xf) << 8) | val[1]; in get_range()
384 if (cookie->capabilities[1] < 2 || cookie->capabilities[1] > *x_max) in get_range()
386 *width = *x_max / (cookie->capabilities[1] - 1); in get_range()
455 uint32 x_min = 0, x_max = 0, y_min = 0, y_max = 0, width = 0; in elantech_open() local
535 if (get_range(cookie, &x_min, &y_min, &x_max, &y_max, &width) != B_OK) { in elantech_open()
541 "-%" B_PRIu32 " (%" B_PRIu32 ")\n", x_min, x_max, y_min, y_max, width); in elantech_open()
555 gHardwareSpecs.areaEndX = x_max; in elantech_open()