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

1234567891011>>

/freebsd-current/sys/dev/led/
H A Dled.h15 struct cdev *led_create_state(led_t *, void *, char const *, int);
16 struct cdev *led_create(led_t *, void *, char const *);
17 void led_destroy(struct cdev *);
/freebsd-current/sbin/devd/
H A Dmoused.conf5 match "cdev" "atp[0-9]+";
7 action "service moused quietstart $cdev";
14 match "cdev" "ums[0-9]+";
16 action "service moused quietstart $cdev";
23 match "cdev" "wsp[0-9]+";
25 action "service moused quietstart $cdev";
32 match "cdev" "ums[0-9]+";
34 action "service moused stop $cdev";
H A Duath.conf12 action "/usr/sbin/uathload -d /dev/$cdev";
23 action "/usr/sbin/uathload -d /dev/$cdev";
34 action "/usr/sbin/uathload -d /dev/$cdev";
45 action "/usr/sbin/uathload -d /dev/$cdev";
56 action "/usr/sbin/uathload -d /dev/$cdev";
67 action "/usr/sbin/uathload -d /dev/$cdev";
78 action "/usr/sbin/uathload -d /dev/$cdev";
89 action "/usr/sbin/uathload -d /dev/$cdev";
100 action "/usr/sbin/uathload -d /dev/$cdev";
111 action "/usr/sbin/uathload -d /dev/$cdev";
[all...]
/freebsd-current/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbtfw.conf10 action "/usr/sbin/iwmbtfw -d $cdev -f /usr/local/share/iwmbt-firmware";
/freebsd-current/sys/dev/backlight/
H A Dbacklight.h30 struct cdev *backlight_register(const char *name, device_t dev);
31 int backlight_destroy(struct cdev *dev);
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dmiscdevice.h35 #include <linux/cdev.h>
41 struct cdev *cdev; member in struct:miscdevice
54 misc->cdev = cdev_alloc();
55 if (misc->cdev == NULL)
57 misc->cdev->owner = THIS_MODULE;
58 misc->cdev->ops = misc->fops;
59 kobject_set_name(&misc->cdev->kobj, misc->name);
60 if (cdev_add(misc->cdev, misc->this_device->devt, 1))
69 cdev_del(misc->cdev);
[all...]
H A Dcdev.h51 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;
76 cdev_add(struct linux_cdev *cdev, dev_t dev, unsigned count) argument
84 cdev->dev = dev;
92 args.mda_si_drv1 = cdev;
94 error = make_dev_s(&args, &cdev
104 cdev_add_ext(struct linux_cdev *cdev, dev_t dev, uid_t uid, gid_t gid, int mode) argument
129 cdev_del(struct linux_cdev *cdev) argument
144 #define cdev macro
[all...]
/freebsd-current/share/examples/kld/cdev/module/
H A DMakefile5 KMOD= cdev
6 SRCS= cdev.c cdevmod.c
H A Dcdev.c3 * cdev.c
77 #include "cdev.h"
101 mydev_open(struct cdev *dev, int flag, int otyp, struct thread *td)
113 mydev_close(struct cdev *dev, int flag, int otyp, struct thread *td)
123 mydev_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int mode,
149 mydev_write(struct cdev *dev, struct uio *uio, int ioflag)
158 printf("Write to \"cdev\" failed.\n");
169 mydev_read(struct cdev *dev, struct uio *uio, int ioflag)
/freebsd-current/sys/dev/sound/pcm/
H A Ddsp.h39 int dsp_oss_audioinfo(struct cdev *, oss_audioinfo *, bool);
40 int dsp_oss_engineinfo(struct cdev *, oss_audioinfo *);
/freebsd-current/sys/sys/
H A Dconf.h53 struct cdev { struct
60 #define SI_CHILD 0x0010 /* child of another struct cdev **/
74 LIST_ENTRY(cdev) si_list;
75 LIST_ENTRY(cdev) si_clone;
76 LIST_HEAD(, cdev) si_children;
77 LIST_ENTRY(cdev) si_siblings;
78 struct cdev *si_parent;
110 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td);
111 typedef int d_fdopen_t(struct cdev *dev, int oflags, struct thread *td, struct file *fp);
112 typedef int d_close_t(struct cdev *de
[all...]
/freebsd-current/share/examples/kld/cdev/test/
H A DMakefile69 FILESDIR=${SHAREDIR}/examples/kld/cdev/test
92 ${MODSTAT} -n cdev
/freebsd-current/share/examples/kld/
H A DMakefile71 SUBDIR= cdev dyn_sysctl firmware khelp random_adaptor syscall
/freebsd-current/share/examples/kld/cdev/
H A DMakefile3 FILESDIR=${SHAREDIR}/examples/kld/cdev
/freebsd-current/sys/dev/wtap/plugins/
H A Dwtap_plugin.h39 struct cdev *wp_sdev;
/freebsd-current/sys/dev/dcons/
H A Ddcons_os.h44 struct consdev *cdev; member in struct:dcons_global
/freebsd-current/lib/libcuse/
H A Dcuse_lib.c68 struct cuse_dev *cdev; member in struct:cuse_dev_entered
369 struct cuse_dev *cdev; local
376 cdev = malloc(sizeof(*cdev));
377 if (cdev == NULL)
380 memset(cdev, 0, sizeof(*cdev));
382 cdev->mtod = mtod;
383 cdev->priv0 = priv0;
384 cdev
411 cuse_dev_destroy(struct cuse_dev *cdev) argument
430 cuse_dev_get_priv0(struct cuse_dev *cdev) argument
436 cuse_dev_get_priv1(struct cuse_dev *cdev) argument
442 cuse_dev_set_priv0(struct cuse_dev *cdev, void *priv) argument
448 cuse_dev_set_priv1(struct cuse_dev *cdev, void *priv) argument
460 struct cuse_dev *cdev; local
615 cuse_dev_set_per_file_handle(struct cuse_dev *cdev, void *handle) argument
628 cuse_dev_get_per_file_handle(struct cuse_dev *cdev) argument
[all...]
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dthermal.c16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, argument
25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, argument
28 struct ath10k *ar = cdev->devdata;
38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, argument
41 struct ath10k *ar = cdev->devdata;
156 struct thermal_cooling_device *cdev; local
163 cdev = thermal_cooling_device_register("ath10k_thermal", ar,
166 if (IS_ERR(cdev)) {
168 PTR_ERR(cdev));
172 ret = sysfs_create_link(&ar->dev->kobj, &cdev
[all...]
/freebsd-current/sys/fs/devfs/
H A Ddevfs_int.h49 struct cdev cdp_c;
78 struct cdev *devfs_alloc(int);
80 void devfs_free(struct cdev *);
81 void devfs_create(struct cdev *);
82 void devfs_destroy(struct cdev *);
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c57 smartpqi_open(struct cdev *cdev, int flags, int devtype, argument
67 smartpqi_close(struct cdev *cdev, int flags, int devtype, argument
77 smartpqi_get_driver_info_ioctl(caddr_t udata, struct cdev *cdev) argument
79 struct pqisrc_softstate *softs = cdev->si_drv1;
82 DBG_FUNC("IN udata = %p cdev = %p\n", udata, cdev);
99 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-current/sys/dev/proto/
H A Dproto.h47 struct cdev *cdev; member in union:proto_res::__anon4228
/freebsd-current/sys/dev/qat/include/common/
H A Dadf_uio_control.h28 struct cdev *cdev; member in struct:adf_uio_control_accel
/freebsd-current/sys/kern/
H A Dkern_conf.c51 static MALLOC_DEFINE(M_DEVT, "cdev", "cdev storage");
54 static void destroy_devl(struct cdev *dev);
55 static int destroy_dev_sched_cbl(struct cdev *dev,
59 static int make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw,
76 * Free all the memory collected while the cdev mutex was
78 * be called immediately and is postponed until cdev mutex can be
113 dev_free_devlocked(struct cdev *cdev) argument
118 cdp = cdev2priv(cdev);
923 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
941 dev_dependsl(struct cdev *pdev, struct cdev *cdev) argument
950 dev_depends(struct cdev *pdev, struct cdev *cdev) argument
959 make_dev_alias_v(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, va_list ap) argument
1016 make_dev_alias_p(int flags, struct cdev **cdev, struct cdev *pdev, const char *fmt, ...) argument
1029 make_dev_physpath_alias(int flags, struct cdev **cdev, struct cdev *pdev, struct cdev *old_alias, const char *physpath) argument
[all...]
/freebsd-current/sys/modules/evdev/
H A DMakefile5 SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c
/freebsd-current/sys/dev/clk/
H A Dclk_bus.c61 device_t cdev; local
67 cdev = simplebus_add_device(dev, child, 0, NULL, -1, NULL);
68 if (cdev != NULL)
69 device_probe_and_attach(cdev);

Completed in 291 milliseconds

1234567891011>>