Lines Matching refs:ram
131 uint8_t ram[RAMSZ]; /* byte0 = controller config */
143 if ((sc->ram[0] & KBD_ENABLE_KBD_INT) != 0) {
152 if ((sc->ram[0] & KBD_ENABLE_AUX_INT) != 0) {
218 if (sc->ram[0] & KBD_TRANSLATION) {
238 if (((sc->ram[0] & KBD_DISABLE_AUX_PORT) ||
340 sc->ram[0] = *eax;
341 if (sc->ram[0] & KBD_SYS_FLAG_BIT)
367 sc->ram[byten] = *eax & 0xff;
419 sc->ctrlbyte = CTRL_CMD_FLAG | sc->ram[0];
441 sc->ram[0] |= KBD_DISABLE_KBD_PORT;
444 sc->ram[0] &= ~KBD_DISABLE_KBD_PORT;
453 sc->ram[0] |= KBD_DISABLE_AUX_PORT;
459 sc->ram[0] &= ~KBD_DISABLE_AUX_PORT;
474 sc->ctrlbyte = CTRL_CMD_FLAG | sc->ram[byten];
486 (sc->ram[0] & KBD_DISABLE_AUX_PORT) == 0) {
489 } else if (sc->kbd.bcnt > 0 && (sc->ram[0] & KBD_DISABLE_KBD_PORT) == 0) {