Home
last modified time | relevance | path

Searched defs:cdev (Results 1 – 25 of 101) sorted by relevance

12345

/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h52 struct cdev *cdev; member
60 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) in cdev_init()
71 struct linux_cdev *cdev; in cdev_alloc() local
86 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) in cdev_add()
114 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) in cdev_add_ext()
141 cdev_del(struct linux_cdev *cdev) in cdev_del()
150 #define cdev linux_cdev macro
H A Dmiscdevice.h43 struct cdev *cdev; member
/freebsd-12.1/sys/sys/
H A Dconf.h56 struct cdev { struct
63 #define SI_CHILD 0x0010 /* child of another struct cdev **/ argument
77 LIST_ENTRY(cdev) si_list; argument
81 struct cdev *si_parent; argument
84 struct cdevsw *si_devsw; argument
85 int si_iosize_max; /* maximum I/O size (for physio &al) */
86 u_long si_usecount;
87 u_long si_threadcount;
88 union {
113 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); argument
/freebsd-12.1/lib/libcuse/
H A Dcuse_lib.c69 struct cuse_dev *cdev; member
375 struct cuse_dev *cdev; in cuse_dev_create() local
417 cuse_dev_destroy(struct cuse_dev *cdev) in cuse_dev_destroy()
436 cuse_dev_get_priv0(struct cuse_dev *cdev) in cuse_dev_get_priv0()
442 cuse_dev_get_priv1(struct cuse_dev *cdev) in cuse_dev_get_priv1()
448 cuse_dev_set_priv0(struct cuse_dev *cdev, void *priv) in cuse_dev_set_priv0()
454 cuse_dev_set_priv1(struct cuse_dev *cdev, void *priv) in cuse_dev_set_priv1()
466 struct cuse_dev *cdev; in cuse_wait_and_process() local
621 cuse_dev_set_per_file_handle(struct cuse_dev *cdev, void *handle) in cuse_dev_set_per_file_handle()
634 cuse_dev_get_per_file_handle(struct cuse_dev *cdev) in cuse_dev_get_per_file_handle()
/freebsd-12.1/sys/dev/spibus/
H A Dspigen.c166 spigen_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) in spigen_open()
182 spigen_transfer(struct cdev *cdev, struct spigen_transfer *st) in spigen_transfer()
227 spigen_transfer_mmapped(struct cdev *cdev, struct spigen_transfer_mmapped *stm) in spigen_transfer_mmapped()
251 spigen_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in spigen_ioctl()
296 spigen_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, in spigen_mmap_single()
347 spigen_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in spigen_close()
/freebsd-12.1/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c56 static int smartpqi_open(struct cdev *cdev, int flags, int devtype, in smartpqi_open()
67 static int smartpqi_close(struct cdev *cdev, int flags, int devtype, in smartpqi_close()
78 static void smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) in smartpqi_get_driver_info_ioctl()
99 static void smartpqi_get_pci_info_ioctl(caddr_t udata, struct cdev *cdev) in smartpqi_get_pci_info_ioctl()
127 static int smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata, in smartpqi_ioctl()
/freebsd-12.1/sys/dev/proto/
H A Dproto_core.c278 proto_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) in proto_open()
289 proto_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in proto_close()
304 proto_read(struct cdev *cdev, struct uio *uio, int ioflag) in proto_read()
359 proto_write(struct cdev *cdev, struct uio *uio, int ioflag) in proto_write()
423 proto_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in proto_ioctl()
465 proto_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, in proto_mmap()
H A Dproto.h48 struct cdev *cdev; member
/freebsd-12.1/sys/amd64/vmm/
H A Dvmm_dev.c71 struct cdev *cdev; member
78 struct cdev *cdev; member
185 vmmdev_lookup2(struct cdev *cdev) in vmmdev_lookup2()
192 vmmdev_rw(struct cdev *cdev, struct uio *uio, int flags) in vmmdev_rw()
342 vmmdev_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in vmmdev_ioctl()
799 vmmdev_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t mapsize, in vmmdev_mmap_single()
901 struct cdev *cdev; in sysctl_vmm_destroy() local
966 struct cdev *cdev; in sysctl_vmm_create() local
1050 devmem_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t len, in devmem_mmap_single()
1101 struct cdev *cdev; in devmem_create_cdev() local
/freebsd-12.1/sys/dev/cmx/
H A Dcmx.c417 cmx_open(struct cdev *cdev, int flags, int fmt, struct thread *td) in cmx_open()
441 cmx_close(struct cdev *cdev, int flags, int fmt, struct thread *td) in cmx_close()
478 cmx_read(struct cdev *cdev, struct uio *uio, int flag) in cmx_read()
579 cmx_write(struct cdev *cdev, struct uio *uio, int flag) in cmx_write()
644 cmx_poll(struct cdev *cdev, int events, struct thread *td) in cmx_poll()
/freebsd-12.1/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c3235 struct ecore_dev *cdev; in qlnx_txq_doorbell_wr32() local
5534 struct ecore_dev *cdev; in qlnx_dbell_wr32_db() local
5564 struct ecore_dev *cdev; in qlnx_direct_reg_rd32() local
5578 struct ecore_dev *cdev; in qlnx_direct_reg_wr32() local
5592 struct ecore_dev *cdev; in qlnx_direct_reg_wr64() local
5871 struct ecore_dev *cdev; in qlnx_slowpath_start() local
5931 struct ecore_dev *cdev; in qlnx_slowpath_stop() local
6048 struct ecore_dev *cdev; in qlnx_alloc_mem_arrays() local
6123 struct ecore_dev *cdev; in qlnx_free_mem_sb() local
6166 struct ecore_dev *cdev; in qlnx_alloc_mem_sb() local
[all …]
/freebsd-12.1/sys/dev/dcons/
H A Ddcons_os.h43 struct consdev *cdev; member
/freebsd-12.1/sys/dev/extres/clk/
H A Dclk_bus.c64 device_t cdev; in ofw_clkbus_attach() local
/freebsd-12.1/sys/powerpc/powernv/
H A Dpowernv_centaur.c96 device_t cdev; in powernv_centaur_attach() local
H A Dpowernv_xscom.c96 device_t cdev; in powernv_xscom_attach() local
H A Dopal_i2cm.c97 device_t cdev; in opal_i2cm_attach() local
/freebsd-12.1/sys/dev/fdt/
H A Dsimple_mfd.c161 device_t cdev; in simple_mfd_attach() local
274 device_t cdev; in simple_mfd_add_device() local
H A Dsimplebus.c259 device_t cdev; in simplebus_add_device() local
281 device_t cdev; in simplebus_add_child() local
/freebsd-12.1/sys/arm/ti/
H A Dti_sysc.c81 device_t cdev; in ti_sysc_attach() local
/freebsd-12.1/sys/kern/
H A Dkern_conf.c115 dev_free_devlocked(struct cdev *cdev) in dev_free_devlocked()
917 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, in make_dev_p()
935 dev_dependsl(struct cdev *pdev, struct cdev *cdev) in dev_dependsl()
945 dev_depends(struct cdev *pdev, struct cdev *cdev) in dev_depends()
954 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_v()
1011 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_p()
1024 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_physpath_alias()
1509 DB_SHOW_COMMAND(cdev, db_show_cdev) in DB_SHOW_COMMAND() argument
/freebsd-12.1/sys/dev/extres/regulator/
H A Dregulator.c128 device_t cdev; /* Consumer device */ member
790 regulator_create(struct regnode *regnode, device_t cdev) in regulator_create()
932 regulator_get_by_name(device_t cdev, const char *name, regulator_t *reg) in regulator_get_by_name()
948 regulator_get_by_id(device_t cdev, device_t pdev, intptr_t id, regulator_t *reg) in regulator_get_by_id()
1072 regulator_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, in regulator_get_by_ofw_property()
/freebsd-12.1/sys/dev/atkbdc/
H A Datkbdc_ebus.c179 device_t cdev; in atkbdc_ebus_attach() local
/freebsd-12.1/sys/fs/devfs/
H A Ddevfs_devs.c133 struct cdev *cdev; in devfs_alloc() local
173 devfs_free(struct cdev *cdev) in devfs_free()
/freebsd-12.1/sys/dev/ipmi/
H A Dipmi.c124 ipmi_open(struct cdev *cdev, int flags, int fmt, struct thread *td) in ipmi_open()
154 ipmi_poll(struct cdev *cdev, int poll_events, struct thread *td) in ipmi_poll()
321 ipmi_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, in ipmi_ioctl()
/freebsd-12.1/sys/powerpc/pseries/
H A Dvdevice.c132 device_t cdev; in vdevice_attach() local

12345