Lines Matching refs:km
1131 struct keymap *km; in kbdsetkey() local
1153 (km = settable(kbdd, (uint_t)tablemask)) == NULL) in kbdsetkey()
1176 km->keymap[key->kio_station] = entry; in kbdsetkey()
1201 struct keymap *km; in kbdgetkey() local
1216 if ((km = settable(kbdd, (uint_t)key->kio_tablemask)) == NULL) in kbdgetkey()
1218 entry = km->keymap[key->kio_station]; in kbdgetkey()
1245 struct keymap *km; in kbdskey() local
1263 if ((km = settable(kbdd, (uint_t)key->kio_tablemask)) == NULL) in kbdskey()
1272 km->keymap[key->kio_station] = key->kio_entry; in kbdskey()
1283 struct keymap *km; in kbdgkey() local
1297 if ((km = settable(kbdd, (uint_t)key->kio_tablemask)) == NULL) in kbdgkey()
1299 key->kio_entry = km->keymap[key->kio_station]; in kbdgkey()
1741 struct keymap *km; in kbdtranslate() local
1773 km = settable(kbdd, shiftmask); in kbdtranslate()
1774 if (km == NULL) { /* gross error */ in kbdtranslate()
1781 entry = km->keymap[key]; in kbdtranslate()
1790 km = settable(kbdd, shiftmask & ~NUMLOCKMASK); in kbdtranslate()
1791 if (km == NULL) { /* gross error */ in kbdtranslate()
1795 entry = km->keymap[key]; in kbdtranslate()
2225 struct keymap *km; in kbdkeypressed() local
2227 km = settable(kbdd, in kbdkeypressed()
2229 if (km == NULL) in kbdkeypressed()
2231 base = km->keymap[key_station]; in kbdkeypressed()