Lines Matching defs:hw

1019 	struct wsmousehw *hw;
1022 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1063 hw->type = WSMOUSE_TYPE_SYNAP_SBTN;
1065 hw->type = WSMOUSE_TYPE_SYNAPTICS;
1067 hw->hw_type = (syn->ext_capabilities & SYNAPTICS_EXT_CAP_CLICKPAD)
1071 hw->h_res = SYNAPTICS_RESOLUTION_X(resolution);
1072 hw->v_res = SYNAPTICS_RESOLUTION_Y(resolution);
1075 hw->x_min = (min_coords ?
1077 hw->y_min = (min_coords ?
1079 hw->x_max = (max_coords ?
1081 hw->y_max = (max_coords ?
1086 hw->contacts_max = SYNAPTICS_MAX_FINGERS;
1088 hw->contacts_max = 1;
1244 struct wsmousehw *hw;
1247 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1250 *(u_int *)data = hw->type;
1253 wsmc->minx = hw->x_min;
1254 wsmc->maxx = hw->x_max;
1255 wsmc->miny = hw->y_min;
1256 wsmc->maxy = hw->y_max;
1258 wsmc->resx = hw->h_res;
1259 wsmc->resy = hw->v_res;
1443 struct wsmousehw *hw;
1461 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1462 hw->type = WSMOUSE_TYPE_ALPS;
1463 hw->hw_type = WSMOUSEHW_TOUCHPAD;
1464 hw->x_min = ALPS_XMIN_BEZEL;
1465 hw->y_min = ALPS_YMIN_BEZEL;
1466 hw->x_max = ALPS_XMAX_BEZEL;
1467 hw->y_max = ALPS_YMAX_BEZEL;
1468 hw->contacts_max = 1;
1582 struct wsmousehw *hw;
1589 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1590 wsmc->minx = hw->x_min;
1591 wsmc->maxx = hw->x_max;
1592 wsmc->miny = hw->y_min;
1593 wsmc->maxy = hw->y_max;
1835 struct wsmousehw *hw;
1860 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1861 hw->type = WSMOUSE_TYPE_ELANTECH;
1862 hw->hw_type = WSMOUSEHW_TOUCHPAD;
1863 hw->x_min = ELANTECH_V1_X_MIN;
1864 hw->x_max = ELANTECH_V1_X_MAX;
1865 hw->y_min = ELANTECH_V1_Y_MIN;
1866 hw->y_max = ELANTECH_V1_Y_MAX;
1875 struct wsmousehw *hw;
1899 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1900 hw->type = WSMOUSE_TYPE_ELANTECH;
1901 hw->hw_type = WSMOUSEHW_TOUCHPAD;
1905 hw->x_max = ELANTECH_V2_X_MAX;
1906 hw->y_max = ELANTECH_V2_Y_MAX;
1917 hw->x_max = (capabilities[1] - i) * resp[1] / 2;
1918 hw->y_max = (capabilities[2] - i) * resp[2] / 2;
1920 hw->x_max = 819;
1921 hw->y_max = 405;
1923 hw->x_max = 900;
1924 hw->y_max = 500;
1926 hw->x_max = (capabilities[1] - i) * 64;
1927 hw->y_max = (capabilities[2] - i) * 64;
1938 struct wsmousehw *hw;
1961 hw = wsmouse_get_hw(sc->sc_wsmousedev);
1962 hw->x_max = elantech->max_x = (resp[0] & 0x0f) << 8 | resp[1];
1963 hw->y_max = elantech->max_y = (resp[0] & 0xf0) << 4 | resp[2];
1965 hw->type = WSMOUSE_TYPE_ELANTECH;
1966 hw->hw_type = WSMOUSEHW_TOUCHPAD;
1975 struct wsmousehw *hw;
2003 hw = wsmouse_get_hw(sc->sc_wsmousedev);
2004 hw->x_max = (resp[0] & 0x0f) << 8 | resp[1];
2005 hw->y_max = (resp[0] & 0xf0) << 4 | resp[2];
2007 if ((capabilities[1] < 2) || (capabilities[1] > hw->x_max))
2013 hw->type = WSMOUSE_TYPE_ELANTECH;
2014 hw->hw_type = (ELANTECH_IS_CLICKPAD(sc)
2016 hw->mt_slots = ELANTECH_MAX_FINGERS;
2018 elantech->width = hw->x_max / (capabilities[1] - 1);
2246 struct wsmousehw *hw;
2254 hw = wsmouse_get_hw(sc->sc_wsmousedev);
2255 wsmc->minx = hw->x_min;
2256 wsmc->maxx = hw->x_max;
2257 wsmc->miny = hw->y_min;
2258 wsmc->maxy = hw->y_max;
2260 wsmc->resx = hw->h_res;
2261 wsmc->resy = hw->v_res;