Searched refs:sc_ctl_dev (Results 1 – 2 of 2) sorted by relevance
64 struct cdev *sc_ctl_dev; member753 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()
63 struct cdev *sc_ctl_dev; /* controller device */ member600 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()