Lines Matching defs:psm_softc

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