Lines Matching defs:upper
75 kbtrans_ischar(struct kbtrans *upper)
85 if (*upper->kbtrans_polled_pending_chars != '\0') {
92 upper->kbtrans_polled_buf[0] = '\0';
93 upper->kbtrans_polled_pending_chars = upper->kbtrans_polled_buf;
95 cb = upper->kbtrans_streams_hw_callbacks;
96 hw = upper->kbtrans_streams_hw;
103 kbtrans_processkey(&upper->kbtrans_lower,
108 if (*upper->kbtrans_polled_pending_chars != '\0') {
121 kbtrans_getchar(struct kbtrans *upper)
123 while (!kbtrans_ischar(upper))
126 return (*upper->kbtrans_polled_pending_chars++);
130 kbtrans_polled_putcode(struct kbtrans *upper, char code)
140 if (upper->kbtrans_polled_buf[i] == '\0') {
141 upper->kbtrans_polled_buf[i] = code;
142 upper->kbtrans_polled_buf[i+1] = '\0';
147 (upper, "kbtrans_polled_pressed: "
163 struct kbtrans *upper,
168 struct kbtrans_lower *lower = &upper->kbtrans_lower;
204 kbtrans_polled_putcode(upper, *cp);
215 kbtrans_polled_putcode(upper,
225 kbtrans_polled_putcode(upper, (char)entry);
237 kbtrans_polled_released(struct kbtrans *upper, kbtrans_key_t key)
247 kbtrans_polled_setled(struct kbtrans *upper)
252 cb = upper->kbtrans_streams_hw_callbacks;
253 hw = upper->kbtrans_streams_hw;
255 cb->kbtrans_polled_setled(hw, upper->kbtrans_lower.kbtrans_led_state);
266 struct kbtrans *upper,
281 kbtrans_polled_cancel_repeat(struct kbtrans *upper)
287 upper->kbtrans_lower.kbtrans_repeatkey = 0;