/dflybsd-src/sys/sys/ |
H A D | device.h | 229 struct dev_ops { struct 317 struct dev_ops *ops; 332 extern struct dev_ops dead_dev_ops; 361 int dev_doperate_ops(struct dev_ops *, struct dev_generic_args *ap); 380 void compile_dev_ops(struct dev_ops *); 381 int dev_ops_remove_all(struct dev_ops *ops); 382 int dev_ops_remove_minor(struct dev_ops *ops, int minor); 383 struct dev_ops *dev_ops_intercept(cdev_t, struct dev_ops *); 384 void dev_ops_restore(cdev_t, struct dev_ops *); 388 cdev_t make_dev(struct dev_ops *ops, int minor, uid_t uid, gid_t gid, [all …]
|
H A D | disk.h | 136 struct dev_ops *d_dev_ops; /* our device switch */ 137 struct dev_ops *d_raw_ops; /* the raw device switch */ 163 cdev_t disk_create (int unit, struct disk *disk, struct dev_ops *raw_ops); 164 cdev_t disk_create_clone (int unit, struct disk *disk, struct dev_ops *raw_ops); 165 cdev_t disk_create_named(const char *name, int unit, struct disk *dp, struct dev_ops *raw_ops); 166 cdev_t disk_create_named_clone(const char *name, int unit, struct disk *dp, struct dev_ops *raw_ops…
|
H A D | devfs.h | 159 struct dev_ops *ops; 212 struct dev_ops *ops; 385 void devfs_msg_send_ops(uint32_t, struct dev_ops *, int); 408 int devfs_destroy_dev_by_ops(struct dev_ops *, int); 411 cdev_t devfs_new_cdev(struct dev_ops *, int, struct dev_ops *);
|
H A D | conf.h | 64 struct dev_ops; 82 struct dev_ops *si_ops; /* device operations vector */ 83 struct dev_ops *si_bops; /* backing devops vector */
|
/dflybsd-src/sys/dev/drm/i915/ |
H A D | intel_dvo.c | 49 .dev_ops = &sil164_ops, 57 .dev_ops = &ch7xxx_ops, 65 .dev_ops = &ch7xxx_ops, 73 .dev_ops = &ivch_ops, 81 .dev_ops = &tfp410_ops, 90 .dev_ops = &ch7017_ops, 98 .dev_ops = &ns2501_ops, 134 return intel_dvo->dev.dev_ops->get_hw_state(&intel_dvo->dev); in intel_dvo_connector_get_hw_state() 186 intel_dvo->dev.dev_ops->dpms(&intel_dvo->dev, false); in intel_disable_dvo() 200 intel_dvo->dev.dev_ops->mode_set(&intel_dvo->dev, in intel_enable_dvo() [all …]
|
H A D | dvo.h | 41 const struct intel_dvo_dev_ops *dev_ops; member
|
/dflybsd-src/sys/kern/ |
H A D | kern_device.c | 62 __offsetof(struct dev_ops, __CONCAT(d_, name)), \ 83 struct dev_ops dead_dev_ops; 99 struct dev_ops default_dev_ops = { 567 dev_doperate_ops(struct dev_ops *ops, struct dev_generic_args *ap) in dev_doperate_ops() 589 compile_dev_ops(struct dev_ops *ops) in compile_dev_ops() 593 for (offset = offsetof(struct dev_ops, dev_ops_first_field); in compile_dev_ops() 594 offset <= offsetof(struct dev_ops, dev_ops_last_field); in compile_dev_ops() 643 dev_ops_remove_all(struct dev_ops *ops) in dev_ops_remove_all() 649 dev_ops_remove_minor(struct dev_ops *ops, int minor) in dev_ops_remove_minor() 654 struct dev_ops * [all …]
|
H A D | kern_conf.c | 189 make_dev(struct dev_ops *ops, int minor, uid_t uid, gid_t gid, in make_dev() 219 make_dev_covering(struct dev_ops *ops, struct dev_ops *bops, int minor, in make_dev_covering() 246 make_only_devfs_dev(struct dev_ops *ops, int minor, uid_t uid, gid_t gid, in make_only_devfs_dev() 271 make_only_dev(struct dev_ops *ops, int minor, uid_t uid, gid_t gid, in make_only_dev() 299 make_only_dev_covering(struct dev_ops *ops, struct dev_ops *bops, int minor, in make_only_dev_covering() 405 extern struct dev_ops default_dev_ops; 408 make_autoclone_dev(struct dev_ops *ops, struct devfs_bitmap *bitmap, in make_autoclone_dev()
|
H A D | subr_disk.c | 123 struct dev_ops *raw_ops, int clone); 136 static struct dev_ops disk1_ops = { 148 static struct dev_ops disk2_ops = { 190 struct dev_ops *dops; in disk_probe_slice() 356 struct dev_ops *dops; in disk_probe() 665 disk_create(int unit, struct disk *dp, struct dev_ops *raw_ops) in disk_create() 672 struct dev_ops *raw_ops) in disk_create_clone() 679 struct dev_ops *raw_ops) in disk_create_named() 686 struct dev_ops *raw_ops) in disk_create_named_clone() 693 struct dev_ops *raw_ops, int clone) in _disk_create_named() [all …]
|
H A D | tty_cons.c | 71 static struct dev_ops cn_ops = { 81 static struct dev_ops cn_iops = { 86 static struct dev_ops *cn_fwd_ops;
|
H A D | kern_memio.c | 84 static struct dev_ops mem_ops = { 98 static struct dev_ops mem_ops_mem = { 112 static struct dev_ops mem_ops_noq = {
|
H A D | kern_wdog.c | 203 static struct dev_ops wdog_ops = {
|
H A D | tty_pty.c | 93 static struct dev_ops pts98_ops = { 104 static struct dev_ops ptc98_ops = { 115 static struct dev_ops pts_ops = { 127 static struct dev_ops ptc_ops = {
|
/dflybsd-src/sys/dev/sound/pcm/ |
H A D | dsp.h | 36 extern struct dev_ops dsp_ops; 37 extern struct dev_ops mixer_ops;
|
/dflybsd-src/share/examples/kld/cdev/module/ |
H A D | cdevmod.c | 82 static struct dev_ops my_devops = {
|
/dflybsd-src/sys/vfs/devfs/ |
H A D | devfs_core.c | 112 static int devfs_reference_ops(struct dev_ops *ops); 113 static void devfs_release_ops(struct dev_ops *ops); 118 static int devfs_destroy_dev_by_ops_worker(struct dev_ops *, int); 863 devfs_destroy_dev_by_ops(struct dev_ops *ops, int minor) in devfs_destroy_dev_by_ops() 1193 devfs_msg_send_ops(uint32_t cmd, struct dev_ops *ops, int minor) in devfs_msg_send_ops() 1546 devfs_destroy_dev_by_ops_worker(struct dev_ops *ops, int minor) in devfs_destroy_dev_by_ops_worker() 2439 devfs_new_cdev(struct dev_ops *ops, int minor, struct dev_ops *bops) in devfs_new_cdev() 2610 devfs_reference_ops(struct dev_ops *ops) in devfs_reference_ops() 2653 devfs_release_ops(struct dev_ops *ops) in devfs_release_ops()
|
/dflybsd-src/sys/dev/drm/ |
H A D | drm_sysfs.c | 77 extern struct dev_ops drm_cdevsw;
|
/dflybsd-src/sys/bus/u4b/ |
H A D | usb_dev.h | 144 extern struct dev_ops usb_ops;
|
/dflybsd-src/sys/vfs/autofs/ |
H A D | autofs.h | 67 extern struct dev_ops autofs_ops;
|
/dflybsd-src/sys/dev/misc/backlight/ |
H A D | backlight.c | 99 static struct dev_ops backlight_cdevsw = {
|
/dflybsd-src/sys/dev/virtual/vkernel/cdrom/ |
H A D | vcd.c | 66 static struct dev_ops vcd_ops = {
|
/dflybsd-src/sys/dev/disk/dm/ |
H A D | device-mapper.c | 65 static struct dev_ops dmctl_ops = { 72 struct dev_ops dm_ops = {
|
/dflybsd-src/sys/dev/misc/efirt/ |
H A D | efidev.c | 48 static struct dev_ops efi_ops = {
|
/dflybsd-src/sys/dev/misc/pps/ |
H A D | pps.c | 59 static struct dev_ops pps_ops = {
|
/dflybsd-src/sys/dev/misc/tbridge/ |
H A D | tbridge.c | 51 static struct dev_ops tbridge_dev_ops = {
|