Lines Matching refs:total_packet_count
3027 u32 maxp, total_packet_count; in xhci_td_remainder() local
3033 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3041 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3055 unsigned int total_packet_count; in queue_bulk_sg_tx() local
3071 total_packet_count = DIV_ROUND_UP(urb->transfer_buffer_length, in queue_bulk_sg_tx()
3232 unsigned int total_packet_count; in xhci_queue_bulk_tx() local
3291 total_packet_count = DIV_ROUND_UP(urb->transfer_buffer_length, in xhci_queue_bulk_tx()
3517 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
3525 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3538 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
3550 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3558 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
3560 return total_packet_count - 1; in xhci_get_last_burst_packet_count()
3596 unsigned int total_packet_count; in xhci_queue_isoc_tx() local
3605 total_packet_count = DIV_ROUND_UP(td_len, in xhci_queue_isoc_tx()
3609 if (total_packet_count == 0) in xhci_queue_isoc_tx()
3610 total_packet_count++; in xhci_queue_isoc_tx()
3612 total_packet_count); in xhci_queue_isoc_tx()
3614 urb->dev, urb, total_packet_count); in xhci_queue_isoc_tx()