/freebsd-13-stable/sys/powerpc/powernv/ |
H A D | opal_console.c | 562 device_t cdev; local 572 cdev = device_add_child(dev, NULL, -1); 573 if (cdev == NULL) { 580 device_set_ivars(cdev, dinfo);
|
/freebsd-13-stable/sys/sys/ |
H A D | systm.h | 540 * Common `struct cdev *' stuff are declared here to avoid #include poisoning 543 struct cdev; 544 dev_t dev2udev(struct cdev *x); 545 const char *devtoname(struct cdev *cdev);
|
/freebsd-13-stable/sys/ufs/ufs/ |
H A D | ufsmount.h | 89 struct cdev *um_dev; /* (r) device mounted */
|
/freebsd-13-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.c | 242 * make_dev registers the cdev to access the 3dfx card from /dev 382 tdfx_open(struct cdev *dev, int flags, int fmt, struct thread *td) 385 * The open cdev method handles open(2) calls to /dev/3dfx[n] 399 tdfx_close(struct cdev *dev, int fflag, int devtype, struct thread *td) 402 * The close cdev method handles close(2) calls to /dev/3dfx[n] 415 tdfx_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, 770 tdfx_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td)
|
/freebsd-13-stable/sys/dev/tpm/ |
H A D | tpm20.h | 111 struct cdev *sc_cdev;
|
H A D | tpm.c | 1143 tpmopen(struct cdev *dev, int flag, int mode, struct thread *td) 1159 tpmclose(struct cdev *dev, int flag, int mode, struct thread *td) 1175 tpmread(struct cdev *dev, struct uio *uio, int flags) 1247 tpmwrite(struct cdev *dev, struct uio *uio, int flags) 1284 tpmioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags,
|
/freebsd-13-stable/sys/dev/tws/ |
H A D | tws.h | 218 struct cdev *tws_cdev; /* controller device */
|
/freebsd-13-stable/sys/dev/ksyms/ |
H A D | ksyms.c | 96 static struct cdev *ksyms_dev; 406 ksyms_open(struct cdev *dev, int flags, int fmt __unused, struct thread *td) 464 ksyms_read(struct cdev *dev, struct uio *uio, int flags __unused) 476 ksyms_mmap_single(struct cdev *dev, vm_ooffset_t *offset, vm_size_t size,
|
/freebsd-13-stable/sys/dev/mlx/ |
H A D | mlxvar.h | 117 struct cdev *mlx_dev_t;
|
/freebsd-13-stable/sys/arm/ti/ |
H A D | ti_sysc.c | 433 device_t cdev; local 440 cdev = simplebus_add_device(sc->dev, child, 0, NULL, -1, NULL); 441 if (cdev != NULL) 442 device_probe_and_attach(cdev);
|
/freebsd-13-stable/sys/cam/ctl/ |
H A D | ctl.h | 182 int ctl_ioctl_io(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
|
H A D | ctl_frontend_ioctl.c | 79 struct cdev * dev; 93 static int cfi_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, 307 cfi_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, 590 ctl_ioctl_io(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
|
/freebsd-13-stable/sys/cam/scsi/ |
H A D | scsi_enc_internal.h | 147 struct cdev *enc_dev;
|
H A D | scsi_sg.c | 107 struct cdev *dev; 434 sgopen(struct cdev *dev, int flags, int fmt, struct thread *td) 470 sgclose(struct cdev *dev, int flag, int fmt, struct thread *td) 503 sgioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td) 677 sgwrite(struct cdev *dev, struct uio *uio, int ioflag) 799 sgread(struct cdev *dev, struct uio *uio, int ioflag)
|
/freebsd-13-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_rdma.c | 337 return (QLNX_NUM_CNQ + ecore_rdma_get_sb_id(&ha->cdev.hwfns[0], 0) + 2);
|
/freebsd-13-stable/sys/netsmb/ |
H A D | smb_dev.h | 160 struct cdev * dev;
|
/freebsd-13-stable/sys/fs/fuse/ |
H A D | fuse_ipc.h | 178 struct cdev *fdev; 399 struct fuse_data *fdata_alloc(struct cdev *dev, struct ucred *cred);
|
/freebsd-13-stable/sys/dev/evdev/ |
H A D | cdev.c | 64 #define debugf(client, fmt, args...) printf("evdev cdev: "fmt"\n", ##args) 104 evdev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 174 evdev_read(struct cdev *dev, struct uio *uio, int ioflag) 255 evdev_write(struct cdev *dev, struct uio *uio, int ioflag) 308 evdev_poll(struct cdev *dev, int events, struct thread *td) 338 evdev_kqfilter(struct cdev *dev, struct knote *kn) 394 evdev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
|
/freebsd-13-stable/sys/dev/hyperv/utilities/ |
H A D | hv_kvp.c | 174 struct cdev *hv_kvp_dev; 696 hv_kvp_dev_open(struct cdev *dev, int oflags, int devtype, 713 hv_kvp_dev_close(struct cdev *dev __unused, int fflag __unused, int devtype __unused, 730 hv_kvp_dev_daemon_read(struct cdev *dev, struct uio *uio, int ioflag __unused) 762 hv_kvp_dev_daemon_write(struct cdev *dev, struct uio *uio, int ioflag __unused) 823 hv_kvp_dev_daemon_poll(struct cdev *dev, int events, struct thread *td)
|
/freebsd-13-stable/sys/security/audit/ |
H A D | audit_pipe.c | 218 static struct cdev *audit_pipe_dev; 672 audit_pipe_open(struct cdev *dev, int oflags, int devtype, struct thread *td) 692 audit_pipe_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, 900 audit_pipe_read(struct cdev *dev, struct uio *uio, int flag) 983 audit_pipe_poll(struct cdev *dev, int events, struct thread *td) 1007 audit_pipe_kqfilter(struct cdev *dev, struct knote *kn)
|
/freebsd-13-stable/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_cm.c | 74 qlnx_dma_free_coherent(&dev->ha->cdev, pkt->header.vaddr, 175 ecore_chain_free(&dev->ha->cdev, &cq->pbl); 182 ecore_chain_free(&dev->ha->cdev, &cq->pbl); 257 qlnx_dma_free_coherent(&dev->ha->cdev, 656 packet->header.vaddr = qlnx_dma_alloc_coherent(&dev->ha->cdev,
|
/freebsd-13-stable/sys/arm64/rockchip/ |
H A D | rk_pinctrl.c | 1228 device_t cdev; local 1277 cdev = simplebus_add_device(dev, node, 0, NULL, -1, NULL); 1278 if (cdev == NULL) { 1285 rv = device_probe_and_attach(cdev); 1303 rv = rk_pinctrl_register_gpio(sc, gpio_name, cdev);
|
/freebsd-13-stable/sys/dev/acpica/ |
H A D | acpivar.h | 55 struct cdev *acpi_dev_t; 110 struct cdev *cdev; member in struct:apm_clone_data
|
/freebsd-13-stable/sys/dev/iir/ |
H A D | iir.h | 613 struct cdev *sc_dev; 743 struct cdev *gdt_make_dev(struct gdt_softc *gdt); 744 void gdt_destroy_dev(struct cdev *dev);
|
/freebsd-13-stable/sys/dev/ips/ |
H A D | ips.c | 79 static int ips_open(struct cdev *dev, int flags, int fmt, struct thread *td) 88 static int ips_close(struct cdev *dev, int flags, int fmt, struct thread *td) 99 static int ips_ioctl(struct cdev *dev, u_long command, caddr_t addr, int32_t flags, struct thread *td)
|