Пример #1
0
static int
sunkbd_disable(keyboard_t *kbd)
{

	KBD_DEACTIVATE(kbd);
	return (0);
}
Пример #2
0
/* disallow the access to the device */
static int
ukbd_disable(keyboard_t *kbd)
{
	crit_enter();
	KBD_DEACTIVATE(kbd);
	crit_exit();
	return 0;
}
Пример #3
0
/* disallow the access to the device */
static int
kmi_disable(keyboard_t *kbd)
{

	KMI_LOCK();
	KBD_DEACTIVATE(kbd);
	KMI_UNLOCK();

	return (0);
}
Пример #4
0
/* disallow the access to the device */
static int
pckbd_disable(keyboard_t *kbd)
{
	int s;

	s = spltty();
	KBD_DEACTIVATE(kbd);
	splx(s);
	return 0;
}
Пример #5
0
/* disallow the access to the device */
static int
ckb_disable(keyboard_t *kbd)
{

	CKB_LOCK();
	KBD_DEACTIVATE(kbd);
	CKB_UNLOCK();

	return (0);
}
Пример #6
0
static int 
akbd_disable(keyboard_t *kbd) 
{
	struct adb_kbd_softc *sc;
	sc = (struct adb_kbd_softc *)(kbd);

	callout_stop(&sc->sc_repeater);
	KBD_DEACTIVATE(kbd);
	return (0);
}