Lines Matching refs:bytes_read
399 unsigned int bytes, u64 *bytes_read) in ps3_vuart_raw_read() argument
407 ps3_mm_phys_to_lpar(__pa(buf)), bytes, bytes_read); in ps3_vuart_raw_read()
415 priv->stats.bytes_read += *bytes_read; in ps3_vuart_raw_read()
418 *bytes_read, bytes, priv->stats.bytes_read); in ps3_vuart_raw_read()
465 priv->stats.bytes_read -= bytes_waiting; in ps3_vuart_clear_rx_bytes()
622 unsigned long bytes_read; in ps3_vuart_read() local
645 bytes_read = min((unsigned int)(lb->tail - lb->head), bytes); in ps3_vuart_read()
647 memcpy(buf, lb->head, bytes_read); in ps3_vuart_read()
648 buf += bytes_read; in ps3_vuart_read()
649 bytes -= bytes_read; in ps3_vuart_read()
650 priv->rx_list.bytes_held -= bytes_read; in ps3_vuart_read()
652 if (bytes_read < lb->tail - lb->head) { in ps3_vuart_read()
653 lb->head += bytes_read; in ps3_vuart_read()
656 bytes_read); in ps3_vuart_read()
663 bytes_read); in ps3_vuart_read()