/freebsd-13-stable/sys/dev/led/ |
H A D | led.h | 17 struct cdev *led_create_state(led_t *, void *, char const *, int); 18 struct cdev *led_create(led_t *, void *, char const *); 19 void led_destroy(struct cdev *);
|
/freebsd-13-stable/usr.sbin/bluetooth/iwmbtfw/ |
H A D | iwmbtfw.conf | 11 action "/usr/sbin/iwmbtfw -d $cdev -f /usr/local/share/iwmbt-firmware";
|
/freebsd-13-stable/sys/dev/backlight/ |
H A D | backlight.h | 32 struct cdev *backlight_register(const char *name, device_t dev); 33 int backlight_destroy(struct cdev *dev);
|
H A D | backlight.c | 53 struct cdev *cdev; member in struct:backlight_softc 54 struct cdev *alias; 61 backlight_ioctl(struct cdev *dev, u_long cmd, caddr_t data, 106 struct cdev * 126 error = make_dev_s(&args, &sc->cdev, "backlight/backlight%d", sc->unit); 132 &sc->alias, sc->cdev, "backlight/%s%d", name, sc->unit); 142 return (sc->cdev); 149 backlight_destroy(struct cdev *dev)
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | cdev.h | 53 struct cdev *cdev; member in struct:linux_cdev 61 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) argument 64 kobject_init(&cdev->kobj, &linux_cdev_static_ktype); 65 cdev->ops = ops; 66 cdev->refs = 1; 72 struct linux_cdev *cdev; local 74 cdev = kzalloc(sizeof(struct linux_cdev), M_WAITOK); 75 kobject_init(&cdev->kobj, &linux_cdev_ktype); 76 cdev 87 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) argument 115 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) argument 140 cdev_del(struct linux_cdev *cdev) argument 155 #define cdev macro [all...] |
H A D | miscdevice.h | 37 #include <linux/cdev.h> 43 struct cdev *cdev; member in struct:miscdevice 56 misc->cdev = cdev_alloc(); 57 if (misc->cdev == NULL) 59 misc->cdev->owner = THIS_MODULE; 60 misc->cdev->ops = misc->fops; 61 kobject_set_name(&misc->cdev->kobj, misc->name); 62 if (cdev_add(misc->cdev, misc->this_device->devt, 1)) 71 cdev_del(misc->cdev); [all...] |
/freebsd-13-stable/sbin/devd/ |
H A D | uath.conf | 13 action "/usr/sbin/uathload -d /dev/$cdev"; 24 action "/usr/sbin/uathload -d /dev/$cdev"; 35 action "/usr/sbin/uathload -d /dev/$cdev"; 46 action "/usr/sbin/uathload -d /dev/$cdev"; 57 action "/usr/sbin/uathload -d /dev/$cdev"; 68 action "/usr/sbin/uathload -d /dev/$cdev"; 79 action "/usr/sbin/uathload -d /dev/$cdev"; 90 action "/usr/sbin/uathload -d /dev/$cdev"; 101 action "/usr/sbin/uathload -d /dev/$cdev"; 112 action "/usr/sbin/uathload -d /dev/$cdev"; [all...] |
/freebsd-13-stable/share/examples/kld/cdev/module/ |
H A D | Makefile | 6 KMOD= cdev 7 SRCS= cdev.c cdevmod.c
|
H A D | cdev.c | 3 * cdev.c 79 #include "cdev.h" 103 mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td) 115 mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td) 125 mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode, 151 mydev_write(struct cdev *dev, struct uio *uio, int ioflag) 160 printf("Write to \"cdev\" failed.\n"); 171 mydev_read(struct cdev *dev, struct uio *uio, int ioflag)
|
/freebsd-13-stable/sys/dev/sound/pcm/ |
H A D | dsp.h | 41 int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *);
|
/freebsd-13-stable/sys/dev/sound/ |
H A D | clone.h | 116 int snd_clone_getdevtime(struct cdev *, struct timespec *); 117 uint32_t snd_clone_getdevflags(struct cdev *); 118 uint32_t snd_clone_setdevflags(struct cdev *, uint32_t); 121 int snd_clone_acquire(struct cdev *); 122 int snd_clone_release(struct cdev *); 123 int snd_clone_ref(struct cdev *); 124 int snd_clone_unref(struct cdev *); 125 void snd_clone_register(struct snd_clone_entry *, struct cdev *); 126 struct snd_clone_entry *snd_clone_alloc(struct snd_clone *, struct cdev **,
|
/freebsd-13-stable/sys/sys/ |
H A D | conf.h | 56 struct cdev { struct 63 #define SI_CHILD 0x0010 /* child of another struct cdev **/ 77 LIST_ENTRY(cdev) si_list; 78 LIST_ENTRY(cdev) si_clone; 79 LIST_HEAD(, cdev) si_children; 80 LIST_ENTRY(cdev) si_siblings; 81 struct cdev *si_parent; 113 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); 114 typedef int d_fdopen_t(struct cdev *dev, int oflags, struct thread *td, struct file *fp); 115 typedef int d_close_t(struct cdev *de [all...] |
/freebsd-13-stable/share/examples/kld/cdev/test/ |
H A D | Makefile | 70 FILESDIR=${SHAREDIR}/examples/kld/cdev/test 93 ${MODSTAT} -n cdev
|
/freebsd-13-stable/sys/dev/dcons/ |
H A D | dcons_os.h | 45 struct consdev *cdev; member in struct:dcons_global
|
/freebsd-13-stable/sys/dev/wtap/plugins/ |
H A D | wtap_plugin.h | 41 struct cdev *wp_sdev;
|
/freebsd-13-stable/share/examples/kld/ |
H A D | Makefile | 72 SUBDIR= cdev dyn_sysctl firmware khelp random_adaptor syscall
|
/freebsd-13-stable/share/examples/kld/cdev/ |
H A D | Makefile | 4 FILESDIR=${SHAREDIR}/examples/kld/cdev
|
/freebsd-13-stable/lib/libcuse/ |
H A D | cuse_lib.c | 69 struct cuse_dev *cdev; member in struct:cuse_dev_entered 375 struct cuse_dev *cdev; local 382 cdev = malloc(sizeof(*cdev)); 383 if (cdev == NULL) 386 memset(cdev, 0, sizeof(*cdev)); 388 cdev->mtod = mtod; 389 cdev->priv0 = priv0; 390 cdev 417 cuse_dev_destroy(struct cuse_dev *cdev) argument 436 cuse_dev_get_priv0(struct cuse_dev *cdev) argument 442 cuse_dev_get_priv1(struct cuse_dev *cdev) argument 448 cuse_dev_set_priv0(struct cuse_dev *cdev, void *priv) argument 454 cuse_dev_set_priv1(struct cuse_dev *cdev, void *priv) argument 466 struct cuse_dev *cdev; local 621 cuse_dev_set_per_file_handle(struct cuse_dev *cdev, void *handle) argument 634 cuse_dev_get_per_file_handle(struct cuse_dev *cdev) argument [all...] |
/freebsd-13-stable/sys/fs/devfs/ |
H A D | devfs_int.h | 53 struct cdev cdp_c; 79 struct cdev *devfs_alloc(int); 81 void devfs_free(struct cdev *); 82 void devfs_create(struct cdev *); 83 void devfs_destroy(struct cdev *);
|
/freebsd-13-stable/sys/dev/fb/ |
H A D | vgareg.h | 85 int vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 87 int vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode, 89 int vga_read(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 90 int vga_write(struct cdev *dev, vga_softc_t *sc, struct uio *uio, int flag); 91 int vga_ioctl(struct cdev *dev, vga_softc_t *sc, u_long cmd, caddr_t arg, 93 int vga_mmap(struct cdev *dev, vga_softc_t *sc, vm_ooffset_t offset,
|
/freebsd-13-stable/sys/dev/smartpqi/ |
H A D | smartpqi_ioctl.c | 58 smartpqi_open(struct cdev *cdev, int flags, int devtype, argument 68 smartpqi_close(struct cdev *cdev, int flags, int devtype, argument 78 smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) argument 80 struct pqisrc_softstate *softs = cdev->si_drv1; 83 DBG_FUNC("IN udata = %p cdev = %p\n", udata, cdev); 100 smartpqi_get_pci_info_ioctl(caddr_t udata, struct cdev *cde argument 137 smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata, int flags, struct thread *td) argument [all...] |
/freebsd-13-stable/sys/dev/proto/ |
H A D | proto.h | 49 struct cdev *cdev; member in union:proto_res::__anon14062
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_conf.c | 54 static MALLOC_DEFINE(M_DEVT, "cdev", "cdev storage"); 57 static void destroy_devl(struct cdev *dev); 58 static int destroy_dev_sched_cbl(struct cdev *dev, 61 static int make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw, 78 * Free all the memory collected while the cdev mutex was 80 * be called immediately and is postponed until cdev mutex can be 115 dev_free_devlocked(struct cdev *cdev) argument 120 cdp = cdev2priv(cdev); 930 make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) argument 948 dev_dependsl(struct cdev *pdev, struct cdev *cdev) argument 957 dev_depends(struct cdev *pdev, struct cdev *cdev) argument 966 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, va_list ap) argument 1023 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, ...) argument 1036 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, struct cdev *old_alias, const char *physpath) argument [all...] |
/freebsd-13-stable/sys/dev/extres/clk/ |
H A D | clk_bus.c | 64 device_t cdev; local 70 cdev = simplebus_add_device(dev, child, 0, NULL, -1, NULL); 71 if (cdev != NULL) 72 device_probe_and_attach(cdev);
|
/freebsd-13-stable/sys/modules/evdev/ |
H A D | Makefile | 6 SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c
|