Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/usb/
Dutrh.c50 size_t sc_ilen; /* input report length */ member
118 sc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in utrh_attach()
127 sc->sc_ibuf = malloc(sc->sc_ilen, M_USBDEV, M_WAITOK); in utrh_attach()
178 free(sc->sc_ibuf, M_USBDEV, sc->sc_ilen); in utrh_detach()
Ducycom.c101 size_t sc_ilen; /* input report length */ member
189 sc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in ucycom_attach()
193 DPRINTF(("ucycom_open: olen %d ilen %d flen %d\n", sc->sc_ilen, in ucycom_attach()
213 uca.ibufsize = sc->sc_ilen - 1; in ucycom_attach()
259 sc->sc_ibuf = malloc(sc->sc_ilen, M_USBDEV, M_WAITOK); in ucycom_open()
294 free(sc->sc_ibuf, M_USBDEV, sc->sc_ilen); in ucycom_close()
Dutwitch.c56 size_t sc_ilen; /* input report length */ member
131 sc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in utwitch_attach()
139 sc->sc_ibuf = malloc(sc->sc_ilen, M_USBDEV, M_WAITOK); in utwitch_attach()
190 free(sc->sc_ibuf, M_USBDEV, sc->sc_ilen); in utwitch_detach()
Duoaklux.c141 scc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in uoaklux_attach()
187 scc->sc_ibuf = malloc(scc->sc_ilen, M_USBDEV, M_WAITOK); in uoaklux_attach()
212 free(scc->sc_ibuf, M_USBDEV, scc->sc_ilen); in uoaklux_detach()
Duoakrh.c144 scc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in uoakrh_attach()
201 scc->sc_ibuf = malloc(scc->sc_ilen, M_USBDEV, M_WAITOK); in uoakrh_attach()
226 free(scc->sc_ibuf, M_USBDEV, scc->sc_ilen); in uoakrh_detach()
Duoakv.c144 scc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in uoakv_attach()
191 scc->sc_ibuf = malloc(scc->sc_ilen, M_USBDEV, M_WAITOK); in uoakv_attach()
216 free(scc->sc_ibuf, M_USBDEV, scc->sc_ilen); in uoakv_detach()
Duoak.h124 size_t sc_ilen; /* input report length */ member
Duthum.c113 size_t sc_ilen; /* input report length */ member
206 sc->sc_ilen = hid_report_size(desc, size, hid_input, repid); in uthum_attach()
/openbsd/src/sys/net/
Dppp_tty.c201 sc->sc_ilen = 0; in pppopen()
852 ilen = sc->sc_ilen; in pppinput()
853 sc->sc_ilen = 0; in pppinput()
947 if (sc->sc_ilen == 0) { in pppinput()
971 sc->sc_ilen += 2; in pppinput()
975 if (sc->sc_ilen == 1 && c != PPP_UI) { in pppinput()
981 if (sc->sc_ilen == 2 && (c & 1) == 1) { in pppinput()
984 sc->sc_ilen++; in pppinput()
987 if (sc->sc_ilen == 3 && (c & 1) == 0) { in pppinput()
995 if (++sc->sc_ilen > PKT_MAXLEN(sc)) { in pppinput()
Dif_pppvar.h137 u_int16_t sc_ilen; /* length of input packet so far */ member