Home
last modified time | relevance | path

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

/openbsd-src/sys/dev/hid/
H A Dhidcc.c71 } sc_input; member
682 free(sc->sc_input.i_buf, M_USBDEV, sc->sc_input.i_bufsiz); in hidcc_detach()
693 uint8_t *buf = sc->sc_input.i_buf; in hidcc_intr()
700 if (len > sc->sc_input.i_bufsiz) in hidcc_intr()
701 len = sc->sc_input.i_bufsiz; in hidcc_intr()
847 sc->sc_input.i_bufsiz = isize; in hidcc_parse()
848 sc->sc_input.i_buf = malloc(sc->sc_input.i_bufsiz, M_USBDEV, M_WAITOK); in hidcc_parse()
881 sc->sc_input.i_off = hi.loc.pos + len; in hidcc_parse()
886 sc->sc_input.i_len += len; in hidcc_parse()
894 off = sc->sc_input.i_len; in hidcc_parse()
[all …]
/openbsd-src/sys/dev/wscons/
H A Dwsmouse.c133 struct wsmouseinput sc_input; member
206 sc->sc_input.evar = &sc->sc_base.me_evp; in wsmouse_attach()
288 wsmouse_input_cleanup(&sc->sc_input); in wsmouse_detach()
381 wsmouse_input_reset(&sc->sc_input); in wsmousedoopen()
581 struct btn_state *btn = &((struct wsmouse_softc *) sc)->sc_input.btn;
595 &((struct wsmouse_softc *) sc)->sc_input.motion; in wsmouse_motion()
654 &((struct wsmouse_softc *) sc)->sc_input.motion; in wsmouse_position()
674 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
697 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
743 struct wsmouseinput *input = &((struct wsmouse_softc *) sc)->sc_input;
[all...]
H A Dwsdisplay.c191 struct wsevsrc *sc_input; member
606 if (sc->sc_input != NULL) { in wsdisplay_activate()
612 if (sc->sc_input->me_dispdv == &sc->sc_dv) { in wsdisplay_activate()
614 sc->sc_input, NULL)) != 0) in wsdisplay_activate()
624 if ((rc = wskbd_set_display((struct device *)sc->sc_input, in wsdisplay_common_detach()
687 sc->sc_input = &mux->sc_base;
718 kme = wskbd_set_console_display(&sc->sc_dv, sc->sc_input); in wsdisplay_common_attach()
722 sc->sc_input = kme; in wsdisplay_common_attach()
1121 inp = sc->sc_input;
1393 inp = sc->sc_input; in wsdisplay_cfg_ioctl()
[all...]
H A Dwsmouseinput.h235 - offsetof(struct wsmouse_softc, sc_input) \
/openbsd-src/sys/dev/usb/
H A Dutvfu.h152 int sc_input;
151 int sc_input; global() member
H A Dutvfu.c190 sc->sc_input = input; in utvfu_select_input()
333 ret = utvfu_select_input(sc, sc->sc_input); in utvfu_setup_capture()
602 *i = sc->sc_input; in utvfu_g_input()