Lines Matching refs:cdev
58 struct cdev *cdev;
140 sc->cdev = make_dev(&pcfclock_cdevsw, unit,
142 if (sc->cdev == NULL) {
146 sc->cdev->si_drv1 = sc;
152 pcfclock_open(struct cdev *dev, int flag, int fms, struct thread *td)
172 pcfclock_close(struct cdev *dev, int flags, int fmt, struct thread *td)
186 pcfclock_write_cmd(struct cdev *dev, unsigned char command)
206 pcfclock_display_data(struct cdev *dev, char buf[18])
228 pcfclock_read_data(struct cdev *dev, char *buf, ssize_t bits)
267 pcfclock_read_dev(struct cdev *dev, char *buf, int maxretries)
297 pcfclock_read(struct cdev *dev, struct uio *uio, int ioflag)