Lines Matching refs:bytes_written
364 const void *buf, unsigned int bytes, u64 *bytes_written) in ps3_vuart_raw_write() argument
370 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_written); in ps3_vuart_raw_write()
378 priv->stats.bytes_written += *bytes_written; in ps3_vuart_raw_write()
381 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write()
501 u64 bytes_written; in ps3_vuart_write() local
503 result = ps3_vuart_raw_write(dev, buf, bytes, &bytes_written); in ps3_vuart_write()
514 if (bytes_written == bytes) { in ps3_vuart_write()
520 bytes -= bytes_written; in ps3_vuart_write()
521 buf += bytes_written; in ps3_vuart_write()
744 u64 bytes_written; in ps3_vuart_handle_interrupt_tx() local
747 &bytes_written); in ps3_vuart_handle_interrupt_tx()
756 bytes_total += bytes_written; in ps3_vuart_handle_interrupt_tx()
758 if (bytes_written < lb->tail - lb->head) { in ps3_vuart_handle_interrupt_tx()
759 lb->head += bytes_written; in ps3_vuart_handle_interrupt_tx()
763 bytes_written); in ps3_vuart_handle_interrupt_tx()