/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | avila_led.c | 46 struct cdev *sc_led;
|
/freebsd-11-stable/lib/libprocstat/ |
H A D | udf.c | 55 struct cdev *im_dev;
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | macgpio.c | 159 device_t cdev; local 206 cdev = device_add_child(dev, NULL, -1); 207 if (cdev == NULL) { 214 device_set_ivars(cdev, dinfo);
|
/freebsd-11-stable/sys/powerpc/psim/ |
H A D | iobus.c | 187 device_t cdev; local 224 cdev = device_add_child(dev, NULL, -1); 225 if (cdev != NULL) { 233 device_set_ivars(cdev, dinfo);
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | mem.c | 49 memrw(struct cdev *dev, struct uio *uio, int flags)
|
/freebsd-11-stable/sys/sparc64/central/ |
H A D | central.c | 134 device_t cdev; local 169 cdev = device_add_child(dev, NULL, -1); 170 if (cdev == NULL) { 178 device_set_ivars(cdev, cdi);
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | sndstat.c | 74 static struct cdev *sndstat_dev; 105 sndstat_open(struct cdev *i_dev, int flags, int mode, struct thread *td) 139 sndstat_read(struct cdev *i_dev, struct uio *buf, int flag) 177 sndstat_write(struct cdev *i_dev, struct uio *buf, int flag)
|
/freebsd-11-stable/sys/fs/udf/ |
H A D | udf.h | 44 struct cdev *im_dev;
|
/freebsd-11-stable/sys/arm/ti/am335x/ |
H A D | am335x_dmtpps.c | 82 struct cdev * pps_cdev; 330 dmtpps_open(struct cdev *dev, int flags, int fmt, 349 dmtpps_close(struct cdev *dev, int flags, int fmt, 367 dmtpps_ioctl(struct cdev *dev, u_long cmd, caddr_t data, 516 /* Create the PPS cdev. */
|
/freebsd-11-stable/sys/dev/filemon/ |
H A D | filemon.c | 97 static struct cdev *filemon_dev; 359 filemon_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag __unused, 414 filemon_open(struct cdev *dev, int oflags __unused, int devtype __unused, 435 filemon_close(struct cdev *dev __unused, int flag __unused, int fmt __unused,
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 72 #include <linux/cdev.h> 105 #undef cdev macro 758 linux_dev_fdopen(struct cdev *dev, int fflags, struct thread *td, 1570 if (filp->f_cdev == NULL || filp->f_cdev->cdev == NULL) { 1575 p = devtoname(filp->f_cdev->cdev); 2157 struct linux_cdev *cdev; local 2160 cdev = container_of(kobj, struct linux_cdev, kobj); 2162 linux_destroy_dev(cdev); 2163 linux_cdev_deref(cdev); 2170 struct linux_cdev *cdev; local 2384 struct cdev *cdev; local 2404 struct linux_cdev *cdev; local 2426 struct linux_cdev *cdev; local [all...] |
/freebsd-11-stable/sys/dev/atkbdc/ |
H A D | atkbdc_ebus.c | 177 device_t cdev; local 279 if ((cdev = device_add_child(dev, dname, -1)) == NULL) { 287 device_set_ivars(cdev, adi);
|
/freebsd-11-stable/sys/dev/firewire/ |
H A D | firewirereg.h | 70 struct cdev *dev; 147 int (*ioctl) (struct cdev *, u_long, caddr_t, int, fw_proc *); 289 void fwdev_clone (void *, struct ucred *, char *, int, struct cdev **);
|
/freebsd-11-stable/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_reg.c | 69 terasic_mtl_reg_read(struct cdev *dev, struct uio *uio, int flag) 98 terasic_mtl_reg_write(struct cdev *dev, struct uio *uio, int flag) 124 terasic_mtl_reg_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | perfmon.c | 302 perfmon_open(struct cdev *dev, int flags, int fmt, struct thread *td) 319 perfmon_close(struct cdev *dev, int flags, int fmt, struct thread *td) 334 perfmon_ioctl(struct cdev *dev, u_long cmd, caddr_t param, int flags, struct thread *td)
|
/freebsd-11-stable/sys/dev/le/ |
H A D | lebuffer_sbus.c | 124 device_t cdev; local 140 if ((cdev = device_add_child(dev, NULL, -1)) == NULL) { 146 device_set_ivars(cdev, ldi);
|
/freebsd-11-stable/tools/tools/kttcp/sys/ |
H A D | kttcp.c | 116 kttcpopen(struct cdev *dev, int flag, int mode, struct thread *td) 123 kttcpioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) 246 static struct cdev *kttcp_dev;
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | uverbs.h | 46 #include <linux/cdev.h> 99 struct cdev cdev; member in struct:ib_uverbs_device
|
H A D | ib_user_mad.c | 47 #include <linux/cdev.h> 89 struct cdev cdev; member in struct:ib_umad_port 92 struct cdev sm_cdev; 942 port = container_of(inode->i_cdev->si_drv1, struct ib_umad_port, cdev); 1192 cdev_init(&port->cdev, &umad_fops); 1193 port->cdev.owner = THIS_MODULE; 1194 port->cdev.kobj.parent = &umad_dev->kobj; 1195 kobject_set_name(&port->cdev.kobj, "umad%d", port->dev_num); 1196 if (cdev_add(&port->cdev, bas [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | mem.c | 90 memrw(struct cdev *dev, struct uio *uio, int flags) 175 memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 265 memioctl(struct cdev *dev __unused, u_long cmd, caddr_t data, int flags,
|
/freebsd-11-stable/sys/dev/extres/regulator/ |
H A D | regulator.c | 123 device_t cdev; /* Consumer device */ member in struct:regulator 668 regulator_create(struct regnode *regnode, device_t cdev) argument 676 reg->cdev = cdev; 810 regulator_get_by_name(device_t cdev, const char *name, regulator_t *reg) argument 820 *reg = regulator_create(regnode, cdev); 826 regulator_get_by_id(device_t cdev, device_t pdev, intptr_t id, regulator_t *reg) argument 837 *reg = regulator_create(regnode, cdev); 950 regulator_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, argument 961 cnode = ofw_bus_get_node(cdev); [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | tty.h | 45 struct cdev; 132 struct cdev *t_dev; /* (c) Primary character device. */ 220 struct cdev *dev, const char *name);
|
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_ioctl.c | 61 ocs_open(struct cdev *cdev, int flags, int fmt, struct thread *td) argument 64 struct ocs_softc *ocs = cdev->si_drv1; 72 ocs_close(struct cdev *cdev, int flag, int fmt, struct thread *td) argument 75 struct ocs_softc *ocs = cdev->si_drv1; 353 ocs_ioctl(struct cdev *cdev, u_long cmd, caddr_t addr, int flag, struct thread *td) argument 356 struct ocs_softc *ocs = cdev->si_drv1; 1227 ocs->cdev [all...] |
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | iic.c | 50 struct cdev *sc_devnode; 72 static int iicuio(struct cdev *dev, struct uio *uio, int ioflag); 160 iicopen(struct cdev *dev, int flags, int fmt, struct thread *td) 241 iicuio(struct cdev *dev, struct uio *uio, int ioflag) 358 iicioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
|
/freebsd-11-stable/sys/dev/vt/ |
H A D | vt_sysmouse.c | 279 sysmouse_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 299 sysmouse_close(struct cdev *dev, int fflag, int devtype, struct thread *td) 312 sysmouse_read(struct cdev *dev, struct uio *uio, int ioflag) 347 sysmouse_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, 457 sysmouse_poll(struct cdev *dev, int events, struct thread *td)
|