Lines Matching defs:device
51 struct tty *constty; /* current console device */
74 dev_t device;
81 device = constty->t_dev;
83 device = cons.t_dev;
84 error = (*cdevsw[major(device)].d_open)(device, flag, devtype, pp);
94 dev_t device;
100 device = constty->t_dev;
102 device = cons.t_dev;
103 error = (*cdevsw[major(device)].d_close)(device, flag, mode, pp);
115 dev_t device;
121 device = constty->t_dev;
123 device = cons.t_dev;
124 error = (*cdevsw[major(device)].d_read)(device, uio, ioflag);
134 dev_t device;
140 device = constty->t_dev;
142 device = cons.t_dev;
143 error = (*cdevsw[major(device)].d_write)(device, uio, ioflag);
153 dev_t device;
160 device = constty->t_dev;
162 device = cons.t_dev;
176 error = (*cdevsw[major(device)].d_ioctl)(device, cmd, addr, flag, p);
188 dev_t device;
191 device = constty->t_dev;
193 device = cons.t_dev;
194 return ((*cdevsw[major(device)].d_select)(device, flag, wql, p));
201 dev_t device;
207 device = constty->t_dev;
209 device = cons.t_dev;
210 error = (*cdevsw[major(device)].d_getc)(device);
221 dev_t device;
227 device = constty->t_dev;
229 device = cons.t_dev;
230 error = (*cdevsw[major(device)].d_putc)(device, c);