static void adb_kbd_reset(DeviceState *dev)

{

    ADBDevice *d = ADB_DEVICE(dev);

    KBDState *s = ADB_KEYBOARD(dev);



    d->handler = 1;

    d->devaddr = ADB_DEVID_KEYBOARD;

    memset(s->data, 0, sizeof(s->data));

    s->rptr = 0;

    s->wptr = 0;

    s->count = 0;

}

static void adb_kbd_reset(DeviceState *dev)

{

    ADBDevice *d = ADB_DEVICE(dev);

    KBDState *s = ADB_KEYBOARD(dev);



    d->handler = 1;

    d->devaddr = ADB_DEVID_KEYBOARD;

    memset(s->data, 0, sizeof(s->data));

    s->rptr = 0;

    s->wptr = 0;

    s->count = 0;

}

static void adb_kbd_reset(DeviceState *dev)     ADBDevice *d = ADB_DEVICE(dev);     KBDState *s = ADB_KEYBOARD(dev);     d->handler = 1;     d->devaddr = ADB_DEVID_KEYBOARD;     memset(s->data, 0, sizeof(s->data));     s->rptr = 0;     s->wptr = 0;     s->count = 0;     d->devaddr = ADB_DEVID_KEYBOARD;     ADBDevice *d = ADB_DEVICE(dev);
static void FUNC_0(DeviceState *VAR_0)

{

    ADBDevice *d = ADB_DEVICE(VAR_0);

    KBDState *s = ADB_KEYBOARD(VAR_0);



    d->handler = 1;

    d->devaddr = ADB_DEVID_KEYBOARD;

    memset(s->data, 0, sizeof(s->data));

    s->rptr = 0;

    s->wptr = 0;

    s->count = 0;

}

static void FUNC_0(DeviceState *VAR_0)
{ ADBDevice *d = ADB_DEVICE(VAR_0); KBDState *s = ADB_KEYBOARD(VAR_0); d->handler = 1; d->devaddr = ADB_DEVID_KEYBOARD; memset(s->data, 0, sizeof(s->data)); s->rptr = 0; s->wptr = 0; s->count = 0; }