Lines Matching refs:atp_softc
653 struct atp_softc; /* forward declaration */
654 typedef void (*sensor_data_interpreter_t)(struct atp_softc *sc, u_int len);
656 struct atp_softc { struct
755 static usb_error_t atp_set_device_mode(struct atp_softc *, interface_mode);
757 static int atp_enable(struct atp_softc *);
758 static void atp_disable(struct atp_softc *);
761 static void fg_interpret_sensor_data(struct atp_softc *, u_int);
766 static void wsp_interpret_sensor_data(struct atp_softc *, u_int);
771 static void fg_match_strokes_against_pspans(struct atp_softc *,
773 static boolean_t wsp_match_strokes_against_fingers(struct atp_softc *,
775 static boolean_t fg_update_strokes(struct atp_softc *, fg_pspan *, u_int,
777 static boolean_t wsp_update_strokes(struct atp_softc *,
779 static void fg_add_stroke(struct atp_softc *, const fg_pspan *, const fg_pspan *);
780 static void fg_add_new_strokes(struct atp_softc *, fg_pspan *,
782 static void wsp_add_stroke(struct atp_softc *, const wsp_finger_t *);
783 static void atp_advance_stroke_state(struct atp_softc *,
788 static void atp_terminate_stroke(struct atp_softc *, atp_stroke_t *);
794 static void atp_convert_to_slide(struct atp_softc *, atp_stroke_t *);
797 static void atp_reset_buf(struct atp_softc *);
798 static void atp_add_to_queue(struct atp_softc *, int, int, int, uint32_t);
829 atp_alloc_stroke(struct atp_softc *sc) in atp_alloc_stroke()
847 atp_free_stroke(struct atp_softc *sc, atp_stroke_t *pstroke) in atp_free_stroke()
859 atp_init_stroke_pool(struct atp_softc *sc) in atp_init_stroke_pool()
877 atp_set_device_mode(struct atp_softc *sc, interface_mode newMode) in atp_set_device_mode()
921 struct atp_softc *sc = usbd_xfer_softc(xfer); in atp_reset_callback()
957 atp_enable(struct atp_softc *sc) in atp_enable()
974 atp_disable(struct atp_softc *sc) in atp_disable()
981 fg_interpret_sensor_data(struct atp_softc *sc, u_int data_len) in fg_interpret_sensor_data()
1267 wsp_interpret_sensor_data(struct atp_softc *sc, u_int data_len) in wsp_interpret_sensor_data()
1390 fg_match_strokes_against_pspans(struct atp_softc *sc, atp_axis axis, in fg_match_strokes_against_pspans()
1432 wsp_match_strokes_against_fingers(struct atp_softc *sc, in wsp_match_strokes_against_fingers()
1491 fg_update_strokes(struct atp_softc *sc, fg_pspan *pspans_x, in fg_update_strokes()
1635 wsp_update_strokes(struct atp_softc *sc, wsp_finger_t fingers[WSP_MAX_FINGERS], in wsp_update_strokes()
1667 fg_add_stroke(struct atp_softc *sc, const fg_pspan *pspan_x, in fg_add_stroke()
1711 fg_add_new_strokes(struct atp_softc *sc, fg_pspan *pspans_x, in fg_add_new_strokes()
1775 wsp_add_stroke(struct atp_softc *sc, const wsp_finger_t *fingerp) in wsp_add_stroke()
1803 atp_advance_stroke_state(struct atp_softc *sc, atp_stroke_t *strokep, in atp_advance_stroke_state()
1964 atp_terminate_stroke(struct atp_softc *sc, atp_stroke_t *strokep) in atp_terminate_stroke()
2012 struct atp_softc *sc = (struct atp_softc *)arg; in atp_reap_sibling_zombies()
2085 atp_convert_to_slide(struct atp_softc *sc, atp_stroke_t *strokep) in atp_convert_to_slide()
2107 atp_reset_buf(struct atp_softc *sc) in atp_reset_buf()
2114 atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz, in atp_add_to_queue()
2183 struct atp_softc *sc = device_get_softc(dev); in atp_attach()
2298 struct atp_softc *sc; in atp_detach()
2321 struct atp_softc *sc = usbd_xfer_softc(xfer); in atp_intr()
2429 struct atp_softc *sc = usb_fifo_softc(fifo); in atp_start_read()
2453 struct atp_softc *sc = usb_fifo_softc(fifo); in atp_stop_read()
2460 struct atp_softc *sc = usb_fifo_softc(fifo); in atp_open()
2487 struct atp_softc *sc = usb_fifo_softc(fifo); in atp_close()
2500 struct atp_softc *sc = usb_fifo_softc(fifo); in atp_ioctl()
2624 .size = sizeof(struct atp_softc)