Home
last modified time | relevance | path

Searched refs:pstroke (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/usb/input/
H A Datp.c831 atp_stroke_t *pstroke; in atp_alloc_stroke() local
833 pstroke = TAILQ_FIRST(&sc->sc_stroke_free); in atp_alloc_stroke()
834 if (pstroke == NULL) in atp_alloc_stroke()
837 TAILQ_REMOVE(&sc->sc_stroke_free, pstroke, entry); in atp_alloc_stroke()
838 memset(pstroke, 0, sizeof(*pstroke)); in atp_alloc_stroke()
839 TAILQ_INSERT_TAIL(&sc->sc_stroke_used, pstroke, entry); in atp_alloc_stroke()
843 return (pstroke); in atp_alloc_stroke()
847 atp_free_stroke(struct atp_softc *sc, atp_stroke_t *pstroke) in atp_free_stroke() argument
849 if (pstroke == NULL) in atp_free_stroke()
854 TAILQ_REMOVE(&sc->sc_stroke_used, pstroke, entry); in atp_free_stroke()
[all …]