Lines Matching full:ram
129 uint8_t ram[RAMSZ]; /* byte0 = controller config */ member
145 if ((sc->ram[0] & KBD_ENABLE_KBD_INT) != 0) { in atkbdc_assert_kbd_intr()
154 if ((sc->ram[0] & KBD_ENABLE_AUX_INT) != 0) { in atkbdc_assert_aux_intr()
220 if (sc->ram[0] & KBD_TRANSLATION) { in atkbdc_kbd_read()
240 if (((sc->ram[0] & KBD_DISABLE_AUX_PORT) || in atkbdc_kbd_read()
342 sc->ram[0] = *eax; in atkbdc_data_handler()
343 if (sc->ram[0] & KBD_SYS_FLAG_BIT) in atkbdc_data_handler()
364 /* write to particular RAM byte */ in atkbdc_data_handler()
369 sc->ram[byten] = *eax & 0xff; in atkbdc_data_handler()
421 sc->ctrlbyte = CTRL_CMD_FLAG | sc->ram[0]; in atkbdc_sts_ctl_handler()
443 sc->ram[0] |= KBD_DISABLE_KBD_PORT; in atkbdc_sts_ctl_handler()
446 sc->ram[0] &= ~KBD_DISABLE_KBD_PORT; in atkbdc_sts_ctl_handler()
455 sc->ram[0] |= KBD_DISABLE_AUX_PORT; in atkbdc_sts_ctl_handler()
461 sc->ram[0] &= ~KBD_DISABLE_AUX_PORT; in atkbdc_sts_ctl_handler()
472 /* read "byte N" from RAM */ in atkbdc_sts_ctl_handler()
476 sc->ctrlbyte = CTRL_CMD_FLAG | sc->ram[byten]; in atkbdc_sts_ctl_handler()
488 (sc->ram[0] & KBD_DISABLE_AUX_PORT) == 0) { in atkbdc_sts_ctl_handler()
491 } else if (sc->kbd.bcnt > 0 && (sc->ram[0] & KBD_DISABLE_KBD_PORT) == 0) { in atkbdc_sts_ctl_handler()
568 SNAPSHOT_BUF_OR_LEAVE(atkbdc_sc->ram, in atkbdc_snapshot()
569 sizeof(atkbdc_sc->ram), meta, ret, done); in atkbdc_snapshot()