Searched refs:cdev (Results 1 - 25 of 472) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/dev/led/
H A Dled.h17 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-12-stable/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbtfw.conf11 action "/usr/sbin/iwmbtfw -d $cdev -f /usr/local/share/iwmbt-firmware";
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h52 struct cdev *cdev; member in struct:linux_cdev
60 cdev_init(struct linux_cdev *cdev, const struct file_operations *ops) argument
63 kobject_init(&cdev->kobj, &linux_cdev_static_ktype);
64 cdev->ops = ops;
65 cdev->refs = 1;
71 struct linux_cdev *cdev; local
73 cdev = kzalloc(sizeof(struct linux_cdev), M_WAITOK);
74 kobject_init(&cdev->kobj, &linux_cdev_ktype);
75 cdev
86 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) argument
114 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) argument
141 cdev_del(struct linux_cdev *cdev) argument
150 #define cdev macro
[all...]
H A Dmiscdevice.h37 #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-12-stable/sbin/devd/
H A Duath.conf13 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-12-stable/share/examples/kld/cdev/module/
H A DMakefile6 KMOD= cdev
7 SRCS= cdev.c cdevmod.c
H A Dcdev.c3 * 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-12-stable/sys/dev/sound/pcm/
H A Ddsp.h41 int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *);
/freebsd-12-stable/sys/dev/sound/
H A Dclone.h117 int snd_clone_getdevtime(struct cdev *, struct timespec *);
118 uint32_t snd_clone_getdevflags(struct cdev *);
119 uint32_t snd_clone_setdevflags(struct cdev *, uint32_t);
122 int snd_clone_acquire(struct cdev *);
123 int snd_clone_release(struct cdev *);
124 int snd_clone_ref(struct cdev *);
125 int snd_clone_unref(struct cdev *);
126 void snd_clone_register(struct snd_clone_entry *, struct cdev *);
127 struct snd_clone_entry *snd_clone_alloc(struct snd_clone *, struct cdev **,
/freebsd-12-stable/sys/sys/
H A Dconf.h56 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-12-stable/share/examples/kld/cdev/test/
H A DMakefile70 FILESDIR=${SHAREDIR}/examples/kld/cdev/test
93 ${MODSTAT} -n cdev
/freebsd-12-stable/sys/dev/dcons/
H A Ddcons_os.h43 struct consdev *cdev; member in struct:dcons_global
/freebsd-12-stable/sys/dev/wtap/plugins/
H A Dwtap_plugin.h42 struct cdev *wp_sdev;
/freebsd-12-stable/share/examples/kld/
H A DMakefile72 SUBDIR= cdev dyn_sysctl firmware khelp random_adaptor syscall
/freebsd-12-stable/share/examples/kld/cdev/
H A DMakefile4 FILESDIR=${SHAREDIR}/examples/kld/cdev
/freebsd-12-stable/lib/libcuse/
H A Dcuse_lib.c69 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-12-stable/sys/fs/devfs/
H A Ddevfs_int.h53 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-12-stable/sys/dev/fb/
H A Dvgareg.h85 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-12-stable/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c56 static int smartpqi_open(struct cdev *cdev, int flags, int devtype, argument
67 static int smartpqi_close(struct cdev *cdev, int flags, int devtype, argument
78 static void 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);
99 static void smartpqi_get_pci_info_ioctl(caddr_t udata, struct cdev *cde argument
127 smartpqi_ioctl(struct cdev *cdev, u_long cmd, caddr_t udata, int flags, struct thread *td) argument
[all...]
/freebsd-12-stable/sys/dev/proto/
H A Dproto.h49 struct cdev *cdev; member in union:proto_res::__anon15066
H A Dproto_core.c200 r->r_u.cdev = make_dev(&proto_devsw, res, 0, 0, 0600,
203 r->r_u.cdev->si_drv1 = sc;
204 r->r_u.cdev->si_drv2 = r;
208 r->r_u.cdev = make_dev(&proto_devsw, res, 0, 0, 0600,
210 r->r_u.cdev->si_drv1 = sc;
211 r->r_u.cdev->si_drv2 = r;
216 r->r_u.cdev = make_dev(&proto_devsw, res, 0, 0, 0600,
218 r->r_u.cdev->si_drv1 = sc;
219 r->r_u.cdev->si_drv2 = r;
257 destroy_dev(r->r_u.cdev);
284 proto_open(struct cdev *cdev, int oflags, int devtype, struct thread *td) argument
307 proto_close(struct cdev *cdev, int fflag, int devtype, struct thread *td) argument
332 proto_read(struct cdev *cdev, struct uio *uio, int ioflag) argument
387 proto_write(struct cdev *cdev, struct uio *uio, int ioflag) argument
451 proto_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
493 proto_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, int prot, vm_memattr_t *memattr) argument
[all...]
/freebsd-12-stable/sys/kern/
H A Dkern_conf.c54 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);
926 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
944 dev_dependsl(struct cdev *pdev, struct cdev *cdev) argument
954 dev_depends(struct cdev *pdev, struct cdev *cdev) argument
963 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, va_list ap) argument
1020 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, ...) argument
1033 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, struct cdev *old_alias, const char *physpath) argument
[all...]
/freebsd-12-stable/sys/dev/extres/clk/
H A Dclk_bus.c64 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-12-stable/sys/dev/joy/
H A Djoyvar.h40 struct cdev *d;
/freebsd-12-stable/sys/modules/evdev/
H A DMakefile6 SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c

Completed in 127 milliseconds

1234567891011>>