Searched refs:psc (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo_pci.c156 struct malo_pci_softc *psc = device_get_softc(dev); local
157 struct malo_softc *sc = &psc->malo_sc;
166 psc->malo_mem_spec = malo_res_spec_mem;
167 error = bus_alloc_resources(dev, psc->malo_mem_spec, psc->malo_res_mem);
185 psc->malo_irq_spec = malo_res_spec_legacy;
191 psc->malo_irq_spec = malo_res_spec_msi;
192 psc->malo_msi = 1;
198 error = bus_alloc_resources(dev, psc->malo_irq_spec, psc
273 struct malo_pci_softc *psc = device_get_softc(dev); local
304 struct malo_pci_softc *psc = device_get_softc(dev); local
314 struct malo_pci_softc *psc = device_get_softc(dev); local
324 struct malo_pci_softc *psc = device_get_softc(dev); local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Dif_ral_pci.c205 struct ral_pci_softc *psc = device_get_softc(dev); local
206 struct rt2560_softc *sc = &psc->u.sc_rt2560;
220 psc->sc_opns = &ral_rt2560_opns;
225 psc->sc_opns = &ral_rt2661_opns;
228 psc->sc_opns = &ral_rt2860_opns;
232 psc->mem_rid = RAL_PCI_BAR0;
233 psc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &psc->mem_rid,
235 if (psc->mem == NULL) {
240 sc->sc_st = rman_get_bustag(psc
273 struct ral_pci_softc *psc = device_get_softc(dev); local
293 struct ral_pci_softc *psc = device_get_softc(dev); local
303 struct ral_pci_softc *psc = device_get_softc(dev); local
313 struct ral_pci_softc *psc = device_get_softc(dev); local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_ahb.c101 struct ath_ahb_softc *psc = device_get_softc(dev); local
102 struct ath_softc *sc = &psc->sc_sc;
111 psc->sc_sr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
112 if (psc->sc_sr == NULL) {
124 psc->sc_eeprom = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, (uintptr_t) eepromaddr,
126 if (psc->sc_eeprom == NULL) {
132 sc->sc_st = (HAL_BUS_TAG)(uintptr_t) rman_get_bustag(psc->sc_sr);
133 sc->sc_sh = (HAL_BUS_HANDLE) rman_get_bushandle(psc->sc_sr);
146 device_printf(sc->sc_dev, "eeprom data @ %p\n", (void *) rman_get_bushandle(psc->sc_eeprom));
150 rman_get_bustag(psc
218 struct ath_ahb_softc *psc = device_get_softc(dev); local
245 struct ath_ahb_softc *psc = device_get_softc(dev); local
254 struct ath_ahb_softc *psc = device_get_softc(dev); local
264 struct ath_ahb_softc *psc = device_get_softc(dev); local
[all...]
H A Dif_ath_pci.c93 struct ath_pci_softc *psc = device_get_softc(dev); local
94 struct ath_softc *sc = &psc->sc_sc;
115 psc->sc_sr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
117 if (psc->sc_sr == NULL) {
122 sc->sc_st = (HAL_BUS_TAG)(uintptr_t) rman_get_bustag(psc->sc_sr);
123 sc->sc_sh = (HAL_BUS_HANDLE) rman_get_bushandle(psc->sc_sr);
134 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
136 if (psc->sc_irq == NULL) {
140 if (bus_setup_intr(dev, psc->sc_irq,
142 NULL, ath_intr, sc, &psc
187 struct ath_pci_softc *psc = device_get_softc(dev); local
210 struct ath_pci_softc *psc = device_get_softc(dev); local
219 struct ath_pci_softc *psc = device_get_softc(dev); local
229 struct ath_pci_softc *psc = device_get_softc(dev); local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl_pci.c149 struct mwl_pci_softc *psc = device_get_softc(dev); local
150 struct mwl_softc *sc = &psc->sc_sc;
164 psc->sc_sr0 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
166 if (psc->sc_sr0 == NULL) {
171 psc->sc_sr1 = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
173 if (psc->sc_sr1 == NULL) {
183 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
185 if (psc->sc_irq == NULL) {
189 if (bus_setup_intr(dev, psc->sc_irq,
191 NULL, mwl_intr, sc, &psc
243 struct mwl_pci_softc *psc = device_get_softc(dev); local
267 struct mwl_pci_softc *psc = device_get_softc(dev); local
276 struct mwl_pci_softc *psc = device_get_softc(dev); local
286 struct mwl_pci_softc *psc = device_get_softc(dev); local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/
H A Dif_bwi_pci.c119 struct bwi_pci_softc *psc = device_get_softc(dev); local
120 struct bwi_softc *sc = &psc->sc_sc;
188 struct bwi_pci_softc *psc = device_get_softc(dev); local
189 struct bwi_softc *sc = &psc->sc_sc;
208 struct bwi_pci_softc *psc = device_get_softc(dev); local
210 bwi_shutdown(&psc->sc_sc);
217 struct bwi_pci_softc *psc = device_get_softc(dev); local
219 bwi_suspend(&psc->sc_sc);
227 struct bwi_pci_softc *psc = device_get_softc(dev); local
229 bwi_resume(&psc
[all...]

Completed in 123 milliseconds