Lines Matching defs:bus
47 #include <sys/bus.h>
79 #include <machine/bus.h>
871 "bus regwin already exists\n");
891 device_printf(sc->sc_dev, "no bus regwin was found\n");
906 struct bwi_regwin *old, *bus;
910 bus = &sc->sc_bus_regwin;
914 * Tell bus to generate requested interrupts
916 if (bus->rw_rev < 6 && bus->rw_type == BWI_REGWIN_T_BUSPCI) {
922 error = bwi_regwin_switch(sc, bus, &old);
932 error = bwi_regwin_switch(sc, bus, &old);
944 if (bus->rw_type == BWI_REGWIN_T_BUSPCI) {
951 if (bus->rw_rev < 5) {
955 * Configure timeouts for bus operation
967 * and switch back to bus regwin once we have done.
975 /* Let bus know what we have changed */
982 error = bwi_regwin_switch(sc, bus, NULL);
986 } else if (bus->rw_rev >= 11) {
3465 struct bwi_regwin *bus, *old;
3468 bus = &sc->sc_bus_regwin;
3470 error = bwi_regwin_switch(sc, bus, &old);
3474 if (!bwi_regwin_is_enabled(sc, bus))
3475 bwi_regwin_enable(sc, bus, 0);
3508 "bus rev %u\n", busrev);
3601 /* Flush pending bus write */
3610 /* Flush pending bus write */
3629 /* Flush pending bus write */
3649 /* Flush pending bus write */
3658 /* Flush pending bus write */