FreeBSD/sys/arm/versatile/pl050.c
/* clear the internal state of the keyboard */
clear the internal state of the keyboard
clear the internal state of the keyboard
static void
kmi_clear_state(keyboard_t *kbd)
{
	struct kmi_softc *sc = kbd->kb_data;
	KMI_CTX_LOCK_ASSERT();
	sc->sc_flags &= ~(KMI_FLAG_COMPOSE | KMI_FLAG_POLLING);
	sc->sc_state &= LOCK_MASK;	
	sc->sc_accents = 0;
}
static void kmi_clear_state ( keyboard_t * kbd ) { struct kmi_softc * sc = kbd -> kb_data ; KMI_CTX_LOCK_ASSERT ( ) ; sc -> sc_flags &= ~ ( KMI_FLAG_COMPOSE | KMI_FLAG_POLLING ) ; sc -> sc_state &= LOCK_MASK ; sc -> sc_accents = 0 ; }
clear the internal state of the keyboard
clear the internal state of the keyboard
/* preserve locking key state */