Lines Matching refs:total_packet_count
3066 u32 maxp, total_packet_count; in xhci_td_remainder() local
3072 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3080 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3094 unsigned int total_packet_count; in queue_bulk_sg_tx() local
3110 total_packet_count = DIV_ROUND_UP(urb->transfer_buffer_length, in queue_bulk_sg_tx()
3271 unsigned int total_packet_count; in xhci_queue_bulk_tx() local
3330 total_packet_count = DIV_ROUND_UP(urb->transfer_buffer_length, in xhci_queue_bulk_tx()
3556 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
3564 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3577 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
3589 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3597 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
3599 return total_packet_count - 1; in xhci_get_last_burst_packet_count()
3728 unsigned int total_packet_count; in xhci_queue_isoc_tx() local
3737 total_packet_count = DIV_ROUND_UP(td_len, in xhci_queue_isoc_tx()
3741 if (total_packet_count == 0) in xhci_queue_isoc_tx()
3742 total_packet_count++; in xhci_queue_isoc_tx()
3744 total_packet_count); in xhci_queue_isoc_tx()
3746 urb->dev, urb, total_packet_count); in xhci_queue_isoc_tx()