Lines Matching defs:device
52 struct tty *constty; /* current console device */
58 dev_t device;
65 device = constty->t_dev;
67 device = cons.t_dev;
68 error = (*cdevsw[major(device)].d_open)(device, flag, devtype, pp);
78 dev_t device;
84 device = constty->t_dev;
86 device = cons.t_dev;
87 error = (*cdevsw[major(device)].d_close)(device, flag, mode, pp);
99 dev_t device;
105 device = constty->t_dev;
107 device = cons.t_dev;
108 error = (*cdevsw[major(device)].d_read)(device, uio, ioflag);
118 dev_t device;
124 device = constty->t_dev;
126 device = cons.t_dev;
127 error = (*cdevsw[major(device)].d_write)(device, uio, ioflag);
137 dev_t device;
144 device = constty->t_dev;
146 device = cons.t_dev;
160 error = (*cdevsw[major(device)].d_ioctl)(device, cmd, addr, flag, p);
172 dev_t device;
175 device = constty->t_dev;
177 device = cons.t_dev;
178 return ((*cdevsw[major(device)].d_select)(device, flag, wql, p));
184 dev_t device;
190 device = constty->t_dev;
192 device = cons.t_dev;
193 error = (*cdevsw[major(device)].d_getc)(device);
202 dev_t device;
208 device = constty->t_dev;
210 device = cons.t_dev;
211 error = (*cdevsw[major(device)].d_putc)(device, c);