Lines Matching defs:psm_softc
432 struct psm_softc { /* Driver status information */ struct
433 device_t dev;
434 struct kqinfo rkq; /* Processes with registered kevents */
435 struct lock lock; /* Control lock */
436 u_char state; /* Mouse driver state */
437 int config; /* driver configuration flags */
438 int flags; /* other flags */
439 KBDC kbdc; /* handle to access kbd controller */
440 struct resource *intr; /* IRQ resource */
441 void *ih; /* interrupt handle */
442 mousehw_t hw; /* hardware information */
443 synapticshw_t synhw; /* Synaptics hardware information */
444 synapticsinfo_t syninfo; /* Synaptics configuration */
445 smoother_t smoother[PSM_FINGERS]; /* Motion smoothing */
446 gesture_t gesture; /* Gesture context */
447 elantechhw_t elanhw; /* Elantech hardware information */
448 elantechaction_t elanaction; /* Elantech action context */
449 trackpointinfo_t tpinfo; /* TrackPoint configuration */
450 mousemode_t mode; /* operation mode */
451 mousemode_t dflt_mode; /* default operation mode */
452 mousestatus_t status; /* accumulated mouse movement */
453 ringbuf_t queue; /* mouse status queue */
454 packetbuf_t pqueue[PSM_PACKETQUEUE]; /* mouse data queue */
455 int pqueue_start; /* start of data in queue */
456 int pqueue_end; /* end of data in queue */
457 int button; /* the latest button state */
458 int xold; /* previous absolute X position */
459 int yold; /* previous absolute Y position */
460 int xaverage; /* average X position */
461 int yaverage; /* average Y position */
462 int squelch; /* level to filter movement at low speed */
463 int syncerrors; /* # of bytes discarded to synchronize */
464 int pkterrors; /* # of packets failed during quaranteen. */
465 int fpcount; /* forcePad valid packet counter */
466 struct timeval inputtimeout;
467 struct timeval lastsoftintr; /* time of last soft interrupt */
468 struct timeval lastinputerr; /* time last sync error happened */
469 struct timeval idletimeout;
470 packetbuf_t idlepacket; /* packet to send after idle timeout */
471 int watchdog; /* watchdog timer flag */
472 struct callout callout; /* watchdog timer call out */
473 struct callout softcallout; /* buffer timer call out */
474 struct cdev *cdev;
475 int lasterr;
476 int cmdcount;
477 int extended_buttons;
478 int muxport; /* MUX port with attached Synaptics */
479 u_char muxsave[3]; /* 3->6 byte proto conversion buffer */
480 int muxtpbuttons; /* Touchpad button state */
481 int muxmsbuttons; /* Mouse (trackpoint) button state */
482 struct timeval muxmidtimeout; /* middle button supression timeout */
483 int muxsinglesyna; /* Probe result of single Synaptics */
485 struct evdev_dev *evdev_a; /* Absolute reporting device */
486 struct evdev_dev *evdev_r; /* Relative reporting device */