device_t 65 bsp/drv/arm/gba/keypad.c device_t dev; device_t 131 bsp/drv/arm/gba/keypad.c device_t dev; device_t 48 bsp/drv/arm/gba/lcd.c device_t dev; device_t 181 bsp/drv/arm/gba/lcd.c device_t dev; device_t 83 bsp/drv/arm/gba/swkbd.c device_t dev; /* device object */ device_t 485 bsp/drv/arm/gba/swkbd.c device_t dev; device_t 38 bsp/drv/dev/base/cons.c static int cons_open(device_t, int); device_t 39 bsp/drv/dev/base/cons.c static int cons_close(device_t); device_t 40 bsp/drv/dev/base/cons.c static int cons_read(device_t, char *, size_t *, int); device_t 41 bsp/drv/dev/base/cons.c static int cons_write(device_t, char *, size_t *, int); device_t 42 bsp/drv/dev/base/cons.c static int cons_ioctl(device_t, u_long, void *); device_t 43 bsp/drv/dev/base/cons.c static int cons_devctl(device_t, u_long, void *); device_t 72 bsp/drv/dev/base/cons.c cons_open(device_t dev, int mode) device_t 81 bsp/drv/dev/base/cons.c cons_close(device_t dev) device_t 90 bsp/drv/dev/base/cons.c cons_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 99 bsp/drv/dev/base/cons.c cons_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 108 bsp/drv/dev/base/cons.c cons_ioctl(device_t dev, u_long cmd, void *arg) device_t 117 bsp/drv/dev/base/cons.c cons_devctl(device_t dev, u_long cmd, void *arg) device_t 52 bsp/drv/dev/base/pm.c device_t dev; /* device object */ device_t 62 bsp/drv/dev/base/pm.c device_t lcd_dev; /* lcd device */ device_t 66 bsp/drv/dev/base/pm.c static int pm_open(device_t, int); device_t 67 bsp/drv/dev/base/pm.c static int pm_close(device_t); device_t 68 bsp/drv/dev/base/pm.c static int pm_ioctl(device_t, u_long, void *); device_t 100 bsp/drv/dev/base/pm.c pm_open(device_t dev, int mode) device_t 115 bsp/drv/dev/base/pm.c pm_close(device_t dev) device_t 130 bsp/drv/dev/base/pm.c pm_ioctl(device_t dev, u_long cmd, void *arg) device_t 491 bsp/drv/dev/base/pm.c pm_attach_lcd(device_t dev) device_t 503 bsp/drv/dev/base/pm.c device_t dev; device_t 57 bsp/drv/dev/base/wscons.c device_t dev; /* our device */ device_t 72 bsp/drv/dev/base/wscons.c static int wscons_read(device_t, char *, size_t *, int); device_t 73 bsp/drv/dev/base/wscons.c static int wscons_write(device_t, char *, size_t *, int); device_t 74 bsp/drv/dev/base/wscons.c static int wscons_ioctl(device_t, u_long, void *); device_t 76 bsp/drv/dev/base/wscons.c static int wscons_cngetc(device_t); device_t 77 bsp/drv/dev/base/wscons.c static void wscons_cnputc(device_t, int); device_t 78 bsp/drv/dev/base/wscons.c static void wscons_cnpollc(device_t, int); device_t 117 bsp/drv/dev/base/wscons.c wscons_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 125 bsp/drv/dev/base/wscons.c wscons_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 133 bsp/drv/dev/base/wscons.c wscons_ioctl(device_t dev, u_long cmd, void *arg) device_t 415 bsp/drv/dev/base/wscons.c wscons_cngetc(device_t dev) device_t 424 bsp/drv/dev/base/wscons.c wscons_cnputc(device_t dev, int c) device_t 433 bsp/drv/dev/base/wscons.c wscons_cnpollc(device_t dev, int on) device_t 480 bsp/drv/dev/base/wscons.c device_t dev; device_t 102 bsp/drv/dev/block/fdd.c device_t dev; /* device object */ device_t 117 bsp/drv/dev/block/fdd.c static int fdd_open(device_t, int); device_t 118 bsp/drv/dev/block/fdd.c static int fdd_close(device_t); device_t 119 bsp/drv/dev/block/fdd.c static int fdd_read(device_t, char *, size_t *, int); device_t 120 bsp/drv/dev/block/fdd.c static int fdd_write(device_t, char *, size_t *, int); device_t 487 bsp/drv/dev/block/fdd.c fdd_open(device_t dev, int mode) device_t 500 bsp/drv/dev/block/fdd.c fdd_close(device_t dev) device_t 558 bsp/drv/dev/block/fdd.c fdd_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 614 bsp/drv/dev/block/fdd.c fdd_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 678 bsp/drv/dev/block/fdd.c device_t dev; device_t 48 bsp/drv/dev/block/ramdisk.c device_t dev; /* device object */ device_t 53 bsp/drv/dev/block/ramdisk.c static int ramdisk_read(device_t, char *, size_t *, int); device_t 54 bsp/drv/dev/block/ramdisk.c static int ramdisk_write(device_t, char *, size_t *, int); device_t 78 bsp/drv/dev/block/ramdisk.c ramdisk_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 109 bsp/drv/dev/block/ramdisk.c ramdisk_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 159 bsp/drv/dev/block/ramdisk.c device_t dev; device_t 69 bsp/drv/dev/cpufreq/cpufreq.c device_t dev; /* device object */ device_t 74 bsp/drv/dev/cpufreq/cpufreq.c static int cpufreq_ioctl(device_t, u_long, void *); device_t 75 bsp/drv/dev/cpufreq/cpufreq.c static int cpufreq_devctl(device_t, u_long, void *); device_t 303 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_ioctl(device_t dev, u_long cmd, void *arg) device_t 324 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_devctl(device_t dev, u_long cmd, void *arg) device_t 353 bsp/drv/dev/cpufreq/cpufreq.c device_t dev; device_t 45 bsp/drv/dev/input/pckbd.c device_t dev; /* device object */ device_t 271 bsp/drv/dev/input/pckbd.c device_t dev; device_t 59 bsp/drv/dev/input/psaux.c device_t dev; /* device object */ device_t 66 bsp/drv/dev/input/psaux.c static int psaux_open(device_t, int); device_t 67 bsp/drv/dev/input/psaux.c static int psaux_close(device_t); device_t 68 bsp/drv/dev/input/psaux.c static int psaux_read(device_t, char *, size_t *, int); device_t 173 bsp/drv/dev/input/psaux.c psaux_open(device_t dev, int mode) device_t 184 bsp/drv/dev/input/psaux.c psaux_close(device_t dev) device_t 194 bsp/drv/dev/input/psaux.c psaux_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 204 bsp/drv/dev/input/psaux.c device_t dev; device_t 36 bsp/drv/dev/misc/null.c static int null_read(device_t, char *, size_t *, int); device_t 37 bsp/drv/dev/misc/null.c static int null_write(device_t, char *, size_t *, int); device_t 63 bsp/drv/dev/misc/null.c null_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 74 bsp/drv/dev/misc/null.c null_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 36 bsp/drv/dev/misc/random.c static int random_read(device_t, char *, size_t *, int); device_t 59 bsp/drv/dev/misc/random.c random_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 36 bsp/drv/dev/misc/zero.c static int zero_read(device_t, char *, size_t *, int); device_t 37 bsp/drv/dev/misc/zero.c static int zero_write(device_t, char *, size_t *, int); device_t 63 bsp/drv/dev/misc/zero.c zero_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 79 bsp/drv/dev/misc/zero.c zero_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 56 bsp/drv/dev/rtc/rtc.c device_t dev; /* device object */ device_t 63 bsp/drv/dev/rtc/rtc.c static int rtc_ioctl(device_t, u_long, void *); device_t 178 bsp/drv/dev/rtc/rtc.c rtc_ioctl(device_t dev, u_long cmd, void *arg) device_t 214 bsp/drv/dev/rtc/rtc.c device_t dev; device_t 49 bsp/drv/dev/serial/serial.c device_t dev; /* device object */ device_t 57 bsp/drv/dev/serial/serial.c static int serial_read(device_t, char *, size_t *, int); device_t 58 bsp/drv/dev/serial/serial.c static int serial_write(device_t, char *, size_t *, int); device_t 59 bsp/drv/dev/serial/serial.c static int serial_ioctl(device_t, u_long, void *); device_t 61 bsp/drv/dev/serial/serial.c static int serial_cngetc(device_t); device_t 62 bsp/drv/dev/serial/serial.c static void serial_cnputc(device_t, int); device_t 63 bsp/drv/dev/serial/serial.c static void serial_cnpollc(device_t, int); device_t 95 bsp/drv/dev/serial/serial.c serial_read(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 103 bsp/drv/dev/serial/serial.c serial_write(device_t dev, char *buf, size_t *nbyte, int blkno) device_t 111 bsp/drv/dev/serial/serial.c serial_ioctl(device_t dev, u_long cmd, void *arg) device_t 153 bsp/drv/dev/serial/serial.c serial_cngetc(device_t dev) device_t 162 bsp/drv/dev/serial/serial.c serial_cnputc(device_t dev, int c) device_t 171 bsp/drv/dev/serial/serial.c serial_cnpollc(device_t dev, int on) device_t 183 bsp/drv/dev/serial/serial.c device_t dev; device_t 55 bsp/drv/dev/video/vga.c device_t dev; device_t 62 bsp/drv/dev/video/vga.c static int vga_devctl(device_t, u_long, void *); device_t 207 bsp/drv/dev/video/vga.c vga_devctl(device_t dev, u_long cmd, void *arg) device_t 238 bsp/drv/dev/video/vga.c device_t dev; device_t 36 bsp/drv/include/cons.h device_t dev; /* device */ device_t 38 bsp/drv/include/cons.h int (*cngetc)(device_t dev); /* kernel getchar */ device_t 39 bsp/drv/include/cons.h void (*cnputc)(device_t dev, int ch); /* kernel putchar */ device_t 40 bsp/drv/include/cons.h void (*cnpollc)(device_t dev, int on); /* polling control */ device_t 107 bsp/drv/include/dki.h device_t device_create(struct driver *, const char *, int); device_t 108 bsp/drv/include/dki.h int device_destroy(device_t); device_t 109 bsp/drv/include/dki.h device_t device_lookup(const char *); device_t 110 bsp/drv/include/dki.h int device_control(device_t, u_long, void *); device_t 112 bsp/drv/include/dki.h void *device_private(device_t); device_t 40 bsp/drv/include/pm.h void pm_attach_lcd(device_t); device_t 66 bsp/drv/include/tty.h device_t t_dev; /* device */ device_t 54 include/sys/device.h int (*open) (device_t, int); device_t 55 include/sys/device.h int (*close) (device_t); device_t 56 include/sys/device.h int (*read) (device_t, char *, size_t *, int); device_t 57 include/sys/device.h int (*write) (device_t, char *, size_t *, int); device_t 58 include/sys/device.h int (*ioctl) (device_t, u_long, void *); device_t 59 include/sys/device.h int (*devctl) (device_t, u_long, void *); device_t 126 include/sys/prex.h int device_open(const char *name, int mode, device_t *dev); device_t 127 include/sys/prex.h int device_close(device_t dev); device_t 128 include/sys/prex.h int device_read(device_t dev, void *buf, size_t *nbyte, int blkno); device_t 129 include/sys/prex.h int device_write(device_t dev, void *buf, size_t *nbyte, int blkno); device_t 130 include/sys/prex.h int device_ioctl(device_t dev, u_long cmd, void *arg); device_t 137 include/sys/sysinfo.h device_t id; /* device id */ device_t 74 include/sys/types.h #define NODEV ((device_t)0) device_t 51 sys/include/device.h int device_open(const char *, int, device_t *); device_t 52 sys/include/device.h int device_close(device_t); device_t 53 sys/include/device.h int device_read(device_t, void *, size_t *, int); device_t 54 sys/include/device.h int device_write(device_t, void *, size_t *, int); device_t 55 sys/include/device.h int device_ioctl(device_t, u_long, void *); device_t 58 sys/kern/device.c static device_t device_create(struct driver *, const char *, int); device_t 59 sys/kern/device.c static int device_destroy(device_t); device_t 60 sys/kern/device.c static device_t device_lookup(const char *); device_t 61 sys/kern/device.c static int device_valid(device_t); device_t 62 sys/kern/device.c static int device_reference(device_t); device_t 63 sys/kern/device.c static void device_release(device_t); device_t 64 sys/kern/device.c static void *device_private(device_t); device_t 65 sys/kern/device.c static int device_control(device_t, u_long, void *); device_t 129 sys/kern/device.c static device_t device_t 132 sys/kern/device.c device_t dev; device_t 179 sys/kern/device.c device_destroy(device_t dev) device_t 196 sys/kern/device.c static device_t device_t 199 sys/kern/device.c device_t dev; device_t 212 sys/kern/device.c device_private(device_t dev) device_t 224 sys/kern/device.c device_valid(device_t dev) device_t 226 sys/kern/device.c device_t tmp; device_t 244 sys/kern/device.c device_reference(device_t dev) device_t 266 sys/kern/device.c device_release(device_t dev) device_t 268 sys/kern/device.c device_t *tmp; device_t 299 sys/kern/device.c device_open(const char *name, int mode, device_t *devp) device_t 302 sys/kern/device.c device_t dev; device_t 339 sys/kern/device.c device_close(device_t dev) device_t 362 sys/kern/device.c device_read(device_t dev, void *buf, size_t *nbyte, int blkno) device_t 395 sys/kern/device.c device_write(device_t dev, void *buf, size_t *nbyte, int blkno) device_t 430 sys/kern/device.c device_ioctl(device_t dev, u_long cmd, void *arg) device_t 451 sys/kern/device.c device_control(device_t dev, u_long cmd, void *arg) device_t 482 sys/kern/device.c device_t dev; device_t 521 sys/kern/device.c device_t dev; device_t 38 usr/lib/libsa/_stdio.c static device_t __console_dev; device_t 110 usr/sample/balls/balls.c device_t cons; device_t 43 usr/sample/cpumon/cpumon.c device_t dev; device_t 84 usr/server/fs/arfs/arfs_vfsops.c error = device_read((device_t)mp->m_dev, buf, &size, 0); device_t 118 usr/server/fs/devfs/devfs_vnops.c device_t dev; device_t 152 usr/server/fs/devfs/devfs_vnops.c return device_close((device_t)vp->v_data); device_t 162 usr/server/fs/devfs/devfs_vnops.c error = device_read((device_t)vp->v_data, buf, &len, fp->f_offset); device_t 175 usr/server/fs/devfs/devfs_vnops.c error = device_write((device_t)vp->v_data, buf, &len, fp->f_offset); device_t 187 usr/server/fs/devfs/devfs_vnops.c error = device_ioctl((device_t)vp->v_data, cmd, arg); device_t 237 usr/server/fs/vfs/vfs_bio.c error = device_read((device_t)dev, bp->b_data, &size, blkno); device_t 273 usr/server/fs/vfs/vfs_bio.c error = device_write((device_t)bp->b_dev, bp->b_data, &size, device_t 94 usr/server/fs/vfs/vfs_mount.c device_t device; device_t 254 usr/server/fs/vfs/vfs_mount.c device_close((device_t)mp->m_dev); device_t 103 usr/server/pow/pow.c static device_t pmdev; device_t 46 usr/server/proc/proc_tty.c static device_t ttydev; device_t 40 usr/test/console/console.c device_t console_dev; device_t 42 usr/test/fdd/fdd.c device_t fdd; device_t 91 usr/test/fdd/fdd.c device_t fdd; device_t 39 usr/test/kbd/kbd.c device_t tty_dev; device_t 134 usr/test/kmon/cmd.c device_t pm_dev; device_t 148 usr/test/kmon/cmd.c device_t pm_dev; device_t 44 usr/test/ramdisk/ramdisk.c device_t ramdev; device_t 93 usr/test/ramdisk/ramdisk.c device_t ramdev; device_t 43 usr/test/reset/reset.c device_t pm_dev; device_t 40 usr/test/time/time.c device_t rtc_dev; device_t 53 usr/test/zero/zero.c device_t zero_dev;