Searched refs:bufptr (Results 1 – 1 of 1) sorted by relevance
288 auto* bufptr = static_cast<uint8_t*>(buf); in SerialImplRead() local289 const uint8_t* const end = bufptr + length; in SerialImplRead()290 while (bufptr < end && (ReadStateAndNotify() & SERIAL_STATE_READABLE)) { in SerialImplRead()292 *bufptr++ = static_cast<uint8_t>(val); in SerialImplRead()295 const size_t read = reinterpret_cast<uintptr_t>(bufptr) - reinterpret_cast<uintptr_t>(buf); in SerialImplRead()304 const auto* bufptr = static_cast<const uint8_t*>(buf); in SerialImplWrite() local305 const uint8_t* const end = bufptr + length; in SerialImplWrite()306 while (bufptr < end && (ReadStateAndNotify() & SERIAL_STATE_WRITABLE)) { in SerialImplWrite()307 mmio_.Write32(*bufptr++, AML_UART_WFIFO); in SerialImplWrite()310 const size_t written = reinterpret_cast<uintptr_t>(bufptr) - reinterpret_cast<uintptr_t>(buf); in SerialImplWrite()
Completed in 4 milliseconds