Lines Matching refs:U2FKeyState
142 static void u2f_key_reset(U2FKeyState *key) in u2f_key_reset()
151 U2FKeyState *key = U2F_KEY(dev); in u2f_key_handle_reset()
159 U2FKeyState *key = U2F_KEY(dev); in u2f_key_handle_control()
194 static void u2f_key_recv_from_guest(U2FKeyState *key, USBPacket *p) in u2f_key_recv_from_guest()
207 static void u2f_pending_in_add(U2FKeyState *key, in u2f_pending_in_add()
223 static uint8_t *u2f_pending_in_get(U2FKeyState *key) in u2f_pending_in_get()
240 U2FKeyState *key = U2F_KEY(dev); in u2f_key_handle_data()
267 void u2f_send_to_guest(U2FKeyState *key, in u2f_send_to_guest()
276 U2FKeyState *key = U2F_KEY(dev); in u2f_key_unrealize()
286 U2FKeyState *key = U2F_KEY(dev); in u2f_key_realize()
309 VMSTATE_USB_DEVICE(dev, U2FKeyState),
310 VMSTATE_UINT8(idle, U2FKeyState),
311 VMSTATE_UINT8_2DARRAY(pending_in, U2FKeyState,
313 VMSTATE_UINT8(pending_in_start, U2FKeyState),
314 VMSTATE_UINT8(pending_in_end, U2FKeyState),
315 VMSTATE_UINT8(pending_in_num, U2FKeyState),
340 .instance_size = sizeof(U2FKeyState),