Lines Matching refs:fIOVMAddr
516 address = segment.fIOVMAddr; in segmentOp()
1006 phys = walkArgs->fIOVMAddr; in prepare()
1199 addr64_t ioAddr = segment.fIOVMAddr; in transferSegment()
1312 internalState->fIOVMAddrValid = state->fIOVMAddr = 0; in genIOVMSegments()
1352 state->fIOVMAddr = internalState->fLocalMapperAlloc + offset - internalState->fPreparedOffset; in genIOVMSegments()
1404 state->fIOVMAddr = address; in genIOVMSegments()
1437 mapperPhys = fMapper->mapToPhysicalAddress(state->fIOVMAddr + checkOffset); in genIOVMSegments()
1442 state->fIOVMAddr + checkOffset, mapperPhys, phys, state->fLength); in genIOVMSegments()
1451 if (curSegValid && ((curSeg.fIOVMAddr + curSeg.fLength) == state->fIOVMAddr)) { in genIOVMSegments()
1455 internalState->fIOVMAddrValid = state->fIOVMAddr = 0; in genIOVMSegments()
1458 internalState->fIOVMAddrValid = state->fIOVMAddr = state->fLength = 0; // At end in genIOVMSegments()
1468 curSeg.fIOVMAddr = state->fIOVMAddr; in genIOVMSegments()
1471 internalState->fIOVMAddrValid = state->fIOVMAddr = 0; in genIOVMSegments()
1476 if ((kWalkClient & op) && (curSeg.fIOVMAddr + curSeg.fLength - 1) > maxPhys) { in genIOVMSegments()
1478 curSegValid = curSeg.fIOVMAddr = 0; in genIOVMSegments()
1481 } else if (curSeg.fIOVMAddr <= maxPhys) { in genIOVMSegments()
1484 newLength = (maxPhys + 1 - curSeg.fIOVMAddr); in genIOVMSegments()
1485 DEBG("trunc %qx, %qx-> %qx\n", curSeg.fIOVMAddr, curSeg.fLength, newLength); in genIOVMSegments()
1487 state->fIOVMAddr = newLength + curSeg.fIOVMAddr; in genIOVMSegments()
1493 UInt64 addr = curSeg.fIOVMAddr; in genIOVMSegments()
1513 curSeg.fIOVMAddr = ptoa_64(vm_page_get_phys_page(remap)) in genIOVMSegments()
1521 state->fIOVMAddr = addr + newLength; in genIOVMSegments()
1527 DEBG("-> %qx, %qx offset %qx\n", curSeg.fIOVMAddr, curSeg.fLength, offset); in genIOVMSegments()
1538 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments()
1548 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments()
1554 reduce = (state->fIOVMAddr & fAlignMaskInternalSegments); in genIOVMSegments()
1558 state->fIOVMAddr = curSeg.fLength + curSeg.fIOVMAddr; in genIOVMSegments()
1565 curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments()
1577 misaligned = (0 != (mask & curSeg.fIOVMAddr)); in genIOVMSegments()
1584 DEBG("cursor misaligned %qx:%qx\n", curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments()
1586 curSegValid = curSeg.fIOVMAddr = 0; in genIOVMSegments()
1595 internalState->fIOVMAddrValid = state->fIOVMAddr = state->fLength = 0; // At end in genIOVMSegments()
1606 IOLog("DMA[%p] outseg 0x%qx, 0x%qx\n", this, curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments()
1610 curSegValid = curSeg.fIOVMAddr = 0; in genIOVMSegments()
1620 IOLog("DMA[%p] outseg 0x%qx, 0x%qx\n", this, curSeg.fIOVMAddr, curSeg.fLength); in genIOVMSegments()
1643 && ((segment.fIOVMAddr + segment.fLength - 1) >> target->fNumAddressBits) in clientOutputSegment()
1645 DEBG("kIOReturnMessageTooLarge(fNumAddressBits) %qx, %qx\n", segment.fIOVMAddr, segment.fLength); in clientOutputSegment()
1650 DEBG("kIOReturnMessageTooLarge(fOutSeg) %qx, %qx\n", segment.fIOVMAddr, segment.fLength); in clientOutputSegment()
1672 base[outSegIndex].fIOVMAddr = (UInt32) segment.fIOVMAddr; in OutputHost32()
1683 OSWriteBigInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr); in OutputBig32()
1694 OSWriteLittleInt32(vSegList, offAddr, (UInt32) segment.fIOVMAddr); in OutputLittle32()
1714 OSWriteBigInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr); in OutputBig64()
1725 OSWriteLittleInt64(vSegList, offAddr, (UInt64) segment.fIOVMAddr); in OutputLittle64()