/netbsd-src/sys/dev/cardbus/ |
H A D | fwohci_cardbus.c | 57 struct fwohci_softc sc_sc; member 101 fwohci_init(&sc->sc_sc); in fwohci_cardbus_attach() 105 0, &sc->sc_sc.bst, &sc->sc_sc.bsh, NULL, &sc->sc_sc.bssize)) { in fwohci_cardbus_attach() 110 sc->sc_sc.fc.dev = self; in fwohci_cardbus_attach() 111 sc->sc_sc.fc.dmat = ca->ca_dmat; in fwohci_cardbus_attach() 117 OWRITE(&sc->sc_sc, FWOHCI_INTMASKCLR, OHCI_INT_EN); in fwohci_cardbus_attach() 131 if (fwohci_attach(&sc->sc_sc) != 0) { in fwohci_cardbus_attach() 144 rv = fwohci_detach(&sc->sc_sc, flags); in fwohci_cardbus_detach() 152 if (sc->sc_sc.bssize) { in fwohci_cardbus_detach() 154 sc->sc_sc.bst, sc->sc_sc.bsh, in fwohci_cardbus_detach() [all …]
|
H A D | if_ral_cardbus.c | 82 #define sc_sc u.sc_rt2560 macro 129 struct rt2560_softc *sc = &csc->sc_sc; in ral_cardbus_attach() 176 struct rt2560_softc *sc = &csc->sc_sc; in ral_cardbus_detach()
|
/netbsd-src/sys/arch/evbarm/g42xxeb/ |
H A D | gb225_slhci.c | 58 struct slhci_softc sc_sc; member 137 sc->sc_sc.sc_iot = iot; in slhci_opio_attach() 138 sc->sc_sc.sc_ioh = ioh; in slhci_opio_attach() 139 sc->sc_sc.sc_dmat = &pxa2x0_bus_dma_tag; /* XXX */ in slhci_opio_attach() 140 sc->sc_sc.sc_enable_power = slhci_opio_enable_power; in slhci_opio_attach() 141 sc->sc_sc.sc_enable_intr = slhci_opio_enable_intr; in slhci_opio_attach() 142 sc->sc_sc.sc_arg = sc; in slhci_opio_attach() 164 if (slhci_attach(&sc->sc_sc, self)) in slhci_opio_attach() 173 bus_space_tag_t iot = sc->sc_sc.sc_iot; in slhci_opio_enable_power() 193 device_parent(sc->sc_sc.sc_bus.bdev))); in slhci_opio_enable_intr() [all …]
|
/netbsd-src/sys/arch/amiga/dev/ |
H A D | slhci_zbus.c | 67 struct slhci_softc sc_sc; member 100 sc = &zsc->sc_sc; in slhci_zbus_attach() 138 bus_space_read_1(zsc->sc_sc.sc_iot, zsc->sc_sc.sc_ioh, in slhci_zbus_enable_power() 141 bus_space_read_1(zsc->sc_sc.sc_iot, zsc->sc_sc.sc_ioh, in slhci_zbus_enable_power()
|
/netbsd-src/sys/dev/pci/ |
H A D | if_ath_pci.c | 94 struct ath_softc sc_sc; member 127 ath_suspend(&sc->sc_sc); in ath_pci_suspend() 142 ath_intr, &sc->sc_sc, device_xname(self)); in ath_pci_resume() 147 return ath_resume(&sc->sc_sc); in ath_pci_resume() 154 struct ath_softc *sc = &psc->sc_sc; in ath_pci_attach() 235 if ((rv = ath_detach(&psc->sc_sc)) != 0) in ath_pci_detach() 270 aprint_error_dev(sc->sc_sc.sc_dev, in ath_pci_setup() 275 aprint_error_dev(sc->sc_sc.sc_dev, in ath_pci_setup()
|
H A D | virtio_pci.c | 84 struct virtio_softc sc_sc; member 241 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach() 339 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_rescan() 360 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_detach() 397 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach_09() 436 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_attach_10() 544 psc->sc_sc.sc_version_1 = 1; in virtio_pci_attach_10() 569 device_t self = psc->sc_sc.sc_dev; in virtio_pci_find_cap() 622 struct virtio_pci_softc, sc_sc); in virtio_pci_kick_09() 631 struct virtio_softc * const sc = &psc->sc_sc; in virtio_pci_adjust_config_region() [all...] |
H A D | if_ral_pci.c | 85 #define sc_sc u.sc_rt2560 macro 164 struct rt2560_softc *sc = &psc->sc_sc; in ral_pci_attach() 238 struct rt2560_softc *sc = &psc->sc_sc; in ral_pci_detach()
|
H A D | if_bwfm_pci.c | 73 #define DEVNAME(sc) device_xname((sc)->sc_sc.sc_dev) 125 struct bwfm_softc sc_sc; member 416 sc->sc_sc.sc_dev = self; in bwfm_pci_attach() 482 sc->sc_sc.sc_buscore_ops = &bwfm_pci_buscore_ops; in bwfm_pci_attachhook() 483 if (bwfm_chip_attach(&sc->sc_sc) != 0) { in bwfm_pci_attachhook() 750 sc->sc_sc.sc_bus_ops = &bwfm_pci_bus_ops; in bwfm_pci_attachhook() 751 sc->sc_sc.sc_proto_ops = &bwfm_pci_msgbuf_ops; in bwfm_pci_attachhook() 752 bwfm_attach(&sc->sc_sc); in bwfm_pci_attachhook() 844 bwfm_detach(&sc->sc_sc, flags); in bwfm_pci_detach() 1412 struct ifnet *ifp = sc->sc_sc.sc_ic.ic_ifp; in bwfm_pci_msg_rx() [all …]
|
/netbsd-src/sys/dev/sdmmc/ |
H A D | if_bwfm_sdio.c | 67 #define DEVNAME(sc) device_xname((sc)->sc_sc.sc_dev) 77 struct bwfm_softc sc_sc; member 365 sc->sc_sc.sc_dev = self; in bwfm_sdio_attach() 411 sc->sc_sc.sc_buscore_ops = &bwfm_sdio_buscore_ops; in bwfm_sdio_attach() 412 if (bwfm_chip_attach(&sc->sc_sc) != 0) { in bwfm_sdio_attach() 417 sc->sc_cc = bwfm_chip_get_core(&sc->sc_sc, BWFM_AGENT_CORE_CHIPCOMMON); in bwfm_sdio_attach() 423 core = bwfm_chip_get_core(&sc->sc_sc, BWFM_AGENT_CORE_SDIO_DEV); in bwfm_sdio_attach() 439 core = bwfm_chip_get_pmu(&sc->sc_sc); in bwfm_sdio_attach() 461 struct bwfm_softc *bwfm = &sc->sc_sc; in bwfm_sdio_attachhook() 571 sc->sc_sc.sc_bus_ops = &bwfm_sdio_bus_ops; in bwfm_sdio_attachhook() [all …]
|
/netbsd-src/sys/dev/fdt/ |
H A D | amdccp_fdt.c | 43 struct amdccp_softc sc_sc; member 69 struct amdccp_softc * const sc = &fsc->sc_sc; in amdccp_fdt_attach() 75 fsc->sc_sc.sc_dev = self; in amdccp_fdt_attach()
|
H A D | virtio_mmio_fdt.c | 77 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_attach() 117 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_rescan() 147 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mmio_fdt_alloc_interrupts()
|
/netbsd-src/sys/arch/evbmips/mipssim/ |
H A D | virtio_mainbus.c | 86 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_attach() 121 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_rescan() 152 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mainbus_alloc_interrupts()
|
/netbsd-src/sys/arch/virt68k/dev/ |
H A D | virtio_mainbus.c | 87 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_attach() 121 struct virtio_softc *vsc = &msc->sc_sc; in virtio_mainbus_rescan() 152 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_mainbus_alloc_interrupts()
|
/netbsd-src/sys/dev/usb/ |
H A D | if_bwfm_usb.c | 100 #define DEVNAME(sc) device_xname((sc)->sc_sc.sc_dev) 190 struct bwfm_softc sc_sc; member 270 sc->sc_sc.sc_dev = self; in bwfm_usb_attach() 293 sc->sc_sc.sc_bus_ops = &bwfm_usb_bus_ops; in bwfm_usb_attach() 294 sc->sc_sc.sc_proto_ops = &bwfm_proto_bcdc_ops; in bwfm_usb_attach() 337 struct bwfm_softc *bwfm = &sc->sc_sc; in bwfm_usb_attachhook() 417 bwfm_attach(&sc->sc_sc); in bwfm_usb_attachhook() 492 bwfm_rx(&sc->sc_sc, m); in bwfm_usb_rxeof() 590 struct ifnet *ifp = sc->sc_sc.sc_ic.ic_ifp; in bwfm_usb_txeof() 629 bwfm_detach(&sc->sc_sc, flags); in bwfm_usb_detach()
|
/netbsd-src/sys/arch/x68k/dev/ |
H A D | slhci_intio.c | 120 struct slhci_softc *sc = &isc->sc_sc; in slhci_intio_attach() 175 bus_space_tag_t iot = sc->sc_sc.sc_iot; in slhci_intio_enable_power() 191 bus_space_tag_t iot = sc->sc_sc.sc_iot; in slhci_intio_enable_intr()
|
H A D | slhci_intio_var.h | 49 struct slhci_softc sc_sc; member
|
/netbsd-src/sys/dev/acpi/ |
H A D | virtio_acpi.c | 84 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_attach() 154 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_rescan() 175 struct virtio_softc * const vsc = &msc->sc_sc; in virtio_acpi_alloc_interrupts()
|
/netbsd-src/sys/dev/virtio/ |
H A D | virtio_mmio.c | 269 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_common_attach() 348 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_common_detach() 461 struct virtio_softc *vsc = &sc->sc_sc; in virtio_mmio_intr()
|
H A D | virtio_mmiovar.h | 34 struct virtio_softc sc_sc; member
|