Searched refs:pcmhp (Results 1 – 6 of 6) sorted by relevance
/openbsd/sys/dev/pcmcia/ |
H A D | pcmciachip.h | 99 #define pcmcia_chip_mem_alloc(tag, handle, size, pcmhp) \ argument 100 ((*(tag)->mem_alloc)((handle), (size), (pcmhp))) 102 #define pcmcia_chip_mem_free(tag, handle, pcmhp) \ argument 103 ((*(tag)->mem_free)((handle), (pcmhp))) 105 #define pcmcia_chip_mem_map(tag, handle, kind, card_addr, size, pcmhp, \ argument 107 ((*(tag)->mem_map)((handle), (kind), (card_addr), (size), (pcmhp), \
|
H A D | pcmciavar.h | 263 #define pcmcia_mem_alloc(pf, size, pcmhp) \ argument 264 (pcmcia_chip_mem_alloc((pf)->sc->pct, (pf)->sc->pch, (size), (pcmhp))) 266 #define pcmcia_mem_free(pf, pcmhp) \ argument 267 (pcmcia_chip_mem_free((pf)->sc->pct, (pf)->sc->pch, (pcmhp))) 269 #define pcmcia_mem_map(pf, kind, card_addr, size, pcmhp, offsetp, windowp) \ argument 271 (card_addr), (size), (pcmhp), (offsetp), (windowp)))
|
/openbsd/sys/dev/sbus/ |
H A D | stp4020.c | 590 struct pcmcia_mem_handle *pcmhp) in stp4020_chip_mem_alloc() argument 595 pcmhp->memt = h->wintag; in stp4020_chip_mem_alloc() 596 pcmhp->size = size; in stp4020_chip_mem_alloc() 597 pcmhp->addr = 0; in stp4020_chip_mem_alloc() 598 pcmhp->mhandle = 0; in stp4020_chip_mem_alloc() 599 pcmhp->realsize = size; in stp4020_chip_mem_alloc() 606 struct pcmcia_mem_handle *pcmhp) in stp4020_chip_mem_free() argument 618 pcmhp->memt = h->wintag; in stp4020_chip_mem_map() 620 card_addr, size, &pcmhp->memh); in stp4020_chip_mem_map() 621 pcmhp->size = size; in stp4020_chip_mem_map() [all …]
|
/openbsd/sys/dev/ic/ |
H A D | tcic2.c | 762 struct pcmcia_mem_handle *pcmhp) in tcic_chip_mem_alloc() argument 812 pcmhp->memt = h->sc->memt; in tcic_chip_mem_alloc() 813 pcmhp->memh = memh; in tcic_chip_mem_alloc() 814 pcmhp->addr = addr; in tcic_chip_mem_alloc() 815 pcmhp->size = size; in tcic_chip_mem_alloc() 816 pcmhp->mhandle = mhandle; in tcic_chip_mem_alloc() 817 pcmhp->realsize = sizepg * TCIC_MEM_PAGESIZE; in tcic_chip_mem_alloc() 828 h->sc->subregionmask |= pcmhp->mhandle; in tcic_chip_mem_free() 936 if (h->sc->memt != pcmhp->memt) in tcic_chip_mem_map() 939 busaddr = pcmhp->addr; in tcic_chip_mem_map() [all …]
|
H A D | i82365.c | 829 struct pcmcia_mem_handle *pcmhp) in pcic_chip_mem_alloc() argument 859 pcmhp->memt = sc->memt; in pcic_chip_mem_alloc() 860 pcmhp->memh = memh; in pcic_chip_mem_alloc() 861 pcmhp->addr = addr; in pcic_chip_mem_alloc() 862 pcmhp->size = size; in pcic_chip_mem_alloc() 863 pcmhp->mhandle = mhandle; in pcic_chip_mem_alloc() 864 pcmhp->realsize = sizepg * PCIC_MEM_PAGESIZE; in pcic_chip_mem_alloc() 882 sc->subregionmask |= pcmhp->mhandle; in pcic_chip_mem_free() 997 bus_size_t size, struct pcmcia_mem_handle *pcmhp, bus_size_t *offsetp, in pcic_chip_mem_map() argument 1023 if (sc->memt != pcmhp->memt) in pcic_chip_mem_map() [all …]
|
/openbsd/sys/dev/pci/ |
H A D | pccbb.c | 2082 struct pcmcia_mem_handle *pcmhp) argument 2122 pcmhp->memt = sc->sc_memt; 2123 pcmhp->memh = memh; 2124 pcmhp->addr = addr; 2125 pcmhp->size = size; 2126 pcmhp->realsize = sizepg * PCIC_MEM_PAGESIZE; 2128 pcmhp->mhandle = 0; 2143 struct pcmcia_mem_handle *pcmhp) argument 2148 rbus_space_free(sc->sc_rbus_memt, pcmhp->memh, pcmhp->realsize, NULL); 2286 if (((struct pccbb_softc *)ph->ph_parent)->sc_memt != pcmhp->memt) { [all …]
|