Home
last modified time | relevance | path

Searched refs:sc_ctl_dev (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm/xilinx/
H A Dzy7_devcfg.c64 struct cdev *sc_ctl_dev; member
753 sc->sc_ctl_dev = make_dev(&zy7_devcfg_cdevsw, 0, in zy7_devcfg_attach()
755 if (sc->sc_ctl_dev == NULL) { in zy7_devcfg_attach()
760 sc->sc_ctl_dev->si_drv1 = sc; in zy7_devcfg_attach()
806 if (sc->sc_ctl_dev != NULL) in zy7_devcfg_detach()
807 destroy_dev(sc->sc_ctl_dev); in zy7_devcfg_detach()
/freebsd/sys/dev/gpio/
H A Dgpioc.c63 struct cdev *sc_ctl_dev; /* controller device */ member
600 err = make_dev_s(&devargs, &sc->sc_ctl_dev, "gpioc%d", sc->sc_unit); in gpioc_attach()
615 if (sc->sc_ctl_dev) in gpioc_detach()
616 destroy_dev(sc->sc_ctl_dev); in gpioc_detach()