Lines Matching defs:sc
61 static int siba_bhndb_wars_hwup(struct siba_softc *sc);
99 struct siba_softc *sc;
103 sc = device_get_softc(dev);
117 sc->hostb_dev = BHNDB_FIND_HOSTB_DEVICE(device_get_parent(dev), dev);
124 if ((error = siba_bhndb_wars_hwup(sc)))
133 struct siba_softc *sc;
136 sc = device_get_softc(dev);
139 if ((error = siba_bhndb_wars_hwup(sc)))
217 siba_bhndb_wars_pcie_clear_d11_timeout(struct siba_softc *sc)
224 if (bhnd_get_class(sc->hostb_dev) != BHND_DEVCLASS_PCIE)
228 d11 = bhnd_match_child(sc->dev, &(struct bhnd_core_match) {
252 siba_bhndb_wars_hwup(struct siba_softc *sc)
257 quirks = bhnd_device_quirks(sc->hostb_dev, bridge_devs,
261 if ((error = siba_bhndb_wars_pcie_clear_d11_timeout(sc)))