Searched refs:cdev (Results 51 - 75 of 451) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/dev/qlxge/
H A Dqls_ioctl.c45 static int qls_eioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
82 qls_eioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
/freebsd-13-stable/sys/dev/beri/
H A Dberi_mem.c62 struct cdev *mem_cdev;
74 mem_open(struct cdev *dev, int flags __unused,
85 mem_close(struct cdev *dev, int flags __unused,
96 mem_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags,
104 mem_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot,
/freebsd-13-stable/sys/fs/devfs/
H A Ddevfs_devs.c89 struct cdev *dev;
123 SYSCTL_INT(_debug_sizeof, OID_AUTO, cdev, CTLFLAG_RD,
124 SYSCTL_NULL_INT_PTR, sizeof(struct cdev), "sizeof(struct cdev)");
129 struct cdev *
133 struct cdev *cdev; local
145 cdev = &cdp->cdp_c;
146 LIST_INIT(&cdev->si_children);
148 cdev
175 devfs_free(struct cdev *cdev) argument
[all...]
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_ioctl.c68 static int qlnx_eioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
119 p_hwfn = &ha->cdev.hwfns[hwfn_index];
149 for (i = 0; i < ha->cdev.num_hwfns; i++)
164 for (i = 0; i < ha->cdev.num_hwfns; i++) {
207 p_hwfn = &ha->cdev.hwfns[hwfn_index];
237 for (i = 0; i < ha->cdev.num_hwfns; i++)
252 for (i = 0; i < ha->cdev.num_hwfns; i++) {
289 p_hwfn = &ha->cdev.hwfns[hwfn_index];
342 for (i = 0; i < ha->cdev.num_hwfns; i++) {
366 p_hwfn = &ha->cdev
[all...]
/freebsd-13-stable/sys/dev/fb/
H A Dfbd.c66 struct cdev *fb_si;
101 fb_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
108 fb_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
115 fb_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
155 fb_read(struct cdev *dev, struct uio *uio, int ioflag)
162 fb_write(struct cdev *dev, struct uio *uio, int ioflag)
169 fb_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot,
/freebsd-13-stable/sys/dev/fdt/
H A Dsimple_mfd.c161 device_t cdev; local
196 cdev = simple_mfd_add_device(dev, child, 0, NULL, -1, NULL);
197 if (cdev != NULL)
198 device_probe_and_attach(cdev);
274 device_t cdev; local
278 cdev = device_add_child_ordered(dev, order, name, unit);
279 if (cdev == NULL) {
288 device_set_ivars(cdev, ndi);
290 return(cdev);
/freebsd-13-stable/sys/dev/pty/
H A Dpty.c51 * si_drv1 inside the cdev to mark whether the PTY is in use.
63 ptydev_fdopen(struct cdev *dev, int fflags, struct thread *td, struct file *fp)
95 struct cdev **dev)
131 ptmx_fdopen(struct cdev *dev __unused, int fflags, struct thread *td,
/freebsd-13-stable/sys/riscv/riscv/
H A Dmem.c49 memrw(struct cdev *dev, struct uio *uio, int flags)
130 memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
141 memioctl_md(struct cdev *dev __unused, u_long cmd __unused,
/freebsd-13-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl.h66 struct cdev *mtl_reg_cdev;
74 struct cdev *mtl_pixel_cdev;
82 struct cdev *mtl_text_cdev;
/freebsd-13-stable/sys/arm64/arm64/
H A Dmem.c49 memrw(struct cdev *dev, struct uio *uio, int flags)
123 memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
134 memioctl_md(struct cdev *dev __unused, u_long cmd __unused,
/freebsd-13-stable/sys/dev/pccard/
H A Dpccard_device.c111 pccard_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
145 pccard_close(struct cdev *dev, int fflags, int devtype, struct thread *td)
157 pccard_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
164 pccard_read(struct cdev *dev, struct uio *uio, int ioflag)
/freebsd-13-stable/sys/dev/altera/avgen/
H A Daltera_avgen.h49 struct cdev *avg_cdev;
/freebsd-13-stable/sys/dev/etherswitch/
H A Detherswitch.c51 struct cdev *sc_devnode;
138 etherswitchioctl(struct cdev *cdev, u_long cmd, caddr_t data, int flags, struct thread *td) argument
140 struct etherswitch_softc *sc = cdev->si_drv1;
/freebsd-13-stable/sys/dev/extres/phy/
H A Dphy_internal.h63 device_t cdev; /* consumer device*/ member in struct:phy
/freebsd-13-stable/sys/dev/extres/syscon/
H A Dsyscon.h76 int syscon_get_by_ofw_node(device_t cdev, phandle_t node, struct syscon **syscon);
/freebsd-13-stable/sys/dev/powermac_nvram/
H A Dpowermac_nvramvar.h59 struct cdev * sc_cdev;
/freebsd-13-stable/sys/dev/vt/
H A Dvt_consolectl.c51 consolectl_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag,
/freebsd-13-stable/sys/fs/ext2fs/
H A Dext2_mount.h49 struct cdev *um_dev; /* device mounted */
/freebsd-13-stable/sys/fs/mntfs/
H A Dmntfs_vnops.c74 struct cdev *dev;
/freebsd-13-stable/sys/dev/terasic/de4led/
H A Dterasic_de4led.h46 struct cdev *tdl_leds[TERASIC_DE4LED_NUMLEDS];
/freebsd-13-stable/sys/dev/tpm/
H A Dtpmvar.h52 struct cdev *sc_cdev;
/freebsd-13-stable/sys/dev/cardbus/
H A Dcardbus_device.c136 cardbus_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
143 cardbus_close(struct cdev *dev, int fflags, int devtype, struct thread *td)
150 cardbus_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag,
157 cardbus_read(struct cdev *dev, struct uio *uio, int ioflag)
H A Dcardbusvar.h63 struct cdev *sc_cisdev;
/freebsd-13-stable/sys/amd64/sgx/
H A Dsgxvar.h76 struct cdev *sgx_cdev;
/freebsd-13-stable/sys/arm64/rockchip/
H A Drk_dwc3.c104 device_t cdev; local
189 cdev = simplebus_add_device(dev, child, 0, NULL, -1, NULL);
190 if (cdev != NULL)
191 device_probe_and_attach(cdev);

Completed in 181 milliseconds

1234567891011>>