Lines Matching refs:dev
29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/bhnd/siba/siba_nexus.c 301698 2016-06-08 21:38:51Z landonf $");
40 #include <dev/bhnd/bhnd_ids.h>
41 #include <dev/bhnd/bhnd_nexusvar.h>
42 #include <dev/bhnd/cores/chipc/chipcreg.h>
58 siba_nexus_probe(device_t dev)
63 sc = device_get_softc(dev);
67 if ((error = bhnd_nexus_read_chipid(dev, &sc->siba_cid)))
73 if ((error = siba_probe(dev)) > 0) {
74 device_printf(dev, "error %d in probe\n", error);
82 siba_nexus_attach(device_t dev)
87 sc = device_get_softc(dev);
90 if ((error = siba_add_children(dev, NULL))) {
91 device_printf(dev, "error %d enumerating children\n", error);
95 return (siba_attach(dev));
99 siba_nexus_get_chipid(device_t dev, device_t child) {
100 struct siba_nexus_softc *sc = device_get_softc(dev);