Lines Matching refs:pInfo

245     InputInfoPtr pInfo = closure;  in xf86ReadInput()  local
247 pInfo->read_input(pInfo); in xf86ReadInput()
255 xf86AddEnabledDevice(InputInfoPtr pInfo) in xf86AddEnabledDevice() argument
257 InputThreadRegisterDev(pInfo->fd, xf86ReadInput, pInfo); in xf86AddEnabledDevice()
265 xf86RemoveEnabledDevice(InputInfoPtr pInfo) in xf86RemoveEnabledDevice() argument
267 InputThreadUnregisterDev(pInfo->fd); in xf86RemoveEnabledDevice()
313 xf86DisableInputDeviceForVTSwitch(InputInfoPtr pInfo) in xf86DisableInputDeviceForVTSwitch() argument
315 if (!pInfo->dev) in xf86DisableInputDeviceForVTSwitch()
318 if (!pInfo->dev->enabled) in xf86DisableInputDeviceForVTSwitch()
319 pInfo->flags |= XI86_DEVICE_DISABLED; in xf86DisableInputDeviceForVTSwitch()
321 xf86ReleaseKeys(pInfo->dev); in xf86DisableInputDeviceForVTSwitch()
323 DisableDevice(pInfo->dev, TRUE); in xf86DisableInputDeviceForVTSwitch()
327 xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo) in xf86EnableInputDeviceForVTSwitch() argument
329 if (pInfo->dev && (pInfo->flags & XI86_DEVICE_DISABLED) == 0) in xf86EnableInputDeviceForVTSwitch()
330 EnableDevice(pInfo->dev, TRUE); in xf86EnableInputDeviceForVTSwitch()
331 pInfo->flags &= ~XI86_DEVICE_DISABLED; in xf86EnableInputDeviceForVTSwitch()
362 InputInfoPtr pInfo; in xf86VTLeave() local
387 for (pInfo = xf86InputDevs; pInfo; pInfo = pInfo->next) in xf86VTLeave()
388 xf86DisableInputDeviceForVTSwitch(pInfo); in xf86VTLeave()
437 for (pInfo = xf86InputDevs; pInfo; pInfo = pInfo->next) in xf86VTLeave()
438 xf86EnableInputDeviceForVTSwitch(pInfo); in xf86VTLeave()
452 InputInfoPtr pInfo; in xf86VTEnter() local
483 for (pInfo = xf86InputDevs; pInfo; pInfo = pInfo->next) { in xf86VTEnter()
485 if (!(pInfo->flags & XI86_SERVER_FD)) in xf86VTEnter()
486 xf86EnableInputDeviceForVTSwitch(pInfo); in xf86VTEnter()