Home
last modified time | relevance | path

Searched refs:U2FKeyState (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/usb/
H A Du2f.h37 OBJECT_DECLARE_TYPE(U2FKeyState, U2FKeyClass, U2F_KEY)
48 void (*recv_from_guest)(U2FKeyState *key,
50 void (*realize)(U2FKeyState *key, Error **errp);
51 void (*unrealize)(U2FKeyState *key);
57 struct U2FKeyState { struct
73 void u2f_send_to_guest(U2FKeyState *key, argument
80 .size = sizeof(U2FKeyState), \
83 .offset = vmstate_offset_value(_state, _field, U2FKeyState), \
H A Du2f.c142 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()
[all …]
H A Du2f-passthru.c61 U2FKeyState base;
308 U2FKeyState *base = &key->base; in u2f_passthru_read()
332 static void u2f_passthru_recv_from_guest(U2FKeyState *base, in u2f_passthru_recv_from_guest()
459 static void u2f_passthru_unrealize(U2FKeyState *base) in u2f_passthru_unrealize()
467 static void u2f_passthru_realize(U2FKeyState *base, Error **errp) in u2f_passthru_realize()
H A Du2f-emulated.c71 U2FKeyState base;
142 static void u2f_emulated_recv_from_guest(U2FKeyState *base, in u2f_emulated_recv_from_guest()
298 static void u2f_emulated_realize(U2FKeyState *base, Error **errp) in u2f_emulated_realize()
346 static void u2f_emulated_unrealize(U2FKeyState *base) in u2f_emulated_unrealize()