/netbsd-6-1-5-RELEASE/sys/arch/mips/alchemy/dev/ |
H A D | aupcmcia.c | 603 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) 609 pih->iot = &sp->as_iot; 610 pih->size = size; 611 pih->flags = 0; 619 err = bus_space_alloc(pih->iot, start, 0x100000, 620 size, align, 0, 0, &pih->addr, &bush); 622 (uint32_t)start, (uint32_t)pih->addr, (uint32_t)size, 627 pih->ihandle = (void *)bush; 634 aupcm_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 636 bus_space_free(pih 602 aupcm_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 641 aupcm_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/sa11x0/ |
H A D | sa11xx_pcic.c | 285 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) 291 memset(pih, 0, sizeof(*pih)); 292 pih->iot = so->sc->sc_iot; 293 pih->addr = start; 294 pih->size = size; 296 pa = pih->addr; 303 error = bus_space_map(so->sc->sc_iot, pa, size, 0, &pih->ioh); 309 sapcic_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 313 bus_space_unmap(so->sc->sc_iot, pih 284 sapcic_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 317 sapcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/imx/ |
H A D | imx_pcic.c | 193 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) 199 memset(pih, 0, sizeof(*pih)); 200 pih->iot = so->sc->sc_iot; 201 pih->addr = start; 202 pih->size = size; 204 pa = pih->addr; 209 error = bus_space_map(so->sc->sc_iot, pa, size, 0, &pih->ioh); 215 imx_pcic_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 219 bus_space_unmap(so->sc->sc_iot, pih 192 imx_pcic_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 223 imx_pcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/xscale/ |
H A D | pxa2x0_pcic.c | 172 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) 178 memset(pih, 0, sizeof(*pih)); 179 pih->iot = so->sc->sc_iot; 180 pih->addr = start; 181 pih->size = size; 183 pa = pih->addr; 188 error = bus_space_map(so->sc->sc_iot, pa, size, 0, &pih->ioh); 194 pxapcic_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 198 bus_space_unmap(so->sc->sc_iot, pih 171 pxapcic_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 202 pxapcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/booke/pci/ |
H A D | pq3pci.c | 210 #define PIH_IST(pih) (((pih) >> 0) & 0xff) 211 #define PIH_IRQ(pih) (((pih) >> 8) & 0xfff) 212 #define PIH_NMSI(pih) (((pih) >> 20) & 0xff) 578 struct pq3pci_intrhand *pih; local 583 SIMPLEQ_FOREACH(pih, &pis->pis_ihands, pih_link) { 584 struct pq3pci_softc * const sc = pih->pih_ih.ih_sc; 585 int s = splraise(pih 1385 struct pq3pci_intrhand * const pih = local 1412 struct pq3pci_intrhand * const pih = ih; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/rmi/ |
H A D | rmixl_pcix.c | 767 rmixl_pcix_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *pih) argument 779 *pih = rmixl_pcix_make_pih(pa->pa_intrpin - 1, irq); 781 *pih = ~0; 787 rmixl_pcix_intr_string(void *v, pci_intr_handle_t pih) argument 791 rmixl_pcix_decompose_pih(pih, &bitno, &irq); 801 rmixl_pcix_intr_evcnt(void *v, pci_intr_handle_t pih) argument 809 pci_intr_handle_t pih; local 814 pih = (irq << 6); 815 pih |= bitno; 817 return pih; 821 rmixl_pcix_decompose_pih(pci_intr_handle_t pih, u_int *bitno, u_int *irq) argument 887 rmixl_pcix_intr_establish(void *v, pci_intr_handle_t pih, int ipl, int (*func)(void *), void *arg) argument [all...] |
H A D | rmixl_pcie.c | 1031 rmixl_pcie_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *pih) argument 1089 *pih = rmixl_pcie_make_pih(link, pa->pa_intrpin - 1, irq); 1091 *pih = ~0; 1097 rmixl_pcie_intr_string(void *v, pci_intr_handle_t pih) argument 1102 rmixl_pcie_decompose_pih(pih, &link, &bitno, &irq); 1150 rmixl_pcie_intr_evcnt(void *v, pci_intr_handle_t pih) argument 1158 pci_intr_handle_t pih; local 1164 pih = (irq << 10); 1165 pih |= (bitno << 4); 1166 pih | 1172 rmixl_pcie_decompose_pih(pci_intr_handle_t pih, u_int *link, u_int *bitno, u_int *irq) argument 1257 rmixl_pcie_intr_establish(void *v, pci_intr_handle_t pih, int ipl, int (*func)(void *), void *arg) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/at91/ |
H A D | at91cf.c | 392 bus_size_t align, struct pcmcia_io_handle *pih) 400 pih->iot = sc->sc_iot; 401 pih->addr = start; 402 pih->size = size; 403 pa = pih->addr + ph->ph_space[IO].base; 404 return bus_space_map(sc->sc_iot, pa, size, 0, &pih->ioh); 408 at91cf_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 415 bus_space_unmap(sc->sc_iot, pih->ioh, pih->size); 420 bus_size_t size, struct pcmcia_io_handle *pih, in 391 at91cf_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 419 at91cf_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arm/ep93xx/ |
H A D | eppcic.c | 405 bus_size_t align, struct pcmcia_io_handle *pih) 413 pih->iot = sc->sc_iot; 414 pih->addr = start; 415 pih->size = size; 416 pa = pih->addr + ph->ph_space[IO].base; 417 return bus_space_map(sc->sc_iot, pa, size, 0, &pih->ioh); 421 eppcic_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 428 bus_space_unmap(sc->sc_iot, pih->ioh, pih->size); 433 bus_size_t size, struct pcmcia_io_handle *pih, in 404 eppcic_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 432 eppcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/ |
H A D | ts102.c | 475 bus_size_t align, struct pcmcia_io_handle *pih) 483 pih->iot = td->td_pcmciat; 484 pih->ioh = td->td_space[TS102_RANGE_IO]; 485 pih->addr = start; 486 pih->size = size; 487 pih->flags = 0; 493 tslot_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument 502 bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) 510 pih->iot = td->td_pcmciat; 511 if (bus_space_subregion(pih 474 tslot_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pih) argument 501 tslot_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pih, int *windowp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/evbsh3/ap_ms104_sh4/ |
H A D | shpcmcia.c | 700 struct pcmcia_io_handle *pih) 699 shpcmcia_chip_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pih) argument
|