Lines Matching refs:bufferOffset
2286 size_t bufferOffset = 0; in _WriteDescriptorChain() local
2293 size_t length = min_c(current->buffer_size - bufferOffset, in _WriteDescriptorChain()
2297 " vectorOffset %ld at index %ld of %ld\n", length, bufferOffset, in _WriteDescriptorChain()
2300 (generic_addr_t)current->buffer_logical + bufferOffset, false, in _WriteDescriptorChain()
2306 bufferOffset += length; in _WriteDescriptorChain()
2318 if (bufferOffset >= current->buffer_size) { in _WriteDescriptorChain()
2319 bufferOffset = 0; in _WriteDescriptorChain()
2343 size_t bufferOffset = 0; in _WriteIsochronousDescriptorChain() local
2350 size_t length = min_c(current->buffer_size - bufferOffset, in _WriteIsochronousDescriptorChain()
2354 " vectorOffset %ld at index %ld of %ld\n", length, bufferOffset, in _WriteIsochronousDescriptorChain()
2357 (generic_addr_t)current->buffer_logical + bufferOffset, false, in _WriteIsochronousDescriptorChain()
2363 bufferOffset += length; in _WriteIsochronousDescriptorChain()
2375 if (bufferOffset >= current->buffer_size) { in _WriteIsochronousDescriptorChain()
2376 bufferOffset = 0; in _WriteIsochronousDescriptorChain()
2400 size_t bufferOffset = 0; in _ReadDescriptorChain() local
2414 size_t length = min_c(bufferSize - bufferOffset, in _ReadDescriptorChain()
2419 bufferOffset, vectorIndex, vectorCount); in _ReadDescriptorChain()
2422 (generic_addr_t)current->buffer_logical + bufferOffset, false, length); in _ReadDescriptorChain()
2427 bufferOffset += length; in _ReadDescriptorChain()
2439 if (bufferOffset >= bufferSize) { in _ReadDescriptorChain()
2440 bufferOffset = 0; in _ReadDescriptorChain()
2461 size_t bufferOffset = 0; in _ReadIsochronousDescriptorChain() local
2468 size_t length = min_c(bufferSize - bufferOffset, in _ReadIsochronousDescriptorChain()
2473 bufferOffset, vectorIndex, vectorCount); in _ReadIsochronousDescriptorChain()
2476 (generic_addr_t)current->buffer_logical + bufferOffset, false, length); in _ReadIsochronousDescriptorChain()
2481 bufferOffset += length; in _ReadIsochronousDescriptorChain()
2493 if (bufferOffset >= bufferSize) { in _ReadIsochronousDescriptorChain()
2494 bufferOffset = 0; in _ReadIsochronousDescriptorChain()