/* __psmouse_set_state() sets new psmouse state and resets all flags.  */
static void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
/* __psmouse_set_state() sets new psmouse state and resets all flags.  */
static void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
{
	psmouse->state = new_state;
	psmouse->pktcnt = psmouse->out_of_sync_cnt = 0;
	psmouse->ps2dev.flags = 0;
	psmouse->last = jiffies;
}