Searched refs:sc_devs (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/sys/scsi/ |
| H A D | mpath.c | 67 struct mpath_dev *sc_devs[MPATH_BUSWIDTH]; member 143 struct mpath_dev *d = sc->sc_devs[link->target]; in mpath_probe() 180 struct mpath_dev *d = sc->sc_devs[link->target]; in mpath_cmd() 284 struct mpath_dev *d = sc->sc_devs[link->target]; in mpath_done() 395 struct mpath_dev *d = sc->sc_devs[link->target]; in mpath_minphys() 452 if ((d = sc->sc_devs[target]) == NULL) in mpath_path_attach() 463 if (sc->sc_devs[target] == NULL) in mpath_path_attach() 481 sc->sc_devs[target] = d; in mpath_path_attach() 504 sc->sc_devs[target] = NULL; in mpath_path_attach() 592 if ((d = sc->sc_devs[target]) == NULL) in mpath_bootdv()
|
| /openbsd-src/sys/dev/onewire/ |
| H A D | onewire.c | 50 TAILQ_HEAD(, onewire_device) sc_devs; 103 TAILQ_INIT(&sc->sc_devs); in onewire_attach() 437 TAILQ_FOREACH(d, &sc->sc_devs, d_list) in onewire_scan() 464 TAILQ_FOREACH(d, &sc->sc_devs, d_list) { in onewire_scan() 485 TAILQ_INSERT_TAIL(&sc->sc_devs, nd, d_list); in onewire_scan() 491 TAILQ_FOREACH_SAFE(d, &sc->sc_devs, d_list, next) { in onewire_scan() 495 TAILQ_REMOVE(&sc->sc_devs, d, d_list); in onewire_scan()
|
| /openbsd-src/sys/dev/pci/ |
| H A D | pci.c | 177 LIST_INIT(&sc->sc_devs); in pciattach() 247 LIST_FOREACH(pd, &sc->sc_devs, pd_next) { in pci_suspend() 295 LIST_FOREACH(pd, &sc->sc_devs, pd_next) { in pci_powerdown() 325 LIST_FOREACH(pd, &sc->sc_devs, pd_next) { in pci_resume() 530 LIST_INSERT_HEAD(&sc->sc_devs, pd, pd_next); in pci_probe_device() 593 for (pd = LIST_FIRST(&sc->sc_devs); pd != NULL; pd = next) { in pci_detach_devices() 598 LIST_INIT(&sc->sc_devs); in pci_detach_devices() 1201 LIST_FOREACH(pd, &pci->sc_devs, pd_next) { 1311 LIST_FOREACH(pd, &pci->sc_devs, pd_next) { in pciioctl() 1493 LIST_FOREACH(pd, &pci->sc_devs, pd_nex in pciioctl() [all...] |
| H A D | mpii.c | 166 struct mpii_device **sc_devs; member 579 sc->sc_devs = mallocarray(sc->sc_max_devices, in mpii_attach() 581 if (sc->sc_devs == NULL) { in mpii_attach() 636 free(sc->sc_devs, M_DEVBUF, 0); in mpii_attach() 637 sc->sc_devs = NULL; in mpii_attach() 906 dev = sc->sc_devs[link->target]; in mpii_scsi_probe() 2527 while (slot < sc->sc_max_devices && sc->sc_devs[slot] != NULL) in mpii_insert_dev() 2534 sc->sc_devs[slot] = dev; in mpii_insert_dev() 2548 if (sc->sc_devs[i] == NULL) in mpii_remove_dev() 2551 if (sc->sc_devs[i]->dev_handle == dev->dev_handle) { in mpii_remove_dev() [all …]
|
| H A D | pcivar.h | 196 LIST_HEAD(, pci_dev) sc_devs;
|
| H A D | ppb.c | 785 if (!LIST_EMPTY(&psc->sc_devs)) in ppb_hotplug_insert()
|
| /openbsd-src/sys/dev/gpio/ |
| H A D | gpio.c | 45 LIST_HEAD(, gpio_dev) sc_devs; /* devices */ 425 LIST_INSERT_HEAD(&sc->sc_devs, gdev, sc_next); in gpio_ioctl() 433 LIST_FOREACH(gdev, &sc->sc_devs, sc_next) { in gpio_ioctl()
|
| /openbsd-src/sys/dev/pv/ |
| H A D | hypervvar.h | 156 struct hv_devices sc_devs; member
|
| H A D | hyperv.c | 1803 SLIST_INIT(&sc->sc_devs); in hv_attach_devices() 1824 SLIST_INSERT_HEAD(&sc->sc_devs, dv, dv_entry); in hv_attach_devices()
|