Lines Matching defs:params
439 u_long cmd, struct wsmouse_param *params, u_int nparams)
444 if (params == NULL || nparams > WSMOUSECFG_MAX)
452 if ((error = copyin(params, buf, size))) {
465 error = copyout(buf, params, size);
522 ((struct wsmouse_parameters *) data)->params,
1437 struct wsmouse_param *params, u_int nparams)
1443 key = params[i].key;
1446 params[i].value = input->filter.h.scale;
1449 params[i].value = input->filter.v.scale;
1452 params[i].value = input->filter.pressure_lo;
1455 params[i].value = input->filter.pressure_hi;
1458 params[i].value = input->filter.tracking_maxdist;
1461 params[i].value = input->filter.swapxy;
1464 params[i].value = input->filter.h.inv;
1467 params[i].value = input->filter.v.inv;
1470 params[i].value = !!(input->flags & REVERSE_SCROLLING);
1473 params[i].value = input->filter.h.dmax;
1476 params[i].value = input->filter.v.dmax;
1479 params[i].value = input->filter.h.hysteresis;
1482 params[i].value = input->filter.v.hysteresis;
1485 params[i].value = input->filter.dclr;
1488 params[i].value = 0; /* The feature has been removed. */
1491 params[i].value =
1495 params[i].value = !!(input->flags & LOG_INPUT);
1498 params[i].value = !!(input->flags & LOG_EVENTS);
1501 error = wstpad_get_param(input, key, ¶ms[i].value);
1513 const struct wsmouse_param *params, u_int nparams)
1519 key = params[i].key;
1520 val = params[i].value;
1521 switch (params[i].key) {
1633 * fields. The 'params' argument is optional, hardware drivers can use it
1639 struct wsmouse_param *params, u_int nparams)
1668 if (params != NULL) {
1669 if ((error = wsmouse_set_params(sc, params, nparams)))