Searched refs:chardev (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/compat/linsysfs/ |
H A D | linsysfs.c | 259 struct pfs_node *chardev, struct pfs_node *drm, char *path, char *prefix) in linsysfs_run_bus() argument 380 sub_dir = pfs_create_dir(chardev, in linsysfs_run_bus() 407 chardev, drm, new_path, prefix); in linsysfs_run_bus() 478 struct pfs_node *devdir, *chardev; in linsysfs_init() local 501 chardev = pfs_create_dir(devdir, "char", NULL, NULL, NULL, 0); in linsysfs_init() 513 linsysfs_run_bus(dev, pci, scsi, chardev, drm, "/pci0000:00", "0000"); in linsysfs_init()
|
/freebsd/sys/dev/superio/ |
H A D | superio.c | 83 struct cdev *chardev; member 723 sc->chardev = make_dev(&superio_cdevsw, device_get_unit(dev), in superio_attach() 725 if (sc->chardev == NULL) in superio_attach() 728 sc->chardev->si_drv1 = sc; in superio_attach() 741 if (sc->chardev != NULL) in superio_detach() 742 destroy_dev(sc->chardev); in superio_detach()
|