Home
last modified time | relevance | path

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

12345

/freebsd/sys/sys/
H A Dconf.h54 struct cdev { struct
61 #define SI_CHILD 0x0010 /* child of another struct cdev **/ argument
75 LIST_ENTRY(cdev) si_list; argument
79 struct cdev *si_parent; argument
82 struct cdevsw *si_devsw; argument
83 int si_iosize_max; /* maximum I/O size (for physio &al) */
84 u_long si_usecount;
85 u_long si_threadcount;
86 union {
111 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); argument
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h51 struct cdev *cdev; member
61 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) in cdev_init()
76 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) in cdev_add()
104 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) in cdev_add_ext()
129 cdev_del(struct linux_cdev *cdev) in cdev_del()
144 #define cdev linux_cdev macro
H A Dmiscdevice.h41 struct cdev *cdev; member
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dthermal.c16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state()
25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state()
38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state()
156 struct thermal_cooling_device *cdev; in ath10k_thermal_register() local
/freebsd/lib/libcuse/
H A Dcuse_lib.c68 struct cuse_dev *cdev; member
369 struct cuse_dev *cdev; in cuse_dev_create() local
411 cuse_dev_destroy(struct cuse_dev *cdev) in cuse_dev_destroy()
430 cuse_dev_get_priv0(struct cuse_dev *cdev) in cuse_dev_get_priv0()
436 cuse_dev_get_priv1(struct cuse_dev *cdev) in cuse_dev_get_priv1()
442 cuse_dev_set_priv0(struct cuse_dev *cdev, void *priv) in cuse_dev_set_priv0()
448 cuse_dev_set_priv1(struct cuse_dev *cdev, void *priv) in cuse_dev_set_priv1()
460 struct cuse_dev *cdev; in cuse_wait_and_process() local
615 cuse_dev_set_per_file_handle(struct cuse_dev *cdev, void *handle) in cuse_dev_set_per_file_handle()
628 cuse_dev_get_per_file_handle(struct cuse_dev *cdev) in cuse_dev_get_per_file_handle()
/freebsd/sys/dev/spibus/
H A Dspigen.c164 spigen_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) in spigen_open()
180 spigen_transfer(struct cdev *cdev, struct spigen_transfer *st) in spigen_transfer()
225 spigen_transfer_mmapped(struct cdev *cdev, struct spigen_transfer_mmapped *stm) in spigen_transfer_mmapped()
249 spigen_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in spigen_ioctl()
294 spigen_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, in spigen_mmap_single()
346 spigen_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in spigen_close()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dthermal.c15 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state()
24 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state()
37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state()
159 struct thermal_cooling_device *cdev; in ath11k_thermal_register() local
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c57 smartpqi_open(struct cdev *cdev, int flags, int devtype, in smartpqi_open()
67 smartpqi_close(struct cdev *cdev, int flags, int devtype, in smartpqi_close()
77 smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) in smartpqi_get_driver_info_ioctl()
99 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/sys/dev/vmm/
H A Dvmm_dev.c50 struct cdev *cdev; member
57 struct cdev *cdev; member
177 vmmdev_lookup2(struct cdev *cdev) in vmmdev_lookup2()
183 vmmdev_rw(struct cdev *cdev, struct uio *uio, int flags) in vmmdev_rw()
384 vmmdev_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in vmmdev_ioctl()
684 vmmdev_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t mapsize, in vmmdev_mmap_single()
786 struct cdev *cdev; in vmmdev_lookup_and_destroy() local
860 struct cdev *cdev; in vmmdev_create() local
924 vmmctl_open(struct cdev *cdev, int flags, int fmt, struct thread *td) in vmmctl_open()
939 vmmctl_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in vmmctl_ioctl()
[all …]
/freebsd/sys/dev/proto/
H A Dproto_core.c280 proto_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) in proto_open()
303 proto_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) in proto_close()
328 proto_read(struct cdev *cdev, struct uio *uio, int ioflag) in proto_read()
383 proto_write(struct cdev *cdev, struct uio *uio, int ioflag) in proto_write()
447 proto_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, in proto_ioctl()
489 proto_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, in proto_mmap()
/freebsd/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c2449 struct ecore_dev *cdev; in qlnx_config_mcast_mac_addr() local
4523 struct ecore_dev *cdev = &ha->cdev; in qlnx_rx_int() local
5307 struct ecore_dev *cdev; in qlnx_dbell_wr32_db() local
5337 struct ecore_dev *cdev; in qlnx_direct_reg_rd32() local
5351 struct ecore_dev *cdev; in qlnx_direct_reg_wr32() local
5365 struct ecore_dev *cdev; in qlnx_direct_reg_wr64() local
5589 qlnx_nic_setup(struct ecore_dev *cdev, struct ecore_pf_params *func_params) in qlnx_nic_setup()
5616 qlnx_nic_start(struct ecore_dev *cdev) in qlnx_nic_start()
5641 struct ecore_dev *cdev; in qlnx_slowpath_start() local
5701 struct ecore_dev *cdev; in qlnx_slowpath_stop() local
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_firmware.c81 device_t cdev; in ofw_firmware_add_device() local
126 device_t cdev; in ofw_firmware_attach() local
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_console.c97 struct cdev *cdev; member
203 dpaa2_cons_open(struct cdev *cdev, int flags, int fmt, struct thread *td) in dpaa2_cons_open()
248 dpaa2_cons_close(struct cdev *cdev, int flags, int fmt, struct thread *td) in dpaa2_cons_close()
262 dpaa2_cons_read(struct cdev *cdev, struct uio *uio, int flag) in dpaa2_cons_read()
/freebsd/sys/dev/dcons/
H A Ddcons_os.h44 struct consdev *cdev; member
/freebsd/sys/powerpc/powernv/
H A Dopal_i2cm.c90 device_t cdev; in opal_i2cm_attach() local
H A Dpowernv_centaur.c89 device_t cdev; in powernv_centaur_attach() local
H A Dpowernv_xscom.c89 device_t cdev; in powernv_xscom_attach() local
/freebsd/sys/dev/clk/
H A Dclk_bus.c61 device_t cdev; in ofw_clkbus_attach() local
/freebsd/sys/dev/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/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c127 mt7915_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_get_max_throttle_state()
136 mt7915_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_get_cur_throttle_state()
147 mt7915_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in mt7915_thermal_set_cur_throttle_state()
200 struct thermal_cooling_device *cdev; in mt7915_thermal_init() local
/freebsd/sys/kern/
H A Dkern_conf.c113 dev_free_devlocked(struct cdev *cdev) in dev_free_devlocked()
923 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, in make_dev_p()
941 dev_dependsl(struct cdev *pdev, struct cdev *cdev) in dev_dependsl()
950 dev_depends(struct cdev *pdev, struct cdev *cdev) in dev_depends()
959 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_v()
1016 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_alias_p()
1029 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, in make_dev_physpath_alias()
1544 DB_SHOW_COMMAND(cdev, db_show_cdev) in DB_SHOW_COMMAND() argument
/freebsd/sys/arm/ti/
H A Dti_omap4_cm.c97 device_t cdev; in ti_omap4_cm_attach() local
/freebsd/sys/dev/usb/controller/dwc3/
H A Daw_dwc3.c88 device_t cdev; in aw_dwc3_attach() local
/freebsd/sys/dev/usb/controller/
H A Dxlnx_dwc3.c90 device_t cdev; in xlnx_dwc3_attach() local
/freebsd/sys/dev/qcom_dwc3/
H A Dqcom_dwc3.c91 device_t cdev; in qcom_dwc3_attach() local

12345