Home
last modified time | relevance | path

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

12345

/freebsd-13.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-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h53 struct cdev *cdev; member
63 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) in cdev_init()
78 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) in cdev_add()
106 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) in cdev_add_ext()
131 cdev_del(struct linux_cdev *cdev) in cdev_del()
146 #define cdev linux_cdev macro
H A Dmiscdevice.h43 struct cdev *cdev; member
/freebsd-13.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-13.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()
348 spigen_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in spigen_close()
/freebsd-13.1/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c58 smartpqi_open(struct cdev *cdev, int flags, int devtype, in smartpqi_open()
68 smartpqi_close(struct cdev *cdev, int flags, int devtype, in smartpqi_close()
78 smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) in smartpqi_get_driver_info_ioctl()
100 smartpqi_get_pci_info_ioctl(caddr_t udata, struct cdev *cdev) in smartpqi_get_pci_info_ioctl()
137 smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata, in smartpqi_ioctl()
/freebsd-13.1/sys/dev/proto/
H A Dproto_core.c284 proto_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) in proto_open()
307 proto_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in proto_close()
332 proto_read(struct cdev *cdev, struct uio *uio, int ioflag) in proto_read()
387 proto_write(struct cdev *cdev, struct uio *uio, int ioflag) in proto_write()
451 proto_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in proto_ioctl()
493 proto_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, in proto_mmap()
/freebsd-13.1/sys/amd64/vmm/
H A Dvmm_dev.c75 struct cdev *cdev; member
82 struct cdev *cdev; member
196 vmmdev_lookup2(struct cdev *cdev) in vmmdev_lookup2()
203 vmmdev_rw(struct cdev *cdev, struct uio *uio, int flags) in vmmdev_rw()
357 vmmdev_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in vmmdev_ioctl()
903 vmmdev_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t mapsize, in vmmdev_mmap_single()
1006 struct cdev *cdev; in sysctl_vmm_destroy() local
1080 struct cdev *cdev; in sysctl_vmm_create() local
1174 devmem_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t len, in devmem_mmap_single()
1225 struct cdev *cdev; in devmem_create_cdev() local
/freebsd-13.1/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c3171 struct ecore_dev *cdev; in qlnx_txq_doorbell_wr32() local
5415 struct ecore_dev *cdev; in qlnx_dbell_wr32_db() local
5445 struct ecore_dev *cdev; in qlnx_direct_reg_rd32() local
5459 struct ecore_dev *cdev; in qlnx_direct_reg_wr32() local
5473 struct ecore_dev *cdev; in qlnx_direct_reg_wr64() local
5749 struct ecore_dev *cdev; in qlnx_slowpath_start() local
5809 struct ecore_dev *cdev; in qlnx_slowpath_stop() local
5924 struct ecore_dev *cdev; in qlnx_alloc_mem_arrays() local
5998 struct ecore_dev *cdev; in qlnx_free_mem_sb() local
6041 struct ecore_dev *cdev; in qlnx_alloc_mem_sb() local
[all …]
/freebsd-13.1/sys/dev/dcons/
H A Ddcons_os.h45 struct consdev *cdev; member
/freebsd-13.1/sys/powerpc/powernv/
H A Dpowernv_centaur.c96 device_t cdev; in powernv_centaur_attach() local
H A Dopal_i2cm.c97 device_t cdev; in opal_i2cm_attach() local
H A Dpowernv_xscom.c96 device_t cdev; in powernv_xscom_attach() local
/freebsd-13.1/sys/dev/extres/clk/
H A Dclk_bus.c64 device_t cdev; in ofw_clkbus_attach() local
/freebsd-13.1/sys/dev/extres/syscon/
H A Dsyscon.c267 syscon_get_by_ofw_node(device_t cdev, phandle_t node, struct syscon **syscon) in syscon_get_by_ofw_node()
282 syscon_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, in syscon_get_by_ofw_property()
/freebsd-13.1/sys/dev/fdt/
H A Dsimple_mfd.c174 device_t cdev; in simple_mfd_attach() local
287 device_t cdev; in simple_mfd_add_device() local
H A Dsimplebus.c294 device_t cdev; in simplebus_add_device() local
316 device_t cdev; in simplebus_add_child() local
/freebsd-13.1/sys/kern/
H A Dkern_conf.c115 dev_free_devlocked(struct cdev *cdev) in dev_free_devlocked()
930 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, in make_dev_p()
948 dev_dependsl(struct cdev *pdev, struct cdev *cdev) in dev_dependsl()
957 dev_depends(struct cdev *pdev, struct cdev *cdev) in dev_depends()
966 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_v()
1023 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_p()
1036 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_physpath_alias()
1525 DB_SHOW_COMMAND(cdev, db_show_cdev) in DB_SHOW_COMMAND() argument
/freebsd-13.1/sys/arm/ti/
H A Dti_omap4_cm.c102 device_t cdev; in ti_omap4_cm_attach() local
H A Dti_scm.c115 device_t cdev; in ti_scm_attach() local
/freebsd-13.1/sys/arm/allwinner/
H A Daw_dwc3.c91 device_t cdev; in aw_dwc3_attach() local
/freebsd-13.1/sys/dev/extres/regulator/
H A Dregulator.c133 device_t cdev; /* Consumer device */ member
901 regulator_create(struct regnode *regnode, device_t cdev) in regulator_create()
1063 regulator_get_by_name(device_t cdev, const char *name, regulator_t *reg) in regulator_get_by_name()
1079 regulator_get_by_id(device_t cdev, device_t pdev, intptr_t id, regulator_t *reg) in regulator_get_by_id()
1203 regulator_get_by_ofw_property(device_t cdev, phandle_t cnode, char *name, in regulator_get_by_ofw_property()
/freebsd-13.1/sys/contrib/dev/iwlwifi/mvm/
H A Dtt.c775 static int iwl_mvm_tcool_get_max_state(struct thermal_cooling_device *cdev, in iwl_mvm_tcool_get_max_state()
783 static int iwl_mvm_tcool_get_cur_state(struct thermal_cooling_device *cdev, in iwl_mvm_tcool_get_cur_state()
793 static int iwl_mvm_tcool_set_cur_state(struct thermal_cooling_device *cdev, in iwl_mvm_tcool_set_cur_state()
/freebsd-13.1/sys/fs/devfs/
H A Ddevfs_devs.c133 struct cdev *cdev; in devfs_alloc() local
175 devfs_free(struct cdev *cdev) in devfs_free()
/freebsd-13.1/sys/dev/ipmi/
H A Dipmi.c134 ipmi_open(struct cdev *cdev, int flags, int fmt, struct thread *td) in ipmi_open()
164 ipmi_poll(struct cdev *cdev, int poll_events, struct thread *td) in ipmi_poll()
326 ipmi_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, in ipmi_ioctl()

12345