Home
last modified time | relevance | path

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

/openbmc/qemu/hw/usb/
H A Du2f-emulated.c41 struct u2f_emu_vdev_counter vdev_counter; member
48 static void counter_increment(struct u2f_emu_vdev_counter *vdev_counter) in counter_increment() argument
50 struct synced_counter *counter = (struct synced_counter *)vdev_counter; in counter_increment()
60 static uint32_t counter_read(struct u2f_emu_vdev_counter *vdev_counter) in counter_read() argument
62 struct synced_counter *counter = (struct synced_counter *)vdev_counter; in counter_read()
235 counter->vdev_counter.counter_increment = counter_increment; in u2f_emulated_setup_counter()
236 counter->vdev_counter.counter_read = counter_read; in u2f_emulated_setup_counter()