/freebsd/sys/sys/ |
H A D | conf.h | 54 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 D | cdev.h | 51 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 D | miscdevice.h | 41 struct cdev *cdev; member
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | thermal.c | 16 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 D | cuse_lib.c | 68 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 D | spigen.c | 164 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 D | thermal.c | 15 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 D | smartpqi_ioctl.c | 57 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 D | vmm_dev.c | 50 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 D | proto_core.c | 280 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 D | qlnx_os.c | 2449 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 D | ofw_firmware.c | 81 device_t cdev; in ofw_firmware_add_device() local 126 device_t cdev; in ofw_firmware_attach() local
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_console.c | 97 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 D | dcons_os.h | 44 struct consdev *cdev; member
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_i2cm.c | 90 device_t cdev; in opal_i2cm_attach() local
|
H A D | powernv_centaur.c | 89 device_t cdev; in powernv_centaur_attach() local
|
H A D | powernv_xscom.c | 89 device_t cdev; in powernv_xscom_attach() local
|
/freebsd/sys/dev/clk/ |
H A D | clk_bus.c | 61 device_t cdev; in ofw_clkbus_attach() local
|
/freebsd/sys/dev/syscon/ |
H A D | syscon.c | 267 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 D | init.c | 127 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 D | kern_conf.c | 113 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 D | ti_omap4_cm.c | 97 device_t cdev; in ti_omap4_cm_attach() local
|
/freebsd/sys/dev/usb/controller/dwc3/ |
H A D | aw_dwc3.c | 88 device_t cdev; in aw_dwc3_attach() local
|
/freebsd/sys/dev/usb/controller/ |
H A D | xlnx_dwc3.c | 90 device_t cdev; in xlnx_dwc3_attach() local
|
/freebsd/sys/dev/qcom_dwc3/ |
H A D | qcom_dwc3.c | 91 device_t cdev; in qcom_dwc3_attach() local
|