caddr_t xtalk_piomap_addr(xtalk_piomap_t xtalk_piomap, /* mapping resources */ iopaddr_t xtalk_addr, /* map for this xtalk address */ size_t byte_count) { /* map this many bytes */ return PIOMAP_FUNC(xtalk_piomap, piomap_addr) (CAST_PIOMAP(xtalk_piomap), xtalk_addr, byte_count); }
caddr_t pciio_piomap_addr(pciio_piomap_t pciio_piomap, /* mapping resources */ iopaddr_t pciio_addr, /* map for this pciio address */ size_t byte_count) { /* map this many bytes */ pciio_piomap->pp_kvaddr = PIOMAP_FUNC(pciio_piomap, piomap_addr) (CAST_PIOMAP(pciio_piomap), pciio_addr, byte_count); return pciio_piomap->pp_kvaddr; }
void pciio_piomap_done(pciio_piomap_t pciio_piomap) { PIOMAP_FUNC(pciio_piomap, piomap_done) (CAST_PIOMAP(pciio_piomap)); }
void xtalk_piomap_done(xtalk_piomap_t xtalk_piomap) { PIOMAP_FUNC(xtalk_piomap, piomap_done) (CAST_PIOMAP(xtalk_piomap)); }