Searched refs:running_total (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/usb/host/ |
D | xhci-ring.c | 2503 int num_sgs, num_trbs, running_total, temp, i; in count_sg_trbs_needed() local 2517 running_total = TRB_MAX_BUFF_SIZE - in count_sg_trbs_needed() 2519 running_total &= TRB_MAX_BUFF_SIZE - 1; in count_sg_trbs_needed() 2520 if (running_total != 0) in count_sg_trbs_needed() 2524 while (running_total < sg_dma_len(sg) && running_total < temp) { in count_sg_trbs_needed() 2526 running_total += TRB_MAX_BUFF_SIZE; in count_sg_trbs_needed() 2547 static void check_trb_math(struct urb *urb, int num_trbs, int running_total) in check_trb_math() argument 2553 if (running_total != urb->transfer_buffer_length) in check_trb_math() 2558 running_total, running_total, in check_trb_math() 2644 int trb_buff_len, this_sg_len, running_total; in queue_bulk_sg_tx() local [all …]
|