Home
last modified time | relevance | path

Searched refs:total_packet_count (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-ring.c328 unsigned int total_packet_count, in xhci_v1_0_td_remainder() argument
344 if ((total_packet_count - packets_transferred) > 31) in xhci_v1_0_td_remainder()
346 return (total_packet_count - packets_transferred) << 17; in xhci_v1_0_td_remainder()
572 unsigned int total_packet_count; in xhci_bulk_tx() local
636 total_packet_count = DIV_ROUND_UP(length, maxpacketsize); in xhci_bulk_tx()
687 total_packet_count, in xhci_bulk_tx()
/openbmc/linux/drivers/firewire/
H A Dnosy-user.h14 __u32 total_packet_count; member
H A Dnosy.c61 long total_packet_count, lost_packet_count; member
187 buffer->total_packet_count++; in packet_buffer_put()
356 stats.total_packet_count = client->buffer.total_packet_count; in nosy_ioctl()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c1776 u32 maxp, total_packet_count; in cdnsp_td_remainder() local
1788 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in cdnsp_td_remainder()
1791 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in cdnsp_td_remainder()
2182 unsigned int total_packet_count) in cdnsp_get_burst_count() argument
2190 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count()
2204 unsigned int total_packet_count) in cdnsp_get_last_burst_packet_count() argument
2212 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count()
2223 if (total_packet_count == 0) in cdnsp_get_last_burst_packet_count()
2226 return total_packet_count - 1; in cdnsp_get_last_burst_packet_count()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c3594 u32 maxp, total_packet_count; in xhci_td_remainder() local
3610 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3613 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
4005 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
4013 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
4025 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
4036 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
4044 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
4046 return total_packet_count - 1; in xhci_get_last_burst_packet_count()