Lines Matching refs:bytes_transferred
236 unsigned int bytes_transferred; in dma_active_count() local
240 bytes_transferred = req_transfer_count; in dma_active_count()
242 bytes_transferred -= to_transfer; in dma_active_count()
250 bytes_transferred += req_transfer_count; in dma_active_count()
252 bytes_transferred += req_transfer_count; in dma_active_count()
254 bytes_transferred *= 4; in dma_active_count()
255 return bytes_transferred; in dma_active_count()
288 req->bytes_transferred = dma_active_count(ch, req, status); in tegra_dma_dequeue_req()
364 req->bytes_transferred = 0; in tegra_dma_enqueue_req()
561 int bytes_transferred; in handle_oneshot_dma() local
563 bytes_transferred = ch->req_transfer_count; in handle_oneshot_dma()
564 bytes_transferred += 1; in handle_oneshot_dma()
565 bytes_transferred <<= 2; in handle_oneshot_dma()
568 req->bytes_transferred = bytes_transferred; in handle_oneshot_dma()
574 req->bytes_transferred); in handle_oneshot_dma()
610 int bytes_transferred; in handle_continuous_dma() local
612 bytes_transferred = ch->req_transfer_count; in handle_continuous_dma()
613 bytes_transferred += 1; in handle_continuous_dma()
614 bytes_transferred <<= 3; in handle_continuous_dma()
616 req->bytes_transferred = bytes_transferred; in handle_continuous_dma()
656 int bytes_transferred; in handle_continuous_dma() local
658 bytes_transferred = ch->req_transfer_count; in handle_continuous_dma()
659 bytes_transferred += 1; in handle_continuous_dma()
660 bytes_transferred <<= 3; in handle_continuous_dma()
663 req->bytes_transferred = bytes_transferred; in handle_continuous_dma()