Lines Matching refs:protocol
175 const struct pms_protocol *protocol;
225 * ALPS protocol.
229 { 0x7326, 0, 0 }, /* XXX Uses unknown v3 protocol */
549 sc->protocol = &pms_protocols[0];
553 sc->protocol = &pms_protocols[i];
558 DPRINTF("%s: protocol type %d\n", DEVNAME(sc), sc->protocol->type);
676 switch (sc->protocol->type) {
702 if (sc->protocol->type == PMS_INTELLI)
770 /* See if the device understands an extended (touchpad) protocol. */
833 if (sc->protocol->enable != NULL &&
834 sc->protocol->enable(sc) == 0)
843 if (sc->protocol->disable)
844 sc->protocol->disable(sc);
884 if (sc->protocol->ioctl)
885 return (sc->protocol->ioctl(sc, cmd, data, flag, p));
933 size = sc->protocol->packetsize;
951 if (sc->protocol->sync(sc, data)) {
966 if (sc->inputstate != sc->protocol->packetsize)
970 sc->protocol->proc(sc);