Lines Matching defs:kd
1 /* $NetBSD: kd.c,v 1.53 2014/07/25 08:10:35 dholland Exp $ */
42 __KERNEL_RCSID(0, "$NetBSD: kd.c,v 1.53 2014/07/25 08:10:35 dholland Exp $");
124 kd_init(struct kd_softc *kd)
129 kd = &kd_softc; /* XXX */
138 kd->kd_tty = tp;
147 if (kd->rows == 0 &&
149 kd->rows = strtoul(prop, NULL, 10);
151 if (kd->cols == 0 &&
153 kd->cols = strtoul(prop, NULL, 10);
159 struct kd_softc *kd;
161 kd = &kd_softc; /* XXX */
162 return (kd->kd_tty);
168 struct kd_softc *kd;
176 kd = &kd_softc; /* XXX */
179 kd_init(kd);
182 tp = kd->kd_tty;
194 struct cons_channel *cc = kd->kd_in;
209 tp->t_winsize.ws_row = kd->rows;
210 tp->t_winsize.ws_col = kd->cols;
224 struct kd_softc *kd;
228 kd = &kd_softc; /* XXX */
229 tp = kd->kd_tty;
238 if ((cc = kd->kd_in) != NULL)
247 struct kd_softc *kd;
250 kd = &kd_softc; /* XXX */
251 tp = kd->kd_tty;
259 struct kd_softc *kd;
262 kd = &kd_softc; /* XXX */
263 tp = kd->kd_tty;
271 struct kd_softc *kd;
274 kd = &kd_softc; /* XXX */
275 tp = kd->kd_tty;
283 struct kd_softc *kd;
287 kd = &kd_softc; /* XXX */
288 tp = kd->kd_tty;
425 struct kd_softc *kd = &kd_softc;
429 tp = kd->kd_tty;
440 * kd console support
465 struct kd_softc *kd = &kd_softc;
472 kd->kd_in = cc;
502 struct kd_softc *kd = &kd_softc;
504 kd->kd_in = cc;