Lines Matching defs:abw
87 struct alpha_bus_window *abw;
103 count = alpha_bus_getwindows(ALPHA_BUS_TYPE_PCI_IO, &abw);
108 if (alpha_bus_mapwindow(&abw[i]) == -1) {
109 free(abw);
114 alpha_pci_io_windows = abw;
117 if (abw->abw_abst.abst_flags & ABST_BWX)
128 struct alpha_bus_window *abw;
134 abw = &alpha_pci_io_windows[i];
135 if (ioaddr >= abw->abw_abst.abst_bus_start &&
136 ioaddr <= abw->abw_abst.abst_bus_end)
137 return (abw);
149 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
153 port = (uint32_t *) ((char *)abw->abw_addr +
154 (((ioaddr - abw->abw_abst.abst_bus_start) <<
155 abw->abw_abst.abst_addr_shift) |
156 (size << abw->abw_abst.abst_size_shift)));
235 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
236 uint8_t *port = (uint8_t *) ((char *)abw->abw_addr +
237 (ioaddr - abw->abw_abst.abst_bus_start));
247 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
249 uint16_t *port = (uint16_t *) ((char *)abw->abw_addr +
250 (ioaddr - abw->abw_abst.abst_bus_start));
260 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
262 uint32_t *port = (uint32_t *) ((char *)abw->abw_addr +
263 (ioaddr - abw->abw_abst.abst_bus_start));
273 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
274 uint8_t *port = (uint8_t *) ((char *)abw->abw_addr +
275 (ioaddr - abw->abw_abst.abst_bus_start));
284 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
286 uint16_t *port = (uint16_t *) ((char *)abw->abw_addr +
287 (ioaddr - abw->abw_abst.abst_bus_start));
296 struct alpha_bus_window *abw = alpha_pci_io_findwindow(ioaddr);
298 uint32_t *port = (uint32_t *) ((char *)abw->abw_addr +
299 (ioaddr - abw->abw_abst.abst_bus_start));