Lines Matching refs:protocol

136 CheckProtocol(const char *protocol)
141 if (xf86NameCmp(protocol, internalNames[i]) == 0)
144 if (xf86NameCmp(protocol, miscNames[i]) == 0)
203 if (mode.protocol == devproto[i].dproto) {
210 xf86MsgVerb(X_INFO, 3, "%s: SetupAuto: protocol is %s\n",
220 SetSysMouseRes(InputInfoPtr pInfo, const char *protocol, int rate, int res)
232 (protocol && xf86NameCmp(protocol, "SysMouse") == 0)) {
234 * As the FreeBSD sysmouse driver defaults to protocol level 0
235 * every time it is opened we enforce protocol level 1 again at
275 FindDevice(InputInfoPtr pInfo, const char *protocol, int flags)
347 xf86MsgVerb(X_INFO, 3, "%s: SetupAuto: protocol is %s\n",
353 SetMouseRes(InputInfoPtr pInfo, const char *protocol, int rate, int res)
356 xf86MsgVerb(X_INFO, 3, "%s: SetMouseRes: protocol %s rate %d res %d\n",
357 pInfo->name, protocol, rate, res);
361 FindDevice(InputInfoPtr pInfo, const char *protocol, int flags)
515 /* This function is called when the protocol is "wsmouse". */
517 wsconsPreInit(InputInfoPtr pInfo, const char *protocol, int flags)
696 /* This function is called when the protocol is "usb". */
698 usbPreInit(InputInfoPtr pInfo, const char *protocol, int flags)
712 pMse->protocol = protocol;
713 xf86Msg(X_CONFIG, "%s: Protocol: %s\n", pInfo->name, protocol);
817 bsdMousePreInit(InputInfoPtr pInfo, const char *protocol, int flags)
819 /* The protocol is guaranteed to be one of the internalNames[] */
821 if (xf86NameCmp(protocol, "WSMouse") == 0) {
822 return wsconsPreInit(pInfo, protocol, flags);
826 if (xf86NameCmp(protocol, "usb") == 0) {
827 return usbPreInit(pInfo, protocol, flags);