Home
last modified time | relevance | path

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

/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()
/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()
2169 unsigned int total_packet_count) in cdnsp_get_burst_count() argument
2177 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count()
2191 unsigned int total_packet_count) in cdnsp_get_last_burst_packet_count() argument
2199 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count()
2210 if (total_packet_count == 0) in cdnsp_get_last_burst_packet_count()
2213 return total_packet_count - 1; in cdnsp_get_last_burst_packet_count()
/linux/drivers/usb/host/
H A Dxhci-ring.c3496 u32 maxp, total_packet_count; in xhci_td_remainder() local
3512 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3515 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3904 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
3912 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3924 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
3935 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3943 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
3945 return total_packet_count - 1; in xhci_get_last_burst_packet_count()