Searched refs:cdev (Results 126 - 150 of 462) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/ppbus/
H A Dpps.c44 struct cdev *devs[9];
111 struct cdev *d;
208 ppsopen(struct cdev *dev, int flags, int fmt, struct thread *td)
249 ppsclose(struct cdev *dev, int flags, int fmt, struct thread *td)
317 ppsioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
H A Dppi.c66 struct cdev *ppi_cdev;
291 ppiopen(struct cdev *dev, int flags, int fmt, struct thread *td)
317 ppiclose(struct cdev *dev, int flags, int fmt, struct thread *td)
358 ppiread(struct cdev *dev, struct uio *uio, int ioflag)
450 ppiwrite(struct cdev *dev, struct uio *uio, int ioflag)
548 ppiioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
/freebsd-11-stable/sys/dev/led/
H A Dled.c33 struct cdev *dev;
210 led_write(struct cdev *dev, struct uio *uio, int ioflag)
271 struct cdev *
277 struct cdev *
304 led_destroy(struct cdev *dev)
/freebsd-11-stable/sys/nfs/
H A Dnfs_lock.c80 static struct cdev *nfslock_dev;
86 nfslock_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
107 nfslock_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
124 nfslock_read(struct cdev *dev, struct uio *uio, int ioflag)
153 nfslock_write(struct cdev *dev, struct uio *uio, int ioflag)
/freebsd-11-stable/sys/dev/speaker/
H A Dspkr.c413 struct cdev *dev;
437 struct cdev *dev;
466 struct cdev *dev;
484 struct cdev *dev;
526 static struct cdev *speaker_dev;
/freebsd-11-stable/sys/dev/random/
H A Drandomdev.c86 static struct cdev *random_dev;
120 randomdev_read(struct cdev *dev __unused, struct uio *uio, int flags)
250 randomdev_write(struct cdev *dev __unused, struct uio *uio, int flags __unused)
275 randomdev_poll(struct cdev *dev __unused, int events, struct thread *td __unused)
301 randomdev_ioctl(struct cdev *dev __unused, u_long cmd, caddr_t addr __unused,
/freebsd-11-stable/sys/arm/ti/
H A Dti_pruss.c106 struct cdev *sc_pdev;
132 struct cdev *sc_pdev;
177 ti_pruss_irq_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
200 ti_pruss_irq_poll(struct cdev *dev, int events, struct thread *td)
218 ti_pruss_irq_read(struct cdev *cdev, struct uio *uio, int ioflag) argument
227 irq = cdev->si_drv1;
693 ti_pruss_open(struct cdev *cdev __unused, int oflags __unused,
700 ti_pruss_mmap(struct cdev *cde argument
750 ti_pruss_irq_kqfilter(struct cdev *cdev, struct knote *kn) argument
[all...]
/freebsd-11-stable/sys/net/
H A Dif_tun.c74 struct cdev *tun_dev;
125 int namelen, struct cdev **dev);
126 static void tuncreate(const char *name, struct cdev *dev);
193 struct cdev *dev;
213 /* No preexisting struct cdev *, create one */
224 struct cdev **dev)
260 /* No preexisting struct cdev *, create one */
272 struct cdev *dev;
419 tuncreate(const char *name, struct cdev *dev)
459 tunopen(struct cdev *de
[all...]
H A Dif_tap.c95 struct cdev **);
96 static void tapcreate(struct cdev *);
188 struct cdev *dev;
206 struct cdev *dev;
351 tapclone(void *arg, struct ucred *cred, char *name, int namelen, struct cdev **dev)
414 tapcreate(struct cdev *dev)
488 tapopen(struct cdev *dev, int flag, int mode, struct thread *td)
535 tapclose(struct cdev *dev, int foo, int bar, struct thread *td)
744 tapioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td)
890 tapread(struct cdev *de
[all...]
/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs_vnops.c80 static MALLOC_DEFINE(M_CDEVPDATA, "DEVFSP", "Metainfo for cdev-fp data");
116 devfs_fp_check(struct file *fp, struct cdev **devp, struct cdevsw **dswp,
127 ("devfs: un-referenced struct cdev *(%s)", devtoname(*devp)));
164 cdp = cdev2priv((struct cdev *)fp->f_data);
416 struct cdev *dev;
560 struct cdev *dev = vp->v_rdev;
636 ("devfs_close() on un-referenced struct cdev *(%s)", devtoname(dev)));
675 struct cdev *dev;
747 struct cdev *dev;
822 struct cdev *de
880 struct cdev *cdev; local
[all...]
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dnexus.c219 device_t cdev; local
252 cdev = device_add_child(dev, NULL, -1);
253 if (cdev == NULL) {
259 device_set_ivars(cdev, ndi);
267 device_t cdev; local
270 cdev = device_add_child_ordered(dev, order, name, unit);
271 if (cdev == NULL)
278 device_set_ivars(cdev, ndi);
280 return (cdev);
/freebsd-11-stable/sys/dev/acpi_support/
H A Dacpi_asus.c105 struct cdev *cdev; member in struct:acpi_asus_led
762 sc->s_bled.cdev =
771 sc->s_dled.cdev =
779 sc->s_gled.cdev =
787 sc->s_mled.cdev =
795 sc->s_tled.cdev =
804 sc->s_wled.cdev =
849 led_destroy(sc->s_bled.cdev);
852 led_destroy(sc->s_dled.cdev);
[all...]
/freebsd-11-stable/sys/dev/iscsi_initiator/
H A Discsi.c96 static int i_create_session(struct cdev *dev, int *ndev);
98 static int i_ping(struct cdev *dev);
99 static int i_send(struct cdev *dev, caddr_t arg, struct thread *td);
100 static int i_recv(struct cdev *dev, caddr_t arg, struct thread *td);
102 static int i_fullfeature(struct cdev *dev, int flag);
123 iscsi_open(struct cdev *dev, int flags, int otype, struct thread *td)
137 iscsi_close(struct cdev *dev, int flag, int otyp, struct thread *td)
169 iscsi_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, struct thread *td)
272 iscsi_read(struct cdev *dev, struct uio *uio, int ioflag)
375 i_ping(struct cdev *de
[all...]
/freebsd-11-stable/sys/dev/firewire/
H A Dfwmem.c266 fwmem_open(struct cdev *dev, int flags, int fmt, fw_proc *td)
303 fwmem_close (struct cdev *dev, int flags, int fmt, fw_proc *td)
348 struct cdev *dev;
406 fwmem_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, fw_proc *td)
426 fwmem_poll(struct cdev *dev, int events, fw_proc *td)
432 fwmem_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
/freebsd-11-stable/sys/i386/isa/
H A Dspic.c111 struct cdev *sc_cdev;
453 spicopen(struct cdev *dev, int flag, int fmt, struct thread *td)
475 spicclose(struct cdev *dev, int flag, int fmt, struct thread *td)
490 spicread(struct cdev *dev, struct uio *uio, int flag)
521 spicioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td)
531 spicpoll(struct cdev *dev, int events, struct thread *td)
/freebsd-11-stable/sys/dev/beri/virtio/
H A Dvirtio_block.c89 struct cdev *cdev; member in struct:beri_vtblk_softc
435 beri_ioctl(struct cdev *dev, u_long cmd, caddr_t addr,
535 sc->cdev = make_dev(&beri_cdevsw, 0, UID_ROOT, GID_WHEEL,
537 if (sc->cdev == NULL) {
542 sc->cdev->si_drv1 = sc;
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dcambria_led.c48 struct cdev *sc_leds[8];
112 struct cdev *led = sc->sc_leds[i];
/freebsd-11-stable/sys/dev/wtap/
H A Dif_wtap_module.c99 static struct cdev *sdev;
108 wtap_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
/freebsd-11-stable/sys/cam/
H A Dcam_compat.h37 int cam_compat_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
38 struct thread *td, int(*cbfnp)(struct cdev *, u_long, caddr_t, int,
/freebsd-11-stable/sys/arm/arm/
H A Dmem.c81 memrw(struct cdev *dev, struct uio *uio, int flags)
161 memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
/freebsd-11-stable/sys/dev/hyperv/vmbus/amd64/
H A Dhyperv_machdep.c94 hyperv_tsc_open(struct cdev *dev __unused, int oflags, int devtype __unused,
104 hyperv_tsc_mmap(struct cdev *dev __unused, vm_ooffset_t offset,
/freebsd-11-stable/sys/cddl/dev/dtmalloc/
H A Ddtmalloc.c75 static struct cdev *dtmalloc_cdev;
219 dtmalloc_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused)
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs.h108 struct cdev *cdev; member in struct:ocs_softc
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_vm.c34 int drm_mmap(struct cdev *kdev, vm_ooffset_t offset, vm_paddr_t *paddr,
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_vm.c48 drm_mmap(struct cdev *kdev, vm_ooffset_t offset, vm_paddr_t *paddr,

Completed in 197 milliseconds

1234567891011>>