Lines Matching refs:ior

5397 cs_request_io(client_handle_t client_handle, io_req_t *ior)
5416 if (!ior->NumPorts2)
5417 ior->Attributes2 = 0;
5422 if ((ior->Attributes1 | ior->Attributes2) & (IO_SHARED |
5432 if (!ior->NumPorts1)
5439 if ((ior->NumPorts2) && !(ior->BasePort1.base && ior->BasePort2.base))
5499 if (!ior->NumPorts2)
5500 ior->BasePort2.base = 0;
5514 if (ior->IOAddrLines) {
5515 ior->BasePort1.base = IOADDR_FROBNITZ(ior->BasePort1.base,
5516 ior->IOAddrLines);
5517 ior->BasePort2.base = IOADDR_FROBNITZ(ior->BasePort2.base,
5518 ior->IOAddrLines);
5520 ior->BasePort1.base = ior->BasePort1.base &
5521 ((IONUMPORTS_FROBNITZ(ior->NumPorts1) +
5522 IONUMPORTS_FROBNITZ(ior->NumPorts2)) - 1);
5523 ior->BasePort2.base = ior->BasePort2.base &
5524 ((IONUMPORTS_FROBNITZ(ior->NumPorts1) +
5525 IONUMPORTS_FROBNITZ(ior->NumPorts2)) - 1);
5598 if ((ior->BasePort1.base + ior->NumPorts1 +
5599 ior->BasePort2.base + ior->NumPorts2) > imw->size) {
5621 csx_DupHandle(imw->handle, &ior->BasePort1.handle, 0);
5622 csx_GetHandleOffset(ior->BasePort1.handle, &offset);
5623 csx_SetHandleOffset(ior->BasePort1.handle,
5624 ior->BasePort1.base + offset);
5626 if (ior->NumPorts2) {
5628 csx_DupHandle(imw->handle, &ior->BasePort2.handle, 0);
5629 csx_GetHandleOffset(ior->BasePort2.handle, &offset);
5630 csx_SetHandleOffset(ior->BasePort2.handle,
5631 ior->BasePort1.base + offset);
5651 baseaddru.base = ior->BasePort1.base;
5653 if ((error = cs_allocate_io_win(sp->socket_num, ior->Attributes1,
5668 &ior->NumPorts1,
5669 ior->IOAddrLines,
5670 ior->Attributes1)) !=
5683 ior->BasePort1.handle = (acc_handle_t)baseaddru.handle;
5684 ior->BasePort1.base = baseaddru.base;
5689 if (ior->NumPorts2) {
5692 baseaddru.base = ior->BasePort2.base;
5699 ior->Attributes2,
5719 &ior->NumPorts2,
5720 ior->IOAddrLines,
5721 ior->Attributes2)) !=
5740 ior->BasePort2.handle = (acc_handle_t)baseaddru.handle;
5741 ior->BasePort2.base = baseaddru.base;
5745 } /* if (ior->NumPorts2) */
5754 client->io_alloc.BasePort1.base = ior->BasePort1.base;
5755 client->io_alloc.BasePort1.handle = ior->BasePort1.handle;
5756 client->io_alloc.NumPorts1 = ior->NumPorts1;
5757 client->io_alloc.Attributes1 = ior->Attributes1;
5758 client->io_alloc.BasePort2.base = ior->BasePort2.base;
5759 client->io_alloc.BasePort2.handle = ior->BasePort2.handle;
5760 client->io_alloc.NumPorts2 = ior->NumPorts2;
5761 client->io_alloc.Attributes2 = ior->Attributes2;
5762 client->io_alloc.IOAddrLines = ior->IOAddrLines;
5789 cs_release_io(client_handle_t client_handle, io_req_t *ior)
5798 ior = NULL;
5854 if ((client->io_alloc.BasePort1 != ior->BasePort1) ||
5855 (client->io_alloc.NumPorts1 != ior->NumPorts1) ||
5856 (client->io_alloc.Attributes1 != ior->Attributes1) ||
5857 (client->io_alloc.BasePort2 != ior->BasePort2) ||
5858 (client->io_alloc.NumPorts2 != ior->NumPorts2) ||
5859 (client->io_alloc.Attributes2 != ior->Attributes2) ||
5860 (client->io_alloc.IOAddrLines != ior->IOAddrLines)) {
5894 csx_FreeHandle(&ior->BasePort1.handle);