atp_softc
wsp_interpret_sensor_data(struct atp_softc *sc, u_int data_len)
fg_match_strokes_against_pspans(struct atp_softc *sc, atp_axis axis,
wsp_match_strokes_against_fingers(struct atp_softc *sc,
fg_update_strokes(struct atp_softc *sc, fg_pspan *pspans_x,
wsp_update_strokes(struct atp_softc *sc, wsp_finger_t fingers[WSP_MAX_FINGERS],
fg_add_stroke(struct atp_softc *sc, const fg_pspan *pspan_x,
fg_add_new_strokes(struct atp_softc *sc, fg_pspan *pspans_x,
wsp_add_stroke(struct atp_softc *sc, const wsp_finger_t *fingerp)
atp_advance_stroke_state(struct atp_softc *sc, atp_stroke_t *strokep,
atp_terminate_stroke(struct atp_softc *sc, atp_stroke_t *strokep)
struct atp_softc *sc = (struct atp_softc *)arg;
atp_convert_to_slide(struct atp_softc *sc, atp_stroke_t *strokep)
atp_reset_buf(struct atp_softc *sc)
atp_add_to_queue(struct atp_softc *sc, int dx, int dy, int dz,
struct atp_softc *sc = device_get_softc(dev);
struct atp_softc *sc;
struct atp_softc *sc = usbd_xfer_softc(xfer);
struct atp_softc *sc = usb_fifo_softc(fifo);
struct atp_softc *sc = usb_fifo_softc(fifo);
struct atp_softc *sc = usb_fifo_softc(fifo);
struct atp_softc *sc = usb_fifo_softc(fifo);
struct atp_softc *sc = usb_fifo_softc(fifo);
.size = sizeof(struct atp_softc)
struct atp_softc; /* forward declaration */
typedef void (*sensor_data_interpreter_t)(struct atp_softc *sc, u_int len);
static usb_error_t atp_set_device_mode(struct atp_softc *, interface_mode);
static int atp_enable(struct atp_softc *);
static void atp_disable(struct atp_softc *);
static void fg_interpret_sensor_data(struct atp_softc *, u_int);
static void wsp_interpret_sensor_data(struct atp_softc *, u_int);
static void fg_match_strokes_against_pspans(struct atp_softc *,
static boolean_t wsp_match_strokes_against_fingers(struct atp_softc *,
static boolean_t fg_update_strokes(struct atp_softc *, fg_pspan *, u_int,
static boolean_t wsp_update_strokes(struct atp_softc *,
static void fg_add_stroke(struct atp_softc *, const fg_pspan *, const fg_pspan *);
static void fg_add_new_strokes(struct atp_softc *, fg_pspan *,
static void wsp_add_stroke(struct atp_softc *, const wsp_finger_t *);
static void atp_advance_stroke_state(struct atp_softc *,
static void atp_terminate_stroke(struct atp_softc *, atp_stroke_t *);
static void atp_convert_to_slide(struct atp_softc *, atp_stroke_t *);
static void atp_reset_buf(struct atp_softc *);
static void atp_add_to_queue(struct atp_softc *, int, int, int, uint32_t);
atp_alloc_stroke(struct atp_softc *sc)
atp_free_stroke(struct atp_softc *sc, atp_stroke_t *pstroke)
atp_init_stroke_pool(struct atp_softc *sc)
atp_set_device_mode(struct atp_softc *sc, interface_mode newMode)
struct atp_softc *sc = usbd_xfer_softc(xfer);
atp_enable(struct atp_softc *sc)
atp_disable(struct atp_softc *sc)
fg_interpret_sensor_data(struct atp_softc *sc, u_int data_len)