Searched refs:cdev (Results 251 - 275 of 451) sorted by relevance

<<111213141516171819

/freebsd-13-stable/sys/powerpc/powernv/
H A Dopal_console.c562 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 Dsystm.h540 * 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 Dufsmount.h89 struct cdev *um_dev; /* (r) device mounted */
/freebsd-13-stable/sys/dev/tdfx/
H A Dtdfx_pci.c242 * 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 Dtpm20.h111 struct cdev *sc_cdev;
H A Dtpm.c1143 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 Dtws.h218 struct cdev *tws_cdev; /* controller device */
/freebsd-13-stable/sys/dev/ksyms/
H A Dksyms.c96 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 Dmlxvar.h117 struct cdev *mlx_dev_t;
/freebsd-13-stable/sys/arm/ti/
H A Dti_sysc.c433 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 Dctl.h182 int ctl_ioctl_io(struct cdev *dev, u_long cmd, caddr_t addr, int flag,
H A Dctl_frontend_ioctl.c79 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 Dscsi_enc_internal.h147 struct cdev *enc_dev;
H A Dscsi_sg.c107 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 Dqlnx_rdma.c337 return (QLNX_NUM_CNQ + ecore_rdma_get_sb_id(&ha->cdev.hwfns[0], 0) + 2);
/freebsd-13-stable/sys/netsmb/
H A Dsmb_dev.h160 struct cdev * dev;
/freebsd-13-stable/sys/fs/fuse/
H A Dfuse_ipc.h178 struct cdev *fdev;
399 struct fuse_data *fdata_alloc(struct cdev *dev, struct ucred *cred);
/freebsd-13-stable/sys/dev/evdev/
H A Dcdev.c64 #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 Dhv_kvp.c174 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 Daudit_pipe.c218 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 Dqlnxr_cm.c74 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 Drk_pinctrl.c1228 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 Dacpivar.h55 struct cdev *acpi_dev_t;
110 struct cdev *cdev; member in struct:apm_clone_data
/freebsd-13-stable/sys/dev/iir/
H A Diir.h613 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 Dips.c79 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)

Completed in 344 milliseconds

<<111213141516171819