FreeBSD/sys/arm/samsung/exynos/chrome_kb.c
/* clear the internal state of the keyboard */
clear the internal state of the keyboard
clear the internal state of the keyboard
static void
ckb_clear_state(keyboard_t *kbd)
{
	struct ckb_softc *sc;
	sc = kbd->kb_data;
	CKB_CTX_LOCK_ASSERT();
	sc->sc_flags &= ~(CKB_FLAG_COMPOSE | CKB_FLAG_POLLING);
	sc->sc_state &= LOCK_MASK; 
	sc->sc_accents = 0;
}
static void ckb_clear_state ( keyboard_t * kbd ) { struct ckb_softc * sc ; sc = kbd -> kb_data ; CKB_CTX_LOCK_ASSERT ( ) ; sc -> sc_flags &= ~ ( CKB_FLAG_COMPOSE | CKB_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 */