| /openbsd/src/sys/dev/pcmcia/ |
| D | pcmciachip.h | 114 #define pcmcia_chip_io_alloc(tag, handle, start, size, align, pcihp) \ argument 115 ((*(tag)->io_alloc)((handle), (start), (size), (align), (pcihp))) 117 #define pcmcia_chip_io_free(tag, handle, pcihp) \ argument 118 ((*(tag)->io_free)((handle), (pcihp))) 120 #define pcmcia_chip_io_map(tag, handle, width, card_addr, size, pcihp, \ argument 122 ((*(tag)->io_map)((handle), (width), (card_addr), (size), (pcihp), \
|
| D | pcmcia.c | 586 bus_size_t size, struct pcmcia_io_handle *pcihp, int *windowp) in pcmcia_io_map() argument 591 width, offset, size, pcihp, windowp)) in pcmcia_io_map() 602 bus_addr_t iobase = pcihp->addr; in pcmcia_io_map() 603 bus_addr_t iomax = pcihp->addr + pcihp->size - 1; in pcmcia_io_map()
|
| /openbsd/src/sys/arch/luna88k/cbus/ |
| D | i82365_cbus.c | 466 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pcihp) in pcic_cbus_chip_io_alloc() argument 532 pcihp->iot = iot; in pcic_cbus_chip_io_alloc() 533 pcihp->ioh = ioh; in pcic_cbus_chip_io_alloc() 534 pcihp->addr = ioaddr; in pcic_cbus_chip_io_alloc() 535 pcihp->size = size; in pcic_cbus_chip_io_alloc() 536 pcihp->flags = flags; in pcic_cbus_chip_io_alloc() 543 struct pcmcia_io_handle *pcihp) in pcic_cbus_chip_io_free() argument 545 bus_space_tag_t iot = pcihp->iot; in pcic_cbus_chip_io_free() 546 bus_space_handle_t ioh = pcihp->ioh; in pcic_cbus_chip_io_free() 547 bus_size_t size = pcihp->size; in pcic_cbus_chip_io_free()
|
| /openbsd/src/sys/dev/sbus/ |
| D | stp4020.c | 636 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pcihp) in stp4020_chip_io_alloc() argument 640 pcihp->iot = h->wintag; in stp4020_chip_io_alloc() 641 pcihp->ioh = h->windows[STP_WIN_IO].winaddr; in stp4020_chip_io_alloc() 642 pcihp->size = size; in stp4020_chip_io_alloc() 648 struct pcmcia_io_handle *pcihp) in stp4020_chip_io_free() argument 654 bus_size_t size, struct pcmcia_io_handle *pcihp, int *windowp) in stp4020_chip_io_map() argument 658 pcihp->iot = h->wintag; in stp4020_chip_io_map() 660 offset, size, &pcihp->ioh); in stp4020_chip_io_map()
|
| /openbsd/src/sys/dev/ic/ |
| D | tcic2.c | 997 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pcihp) in tcic_chip_io_alloc() argument 1048 pcihp->iot = iot; in tcic_chip_io_alloc() 1049 pcihp->ioh = ioh; in tcic_chip_io_alloc() 1050 pcihp->addr = ioaddr; in tcic_chip_io_alloc() 1051 pcihp->size = size; in tcic_chip_io_alloc() 1052 pcihp->flags = flags; in tcic_chip_io_alloc() 1058 tcic_chip_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pcihp) in tcic_chip_io_free() argument 1060 bus_space_tag_t iot = pcihp->iot; in tcic_chip_io_free() 1061 bus_space_handle_t ioh = pcihp->ioh; in tcic_chip_io_free() 1062 bus_size_t size = pcihp->size; in tcic_chip_io_free() [all …]
|
| D | i82365.c | 1078 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pcihp) in pcic_chip_io_alloc() argument 1152 pcihp->iot = iot; in pcic_chip_io_alloc() 1153 pcihp->ioh = ioh; in pcic_chip_io_alloc() 1154 pcihp->addr = ioaddr; in pcic_chip_io_alloc() 1155 pcihp->size = size; in pcic_chip_io_alloc() 1156 pcihp->flags = flags; in pcic_chip_io_alloc() 1162 pcic_chip_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pcihp) in pcic_chip_io_free() argument 1164 bus_space_tag_t iot = pcihp->iot; in pcic_chip_io_free() 1165 bus_space_handle_t ioh = pcihp->ioh; in pcic_chip_io_free() 1166 bus_size_t size = pcihp->size; in pcic_chip_io_free() [all …]
|
| /openbsd/src/sys/dev/pci/ |
| D | pccbb.c | 1615 bus_size_t size, bus_size_t align, struct pcmcia_io_handle *pcihp) argument 1667 pcihp->iot = iot; 1668 pcihp->ioh = ioh; 1669 pcihp->addr = ioaddr; 1670 pcihp->size = size; 1671 pcihp->flags = flags; 1686 struct pcmcia_io_handle *pcihp) argument 1688 bus_space_handle_t ioh = pcihp->ioh; 1689 bus_size_t size = pcihp->size; 1713 bus_size_t size, struct pcmcia_io_handle *pcihp, int *windowp) argument [all …]
|