Lines Matching defs:uatp_softc

488 struct uatp_softc {  struct
489 device_t sc_dev;
490 struct uhidev *sc_hdev; /* uhidev(9) parent. */
491 struct usbd_device *sc_udev; /* USB device. */
492 struct usbd_interface *sc_iface0; /* Geyser 3/4 reset interface. */
493 device_t sc_wsmousedev; /* Attached wsmouse device. */
494 const struct uatp_parameters *sc_parameters;
495 struct uatp_knobs sc_knobs;
496 struct sysctllog *sc_log; /* Log for sysctl knobs. */
497 const struct sysctlnode *sc_node; /* Our sysctl node. */
498 unsigned int sc_input_size; /* Input packet size. */
499 uint8_t sc_input[UATP_MAX_INPUT_SIZE]; /* Buffer for a packet. */
500 unsigned int sc_input_index; /* Current index into sc_input. */
501 int sc_acc[UATP_SENSORS]; /* Accumulated sensor state. */
502 uint8_t sc_base[UATP_SENSORS]; /* Base sample. */
503 uint8_t sc_sample[UATP_SENSORS];/* Current sample. */
504 unsigned int sc_motion_timer; /* XXX describe; motion_delay */
505 int sc_x_raw; /* Raw horiz. mouse position. */
506 int sc_y_raw; /* Raw vert. mouse position. */
507 int sc_z_raw; /* Raw horiz. scroll position. */
508 int sc_w_raw; /* Raw vert. scroll position. */
509 int sc_x_smoothed; /* Smoothed horiz. mouse position. */
510 int sc_y_smoothed; /* Smoothed vert. mouse position. */
511 int sc_z_smoothed; /* Smoothed horiz. scroll position. */
512 int sc_w_smoothed; /* Smoothed vert. scroll position. */
513 int sc_x_remainder; /* Remainders from acceleration. */
514 int sc_y_remainder;
515 int sc_z_remainder;
516 int sc_w_remainder;
517 unsigned int sc_track_distance; /* Distance^2 finger has tracked,
519 uint32_t sc_status; /* Status flags: */
523 struct usb_task sc_reset_task; /* Task for resetting device. */
525 callout_t sc_untap_callout; /* Releases button after tap. */
526 kmutex_t sc_tap_mutex; /* Protects the following fields. */
527 enum uatp_tap_state sc_tap_state; /* Current tap state. */
528 unsigned int sc_tapping_fingers; /* No. fingers tapping. */
529 unsigned int sc_tapped_fingers; /* No. fingers of last tap. */
530 struct timeval sc_tap_timer; /* Timer for tap state transitions. */
531 uint32_t sc_buttons; /* Physical buttons pressed. */
555 void (*initialize)(struct uatp_softc *); argument