Lines Matching refs:lower

236 	struct kbtrans_lower *lower;
285 lower = &upper->kbtrans_lower;
290 lower->kbtrans_compose_map = kb_compose_map;
291 lower->kbtrans_compose_table = kb_compose_table;
292 lower->kbtrans_fltaccent_table = kb_fltaccent_table;
293 lower->kbtrans_numlock_table = kb_numlock_table;
294 lower->kbtrans_keystringtab = keystringtab;
296 lower->kbtrans_upper = upper;
297 lower->kbtrans_compat = 1;
303 lower->kbtrans_led_state = 0;
304 lower->kbtrans_led_state &= ~initial_led_mask;
305 lower->kbtrans_led_state |= initial_leds;
306 lower->kbtrans_togglemask = 0;
308 if (lower->kbtrans_led_state & LED_CAPS_LOCK)
309 lower->kbtrans_togglemask |= CAPSMASK;
310 if (lower->kbtrans_led_state & LED_NUM_LOCK)
311 lower->kbtrans_togglemask |= NUMLOCKMASK;
314 if (lower->kbtrans_led_state & LED_SCROLL_LOCK)
315 lower->kbtrans_togglemask |= SCROLLMASK;
318 lower->kbtrans_shiftmask = lower->kbtrans_togglemask;
485 struct kbtrans_lower *lower;
488 lower = &upper->kbtrans_lower;
489 kp = lower->kbtrans_keyboard;
527 kbtrans_processkey(lower,
538 kbtrans_processkey(lower,
547 kbtrans_processkey(lower, upper->kbtrans_streams_callback, key, state);
604 struct kbtrans_lower *lower;
606 lower = &upper->kbtrans_lower;
607 lower->kbtrans_led_state = (uchar_t)led_state;
609 if (lower->kbtrans_led_state & LED_CAPS_LOCK)
610 lower->kbtrans_togglemask |= CAPSMASK;
611 if (lower->kbtrans_led_state & LED_NUM_LOCK)
612 lower->kbtrans_togglemask |= NUMLOCKMASK;
615 if (lower->kbtrans_led_state & LED_SCROLL_LOCK)
616 lower->kbtrans_togglemask |= SCROLLMASK;
619 lower->kbtrans_shiftmask = lower->kbtrans_togglemask;
697 struct kbtrans_lower *lower;
703 lower = &upper->kbtrans_lower;
749 lower->kbtrans_led_state = *(uchar_t *)mp->b_cont->b_rptr;
761 *(uchar_t *)datap->b_wptr = lower->kbtrans_led_state;
900 lower->kbtrans_compat = *(int *)mp->b_cont->b_rptr;
909 *(int *)datap->b_wptr = lower->kbtrans_compat;
1173 struct kbtrans_lower *lower = &upper->kbtrans_lower;
1177 lower->kbtrans_repeatkey));
1185 if (lower->kbtrans_repeatkey != 0) {
1186 kbtrans_keyreleased(upper, lower->kbtrans_repeatkey);
1188 kbtrans_processkey(lower,
1190 lower->kbtrans_repeatkey,
1272 struct kbtrans_lower *lower = &upper->kbtrans_lower;
1280 if (lower->kbtrans_shiftmask & (CTRLMASK | CTLSMASK)) {
1284 mask = lower->kbtrans_shiftmask &
1287 ke = kbtrans_find_entry(lower, mask, key_station);
1678 struct kbtrans_lower *lower = &upper->kbtrans_lower;
1760 cp = &lower->kbtrans_keystringtab[entry & 0x0F][0];
1781 lower->kbtrans_numlock_table[entry&0x1F]);
1829 struct kbtrans_lower *lower = &upper->kbtrans_lower;
1840 lower->kbtrans_repeatkey = key;
1865 struct kbtrans_lower *lower = &upper->kbtrans_lower;
1932 cp = &lower->kbtrans_keystringtab[entry & 0x0F][0];
2035 struct kbtrans_lower *lower = &upper->kbtrans_lower;
2055 lower->kbtrans_repeatkey = key;
2109 kbtrans_setkey(struct kbtrans_lower *lower, struct kiockey *key, cred_t *cr)
2117 kp = lower->kbtrans_keyboard;
2123 if (lower->kbtrans_keyboard == NULL)
2154 ke = kbtrans_find_entry(lower, (uint_t)tablemask, key->kio_station);
2162 lower->kbtrans_keystringtab[strtabindex], KTAB_STRLEN);
2163 lower->kbtrans_keystringtab[strtabindex][KTAB_STRLEN-1] = '\0';
2208 kbtrans_getkey(struct kbtrans_lower *lower, struct kiockey *key)
2215 kp = lower->kbtrans_keyboard;
2220 if (lower->kbtrans_keyboard == NULL)
2235 ke = kbtrans_find_entry(lower, (uint_t)key->kio_tablemask,
2255 bcopy(lower->kbtrans_keystringtab[strtabindex],
2267 kbtrans_skey(struct kbtrans_lower *lower, struct kiockeymap *key, cred_t *cr)
2273 kp = lower->kbtrans_keyboard;
2280 if (lower->kbtrans_keyboard == NULL) {
2305 ke = kbtrans_find_entry(lower, (uint_t)key->kio_tablemask,
2314 lower->kbtrans_keystringtab[strtabindex], KTAB_STRLEN);
2315 lower->kbtrans_keystringtab[strtabindex][KTAB_STRLEN-1] = '\0';
2329 kbtrans_gkey(struct kbtrans_lower *lower, struct kiockeymap *key)
2335 kp = lower->kbtrans_keyboard;
2340 if (lower->kbtrans_keyboard == NULL)
2355 ke = kbtrans_find_entry(lower, (uint_t)key->kio_tablemask,
2365 bcopy(lower->kbtrans_keystringtab[strtabindex],