Lines Matching defs:gdev
161 struct gpio_dev *gdev;
185 LIST_FOREACH(gdev, &sc->sc_devs, sc_next)
186 if (gdev->sc_dev == child) {
187 LIST_REMOVE(gdev, sc_next);
188 kmem_free(gdev, sizeof(struct gpio_dev));
744 struct gpio_dev *gdev;
908 gdev = kmem_alloc(sizeof(struct gpio_dev),
910 gdev->sc_dev = dv;
911 LIST_INSERT_HEAD(&sc->sc_devs, gdev, sc_next);
1032 struct gpio_dev *gdev;
1161 LIST_FOREACH(gdev, &sc->sc_devs, sc_next) {
1162 if (strcmp(device_xname(gdev->sc_dev),
1169 if (config_detach(gdev->sc_dev, 0) == 0) {
1178 if (gdev == NULL) {